google-apis-dialogflow_v2 0.112.0 → 0.113.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.112.0"
19
+ GEM_VERSION = "0.113.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 = "20250919"
25
+ REVISION = "20250930"
26
26
  end
27
27
  end
28
28
  end
@@ -1318,6 +1318,66 @@ module Google
1318
1318
  include Google::Apis::Core::JsonObjectSupport
1319
1319
  end
1320
1320
 
1321
+ class GoogleCloudDialogflowV2AgentCoachingContext
1322
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1323
+
1324
+ include Google::Apis::Core::JsonObjectSupport
1325
+ end
1326
+
1327
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
1328
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1329
+
1330
+ include Google::Apis::Core::JsonObjectSupport
1331
+ end
1332
+
1333
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
1334
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1335
+
1336
+ include Google::Apis::Core::JsonObjectSupport
1337
+ end
1338
+
1339
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
1340
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1341
+
1342
+ include Google::Apis::Core::JsonObjectSupport
1343
+ end
1344
+
1345
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
1346
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1347
+
1348
+ include Google::Apis::Core::JsonObjectSupport
1349
+ end
1350
+
1351
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
1352
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1353
+
1354
+ include Google::Apis::Core::JsonObjectSupport
1355
+ end
1356
+
1357
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
1358
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1359
+
1360
+ include Google::Apis::Core::JsonObjectSupport
1361
+ end
1362
+
1363
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
1364
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1365
+
1366
+ include Google::Apis::Core::JsonObjectSupport
1367
+ end
1368
+
1369
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
1370
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1371
+
1372
+ include Google::Apis::Core::JsonObjectSupport
1373
+ end
1374
+
1375
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
1376
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1377
+
1378
+ include Google::Apis::Core::JsonObjectSupport
1379
+ end
1380
+
1321
1381
  class GoogleCloudDialogflowV2AnalyzeContentRequest
1322
1382
  class Representation < Google::Apis::Core::JsonRepresentation; end
1323
1383
 
@@ -2548,6 +2608,18 @@ module Google
2548
2608
  include Google::Apis::Core::JsonObjectSupport
2549
2609
  end
2550
2610
 
2611
+ class GoogleCloudDialogflowV2RaiSettings
2612
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2613
+
2614
+ include Google::Apis::Core::JsonObjectSupport
2615
+ end
2616
+
2617
+ class GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
2618
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2619
+
2620
+ include Google::Apis::Core::JsonObjectSupport
2621
+ end
2622
+
2551
2623
  class GoogleCloudDialogflowV2ReloadDocumentRequest
2552
2624
  class Representation < Google::Apis::Core::JsonRepresentation; end
2553
2625
 
@@ -2788,6 +2860,12 @@ module Google
2788
2860
  include Google::Apis::Core::JsonObjectSupport
2789
2861
  end
2790
2862
 
2863
+ class GoogleCloudDialogflowV2SuggestionDedupingConfig
2864
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2865
+
2866
+ include Google::Apis::Core::JsonObjectSupport
2867
+ end
2868
+
2791
2869
  class GoogleCloudDialogflowV2SuggestionFeature
2792
2870
  class Representation < Google::Apis::Core::JsonRepresentation; end
2793
2871
 
@@ -3004,6 +3082,60 @@ module Google
3004
3082
  include Google::Apis::Core::JsonObjectSupport
3005
3083
  end
3006
3084
 
3085
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
3086
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3087
+
3088
+ include Google::Apis::Core::JsonObjectSupport
3089
+ end
3090
+
3091
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
3092
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3093
+
3094
+ include Google::Apis::Core::JsonObjectSupport
3095
+ end
3096
+
3097
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
3098
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3099
+
3100
+ include Google::Apis::Core::JsonObjectSupport
3101
+ end
3102
+
3103
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
3104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3105
+
3106
+ include Google::Apis::Core::JsonObjectSupport
3107
+ end
3108
+
3109
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
3110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3111
+
3112
+ include Google::Apis::Core::JsonObjectSupport
3113
+ end
3114
+
3115
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
3116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3117
+
3118
+ include Google::Apis::Core::JsonObjectSupport
3119
+ end
3120
+
3121
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
3122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3123
+
3124
+ include Google::Apis::Core::JsonObjectSupport
3125
+ end
3126
+
3127
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
3128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3129
+
3130
+ include Google::Apis::Core::JsonObjectSupport
3131
+ end
3132
+
3133
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
3134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3135
+
3136
+ include Google::Apis::Core::JsonObjectSupport
3137
+ end
3138
+
3007
3139
  class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
3008
3140
  class Representation < Google::Apis::Core::JsonRepresentation; end
3009
3141
 
@@ -5924,6 +6056,107 @@ module Google
5924
6056
  end
5925
6057
  end
5926
6058
 
6059
+ class GoogleCloudDialogflowV2AgentCoachingContext
6060
+ # @private
6061
+ class Representation < Google::Apis::Core::JsonRepresentation
6062
+ collection :instructions, as: 'instructions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction::Representation
6063
+
6064
+ property :output_language_code, as: 'outputLanguageCode'
6065
+ property :overarching_guidance, as: 'overarchingGuidance'
6066
+ property :version, as: 'version'
6067
+ end
6068
+ end
6069
+
6070
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
6071
+ # @private
6072
+ class Representation < Google::Apis::Core::JsonRepresentation
6073
+ property :agent_action, as: 'agentAction'
6074
+ property :condition, as: 'condition'
6075
+ property :display_details, as: 'displayDetails'
6076
+ property :display_name, as: 'displayName'
6077
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult::Representation
6078
+
6079
+ property :system_action, as: 'systemAction'
6080
+ end
6081
+ end
6082
+
6083
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
6084
+ # @private
6085
+ class Representation < Google::Apis::Core::JsonRepresentation
6086
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion::Representation
6087
+
6088
+ end
6089
+ end
6090
+
6091
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
6092
+ # @private
6093
+ class Representation < Google::Apis::Core::JsonRepresentation
6094
+ property :answer_record, as: 'answerRecord'
6095
+ property :similarity_score, as: 'similarityScore'
6096
+ property :suggestion_index, as: 'suggestionIndex'
6097
+ end
6098
+ end
6099
+
6100
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
6101
+ # @private
6102
+ class Representation < Google::Apis::Core::JsonRepresentation
6103
+ collection :agent_action_suggestions, as: 'agentActionSuggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion::Representation
6104
+
6105
+ collection :applicable_instructions, as: 'applicableInstructions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingInstruction::Representation
6106
+
6107
+ collection :sample_responses, as: 'sampleResponses', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse::Representation
6108
+
6109
+ end
6110
+ end
6111
+
6112
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
6113
+ # @private
6114
+ class Representation < Google::Apis::Core::JsonRepresentation
6115
+ property :agent_action, as: 'agentAction'
6116
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult::Representation
6117
+
6118
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
6119
+
6120
+ end
6121
+ end
6122
+
6123
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
6124
+ # @private
6125
+ class Representation < Google::Apis::Core::JsonRepresentation
6126
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion::Representation
6127
+
6128
+ end
6129
+ end
6130
+
6131
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
6132
+ # @private
6133
+ class Representation < Google::Apis::Core::JsonRepresentation
6134
+ property :answer_record, as: 'answerRecord'
6135
+ property :similarity_score, as: 'similarityScore'
6136
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
6137
+
6138
+ property :suggestion_index, as: 'suggestionIndex'
6139
+ end
6140
+ end
6141
+
6142
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
6143
+ # @private
6144
+ class Representation < Google::Apis::Core::JsonRepresentation
6145
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult::Representation
6146
+
6147
+ property :response_text, as: 'responseText'
6148
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
6149
+
6150
+ end
6151
+ end
6152
+
6153
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
6154
+ # @private
6155
+ class Representation < Google::Apis::Core::JsonRepresentation
6156
+ collection :instruction_indexes, as: 'instructionIndexes'
6157
+ end
6158
+ end
6159
+
5927
6160
  class GoogleCloudDialogflowV2AnalyzeContentRequest
5928
6161
  # @private
5929
6162
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6225,6 +6458,7 @@ module Google
6225
6458
  class GoogleCloudDialogflowV2ConversationContextReferenceContextContent
6226
6459
  # @private
6227
6460
  class Representation < Google::Apis::Core::JsonRepresentation
6461
+ property :answer_record, as: 'answerRecord'
6228
6462
  property :content, as: 'content'
6229
6463
  property :content_format, as: 'contentFormat'
6230
6464
  property :ingestion_time, as: 'ingestionTime'
@@ -6841,6 +7075,8 @@ module Google
6841
7075
  class GoogleCloudDialogflowV2Generator
6842
7076
  # @private
6843
7077
  class Representation < Google::Apis::Core::JsonRepresentation
7078
+ property :agent_coaching_context, as: 'agentCoachingContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingContext::Representation
7079
+
6844
7080
  property :create_time, as: 'createTime'
6845
7081
  property :description, as: 'description'
6846
7082
  property :free_form_context, as: 'freeFormContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormContext::Representation
@@ -6849,6 +7085,8 @@ module Google
6849
7085
 
6850
7086
  property :name, as: 'name'
6851
7087
  property :published_model, as: 'publishedModel'
7088
+ property :suggestion_deduping_config, as: 'suggestionDedupingConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionDedupingConfig::Representation
7089
+
6852
7090
  property :summarization_context, as: 'summarizationContext', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationContext::Representation
6853
7091
 
6854
7092
  collection :tools, as: 'tools'
@@ -6870,6 +7108,8 @@ module Google
6870
7108
  property :initial_generator, as: 'initialGenerator', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Generator::Representation
6871
7109
 
6872
7110
  property :name, as: 'name'
7111
+ property :satisfies_pzi, as: 'satisfiesPzi'
7112
+ property :satisfies_pzs, as: 'satisfiesPzs'
6873
7113
  property :summarization_metrics, as: 'summarizationMetrics', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetrics::Representation
6874
7114
 
6875
7115
  end
@@ -6931,6 +7171,8 @@ module Google
6931
7171
  class GoogleCloudDialogflowV2GeneratorSuggestion
6932
7172
  # @private
6933
7173
  class Representation < Google::Apis::Core::JsonRepresentation
7174
+ property :agent_coaching_suggestion, as: 'agentCoachingSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentCoachingSuggestion::Representation
7175
+
6934
7176
  property :free_form_suggestion, as: 'freeFormSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormSuggestion::Representation
6935
7177
 
6936
7178
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarySuggestion::Representation
@@ -6991,10 +7233,13 @@ module Google
6991
7233
  # @private
6992
7234
  class Representation < Google::Apis::Core::JsonRepresentation
6993
7235
  property :disable_high_latency_features_sync_delivery, as: 'disableHighLatencyFeaturesSyncDelivery'
7236
+ property :enable_async_tool_call, as: 'enableAsyncToolCall'
6994
7237
  collection :feature_configs, as: 'featureConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionFeatureConfig::Representation
6995
7238
 
6996
7239
  collection :generators, as: 'generators'
6997
7240
  property :group_suggestion_responses, as: 'groupSuggestionResponses'
7241
+ property :skip_empty_event_based_suggestion, as: 'skipEmptyEventBasedSuggestion'
7242
+ property :use_unredacted_conversation_data, as: 'useUnredactedConversationData'
6998
7243
  end
6999
7244
  end
7000
7245
 
@@ -7010,8 +7255,11 @@ module Google
7010
7255
  property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
7011
7256
  property :enable_query_suggestion_only, as: 'enableQuerySuggestionOnly'
7012
7257
  property :enable_query_suggestion_when_no_answer, as: 'enableQuerySuggestionWhenNoAnswer'
7258
+ property :enable_response_debug_info, as: 'enableResponseDebugInfo'
7013
7259
  property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionQueryConfig::Representation
7014
7260
 
7261
+ property :rai_settings, as: 'raiSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettings::Representation
7262
+
7015
7263
  property :suggestion_feature, as: 'suggestionFeature', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SuggestionFeature::Representation
7016
7264
 
7017
7265
  property :suggestion_trigger_settings, as: 'suggestionTriggerSettings', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionTriggerSettings::Representation
@@ -8038,6 +8286,22 @@ module Google
8038
8286
  end
8039
8287
  end
8040
8288
 
8289
+ class GoogleCloudDialogflowV2RaiSettings
8290
+ # @private
8291
+ class Representation < Google::Apis::Core::JsonRepresentation
8292
+ collection :rai_category_configs, as: 'raiCategoryConfigs', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig::Representation
8293
+
8294
+ end
8295
+ end
8296
+
8297
+ class GoogleCloudDialogflowV2RaiSettingsRaiCategoryConfig
8298
+ # @private
8299
+ class Representation < Google::Apis::Core::JsonRepresentation
8300
+ property :category, as: 'category'
8301
+ property :sensitivity_level, as: 'sensitivityLevel'
8302
+ end
8303
+ end
8304
+
8041
8305
  class GoogleCloudDialogflowV2ReloadDocumentRequest
8042
8306
  # @private
8043
8307
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8428,6 +8692,14 @@ module Google
8428
8692
  end
8429
8693
  end
8430
8694
 
8695
+ class GoogleCloudDialogflowV2SuggestionDedupingConfig
8696
+ # @private
8697
+ class Representation < Google::Apis::Core::JsonRepresentation
8698
+ property :enable_deduping, as: 'enableDeduping'
8699
+ property :similarity_threshold, as: 'similarityThreshold'
8700
+ end
8701
+ end
8702
+
8431
8703
  class GoogleCloudDialogflowV2SuggestionFeature
8432
8704
  # @private
8433
8705
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8438,7 +8710,10 @@ module Google
8438
8710
  class GoogleCloudDialogflowV2SuggestionInput
8439
8711
  # @private
8440
8712
  class Representation < Google::Apis::Core::JsonRepresentation
8713
+ property :action, as: 'action'
8441
8714
  property :answer_record, as: 'answerRecord'
8715
+ hash :parameters, as: 'parameters'
8716
+ property :send_time, as: 'sendTime'
8442
8717
  end
8443
8718
  end
8444
8719
 
@@ -8679,9 +8954,13 @@ module Google
8679
8954
  # @private
8680
8955
  class Representation < Google::Apis::Core::JsonRepresentation
8681
8956
  property :action, as: 'action'
8957
+ property :answer_record, as: 'answerRecord'
8682
8958
  property :create_time, as: 'createTime'
8683
8959
  hash :input_parameters, as: 'inputParameters'
8960
+ property :state, as: 'state'
8684
8961
  property :tool, as: 'tool'
8962
+ property :tool_display_details, as: 'toolDisplayDetails'
8963
+ property :tool_display_name, as: 'toolDisplayName'
8685
8964
  end
8686
8965
  end
8687
8966
 
@@ -8689,6 +8968,7 @@ module Google
8689
8968
  # @private
8690
8969
  class Representation < Google::Apis::Core::JsonRepresentation
8691
8970
  property :action, as: 'action'
8971
+ property :answer_record, as: 'answerRecord'
8692
8972
  property :content, as: 'content'
8693
8973
  property :create_time, as: 'createTime'
8694
8974
  property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallResultError::Representation
@@ -8791,6 +9071,96 @@ module Google
8791
9071
  end
8792
9072
  end
8793
9073
 
9074
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
9075
+ # @private
9076
+ class Representation < Google::Apis::Core::JsonRepresentation
9077
+ property :agent_action, as: 'agentAction'
9078
+ property :condition, as: 'condition'
9079
+ property :display_details, as: 'displayDetails'
9080
+ property :display_name, as: 'displayName'
9081
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult::Representation
9082
+
9083
+ property :system_action, as: 'systemAction'
9084
+ end
9085
+ end
9086
+
9087
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
9088
+ # @private
9089
+ class Representation < Google::Apis::Core::JsonRepresentation
9090
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion::Representation
9091
+
9092
+ end
9093
+ end
9094
+
9095
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
9096
+ # @private
9097
+ class Representation < Google::Apis::Core::JsonRepresentation
9098
+ property :answer_record, as: 'answerRecord'
9099
+ property :similarity_score, as: 'similarityScore'
9100
+ property :suggestion_index, as: 'suggestionIndex'
9101
+ end
9102
+ end
9103
+
9104
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
9105
+ # @private
9106
+ class Representation < Google::Apis::Core::JsonRepresentation
9107
+ collection :agent_action_suggestions, as: 'agentActionSuggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion::Representation
9108
+
9109
+ collection :applicable_instructions, as: 'applicableInstructions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstruction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingInstruction::Representation
9110
+
9111
+ collection :sample_responses, as: 'sampleResponses', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse::Representation
9112
+
9113
+ end
9114
+ end
9115
+
9116
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
9117
+ # @private
9118
+ class Representation < Google::Apis::Core::JsonRepresentation
9119
+ property :agent_action, as: 'agentAction'
9120
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult::Representation
9121
+
9122
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9123
+
9124
+ end
9125
+ end
9126
+
9127
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
9128
+ # @private
9129
+ class Representation < Google::Apis::Core::JsonRepresentation
9130
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion::Representation
9131
+
9132
+ end
9133
+ end
9134
+
9135
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
9136
+ # @private
9137
+ class Representation < Google::Apis::Core::JsonRepresentation
9138
+ property :answer_record, as: 'answerRecord'
9139
+ property :similarity_score, as: 'similarityScore'
9140
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9141
+
9142
+ property :suggestion_index, as: 'suggestionIndex'
9143
+ end
9144
+ end
9145
+
9146
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
9147
+ # @private
9148
+ class Representation < Google::Apis::Core::JsonRepresentation
9149
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult::Representation
9150
+
9151
+ property :response_text, as: 'responseText'
9152
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9153
+
9154
+ end
9155
+ end
9156
+
9157
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
9158
+ # @private
9159
+ class Representation < Google::Apis::Core::JsonRepresentation
9160
+ collection :instruction_indexes, as: 'instructionIndexes'
9161
+ end
9162
+ end
9163
+
8794
9164
  class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
8795
9165
  # @private
8796
9166
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8973,6 +9343,8 @@ module Google
8973
9343
  class GoogleCloudDialogflowV2beta1GeneratorSuggestion
8974
9344
  # @private
8975
9345
  class Representation < Google::Apis::Core::JsonRepresentation
9346
+ property :agent_coaching_suggestion, as: 'agentCoachingSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion::Representation
9347
+
8976
9348
  property :free_form_suggestion, as: 'freeFormSuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1FreeFormSuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1FreeFormSuggestion::Representation
8977
9349
 
8978
9350
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
@@ -9914,9 +10286,13 @@ module Google
9914
10286
  # @private
9915
10287
  class Representation < Google::Apis::Core::JsonRepresentation
9916
10288
  property :action, as: 'action'
10289
+ property :answer_record, as: 'answerRecord'
9917
10290
  property :create_time, as: 'createTime'
9918
10291
  hash :input_parameters, as: 'inputParameters'
10292
+ property :state, as: 'state'
9919
10293
  property :tool, as: 'tool'
10294
+ property :tool_display_details, as: 'toolDisplayDetails'
10295
+ property :tool_display_name, as: 'toolDisplayName'
9920
10296
  end
9921
10297
  end
9922
10298
 
@@ -9924,6 +10300,7 @@ module Google
9924
10300
  # @private
9925
10301
  class Representation < Google::Apis::Core::JsonRepresentation
9926
10302
  property :action, as: 'action'
10303
+ property :answer_record, as: 'answerRecord'
9927
10304
  property :content, as: 'content'
9928
10305
  property :create_time, as: 'createTime'
9929
10306
  property :error, as: 'error', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
@@ -10024,6 +10401,7 @@ module Google
10024
10401
  property :next_page_token, as: 'nextPageToken'
10025
10402
  collection :operations, as: 'operations', class: Google::Apis::DialogflowV2::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV2::GoogleLongrunningOperation::Representation
10026
10403
 
10404
+ collection :unreachable, as: 'unreachable'
10027
10405
  end
10028
10406
  end
10029
10407
 
@@ -10044,6 +10044,13 @@ module Google
10044
10044
  # The standard list page size.
10045
10045
  # @param [String] page_token
10046
10046
  # The standard list page token.
10047
+ # @param [Boolean] return_partial_success
10048
+ # When set to `true`, operations that are reachable are returned as normal, and
10049
+ # those that are unreachable are returned in the [ListOperationsResponse.
10050
+ # unreachable] field. This can only be `true` when reading across collections e.
10051
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
10052
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
10053
+ # explicitly documented otherwise in service or product specific documentation.
10047
10054
  # @param [String] fields
10048
10055
  # Selector specifying which fields to include in a partial response.
10049
10056
  # @param [String] quota_user
@@ -10061,7 +10068,7 @@ module Google
10061
10068
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10062
10069
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10063
10070
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10064
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
10071
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
10065
10072
  command = make_simple_command(:get, 'v2/{+name}/operations', options)
10066
10073
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse::Representation
10067
10074
  command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse
@@ -10069,6 +10076,7 @@ module Google
10069
10076
  command.query['filter'] = filter unless filter.nil?
10070
10077
  command.query['pageSize'] = page_size unless page_size.nil?
10071
10078
  command.query['pageToken'] = page_token unless page_token.nil?
10079
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10072
10080
  command.query['fields'] = fields unless fields.nil?
10073
10081
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10074
10082
  execute_or_queue_command(command, &block)
@@ -10427,6 +10435,13 @@ module Google
10427
10435
  # The standard list page size.
10428
10436
  # @param [String] page_token
10429
10437
  # The standard list page token.
10438
+ # @param [Boolean] return_partial_success
10439
+ # When set to `true`, operations that are reachable are returned as normal, and
10440
+ # those that are unreachable are returned in the [ListOperationsResponse.
10441
+ # unreachable] field. This can only be `true` when reading across collections e.
10442
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
10443
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
10444
+ # explicitly documented otherwise in service or product specific documentation.
10430
10445
  # @param [String] fields
10431
10446
  # Selector specifying which fields to include in a partial response.
10432
10447
  # @param [String] quota_user
@@ -10444,7 +10459,7 @@ module Google
10444
10459
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10445
10460
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10446
10461
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10447
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
10462
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
10448
10463
  command = make_simple_command(:get, 'v2/{+name}/operations', options)
10449
10464
  command.response_representation = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse::Representation
10450
10465
  command.response_class = Google::Apis::DialogflowV2::GoogleLongrunningListOperationsResponse
@@ -10452,6 +10467,7 @@ module Google
10452
10467
  command.query['filter'] = filter unless filter.nil?
10453
10468
  command.query['pageSize'] = page_size unless page_size.nil?
10454
10469
  command.query['pageToken'] = page_token unless page_token.nil?
10470
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10455
10471
  command.query['fields'] = fields unless fields.nil?
10456
10472
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10457
10473
  execute_or_queue_command(command, &block)
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.112.0
4
+ version: 0.113.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.112.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.113.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: