diff --git a/api_names_out.yaml b/api_names_out.yaml index 41bf745ccbe..e702663d62e 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -194762,6 +194762,9 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry/agentVersion": agent_version "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry/createTime": create_time "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EnvironmentHistoryEntry/description": description +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EvaluationStatus": google_cloud_dialogflow_v2beta1_evaluation_status +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EvaluationStatus/done": done +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EvaluationStatus/pipelineStatus": pipeline_status "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EventInput": google_cloud_dialogflow_v2beta1_event_input "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EventInput/languageCode": language_code "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1EventInput/name": name @@ -194871,6 +194874,39 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1Generator/tools/tool": tool "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1Generator/triggerEvent": trigger_event "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1Generator/updateTime": update_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation": google_cloud_dialogflow_v2beta1_generator_evaluation +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/completeTime": complete_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/createTime": create_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/displayName": display_name +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/evaluationStatus": evaluation_status +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/generatorEvaluationConfig": generator_evaluation_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/initialGenerator": initial_generator +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/name": name +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluation/summarizationMetrics": summarization_metrics +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig": google_cloud_dialogflow_v2beta1_generator_evaluation_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig/inputDataConfig": input_data_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig/outputGcsBucketPath": output_gcs_bucket_path +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig/summarizationConfig": summarization_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig": google_cloud_dialogflow_v2beta1_generator_evaluation_config_agent_assist_input_data_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig/endTime": end_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig/startTime": start_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig": google_cloud_dialogflow_v2beta1_generator_evaluation_config_dataset_input_data_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig/dataset": dataset +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig": google_cloud_dialogflow_v2beta1_generator_evaluation_config_input_data_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/agentAssistInputDataConfig": agent_assist_input_data_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/datasetInputDataConfig": dataset_input_data_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/endTime": end_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/inputDataSourceType": input_data_source_type +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/isSummaryGenerationAllowed": is_summary_generation_allowed +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/sampleSize": sample_size +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/startTime": start_time +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig/summaryGenerationOption": summary_generation_option +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig": google_cloud_dialogflow_v2beta1_generator_evaluation_config_summarization_config +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig/accuracyEvaluationVersion": accuracy_evaluation_version +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig/completenessEvaluationVersion": completeness_evaluation_version +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig/enableAccuracyEvaluation": enable_accuracy_evaluation +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig/enableCompletenessEvaluation": enable_completeness_evaluation +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig/evaluatorVersion": evaluator_version "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorSuggestion": google_cloud_dialogflow_v2beta1_generator_suggestion "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorSuggestion/freeFormSuggestion": free_form_suggestion "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1GeneratorSuggestion/summarySuggestion": summary_suggestion @@ -195347,6 +195383,10 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListEnvironmentsResponse/environments": environments "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListEnvironmentsResponse/environments/environment": environment "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListEnvironmentsResponse/nextPageToken": next_page_token +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse": google_cloud_dialogflow_v2beta1_list_generator_evaluations_response +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse/generatorEvaluations": generator_evaluations +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse/generatorEvaluations/generator_evaluation": generator_evaluation +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse/nextPageToken": next_page_token "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorsResponse": google_cloud_dialogflow_v2beta1_list_generators_response "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorsResponse/generators": generators "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1ListGeneratorsResponse/generators/generator": generator @@ -195796,6 +195836,81 @@ "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationContext/summarizationSections": summarization_sections "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationContext/summarizationSections/summarization_section": summarization_section "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationContext/version": version +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/conversationDetails": conversation_details +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/conversationDetails/conversation_detail": conversation_detail +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/overallMetrics": overall_metrics +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/overallMetrics/overall_metric": overall_metric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/overallSectionTokens": overall_section_tokens +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/overallSectionTokens/overall_section_token": overall_section_token +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/summarizationEvaluationMergedResultsUri": summarization_evaluation_merged_results_uri +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/summarizationEvaluationResults": summarization_evaluation_results +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics/summarizationEvaluationResults/summarization_evaluation_result" +: summarization_evaluation_result +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_accuracy_decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition/accuracyReasoning": accuracy_reasoning +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition/isAccurate": is_accurate +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition/point": point +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_adherence_decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition/adherenceReasoning": adherence_reasoning +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition/isAdherent": is_adherent +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition/point": point +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_adherence_rubric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric/isAddressed": is_addressed +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric/question": question +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric/reasoning": reasoning +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_completeness_rubric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric/isAddressed": is_addressed +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric/question": question +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_conversation_detail +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/messageEntries": message_entries +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/messageEntries/message_entry": message_entry +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/metricDetails": metric_details +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/metricDetails/metric_detail": metric_detail +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/sectionTokens": section_tokens +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/sectionTokens/section_token": section_token +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/summarySections": summary_sections +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail/summarySections/summary_section": summary_section +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_conversation_detail_metric_detail +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail/metric": metric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail/score": score +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail/sectionDetails": section_details +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail/sectionDetails/section_detail" +: section_detail +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_conversation_detail_metric_detail_section_detail +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail/evaluationResults" +: evaluation_results +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail/evaluationResults/evaluation_result" +: evaluation_result +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail/score": score +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail/section" +: section +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail/sectionSummary" +: section_summary +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition/accuracyDecomposition": accuracy_decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition/adherenceDecomposition": adherence_decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_evaluation_result +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult/accuracyDecomposition": accuracy_decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult/adherenceRubric": adherence_rubric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult/completenessRubric": completeness_rubric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_overall_scores_by_metric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric/metric": metric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_section_token +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken/section": section +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken/tokenCount": token_count +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult": google_cloud_dialogflow_v2beta1_summarization_evaluation_metrics_summarization_evaluation_result +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/decompositions": decompositions +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/decompositions/decomposition" +: decomposition +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/evaluationResults": evaluation_results +? "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/evaluationResults/evaluation_result" +: evaluation_result +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/metric": metric +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/score": score +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/section": section +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/sectionSummary": section_summary +"/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult/sessionId": session_id "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationSection": google_cloud_dialogflow_v2beta1_summarization_section "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationSection/definition": definition "/dialogflow:v2beta1/GoogleCloudDialogflowV2beta1SummarizationSection/key": key @@ -196898,6 +197013,16 @@ "/dialogflow:v2beta1/dialogflow.projects.locations.generators.create/parent": parent "/dialogflow:v2beta1/dialogflow.projects.locations.generators.delete": delete_project_location_generator "/dialogflow:v2beta1/dialogflow.projects.locations.generators.delete/name": name +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.create": create_project_location_generator_evaluation +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.create/parent": parent +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.delete": delete_project_location_generator_evaluation +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.delete/name": name +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.get": get_project_location_generator_evaluation +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.get/name": name +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.list": list_project_location_generator_evaluations +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.list/pageSize": page_size +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.list/pageToken": page_token +"/dialogflow:v2beta1/dialogflow.projects.locations.generators.evaluations.list/parent": parent "/dialogflow:v2beta1/dialogflow.projects.locations.generators.get": get_project_location_generator "/dialogflow:v2beta1/dialogflow.projects.locations.generators.get/name": name "/dialogflow:v2beta1/dialogflow.projects.locations.generators.list": list_project_location_generators diff --git a/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md b/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md index 37055a0be1d..5cd82595ad9 100644 --- a/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md +++ b/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-dialogflow_v2beta1 +### v0.111.0 (2025-09-28) + +* Regenerated from discovery document revision 20250919 + ### v0.110.0 (2025-08-31) * Regenerated from discovery document revision 20250828 diff --git a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/classes.rb b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/classes.rb index cc01b562fa8..5056fe1f88f 100644 --- a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/classes.rb +++ b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/classes.rb @@ -14228,6 +14228,39 @@ def update!(**args) end end + # A common evalaution pipeline status. + class GoogleCloudDialogflowV2beta1EvaluationStatus + include Google::Apis::Core::Hashable + + # Output only. If the value is `false`, it means the evaluation is still in + # progress. If `true`, the operation is completed, and either `error` or ` + # response` is available. + # Corresponds to the JSON property `done` + # @return [Boolean] + attr_accessor :done + alias_method :done?, :done + + # The `Status` type defines a logical error model that is suitable for different + # programming environments, including REST APIs and RPC APIs. It is used by [ + # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of + # data: error code, error message, and error details. You can find out more + # about this error model and how to work with it in the [API Design Guide](https: + # //cloud.google.com/apis/design/errors). + # Corresponds to the JSON property `pipelineStatus` + # @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus] + attr_accessor :pipeline_status + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @done = args[:done] if args.key?(:done) + @pipeline_status = args[:pipeline_status] if args.key?(:pipeline_status) + end + end + # Events allow for matching intents by event name instead of the natural # language input. For instance, input `` can trigger a personalized welcome # response. The parameter `name` may be used by the agent in the response: `" @@ -15047,6 +15080,261 @@ def update!(**args) end end + # Represents evaluation result of a generator. + class GoogleCloudDialogflowV2beta1GeneratorEvaluation + include Google::Apis::Core::Hashable + + # Output only. Completion time of this generator evaluation. + # Corresponds to the JSON property `completeTime` + # @return [String] + attr_accessor :complete_time + + # Output only. Creation time of this generator evaluation. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Optional. The display name of the generator evaluation. At most 64 bytes long. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # A common evalaution pipeline status. + # Corresponds to the JSON property `evaluationStatus` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus] + attr_accessor :evaluation_status + + # Generator evaluation input config. + # Corresponds to the JSON property `generatorEvaluationConfig` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig] + attr_accessor :generator_evaluation_config + + # LLM generator. + # Corresponds to the JSON property `initialGenerator` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator] + attr_accessor :initial_generator + + # Output only. Identifier. The resource name of the evaluation. Format: ` + # projects//locations//generators// evaluations/` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Evaluation metrics for summarization generator. + # Corresponds to the JSON property `summarizationMetrics` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics] + attr_accessor :summarization_metrics + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @complete_time = args[:complete_time] if args.key?(:complete_time) + @create_time = args[:create_time] if args.key?(:create_time) + @display_name = args[:display_name] if args.key?(:display_name) + @evaluation_status = args[:evaluation_status] if args.key?(:evaluation_status) + @generator_evaluation_config = args[:generator_evaluation_config] if args.key?(:generator_evaluation_config) + @initial_generator = args[:initial_generator] if args.key?(:initial_generator) + @name = args[:name] if args.key?(:name) + @summarization_metrics = args[:summarization_metrics] if args.key?(:summarization_metrics) + end + end + + # Generator evaluation input config. + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig + include Google::Apis::Core::Hashable + + # Input data config details + # Corresponds to the JSON property `inputDataConfig` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig] + attr_accessor :input_data_config + + # Required. The output Cloud Storage bucket path to store eval files, e.g. + # per_summary_accuracy_score report. This path is provided by customer and files + # stored in it are visible to customer, no internal data should be stored in + # this path. + # Corresponds to the JSON property `outputGcsBucketPath` + # @return [String] + attr_accessor :output_gcs_bucket_path + + # Evaluation configs for summarization generator. + # Corresponds to the JSON property `summarizationConfig` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig] + attr_accessor :summarization_config + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @input_data_config = args[:input_data_config] if args.key?(:input_data_config) + @output_gcs_bucket_path = args[:output_gcs_bucket_path] if args.key?(:output_gcs_bucket_path) + @summarization_config = args[:summarization_config] if args.key?(:summarization_config) + end + end + + # The distinctive configs for Agent Assist conversations as the conversation + # source. + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig + include Google::Apis::Core::Hashable + + # Required. The end of the time range for conversations to be evaluated. Only + # conversations ended at or before this timestamp will be sampled. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Required. The start of the time range for conversations to be evaluated. Only + # conversations created at or after this timestamp will be sampled. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @end_time = args[:end_time] if args.key?(:end_time) + @start_time = args[:start_time] if args.key?(:start_time) + end + end + + # The distinctive configs for dataset as the conversation source. + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig + include Google::Apis::Core::Hashable + + # Required. The identifier of the dataset to be evaluated. Format: `projects// + # locations//datasets/`. + # Corresponds to the JSON property `dataset` + # @return [String] + attr_accessor :dataset + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @dataset = args[:dataset] if args.key?(:dataset) + end + end + + # Input data config details + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig + include Google::Apis::Core::Hashable + + # The distinctive configs for Agent Assist conversations as the conversation + # source. + # Corresponds to the JSON property `agentAssistInputDataConfig` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig] + attr_accessor :agent_assist_input_data_config + + # The distinctive configs for dataset as the conversation source. + # Corresponds to the JSON property `datasetInputDataConfig` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig] + attr_accessor :dataset_input_data_config + + # Optional. The end timestamp to fetch conversation data. + # Corresponds to the JSON property `endTime` + # @return [String] + attr_accessor :end_time + + # Required. The source type of input data. + # Corresponds to the JSON property `inputDataSourceType` + # @return [String] + attr_accessor :input_data_source_type + + # Optional. Whether the summary generation is allowed when the pre-existing + # qualified summaries are insufficient to cover the sample size. + # Corresponds to the JSON property `isSummaryGenerationAllowed` + # @return [Boolean] + attr_accessor :is_summary_generation_allowed + alias_method :is_summary_generation_allowed?, :is_summary_generation_allowed + + # Optional. Desired number of conversation-summary pairs to be evaluated. + # Corresponds to the JSON property `sampleSize` + # @return [Fixnum] + attr_accessor :sample_size + + # Optional. The start timestamp to fetch conversation data. + # Corresponds to the JSON property `startTime` + # @return [String] + attr_accessor :start_time + + # Optional. Option to control whether summaries are generated during evaluation. + # Corresponds to the JSON property `summaryGenerationOption` + # @return [String] + attr_accessor :summary_generation_option + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @agent_assist_input_data_config = args[:agent_assist_input_data_config] if args.key?(:agent_assist_input_data_config) + @dataset_input_data_config = args[:dataset_input_data_config] if args.key?(:dataset_input_data_config) + @end_time = args[:end_time] if args.key?(:end_time) + @input_data_source_type = args[:input_data_source_type] if args.key?(:input_data_source_type) + @is_summary_generation_allowed = args[:is_summary_generation_allowed] if args.key?(:is_summary_generation_allowed) + @sample_size = args[:sample_size] if args.key?(:sample_size) + @start_time = args[:start_time] if args.key?(:start_time) + @summary_generation_option = args[:summary_generation_option] if args.key?(:summary_generation_option) + end + end + + # Evaluation configs for summarization generator. + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig + include Google::Apis::Core::Hashable + + # Optional. Version for summarization accuracy. This will determine the prompt + # and model used at backend. + # Corresponds to the JSON property `accuracyEvaluationVersion` + # @return [String] + attr_accessor :accuracy_evaluation_version + + # Optional. Version for summarization completeness. This will determine the + # prompt and model used at backend. + # Corresponds to the JSON property `completenessEvaluationVersion` + # @return [String] + attr_accessor :completeness_evaluation_version + + # Optional. Enable accuracy evaluation. + # Corresponds to the JSON property `enableAccuracyEvaluation` + # @return [Boolean] + attr_accessor :enable_accuracy_evaluation + alias_method :enable_accuracy_evaluation?, :enable_accuracy_evaluation + + # Optional. Enable completeness evaluation. + # Corresponds to the JSON property `enableCompletenessEvaluation` + # @return [Boolean] + attr_accessor :enable_completeness_evaluation + alias_method :enable_completeness_evaluation?, :enable_completeness_evaluation + + # Output only. Version for summarization evaluation. + # Corresponds to the JSON property `evaluatorVersion` + # @return [String] + attr_accessor :evaluator_version + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accuracy_evaluation_version = args[:accuracy_evaluation_version] if args.key?(:accuracy_evaluation_version) + @completeness_evaluation_version = args[:completeness_evaluation_version] if args.key?(:completeness_evaluation_version) + @enable_accuracy_evaluation = args[:enable_accuracy_evaluation] if args.key?(:enable_accuracy_evaluation) + @enable_completeness_evaluation = args[:enable_completeness_evaluation] if args.key?(:enable_completeness_evaluation) + @evaluator_version = args[:evaluator_version] if args.key?(:evaluator_version) + end + end + # Suggestion generated using a Generator. class GoogleCloudDialogflowV2beta1GeneratorSuggestion include Google::Apis::Core::Hashable @@ -18462,6 +18750,32 @@ def update!(**args) end end + # Response of ListGeneratorEvaluations. + class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse + include Google::Apis::Core::Hashable + + # The list of evaluations to return. + # Corresponds to the JSON property `generatorEvaluations` + # @return [Array] + attr_accessor :generator_evaluations + + # Token to retrieve the next page of results, or empty if there are no more + # results in the list. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @generator_evaluations = args[:generator_evaluations] if args.key?(:generator_evaluations) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response of ListGenerators. class GoogleCloudDialogflowV2beta1ListGeneratorsResponse include Google::Apis::Core::Hashable @@ -21490,6 +21804,451 @@ def update!(**args) end end + # Evaluation metrics for summarization generator. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics + include Google::Apis::Core::Hashable + + # Output only. List of conversation details. + # Corresponds to the JSON property `conversationDetails` + # @return [Array] + attr_accessor :conversation_details + + # Output only. A list of aggregated(average) scores per metric section. + # Corresponds to the JSON property `overallMetrics` + # @return [Array] + attr_accessor :overall_metrics + + # Output only. Overall token per section. This is an aggregated(sum) result of + # input token of summary acorss all conversations that are selected for + # summarization evaluation. + # Corresponds to the JSON property `overallSectionTokens` + # @return [Array] + attr_accessor :overall_section_tokens + + # Output only. User bucket uri for merged evaluation score and aggregation score + # csv. + # Corresponds to the JSON property `summarizationEvaluationMergedResultsUri` + # @return [String] + attr_accessor :summarization_evaluation_merged_results_uri + + # Output only. A list of evaluation results per conversation(&summary), metric + # and section. + # Corresponds to the JSON property `summarizationEvaluationResults` + # @return [Array] + attr_accessor :summarization_evaluation_results + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @conversation_details = args[:conversation_details] if args.key?(:conversation_details) + @overall_metrics = args[:overall_metrics] if args.key?(:overall_metrics) + @overall_section_tokens = args[:overall_section_tokens] if args.key?(:overall_section_tokens) + @summarization_evaluation_merged_results_uri = args[:summarization_evaluation_merged_results_uri] if args.key?(:summarization_evaluation_merged_results_uri) + @summarization_evaluation_results = args[:summarization_evaluation_results] if args.key?(:summarization_evaluation_results) + end + end + + # Decomposition details for accuracy. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition + include Google::Apis::Core::Hashable + + # Output only. The accuracy reasoning of the breakdown point. + # Corresponds to the JSON property `accuracyReasoning` + # @return [String] + attr_accessor :accuracy_reasoning + + # Output only. Whether the breakdown point is accurate or not. + # Corresponds to the JSON property `isAccurate` + # @return [Boolean] + attr_accessor :is_accurate + alias_method :is_accurate?, :is_accurate + + # Output only. The breakdown point of the summary. + # Corresponds to the JSON property `point` + # @return [String] + attr_accessor :point + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accuracy_reasoning = args[:accuracy_reasoning] if args.key?(:accuracy_reasoning) + @is_accurate = args[:is_accurate] if args.key?(:is_accurate) + @point = args[:point] if args.key?(:point) + end + end + + # Decomposition details for adherence. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition + include Google::Apis::Core::Hashable + + # Output only. The adherence reasoning of the breakdown point. + # Corresponds to the JSON property `adherenceReasoning` + # @return [String] + attr_accessor :adherence_reasoning + + # Output only. Whether the breakdown point is adherent or not. + # Corresponds to the JSON property `isAdherent` + # @return [Boolean] + attr_accessor :is_adherent + alias_method :is_adherent?, :is_adherent + + # Output only. The breakdown point of the given instructions. + # Corresponds to the JSON property `point` + # @return [String] + attr_accessor :point + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @adherence_reasoning = args[:adherence_reasoning] if args.key?(:adherence_reasoning) + @is_adherent = args[:is_adherent] if args.key?(:is_adherent) + @point = args[:point] if args.key?(:point) + end + end + + # Rubric result of the adherence evaluation. A rubric is ued to determine if the + # summary adheres to all aspects of the given instructions. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric + include Google::Apis::Core::Hashable + + # Output only. A boolean that indicates whether the rubric question is addressed + # or not. + # Corresponds to the JSON property `isAddressed` + # @return [Boolean] + attr_accessor :is_addressed + alias_method :is_addressed?, :is_addressed + + # Output only. The question generated from instruction that used to evaluate + # summary. + # Corresponds to the JSON property `question` + # @return [String] + attr_accessor :question + + # Output only. The reasoning of the rubric question is addressed or not. + # Corresponds to the JSON property `reasoning` + # @return [String] + attr_accessor :reasoning + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_addressed = args[:is_addressed] if args.key?(:is_addressed) + @question = args[:question] if args.key?(:question) + @reasoning = args[:reasoning] if args.key?(:reasoning) + end + end + + # Rubric details of the completeness evaluation result. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric + include Google::Apis::Core::Hashable + + # Output only. A boolean that indicates whether the rubric question is addressed + # or not. + # Corresponds to the JSON property `isAddressed` + # @return [Boolean] + attr_accessor :is_addressed + alias_method :is_addressed?, :is_addressed + + # Output only. The question generated from instruction that used to evaluate + # summary. + # Corresponds to the JSON property `question` + # @return [String] + attr_accessor :question + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @is_addressed = args[:is_addressed] if args.key?(:is_addressed) + @question = args[:question] if args.key?(:question) + end + end + + # Aggregated evaluation result on conversation level. This contains evaluation + # results of all the metrics and sections. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail + include Google::Apis::Core::Hashable + + # Output only. Conversation transcript that used for summarization evaluation as + # a reference. + # Corresponds to the JSON property `messageEntries` + # @return [Array] + attr_accessor :message_entries + + # Output only. List of metric details. + # Corresponds to the JSON property `metricDetails` + # @return [Array] + attr_accessor :metric_details + + # Output only. Conversation level token count per section. This is an aggregated( + # sum) result of input token of summary acorss all metrics for a single + # conversation. + # Corresponds to the JSON property `sectionTokens` + # @return [Array] + attr_accessor :section_tokens + + # Output only. Summary sections that used for summarization evaluation as a + # reference. + # Corresponds to the JSON property `summarySections` + # @return [Array] + attr_accessor :summary_sections + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @message_entries = args[:message_entries] if args.key?(:message_entries) + @metric_details = args[:metric_details] if args.key?(:metric_details) + @section_tokens = args[:section_tokens] if args.key?(:section_tokens) + @summary_sections = args[:summary_sections] if args.key?(:summary_sections) + end + end + + # Aggregated result on metric level. This contains the evaluation results of all + # the sections. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail + include Google::Apis::Core::Hashable + + # Output only. Metrics name. e.g. accuracy, adherence, completeness. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # Output only. Aggregated(average) score on this metric across all sections. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # Output only. List of section details. + # Corresponds to the JSON property `sectionDetails` + # @return [Array] + attr_accessor :section_details + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + @score = args[:score] if args.key?(:score) + @section_details = args[:section_details] if args.key?(:section_details) + end + end + + # Section level result. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail + include Google::Apis::Core::Hashable + + # Output only. List of evaluation result. The list only contains one kind of the + # evaluation result. + # Corresponds to the JSON property `evaluationResults` + # @return [Array] + attr_accessor :evaluation_results + + # Output only. Aggregated(average) score on this section across all evaluation + # results. Either decompositions or rubrics. + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # Output only. The name of the summary instruction. + # Corresponds to the JSON property `section` + # @return [String] + attr_accessor :section + + # Output only. Summary for this section + # Corresponds to the JSON property `sectionSummary` + # @return [String] + attr_accessor :section_summary + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results) + @score = args[:score] if args.key?(:score) + @section = args[:section] if args.key?(:section) + @section_summary = args[:section_summary] if args.key?(:section_summary) + end + end + + # Decomposition details + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition + include Google::Apis::Core::Hashable + + # Decomposition details for accuracy. + # Corresponds to the JSON property `accuracyDecomposition` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition] + attr_accessor :accuracy_decomposition + + # Decomposition details for adherence. + # Corresponds to the JSON property `adherenceDecomposition` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition] + attr_accessor :adherence_decomposition + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accuracy_decomposition = args[:accuracy_decomposition] if args.key?(:accuracy_decomposition) + @adherence_decomposition = args[:adherence_decomposition] if args.key?(:adherence_decomposition) + end + end + + # Evaluation result that contains one of accuracy, adherence or completeness + # evaluation result. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult + include Google::Apis::Core::Hashable + + # Decomposition details for accuracy. + # Corresponds to the JSON property `accuracyDecomposition` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition] + attr_accessor :accuracy_decomposition + + # Rubric result of the adherence evaluation. A rubric is ued to determine if the + # summary adheres to all aspects of the given instructions. + # Corresponds to the JSON property `adherenceRubric` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric] + attr_accessor :adherence_rubric + + # Rubric details of the completeness evaluation result. + # Corresponds to the JSON property `completenessRubric` + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric] + attr_accessor :completeness_rubric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @accuracy_decomposition = args[:accuracy_decomposition] if args.key?(:accuracy_decomposition) + @adherence_rubric = args[:adherence_rubric] if args.key?(:adherence_rubric) + @completeness_rubric = args[:completeness_rubric] if args.key?(:completeness_rubric) + end + end + + # Overall performance per metric. This is the aggregated score for each metric + # across all conversations that are selected for summarization evaluation. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric + include Google::Apis::Core::Hashable + + # Output only. Metric name. e.g. accuracy, adherence, completeness. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @metric = args[:metric] if args.key?(:metric) + end + end + + # A pair of section name and input token count of the input summary section. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken + include Google::Apis::Core::Hashable + + # Output only. The name of the summary instruction. + # Corresponds to the JSON property `section` + # @return [String] + attr_accessor :section + + # Output only. Token count. + # Corresponds to the JSON property `tokenCount` + # @return [Fixnum] + attr_accessor :token_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @section = args[:section] if args.key?(:section) + @token_count = args[:token_count] if args.key?(:token_count) + end + end + + # Evaluation result per conversation(&summary), metric and section. + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult + include Google::Apis::Core::Hashable + + # Output only. List of decompostion details + # Corresponds to the JSON property `decompositions` + # @return [Array] + attr_accessor :decompositions + + # Output only. List of evaluation results. + # Corresponds to the JSON property `evaluationResults` + # @return [Array] + attr_accessor :evaluation_results + + # Output only. metric name, e.g. accuracy, completeness, adherence, etc. + # Corresponds to the JSON property `metric` + # @return [String] + attr_accessor :metric + + # Output only. score calculated from decompositions + # Corresponds to the JSON property `score` + # @return [Float] + attr_accessor :score + + # Output only. section/task name, e.g. action, situation, etc + # Corresponds to the JSON property `section` + # @return [String] + attr_accessor :section + + # Output only. Summary of this section + # Corresponds to the JSON property `sectionSummary` + # @return [String] + attr_accessor :section_summary + + # Output only. conversation session id + # Corresponds to the JSON property `sessionId` + # @return [String] + attr_accessor :session_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @decompositions = args[:decompositions] if args.key?(:decompositions) + @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results) + @metric = args[:metric] if args.key?(:metric) + @score = args[:score] if args.key?(:score) + @section = args[:section] if args.key?(:section) + @section_summary = args[:section_summary] if args.key?(:section_summary) + @session_id = args[:session_id] if args.key?(:session_id) + end + end + # Represents the section of summarization. class GoogleCloudDialogflowV2beta1SummarizationSection include Google::Apis::Core::Hashable diff --git a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/gem_version.rb b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/gem_version.rb index 677ec37328b..dec522d995f 100644 --- a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/gem_version.rb +++ b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DialogflowV2beta1 # Version of the google-apis-dialogflow_v2beta1 gem - GEM_VERSION = "0.110.0" + GEM_VERSION = "0.111.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20250828" + REVISION = "20250919" end end end diff --git a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/representations.rb b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/representations.rb index e8fa8dea338..40d2aa4ae97 100644 --- a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/representations.rb +++ b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/representations.rb @@ -2248,6 +2248,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1EvaluationStatus + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1EventInput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2392,6 +2398,42 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1GeneratorEvaluation + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1GeneratorSuggestion class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2974,6 +3016,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1ListGeneratorsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3430,6 +3478,84 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDialogflowV2beta1SummarizationSection class Representation < Google::Apis::Core::JsonRepresentation; end @@ -7410,6 +7536,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDialogflowV2beta1EvaluationStatus + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :done, as: 'done' + property :pipeline_status, as: 'pipelineStatus', class: Google::Apis::DialogflowV2beta1::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleRpcStatus::Representation + + end + end + class GoogleCloudDialogflowV2beta1EventInput # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -7641,6 +7776,77 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDialogflowV2beta1GeneratorEvaluation + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :complete_time, as: 'completeTime' + property :create_time, as: 'createTime' + property :display_name, as: 'displayName' + property :evaluation_status, as: 'evaluationStatus', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus::Representation + + property :generator_evaluation_config, as: 'generatorEvaluationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig::Representation + + property :initial_generator, as: 'initialGenerator', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator::Representation + + property :name, as: 'name' + property :summarization_metrics, as: 'summarizationMetrics', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics::Representation + + end + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :input_data_config, as: 'inputDataConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig::Representation + + property :output_gcs_bucket_path, as: 'outputGcsBucketPath' + property :summarization_config, as: 'summarizationConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig::Representation + + end + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :end_time, as: 'endTime' + property :start_time, as: 'startTime' + end + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :dataset, as: 'dataset' + end + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :agent_assist_input_data_config, as: 'agentAssistInputDataConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig::Representation + + property :dataset_input_data_config, as: 'datasetInputDataConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig::Representation + + property :end_time, as: 'endTime' + property :input_data_source_type, as: 'inputDataSourceType' + property :is_summary_generation_allowed, as: 'isSummaryGenerationAllowed' + property :sample_size, as: 'sampleSize' + property :start_time, as: 'startTime' + property :summary_generation_option, as: 'summaryGenerationOption' + end + end + + class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accuracy_evaluation_version, as: 'accuracyEvaluationVersion' + property :completeness_evaluation_version, as: 'completenessEvaluationVersion' + property :enable_accuracy_evaluation, as: 'enableAccuracyEvaluation' + property :enable_completeness_evaluation, as: 'enableCompletenessEvaluation' + property :evaluator_version, as: 'evaluatorVersion' + end + end + class GoogleCloudDialogflowV2beta1GeneratorSuggestion # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -8621,6 +8827,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :generator_evaluations, as: 'generatorEvaluations', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudDialogflowV2beta1ListGeneratorsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -9413,6 +9628,143 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :conversation_details, as: 'conversationDetails', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail::Representation + + collection :overall_metrics, as: 'overallMetrics', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric::Representation + + collection :overall_section_tokens, as: 'overallSectionTokens', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken::Representation + + property :summarization_evaluation_merged_results_uri, as: 'summarizationEvaluationMergedResultsUri' + collection :summarization_evaluation_results, as: 'summarizationEvaluationResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult::Representation + + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accuracy_reasoning, as: 'accuracyReasoning' + property :is_accurate, as: 'isAccurate' + property :point, as: 'point' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :adherence_reasoning, as: 'adherenceReasoning' + property :is_adherent, as: 'isAdherent' + property :point, as: 'point' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_addressed, as: 'isAddressed' + property :question, as: 'question' + property :reasoning, as: 'reasoning' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :is_addressed, as: 'isAddressed' + property :question, as: 'question' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :message_entries, as: 'messageEntries', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry::Representation + + collection :metric_details, as: 'metricDetails', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail::Representation + + collection :section_tokens, as: 'sectionTokens', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken::Representation + + collection :summary_sections, as: 'summarySections', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection::Representation + + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric' + property :score, as: 'score' + collection :section_details, as: 'sectionDetails', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail::Representation + + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :evaluation_results, as: 'evaluationResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult::Representation + + property :score, as: 'score' + property :section, as: 'section' + property :section_summary, as: 'sectionSummary' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accuracy_decomposition, as: 'accuracyDecomposition', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition::Representation + + property :adherence_decomposition, as: 'adherenceDecomposition', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition::Representation + + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :accuracy_decomposition, as: 'accuracyDecomposition', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition::Representation + + property :adherence_rubric, as: 'adherenceRubric', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric::Representation + + property :completeness_rubric, as: 'completenessRubric', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric::Representation + + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :metric, as: 'metric' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :section, as: 'section' + property :token_count, :numeric_string => true, as: 'tokenCount' + end + end + + class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :decompositions, as: 'decompositions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition::Representation + + collection :evaluation_results, as: 'evaluationResults', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult::Representation + + property :metric, as: 'metric' + property :score, as: 'score' + property :section, as: 'section' + property :section_summary, as: 'sectionSummary' + property :session_id, as: 'sessionId' + end + end + class GoogleCloudDialogflowV2beta1SummarizationSection # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/service.rb b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/service.rb index 4ba9b4a21c5..dd87353e50c 100644 --- a/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/service.rb +++ b/generated/google-apis-dialogflow_v2beta1/lib/google/apis/dialogflow_v2beta1/service.rb @@ -4923,8 +4923,8 @@ def get_project_location_encryption_spec(name, fields: nil, quota_user: nil, opt # @param [String] name # The resource that owns the locations collection, if applicable. # @param [Array, String] extra_location_types - # Optional. Do not use this field. It is unsupported and is ignored unless - # explicitly documented otherwise. This is primarily for internal usage. + # Optional. Unless explicitly documented otherwise, don't use this unsupported + # field which is primarily intended for internal usage. # @param [String] filter # A filter to narrow down results to a preferred subset. The filtering language # accepts strings like `"displayName=tokyo"`, and is documented in more detail @@ -8787,6 +8787,141 @@ def patch_project_location_generator(name, google_cloud_dialogflow_v2beta1_gener execute_or_queue_command(command, &block) end + # Creates evaluation of a generator. + # @param [String] parent + # Required. The generator resource name. Format: `projects//locations// + # generators/` + # @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] google_cloud_dialogflow_v2beta1_generator_evaluation_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_generator_evaluation(parent, google_cloud_dialogflow_v2beta1_generator_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v2beta1/{+parent}/evaluations', options) + command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation + command.request_object = google_cloud_dialogflow_v2beta1_generator_evaluation_object + command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an evaluation of generator. + # @param [String] name + # Required. The generator evaluation resource name. Format: `projects//locations/ + # /generators// evaluations/` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v2beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation + command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an evaluation of generator. + # @param [String] name + # Required. The generator evaluation resource name. Format: `projects//locations/ + # /generators//evaluations/` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+name}', options) + command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation::Representation + command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists evaluations of generator. + # @param [String] parent + # Required. The generator resource name. Format: `projects//locations// + # generators/` Wildcard value `-` is supported on generator_id to list + # evaluations across all generators under same project. + # @param [Fixnum] page_size + # Optional. Maximum number of evaluations to return in a single page. By default + # 100 and at most 1000. + # @param [String] page_token + # Optional. The next_page_token value returned from a previous list request. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_generator_evaluations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v2beta1/{+parent}/evaluations', options) + command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse::Representation + command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse + command.params['parent'] = parent unless parent.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates a knowledge base. Note: The `projects.agent.knowledgeBases` resource # is deprecated; only use `projects.knowledgeBases`. # @param [String] parent