google-apis-dialogflow_v2 0.110.0 → 0.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV2
18
18
  # Version of the google-apis-dialogflow_v2 gem
19
- GEM_VERSION = "0.110.0"
19
+ GEM_VERSION = "0.112.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250812"
25
+ REVISION = "20250919"
26
26
  end
27
27
  end
28
28
  end
@@ -1708,6 +1708,12 @@ module Google
1708
1708
  include Google::Apis::Core::JsonObjectSupport
1709
1709
  end
1710
1710
 
1711
+ class GoogleCloudDialogflowV2EvaluationStatus
1712
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1713
+
1714
+ include Google::Apis::Core::JsonObjectSupport
1715
+ end
1716
+
1711
1717
  class GoogleCloudDialogflowV2EventInput
1712
1718
  class Representation < Google::Apis::Core::JsonRepresentation; end
1713
1719
 
@@ -1852,6 +1858,42 @@ module Google
1852
1858
  include Google::Apis::Core::JsonObjectSupport
1853
1859
  end
1854
1860
 
1861
+ class GoogleCloudDialogflowV2GeneratorEvaluation
1862
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1863
+
1864
+ include Google::Apis::Core::JsonObjectSupport
1865
+ end
1866
+
1867
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfig
1868
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1869
+
1870
+ include Google::Apis::Core::JsonObjectSupport
1871
+ end
1872
+
1873
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig
1874
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1875
+
1876
+ include Google::Apis::Core::JsonObjectSupport
1877
+ end
1878
+
1879
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig
1880
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1881
+
1882
+ include Google::Apis::Core::JsonObjectSupport
1883
+ end
1884
+
1885
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
1886
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1887
+
1888
+ include Google::Apis::Core::JsonObjectSupport
1889
+ end
1890
+
1891
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
1892
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1893
+
1894
+ include Google::Apis::Core::JsonObjectSupport
1895
+ end
1896
+
1855
1897
  class GoogleCloudDialogflowV2GeneratorSuggestion
1856
1898
  class Representation < Google::Apis::Core::JsonRepresentation; end
1857
1899
 
@@ -2380,6 +2422,12 @@ module Google
2380
2422
  include Google::Apis::Core::JsonObjectSupport
2381
2423
  end
2382
2424
 
2425
+ class GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse
2426
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2427
+
2428
+ include Google::Apis::Core::JsonObjectSupport
2429
+ end
2430
+
2383
2431
  class GoogleCloudDialogflowV2ListGeneratorsResponse
2384
2432
  class Representation < Google::Apis::Core::JsonRepresentation; end
2385
2433
 
@@ -2764,6 +2812,84 @@ module Google
2764
2812
  include Google::Apis::Core::JsonObjectSupport
2765
2813
  end
2766
2814
 
2815
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetrics
2816
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2817
+
2818
+ include Google::Apis::Core::JsonObjectSupport
2819
+ end
2820
+
2821
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition
2822
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2823
+
2824
+ include Google::Apis::Core::JsonObjectSupport
2825
+ end
2826
+
2827
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition
2828
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2829
+
2830
+ include Google::Apis::Core::JsonObjectSupport
2831
+ end
2832
+
2833
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
2834
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2835
+
2836
+ include Google::Apis::Core::JsonObjectSupport
2837
+ end
2838
+
2839
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
2840
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2841
+
2842
+ include Google::Apis::Core::JsonObjectSupport
2843
+ end
2844
+
2845
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail
2846
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2847
+
2848
+ include Google::Apis::Core::JsonObjectSupport
2849
+ end
2850
+
2851
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail
2852
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2853
+
2854
+ include Google::Apis::Core::JsonObjectSupport
2855
+ end
2856
+
2857
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
2858
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2859
+
2860
+ include Google::Apis::Core::JsonObjectSupport
2861
+ end
2862
+
2863
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition
2864
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2865
+
2866
+ include Google::Apis::Core::JsonObjectSupport
2867
+ end
2868
+
2869
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult
2870
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2871
+
2872
+ include Google::Apis::Core::JsonObjectSupport
2873
+ end
2874
+
2875
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric
2876
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2877
+
2878
+ include Google::Apis::Core::JsonObjectSupport
2879
+ end
2880
+
2881
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken
2882
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2883
+
2884
+ include Google::Apis::Core::JsonObjectSupport
2885
+ end
2886
+
2887
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
2888
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2889
+
2890
+ include Google::Apis::Core::JsonObjectSupport
2891
+ end
2892
+
2767
2893
  class GoogleCloudDialogflowV2SummarizationSection
2768
2894
  class Representation < Google::Apis::Core::JsonRepresentation; end
2769
2895
 
@@ -6488,6 +6614,15 @@ module Google
6488
6614
  end
6489
6615
  end
6490
6616
 
6617
+ class GoogleCloudDialogflowV2EvaluationStatus
6618
+ # @private
6619
+ class Representation < Google::Apis::Core::JsonRepresentation
6620
+ property :done, as: 'done'
6621
+ property :pipeline_status, as: 'pipelineStatus', class: Google::Apis::DialogflowV2::GoogleRpcStatus, decorator: Google::Apis::DialogflowV2::GoogleRpcStatus::Representation
6622
+
6623
+ end
6624
+ end
6625
+
6491
6626
  class GoogleCloudDialogflowV2EventInput
6492
6627
  # @private
6493
6628
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6722,6 +6857,77 @@ module Google
6722
6857
  end
6723
6858
  end
6724
6859
 
6860
+ class GoogleCloudDialogflowV2GeneratorEvaluation
6861
+ # @private
6862
+ class Representation < Google::Apis::Core::JsonRepresentation
6863
+ property :complete_time, as: 'completeTime'
6864
+ property :create_time, as: 'createTime'
6865
+ property :display_name, as: 'displayName'
6866
+ property :evaluation_status, as: 'evaluationStatus', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EvaluationStatus::Representation
6867
+
6868
+ property :generator_evaluation_config, as: 'generatorEvaluationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfig::Representation
6869
+
6870
+ property :initial_generator, as: 'initialGenerator', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator::Representation
6871
+
6872
+ property :name, as: 'name'
6873
+ property :summarization_metrics, as: 'summarizationMetrics', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics::Representation
6874
+
6875
+ end
6876
+ end
6877
+
6878
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfig
6879
+ # @private
6880
+ class Representation < Google::Apis::Core::JsonRepresentation
6881
+ property :input_data_config, as: 'inputDataConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig::Representation
6882
+
6883
+ property :output_gcs_bucket_path, as: 'outputGcsBucketPath'
6884
+ property :summarization_config, as: 'summarizationConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig::Representation
6885
+
6886
+ end
6887
+ end
6888
+
6889
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig
6890
+ # @private
6891
+ class Representation < Google::Apis::Core::JsonRepresentation
6892
+ property :end_time, as: 'endTime'
6893
+ property :start_time, as: 'startTime'
6894
+ end
6895
+ end
6896
+
6897
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig
6898
+ # @private
6899
+ class Representation < Google::Apis::Core::JsonRepresentation
6900
+ property :dataset, as: 'dataset'
6901
+ end
6902
+ end
6903
+
6904
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigInputDataConfig
6905
+ # @private
6906
+ class Representation < Google::Apis::Core::JsonRepresentation
6907
+ property :agent_assist_input_data_config, as: 'agentAssistInputDataConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigAgentAssistInputDataConfig::Representation
6908
+
6909
+ property :dataset_input_data_config, as: 'datasetInputDataConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluationConfigDatasetInputDataConfig::Representation
6910
+
6911
+ property :end_time, as: 'endTime'
6912
+ property :input_data_source_type, as: 'inputDataSourceType'
6913
+ property :is_summary_generation_allowed, as: 'isSummaryGenerationAllowed'
6914
+ property :sample_size, as: 'sampleSize'
6915
+ property :start_time, as: 'startTime'
6916
+ property :summary_generation_option, as: 'summaryGenerationOption'
6917
+ end
6918
+ end
6919
+
6920
+ class GoogleCloudDialogflowV2GeneratorEvaluationConfigSummarizationConfig
6921
+ # @private
6922
+ class Representation < Google::Apis::Core::JsonRepresentation
6923
+ property :accuracy_evaluation_version, as: 'accuracyEvaluationVersion'
6924
+ property :completeness_evaluation_version, as: 'completenessEvaluationVersion'
6925
+ property :enable_accuracy_evaluation, as: 'enableAccuracyEvaluation'
6926
+ property :enable_completeness_evaluation, as: 'enableCompletenessEvaluation'
6927
+ property :evaluator_version, as: 'evaluatorVersion'
6928
+ end
6929
+ end
6930
+
6725
6931
  class GoogleCloudDialogflowV2GeneratorSuggestion
6726
6932
  # @private
6727
6933
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7604,6 +7810,15 @@ module Google
7604
7810
  end
7605
7811
  end
7606
7812
 
7813
+ class GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse
7814
+ # @private
7815
+ class Representation < Google::Apis::Core::JsonRepresentation
7816
+ collection :generator_evaluations, as: 'generatorEvaluations', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation::Representation
7817
+
7818
+ property :next_page_token, as: 'nextPageToken'
7819
+ end
7820
+ end
7821
+
7607
7822
  class GoogleCloudDialogflowV2ListGeneratorsResponse
7608
7823
  # @private
7609
7824
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8257,6 +8472,143 @@ module Google
8257
8472
  end
8258
8473
  end
8259
8474
 
8475
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetrics
8476
+ # @private
8477
+ class Representation < Google::Apis::Core::JsonRepresentation
8478
+ collection :conversation_details, as: 'conversationDetails', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail::Representation
8479
+
8480
+ collection :overall_metrics, as: 'overallMetrics', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric::Representation
8481
+
8482
+ collection :overall_section_tokens, as: 'overallSectionTokens', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken::Representation
8483
+
8484
+ property :summarization_evaluation_merged_results_uri, as: 'summarizationEvaluationMergedResultsUri'
8485
+ collection :summarization_evaluation_results, as: 'summarizationEvaluationResults', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult::Representation
8486
+
8487
+ end
8488
+ end
8489
+
8490
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition
8491
+ # @private
8492
+ class Representation < Google::Apis::Core::JsonRepresentation
8493
+ property :accuracy_reasoning, as: 'accuracyReasoning'
8494
+ property :is_accurate, as: 'isAccurate'
8495
+ property :point, as: 'point'
8496
+ end
8497
+ end
8498
+
8499
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition
8500
+ # @private
8501
+ class Representation < Google::Apis::Core::JsonRepresentation
8502
+ property :adherence_reasoning, as: 'adherenceReasoning'
8503
+ property :is_adherent, as: 'isAdherent'
8504
+ property :point, as: 'point'
8505
+ end
8506
+ end
8507
+
8508
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric
8509
+ # @private
8510
+ class Representation < Google::Apis::Core::JsonRepresentation
8511
+ property :is_addressed, as: 'isAddressed'
8512
+ property :question, as: 'question'
8513
+ property :reasoning, as: 'reasoning'
8514
+ end
8515
+ end
8516
+
8517
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric
8518
+ # @private
8519
+ class Representation < Google::Apis::Core::JsonRepresentation
8520
+ property :is_addressed, as: 'isAddressed'
8521
+ property :question, as: 'question'
8522
+ end
8523
+ end
8524
+
8525
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetail
8526
+ # @private
8527
+ class Representation < Google::Apis::Core::JsonRepresentation
8528
+ collection :message_entries, as: 'messageEntries', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2MessageEntry::Representation
8529
+
8530
+ collection :metric_details, as: 'metricDetails', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail::Representation
8531
+
8532
+ collection :section_tokens, as: 'sectionTokens', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken::Representation
8533
+
8534
+ collection :summary_sections, as: 'summarySections', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestionSummarySection::Representation
8535
+
8536
+ end
8537
+ end
8538
+
8539
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetail
8540
+ # @private
8541
+ class Representation < Google::Apis::Core::JsonRepresentation
8542
+ property :metric, as: 'metric'
8543
+ property :score, as: 'score'
8544
+ collection :section_details, as: 'sectionDetails', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail::Representation
8545
+
8546
+ end
8547
+ end
8548
+
8549
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
8550
+ # @private
8551
+ class Representation < Google::Apis::Core::JsonRepresentation
8552
+ collection :evaluation_results, as: 'evaluationResults', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult::Representation
8553
+
8554
+ property :score, as: 'score'
8555
+ property :section, as: 'section'
8556
+ property :section_summary, as: 'sectionSummary'
8557
+ end
8558
+ end
8559
+
8560
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition
8561
+ # @private
8562
+ class Representation < Google::Apis::Core::JsonRepresentation
8563
+ property :accuracy_decomposition, as: 'accuracyDecomposition', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition::Representation
8564
+
8565
+ property :adherence_decomposition, as: 'adherenceDecomposition', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition::Representation
8566
+
8567
+ end
8568
+ end
8569
+
8570
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult
8571
+ # @private
8572
+ class Representation < Google::Apis::Core::JsonRepresentation
8573
+ property :accuracy_decomposition, as: 'accuracyDecomposition', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAccuracyDecomposition::Representation
8574
+
8575
+ property :adherence_rubric, as: 'adherenceRubric', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceRubric::Representation
8576
+
8577
+ property :completeness_rubric, as: 'completenessRubric', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsCompletenessRubric::Representation
8578
+
8579
+ end
8580
+ end
8581
+
8582
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsOverallScoresByMetric
8583
+ # @private
8584
+ class Representation < Google::Apis::Core::JsonRepresentation
8585
+ property :metric, as: 'metric'
8586
+ end
8587
+ end
8588
+
8589
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSectionToken
8590
+ # @private
8591
+ class Representation < Google::Apis::Core::JsonRepresentation
8592
+ property :section, as: 'section'
8593
+ property :token_count, :numeric_string => true, as: 'tokenCount'
8594
+ end
8595
+ end
8596
+
8597
+ class GoogleCloudDialogflowV2SummarizationEvaluationMetricsSummarizationEvaluationResult
8598
+ # @private
8599
+ class Representation < Google::Apis::Core::JsonRepresentation
8600
+ collection :decompositions, as: 'decompositions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsDecomposition::Representation
8601
+
8602
+ collection :evaluation_results, as: 'evaluationResults', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsEvaluationResult::Representation
8603
+
8604
+ property :metric, as: 'metric'
8605
+ property :score, as: 'score'
8606
+ property :section, as: 'section'
8607
+ property :section_summary, as: 'sectionSummary'
8608
+ property :session_id, as: 'sessionId'
8609
+ end
8610
+ end
8611
+
8260
8612
  class GoogleCloudDialogflowV2SummarizationSection
8261
8613
  # @private
8262
8614
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5088,8 +5088,8 @@ module Google
5088
5088
  # @param [String] name
5089
5089
  # The resource that owns the locations collection, if applicable.
5090
5090
  # @param [Array<String>, String] extra_location_types
5091
- # Optional. A list of extra location types that should be used as conditions for
5092
- # controlling the visibility of the locations.
5091
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
5092
+ # field which is primarily intended for internal usage.
5093
5093
  # @param [String] filter
5094
5094
  # A filter to narrow down results to a preferred subset. The filtering language
5095
5095
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -9327,6 +9327,141 @@ module Google
9327
9327
  execute_or_queue_command(command, &block)
9328
9328
  end
9329
9329
 
9330
+ # Creates evaluation of a generator.
9331
+ # @param [String] parent
9332
+ # Required. The generator resource name. Format: `projects//locations//
9333
+ # generators/`
9334
+ # @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation] google_cloud_dialogflow_v2_generator_evaluation_object
9335
+ # @param [String] fields
9336
+ # Selector specifying which fields to include in a partial response.
9337
+ # @param [String] quota_user
9338
+ # Available to use for quota purposes for server-side applications. Can be any
9339
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9340
+ # @param [Google::Apis::RequestOptions] options
9341
+ # Request-specific options
9342
+ #
9343
+ # @yield [result, err] Result & error if block supplied
9344
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleLongrunningOperation] parsed result object
9345
+ # @yieldparam err [StandardError] error object if request failed
9346
+ #
9347
+ # @return [Google::Apis::DialogflowV2::GoogleLongrunningOperation]
9348
+ #
9349
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9350
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9351
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9352
+ def create_project_location_generator_evaluation(parent, google_cloud_dialogflow_v2_generator_evaluation_object = nil, fields: nil, quota_user: nil, options: nil, &block)
9353
+ command = make_simple_command(:post, 'v2/{+parent}/evaluations', options)
9354
+ command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation::Representation
9355
+ command.request_object = google_cloud_dialogflow_v2_generator_evaluation_object
9356
+ command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
9357
+ command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningOperation
9358
+ command.params['parent'] = parent unless parent.nil?
9359
+ command.query['fields'] = fields unless fields.nil?
9360
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9361
+ execute_or_queue_command(command, &block)
9362
+ end
9363
+
9364
+ # Deletes an evaluation of generator.
9365
+ # @param [String] name
9366
+ # Required. The generator evaluation resource name. Format: `projects//locations/
9367
+ # /generators// evaluations/`
9368
+ # @param [String] fields
9369
+ # Selector specifying which fields to include in a partial response.
9370
+ # @param [String] quota_user
9371
+ # Available to use for quota purposes for server-side applications. Can be any
9372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9373
+ # @param [Google::Apis::RequestOptions] options
9374
+ # Request-specific options
9375
+ #
9376
+ # @yield [result, err] Result & error if block supplied
9377
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
9378
+ # @yieldparam err [StandardError] error object if request failed
9379
+ #
9380
+ # @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
9381
+ #
9382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9385
+ def delete_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
9386
+ command = make_simple_command(:delete, 'v2/{+name}', options)
9387
+ command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
9388
+ command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
9389
+ command.params['name'] = name unless name.nil?
9390
+ command.query['fields'] = fields unless fields.nil?
9391
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9392
+ execute_or_queue_command(command, &block)
9393
+ end
9394
+
9395
+ # Gets an evaluation of generator.
9396
+ # @param [String] name
9397
+ # Required. The generator evaluation resource name. Format: `projects//locations/
9398
+ # /generators//evaluations/`
9399
+ # @param [String] fields
9400
+ # Selector specifying which fields to include in a partial response.
9401
+ # @param [String] quota_user
9402
+ # Available to use for quota purposes for server-side applications. Can be any
9403
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9404
+ # @param [Google::Apis::RequestOptions] options
9405
+ # Request-specific options
9406
+ #
9407
+ # @yield [result, err] Result & error if block supplied
9408
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation] parsed result object
9409
+ # @yieldparam err [StandardError] error object if request failed
9410
+ #
9411
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation]
9412
+ #
9413
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9414
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9415
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9416
+ def get_project_location_generator_evaluation(name, fields: nil, quota_user: nil, options: nil, &block)
9417
+ command = make_simple_command(:get, 'v2/{+name}', options)
9418
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation::Representation
9419
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorEvaluation
9420
+ command.params['name'] = name unless name.nil?
9421
+ command.query['fields'] = fields unless fields.nil?
9422
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9423
+ execute_or_queue_command(command, &block)
9424
+ end
9425
+
9426
+ # Lists evaluations of generator.
9427
+ # @param [String] parent
9428
+ # Required. The generator resource name. Format: `projects//locations//
9429
+ # generators/` Wildcard value `-` is supported on generator_id to list
9430
+ # evaluations across all generators under same project.
9431
+ # @param [Fixnum] page_size
9432
+ # Optional. Maximum number of evaluations to return in a single page. By default
9433
+ # 100 and at most 1000.
9434
+ # @param [String] page_token
9435
+ # Optional. The next_page_token value returned from a previous list request.
9436
+ # @param [String] fields
9437
+ # Selector specifying which fields to include in a partial response.
9438
+ # @param [String] quota_user
9439
+ # Available to use for quota purposes for server-side applications. Can be any
9440
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9441
+ # @param [Google::Apis::RequestOptions] options
9442
+ # Request-specific options
9443
+ #
9444
+ # @yield [result, err] Result & error if block supplied
9445
+ # @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse] parsed result object
9446
+ # @yieldparam err [StandardError] error object if request failed
9447
+ #
9448
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse]
9449
+ #
9450
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9451
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9452
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9453
+ def list_project_location_generator_evaluations(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9454
+ command = make_simple_command(:get, 'v2/{+parent}/evaluations', options)
9455
+ command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse::Representation
9456
+ command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ListGeneratorEvaluationsResponse
9457
+ command.params['parent'] = parent unless parent.nil?
9458
+ command.query['pageSize'] = page_size unless page_size.nil?
9459
+ command.query['pageToken'] = page_token unless page_token.nil?
9460
+ command.query['fields'] = fields unless fields.nil?
9461
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9462
+ execute_or_queue_command(command, &block)
9463
+ end
9464
+
9330
9465
  # Creates a knowledge base.
9331
9466
  # @param [String] parent
9332
9467
  # Required. The project to create a knowledge base for. Format: `projects//
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.110.0
4
+ version: 0.112.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.110.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.112.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2
62
62
  rdoc_options: []
63
63
  require_paths: