google-apis-dialogflow_v2 0.131.0 → 0.133.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.
@@ -6871,6 +6871,11 @@ module Google
6871
6871
  # @return [String]
6872
6872
  attr_accessor :answer_relevance
6873
6873
 
6874
+ #
6875
+ # Corresponds to the JSON property `companionFeedback`
6876
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback]
6877
+ attr_accessor :companion_feedback
6878
+
6874
6879
  #
6875
6880
  # Corresponds to the JSON property `documentCorrectness`
6876
6881
  # @return [String]
@@ -6903,6 +6908,7 @@ module Google
6903
6908
  # Update properties of this object
6904
6909
  def update!(**args)
6905
6910
  @answer_relevance = args[:answer_relevance] if args.key?(:answer_relevance)
6911
+ @companion_feedback = args[:companion_feedback] if args.key?(:companion_feedback)
6906
6912
  @document_correctness = args[:document_correctness] if args.key?(:document_correctness)
6907
6913
  @document_efficiency = args[:document_efficiency] if args.key?(:document_efficiency)
6908
6914
  @knowledge_assist_feedback = args[:knowledge_assist_feedback] if args.key?(:knowledge_assist_feedback)
@@ -6911,6 +6917,19 @@ module Google
6911
6917
  end
6912
6918
  end
6913
6919
 
6920
+ #
6921
+ class GoogleCloudDialogflowV2AgentAssistantFeedbackCompanionFeedback
6922
+ include Google::Apis::Core::Hashable
6923
+
6924
+ def initialize(**args)
6925
+ update!(**args)
6926
+ end
6927
+
6928
+ # Update properties of this object
6929
+ def update!(**args)
6930
+ end
6931
+ end
6932
+
6914
6933
  #
6915
6934
  class GoogleCloudDialogflowV2AgentAssistantFeedbackKnowledgeAssistFeedback
6916
6935
  include Google::Apis::Core::Hashable
@@ -7009,6 +7028,11 @@ module Google
7009
7028
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer]
7010
7029
  attr_accessor :article_suggestion_answer
7011
7030
 
7031
+ #
7032
+ # Corresponds to the JSON property `companionSuggestion`
7033
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionSuggestion]
7034
+ attr_accessor :companion_suggestion
7035
+
7012
7036
  #
7013
7037
  # Corresponds to the JSON property `dialogflowAssistAnswer`
7014
7038
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DialogflowAssistAnswer]
@@ -7024,6 +7048,11 @@ module Google
7024
7048
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestion]
7025
7049
  attr_accessor :generator_suggestion
7026
7050
 
7051
+ #
7052
+ # Corresponds to the JSON property `reactiveCompanionSuggestion`
7053
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse]
7054
+ attr_accessor :reactive_companion_suggestion
7055
+
7027
7056
  def initialize(**args)
7028
7057
  update!(**args)
7029
7058
  end
@@ -7031,9 +7060,11 @@ module Google
7031
7060
  # Update properties of this object
7032
7061
  def update!(**args)
7033
7062
  @article_suggestion_answer = args[:article_suggestion_answer] if args.key?(:article_suggestion_answer)
7063
+ @companion_suggestion = args[:companion_suggestion] if args.key?(:companion_suggestion)
7034
7064
  @dialogflow_assist_answer = args[:dialogflow_assist_answer] if args.key?(:dialogflow_assist_answer)
7035
7065
  @faq_answer = args[:faq_answer] if args.key?(:faq_answer)
7036
7066
  @generator_suggestion = args[:generator_suggestion] if args.key?(:generator_suggestion)
7067
+ @reactive_companion_suggestion = args[:reactive_companion_suggestion] if args.key?(:reactive_companion_suggestion)
7037
7068
  end
7038
7069
  end
7039
7070
 
@@ -8121,6 +8152,278 @@ module Google
8121
8152
  end
8122
8153
  end
8123
8154
 
8155
+ #
8156
+ class GoogleCloudDialogflowV2CompanionAgent
8157
+ include Google::Apis::Core::Hashable
8158
+
8159
+ #
8160
+ # Corresponds to the JSON property `cesToolSpecs`
8161
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CesToolSpec>]
8162
+ attr_accessor :ces_tool_specs
8163
+
8164
+ #
8165
+ # Corresponds to the JSON property `createTime`
8166
+ # @return [String]
8167
+ attr_accessor :create_time
8168
+
8169
+ #
8170
+ # Corresponds to the JSON property `description`
8171
+ # @return [String]
8172
+ attr_accessor :description
8173
+
8174
+ #
8175
+ # Corresponds to the JSON property `displayName`
8176
+ # @return [String]
8177
+ attr_accessor :display_name
8178
+
8179
+ #
8180
+ # Corresponds to the JSON property `name`
8181
+ # @return [String]
8182
+ attr_accessor :name
8183
+
8184
+ #
8185
+ # Corresponds to the JSON property `skillConfigs`
8186
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionAgentSkillConfig>]
8187
+ attr_accessor :skill_configs
8188
+
8189
+ #
8190
+ # Corresponds to the JSON property `toolsetTools`
8191
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolsetTool>]
8192
+ attr_accessor :toolset_tools
8193
+
8194
+ #
8195
+ # Corresponds to the JSON property `updateTime`
8196
+ # @return [String]
8197
+ attr_accessor :update_time
8198
+
8199
+ def initialize(**args)
8200
+ update!(**args)
8201
+ end
8202
+
8203
+ # Update properties of this object
8204
+ def update!(**args)
8205
+ @ces_tool_specs = args[:ces_tool_specs] if args.key?(:ces_tool_specs)
8206
+ @create_time = args[:create_time] if args.key?(:create_time)
8207
+ @description = args[:description] if args.key?(:description)
8208
+ @display_name = args[:display_name] if args.key?(:display_name)
8209
+ @name = args[:name] if args.key?(:name)
8210
+ @skill_configs = args[:skill_configs] if args.key?(:skill_configs)
8211
+ @toolset_tools = args[:toolset_tools] if args.key?(:toolset_tools)
8212
+ @update_time = args[:update_time] if args.key?(:update_time)
8213
+ end
8214
+ end
8215
+
8216
+ #
8217
+ class GoogleCloudDialogflowV2CompanionAgentGuidanceSkillConfig
8218
+ include Google::Apis::Core::Hashable
8219
+
8220
+ #
8221
+ # Corresponds to the JSON property `guidanceInstructions`
8222
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GuidanceInstruction>]
8223
+ attr_accessor :guidance_instructions
8224
+
8225
+ #
8226
+ # Corresponds to the JSON property `knowledgeSource`
8227
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionAgentKnowledgeSource]
8228
+ attr_accessor :knowledge_source
8229
+
8230
+ #
8231
+ # Corresponds to the JSON property `overarchingGuidance`
8232
+ # @return [String]
8233
+ attr_accessor :overarching_guidance
8234
+
8235
+ def initialize(**args)
8236
+ update!(**args)
8237
+ end
8238
+
8239
+ # Update properties of this object
8240
+ def update!(**args)
8241
+ @guidance_instructions = args[:guidance_instructions] if args.key?(:guidance_instructions)
8242
+ @knowledge_source = args[:knowledge_source] if args.key?(:knowledge_source)
8243
+ @overarching_guidance = args[:overarching_guidance] if args.key?(:overarching_guidance)
8244
+ end
8245
+ end
8246
+
8247
+ #
8248
+ class GoogleCloudDialogflowV2CompanionAgentKnowledgeSource
8249
+ include Google::Apis::Core::Hashable
8250
+
8251
+ def initialize(**args)
8252
+ update!(**args)
8253
+ end
8254
+
8255
+ # Update properties of this object
8256
+ def update!(**args)
8257
+ end
8258
+ end
8259
+
8260
+ #
8261
+ class GoogleCloudDialogflowV2CompanionAgentSkillConfig
8262
+ include Google::Apis::Core::Hashable
8263
+
8264
+ #
8265
+ # Corresponds to the JSON property `guidanceSkillConfig`
8266
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionAgentGuidanceSkillConfig]
8267
+ attr_accessor :guidance_skill_config
8268
+
8269
+ #
8270
+ # Corresponds to the JSON property `skillTriggeringEvent`
8271
+ # @return [String]
8272
+ attr_accessor :skill_triggering_event
8273
+
8274
+ #
8275
+ # Corresponds to the JSON property `translationSkillConfig`
8276
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig]
8277
+ attr_accessor :translation_skill_config
8278
+
8279
+ def initialize(**args)
8280
+ update!(**args)
8281
+ end
8282
+
8283
+ # Update properties of this object
8284
+ def update!(**args)
8285
+ @guidance_skill_config = args[:guidance_skill_config] if args.key?(:guidance_skill_config)
8286
+ @skill_triggering_event = args[:skill_triggering_event] if args.key?(:skill_triggering_event)
8287
+ @translation_skill_config = args[:translation_skill_config] if args.key?(:translation_skill_config)
8288
+ end
8289
+ end
8290
+
8291
+ #
8292
+ class GoogleCloudDialogflowV2CompanionAgentTranslationSkillConfig
8293
+ include Google::Apis::Core::Hashable
8294
+
8295
+ #
8296
+ # Corresponds to the JSON property `agentLanguageCode`
8297
+ # @return [String]
8298
+ attr_accessor :agent_language_code
8299
+
8300
+ #
8301
+ # Corresponds to the JSON property `customerLanguageCode`
8302
+ # @return [String]
8303
+ attr_accessor :customer_language_code
8304
+
8305
+ def initialize(**args)
8306
+ update!(**args)
8307
+ end
8308
+
8309
+ # Update properties of this object
8310
+ def update!(**args)
8311
+ @agent_language_code = args[:agent_language_code] if args.key?(:agent_language_code)
8312
+ @customer_language_code = args[:customer_language_code] if args.key?(:customer_language_code)
8313
+ end
8314
+ end
8315
+
8316
+ #
8317
+ class GoogleCloudDialogflowV2CompanionSuggestion
8318
+ include Google::Apis::Core::Hashable
8319
+
8320
+ #
8321
+ # Corresponds to the JSON property `guidances`
8322
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionSuggestionGuidance>]
8323
+ attr_accessor :guidances
8324
+
8325
+ def initialize(**args)
8326
+ update!(**args)
8327
+ end
8328
+
8329
+ # Update properties of this object
8330
+ def update!(**args)
8331
+ @guidances = args[:guidances] if args.key?(:guidances)
8332
+ end
8333
+ end
8334
+
8335
+ #
8336
+ class GoogleCloudDialogflowV2CompanionSuggestionGuidance
8337
+ include Google::Apis::Core::Hashable
8338
+
8339
+ #
8340
+ # Corresponds to the JSON property `explanation`
8341
+ # @return [String]
8342
+ attr_accessor :explanation
8343
+
8344
+ #
8345
+ # Corresponds to the JSON property `groundingMetadata`
8346
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GroundingMetadata]
8347
+ attr_accessor :grounding_metadata
8348
+
8349
+ #
8350
+ # Corresponds to the JSON property `instructionSource`
8351
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GuidanceInstruction]
8352
+ attr_accessor :instruction_source
8353
+
8354
+ #
8355
+ # Corresponds to the JSON property `knowledgeSources`
8356
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource>]
8357
+ attr_accessor :knowledge_sources
8358
+
8359
+ #
8360
+ # Corresponds to the JSON property `suggestedAction`
8361
+ # @return [String]
8362
+ attr_accessor :suggested_action
8363
+
8364
+ #
8365
+ # Corresponds to the JSON property `suggestedReply`
8366
+ # @return [String]
8367
+ attr_accessor :suggested_reply
8368
+
8369
+ #
8370
+ # Corresponds to the JSON property `toolCalls`
8371
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallSuggestion>]
8372
+ attr_accessor :tool_calls
8373
+
8374
+ #
8375
+ # Corresponds to the JSON property `triggeringToolCallAnswerRecords`
8376
+ # @return [Array<String>]
8377
+ attr_accessor :triggering_tool_call_answer_records
8378
+
8379
+ def initialize(**args)
8380
+ update!(**args)
8381
+ end
8382
+
8383
+ # Update properties of this object
8384
+ def update!(**args)
8385
+ @explanation = args[:explanation] if args.key?(:explanation)
8386
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
8387
+ @instruction_source = args[:instruction_source] if args.key?(:instruction_source)
8388
+ @knowledge_sources = args[:knowledge_sources] if args.key?(:knowledge_sources)
8389
+ @suggested_action = args[:suggested_action] if args.key?(:suggested_action)
8390
+ @suggested_reply = args[:suggested_reply] if args.key?(:suggested_reply)
8391
+ @tool_calls = args[:tool_calls] if args.key?(:tool_calls)
8392
+ @triggering_tool_call_answer_records = args[:triggering_tool_call_answer_records] if args.key?(:triggering_tool_call_answer_records)
8393
+ end
8394
+ end
8395
+
8396
+ #
8397
+ class GoogleCloudDialogflowV2CompanionSuggestionGuidanceKnowledgeSource
8398
+ include Google::Apis::Core::Hashable
8399
+
8400
+ #
8401
+ # Corresponds to the JSON property `knowledgeArticleTitle`
8402
+ # @return [String]
8403
+ attr_accessor :knowledge_article_title
8404
+
8405
+ #
8406
+ # Corresponds to the JSON property `knowledgeArticleUrl`
8407
+ # @return [String]
8408
+ attr_accessor :knowledge_article_url
8409
+
8410
+ #
8411
+ # Corresponds to the JSON property `knowledgeSnippet`
8412
+ # @return [String]
8413
+ attr_accessor :knowledge_snippet
8414
+
8415
+ def initialize(**args)
8416
+ update!(**args)
8417
+ end
8418
+
8419
+ # Update properties of this object
8420
+ def update!(**args)
8421
+ @knowledge_article_title = args[:knowledge_article_title] if args.key?(:knowledge_article_title)
8422
+ @knowledge_article_url = args[:knowledge_article_url] if args.key?(:knowledge_article_url)
8423
+ @knowledge_snippet = args[:knowledge_snippet] if args.key?(:knowledge_snippet)
8424
+ end
8425
+ end
8426
+
8124
8427
  #
8125
8428
  class GoogleCloudDialogflowV2CompleteConversationRequest
8126
8429
  include Google::Apis::Core::Hashable
@@ -10111,6 +10414,43 @@ module Google
10111
10414
  end
10112
10415
  end
10113
10416
 
10417
+ #
10418
+ class GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse
10419
+ include Google::Apis::Core::Hashable
10420
+
10421
+ #
10422
+ # Corresponds to the JSON property `answerRecord`
10423
+ # @return [String]
10424
+ attr_accessor :answer_record
10425
+
10426
+ #
10427
+ # Corresponds to the JSON property `companionSuggestion`
10428
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionSuggestion]
10429
+ attr_accessor :companion_suggestion
10430
+
10431
+ #
10432
+ # Corresponds to the JSON property `latestMessage`
10433
+ # @return [String]
10434
+ attr_accessor :latest_message
10435
+
10436
+ #
10437
+ # Corresponds to the JSON property `suggestionIndex`
10438
+ # @return [Fixnum]
10439
+ attr_accessor :suggestion_index
10440
+
10441
+ def initialize(**args)
10442
+ update!(**args)
10443
+ end
10444
+
10445
+ # Update properties of this object
10446
+ def update!(**args)
10447
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
10448
+ @companion_suggestion = args[:companion_suggestion] if args.key?(:companion_suggestion)
10449
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
10450
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
10451
+ end
10452
+ end
10453
+
10114
10454
  #
10115
10455
  class GoogleCloudDialogflowV2GenerateStatelessSuggestionRequest
10116
10456
  include Google::Apis::Core::Hashable
@@ -10801,23 +11141,241 @@ module Google
10801
11141
  end
10802
11142
 
10803
11143
  #
10804
- class GoogleCloudDialogflowV2HumanAgentAssistantConfig
11144
+ class GoogleCloudDialogflowV2GroundingChunk
10805
11145
  include Google::Apis::Core::Hashable
10806
11146
 
10807
11147
  #
10808
- # Corresponds to the JSON property `endUserSuggestionConfig`
10809
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]
10810
- attr_accessor :end_user_suggestion_config
10811
-
10812
- #
10813
- # Corresponds to the JSON property `humanAgentSuggestionConfig`
10814
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]
10815
- attr_accessor :human_agent_suggestion_config
11148
+ # Corresponds to the JSON property `retrievedContext`
11149
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GroundingChunkRetrievedContext]
11150
+ attr_accessor :retrieved_context
10816
11151
 
10817
11152
  #
10818
- # Corresponds to the JSON property `messageAnalysisConfig`
10819
- # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig]
10820
- attr_accessor :message_analysis_config
11153
+ # Corresponds to the JSON property `web`
11154
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GroundingChunkWeb]
11155
+ attr_accessor :web
11156
+
11157
+ def initialize(**args)
11158
+ update!(**args)
11159
+ end
11160
+
11161
+ # Update properties of this object
11162
+ def update!(**args)
11163
+ @retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
11164
+ @web = args[:web] if args.key?(:web)
11165
+ end
11166
+ end
11167
+
11168
+ #
11169
+ class GoogleCloudDialogflowV2GroundingChunkRetrievedContext
11170
+ include Google::Apis::Core::Hashable
11171
+
11172
+ #
11173
+ # Corresponds to the JSON property `text`
11174
+ # @return [String]
11175
+ attr_accessor :text
11176
+
11177
+ #
11178
+ # Corresponds to the JSON property `title`
11179
+ # @return [String]
11180
+ attr_accessor :title
11181
+
11182
+ #
11183
+ # Corresponds to the JSON property `uri`
11184
+ # @return [String]
11185
+ attr_accessor :uri
11186
+
11187
+ def initialize(**args)
11188
+ update!(**args)
11189
+ end
11190
+
11191
+ # Update properties of this object
11192
+ def update!(**args)
11193
+ @text = args[:text] if args.key?(:text)
11194
+ @title = args[:title] if args.key?(:title)
11195
+ @uri = args[:uri] if args.key?(:uri)
11196
+ end
11197
+ end
11198
+
11199
+ #
11200
+ class GoogleCloudDialogflowV2GroundingChunkWeb
11201
+ include Google::Apis::Core::Hashable
11202
+
11203
+ #
11204
+ # Corresponds to the JSON property `domain`
11205
+ # @return [String]
11206
+ attr_accessor :domain
11207
+
11208
+ #
11209
+ # Corresponds to the JSON property `title`
11210
+ # @return [String]
11211
+ attr_accessor :title
11212
+
11213
+ #
11214
+ # Corresponds to the JSON property `uri`
11215
+ # @return [String]
11216
+ attr_accessor :uri
11217
+
11218
+ def initialize(**args)
11219
+ update!(**args)
11220
+ end
11221
+
11222
+ # Update properties of this object
11223
+ def update!(**args)
11224
+ @domain = args[:domain] if args.key?(:domain)
11225
+ @title = args[:title] if args.key?(:title)
11226
+ @uri = args[:uri] if args.key?(:uri)
11227
+ end
11228
+ end
11229
+
11230
+ #
11231
+ class GoogleCloudDialogflowV2GroundingMetadata
11232
+ include Google::Apis::Core::Hashable
11233
+
11234
+ #
11235
+ # Corresponds to the JSON property `groundingChunks`
11236
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GroundingChunk>]
11237
+ attr_accessor :grounding_chunks
11238
+
11239
+ #
11240
+ # Corresponds to the JSON property `groundingSupports`
11241
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GroundingSupport>]
11242
+ attr_accessor :grounding_supports
11243
+
11244
+ #
11245
+ # Corresponds to the JSON property `searchEntryPoint`
11246
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchEntryPoint]
11247
+ attr_accessor :search_entry_point
11248
+
11249
+ #
11250
+ # Corresponds to the JSON property `webSearchQueries`
11251
+ # @return [Array<String>]
11252
+ attr_accessor :web_search_queries
11253
+
11254
+ def initialize(**args)
11255
+ update!(**args)
11256
+ end
11257
+
11258
+ # Update properties of this object
11259
+ def update!(**args)
11260
+ @grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
11261
+ @grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
11262
+ @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
11263
+ @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
11264
+ end
11265
+ end
11266
+
11267
+ #
11268
+ class GoogleCloudDialogflowV2GroundingSupport
11269
+ include Google::Apis::Core::Hashable
11270
+
11271
+ #
11272
+ # Corresponds to the JSON property `groundingChunkIndices`
11273
+ # @return [Array<Fixnum>]
11274
+ attr_accessor :grounding_chunk_indices
11275
+
11276
+ #
11277
+ # Corresponds to the JSON property `segment`
11278
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Segment]
11279
+ attr_accessor :segment
11280
+
11281
+ def initialize(**args)
11282
+ update!(**args)
11283
+ end
11284
+
11285
+ # Update properties of this object
11286
+ def update!(**args)
11287
+ @grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
11288
+ @segment = args[:segment] if args.key?(:segment)
11289
+ end
11290
+ end
11291
+
11292
+ #
11293
+ class GoogleCloudDialogflowV2GuidanceInstruction
11294
+ include Google::Apis::Core::Hashable
11295
+
11296
+ #
11297
+ # Corresponds to the JSON property `actions`
11298
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GuidanceInstructionAction>]
11299
+ attr_accessor :actions
11300
+
11301
+ #
11302
+ # Corresponds to the JSON property `condition`
11303
+ # @return [String]
11304
+ attr_accessor :condition
11305
+
11306
+ #
11307
+ # Corresponds to the JSON property `disableSuggestedReply`
11308
+ # @return [Boolean]
11309
+ attr_accessor :disable_suggested_reply
11310
+ alias_method :disable_suggested_reply?, :disable_suggested_reply
11311
+
11312
+ #
11313
+ # Corresponds to the JSON property `displayDetails`
11314
+ # @return [String]
11315
+ attr_accessor :display_details
11316
+
11317
+ #
11318
+ # Corresponds to the JSON property `displayName`
11319
+ # @return [String]
11320
+ attr_accessor :display_name
11321
+
11322
+ #
11323
+ # Corresponds to the JSON property `triggerEvent`
11324
+ # @return [String]
11325
+ attr_accessor :trigger_event
11326
+
11327
+ def initialize(**args)
11328
+ update!(**args)
11329
+ end
11330
+
11331
+ # Update properties of this object
11332
+ def update!(**args)
11333
+ @actions = args[:actions] if args.key?(:actions)
11334
+ @condition = args[:condition] if args.key?(:condition)
11335
+ @disable_suggested_reply = args[:disable_suggested_reply] if args.key?(:disable_suggested_reply)
11336
+ @display_details = args[:display_details] if args.key?(:display_details)
11337
+ @display_name = args[:display_name] if args.key?(:display_name)
11338
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
11339
+ end
11340
+ end
11341
+
11342
+ #
11343
+ class GoogleCloudDialogflowV2GuidanceInstructionAction
11344
+ include Google::Apis::Core::Hashable
11345
+
11346
+ #
11347
+ # Corresponds to the JSON property `description`
11348
+ # @return [String]
11349
+ attr_accessor :description
11350
+
11351
+ def initialize(**args)
11352
+ update!(**args)
11353
+ end
11354
+
11355
+ # Update properties of this object
11356
+ def update!(**args)
11357
+ @description = args[:description] if args.key?(:description)
11358
+ end
11359
+ end
11360
+
11361
+ #
11362
+ class GoogleCloudDialogflowV2HumanAgentAssistantConfig
11363
+ include Google::Apis::Core::Hashable
11364
+
11365
+ #
11366
+ # Corresponds to the JSON property `endUserSuggestionConfig`
11367
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]
11368
+ attr_accessor :end_user_suggestion_config
11369
+
11370
+ #
11371
+ # Corresponds to the JSON property `humanAgentSuggestionConfig`
11372
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig]
11373
+ attr_accessor :human_agent_suggestion_config
11374
+
11375
+ #
11376
+ # Corresponds to the JSON property `messageAnalysisConfig`
11377
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2HumanAgentAssistantConfigMessageAnalysisConfig]
11378
+ attr_accessor :message_analysis_config
10821
11379
 
10822
11380
  #
10823
11381
  # Corresponds to the JSON property `notificationConfig`
@@ -10919,6 +11477,11 @@ module Google
10919
11477
  class GoogleCloudDialogflowV2HumanAgentAssistantConfigSuggestionConfig
10920
11478
  include Google::Apis::Core::Hashable
10921
11479
 
11480
+ #
11481
+ # Corresponds to the JSON property `companionAgent`
11482
+ # @return [String]
11483
+ attr_accessor :companion_agent
11484
+
10922
11485
  #
10923
11486
  # Corresponds to the JSON property `disableHighLatencyFeaturesSyncDelivery`
10924
11487
  # @return [Boolean]
@@ -10965,6 +11528,7 @@ module Google
10965
11528
 
10966
11529
  # Update properties of this object
10967
11530
  def update!(**args)
11531
+ @companion_agent = args[:companion_agent] if args.key?(:companion_agent)
10968
11532
  @disable_high_latency_features_sync_delivery = args[:disable_high_latency_features_sync_delivery] if args.key?(:disable_high_latency_features_sync_delivery)
10969
11533
  @enable_async_tool_call = args[:enable_async_tool_call] if args.key?(:enable_async_tool_call)
10970
11534
  @feature_configs = args[:feature_configs] if args.key?(:feature_configs)
@@ -11777,6 +12341,12 @@ module Google
11777
12341
  # @return [String]
11778
12342
  attr_accessor :audio_encoding
11779
12343
 
12344
+ #
12345
+ # Corresponds to the JSON property `disableInterimInputTranscripts`
12346
+ # @return [Boolean]
12347
+ attr_accessor :disable_interim_input_transcripts
12348
+ alias_method :disable_interim_input_transcripts?, :disable_interim_input_transcripts
12349
+
11780
12350
  #
11781
12351
  # Corresponds to the JSON property `disableNoSpeechRecognizedEvent`
11782
12352
  # @return [Boolean]
@@ -11866,6 +12436,7 @@ module Google
11866
12436
  # Update properties of this object
11867
12437
  def update!(**args)
11868
12438
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
12439
+ @disable_interim_input_transcripts = args[:disable_interim_input_transcripts] if args.key?(:disable_interim_input_transcripts)
11869
12440
  @disable_no_speech_recognized_event = args[:disable_no_speech_recognized_event] if args.key?(:disable_no_speech_recognized_event)
11870
12441
  @enable_automatic_punctuation = args[:enable_automatic_punctuation] if args.key?(:enable_automatic_punctuation)
11871
12442
  @enable_voice_activity_events = args[:enable_voice_activity_events] if args.key?(:enable_voice_activity_events)
@@ -13731,6 +14302,31 @@ module Google
13731
14302
  end
13732
14303
  end
13733
14304
 
14305
+ #
14306
+ class GoogleCloudDialogflowV2ListCompanionAgentsResponse
14307
+ include Google::Apis::Core::Hashable
14308
+
14309
+ #
14310
+ # Corresponds to the JSON property `companionAgents`
14311
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2CompanionAgent>]
14312
+ attr_accessor :companion_agents
14313
+
14314
+ #
14315
+ # Corresponds to the JSON property `nextPageToken`
14316
+ # @return [String]
14317
+ attr_accessor :next_page_token
14318
+
14319
+ def initialize(**args)
14320
+ update!(**args)
14321
+ end
14322
+
14323
+ # Update properties of this object
14324
+ def update!(**args)
14325
+ @companion_agents = args[:companion_agents] if args.key?(:companion_agents)
14326
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
14327
+ end
14328
+ end
14329
+
13734
14330
  #
13735
14331
  class GoogleCloudDialogflowV2ListContextsResponse
13736
14332
  include Google::Apis::Core::Hashable
@@ -14887,6 +15483,25 @@ module Google
14887
15483
  end
14888
15484
  end
14889
15485
 
15486
+ #
15487
+ class GoogleCloudDialogflowV2SearchEntryPoint
15488
+ include Google::Apis::Core::Hashable
15489
+
15490
+ #
15491
+ # Corresponds to the JSON property `renderedContent`
15492
+ # @return [String]
15493
+ attr_accessor :rendered_content
15494
+
15495
+ def initialize(**args)
15496
+ update!(**args)
15497
+ end
15498
+
15499
+ # Update properties of this object
15500
+ def update!(**args)
15501
+ @rendered_content = args[:rendered_content] if args.key?(:rendered_content)
15502
+ end
15503
+ end
15504
+
14890
15505
  #
14891
15506
  class GoogleCloudDialogflowV2SearchKnowledgeAnswer
14892
15507
  include Google::Apis::Core::Hashable
@@ -15330,6 +15945,37 @@ module Google
15330
15945
  end
15331
15946
  end
15332
15947
 
15948
+ #
15949
+ class GoogleCloudDialogflowV2Segment
15950
+ include Google::Apis::Core::Hashable
15951
+
15952
+ #
15953
+ # Corresponds to the JSON property `endIndex`
15954
+ # @return [Fixnum]
15955
+ attr_accessor :end_index
15956
+
15957
+ #
15958
+ # Corresponds to the JSON property `startIndex`
15959
+ # @return [Fixnum]
15960
+ attr_accessor :start_index
15961
+
15962
+ #
15963
+ # Corresponds to the JSON property `text`
15964
+ # @return [String]
15965
+ attr_accessor :text
15966
+
15967
+ def initialize(**args)
15968
+ update!(**args)
15969
+ end
15970
+
15971
+ # Update properties of this object
15972
+ def update!(**args)
15973
+ @end_index = args[:end_index] if args.key?(:end_index)
15974
+ @start_index = args[:start_index] if args.key?(:start_index)
15975
+ @text = args[:text] if args.key?(:text)
15976
+ end
15977
+ end
15978
+
15333
15979
  #
15334
15980
  class GoogleCloudDialogflowV2Sentiment
15335
15981
  include Google::Apis::Core::Hashable
@@ -15873,6 +16519,12 @@ module Google
15873
16519
  # @return [String]
15874
16520
  attr_accessor :audio_encoding
15875
16521
 
16522
+ #
16523
+ # Corresponds to the JSON property `disableInterimInputTranscripts`
16524
+ # @return [Boolean]
16525
+ attr_accessor :disable_interim_input_transcripts
16526
+ alias_method :disable_interim_input_transcripts?, :disable_interim_input_transcripts
16527
+
15876
16528
  #
15877
16529
  # Corresponds to the JSON property `enableWordInfo`
15878
16530
  # @return [Boolean]
@@ -15928,6 +16580,7 @@ module Google
15928
16580
  # Update properties of this object
15929
16581
  def update!(**args)
15930
16582
  @audio_encoding = args[:audio_encoding] if args.key?(:audio_encoding)
16583
+ @disable_interim_input_transcripts = args[:disable_interim_input_transcripts] if args.key?(:disable_interim_input_transcripts)
15931
16584
  @enable_word_info = args[:enable_word_info] if args.key?(:enable_word_info)
15932
16585
  @gemini_asr_config = args[:gemini_asr_config] if args.key?(:gemini_asr_config)
15933
16586
  @language_code = args[:language_code] if args.key?(:language_code)
@@ -15949,11 +16602,6 @@ module Google
15949
16602
  # @return [String]
15950
16603
  attr_accessor :end_of_speech_sensitivity
15951
16604
 
15952
- #
15953
- # Corresponds to the JSON property `modelId`
15954
- # @return [String]
15955
- attr_accessor :model_id
15956
-
15957
16605
  #
15958
16606
  # Corresponds to the JSON property `prefixPaddingMs`
15959
16607
  # @return [Fixnum]
@@ -15976,7 +16624,6 @@ module Google
15976
16624
  # Update properties of this object
15977
16625
  def update!(**args)
15978
16626
  @end_of_speech_sensitivity = args[:end_of_speech_sensitivity] if args.key?(:end_of_speech_sensitivity)
15979
- @model_id = args[:model_id] if args.key?(:model_id)
15980
16627
  @prefix_padding_ms = args[:prefix_padding_ms] if args.key?(:prefix_padding_ms)
15981
16628
  @silence_duration_ms = args[:silence_duration_ms] if args.key?(:silence_duration_ms)
15982
16629
  @start_of_speech_sensitivity = args[:start_of_speech_sensitivity] if args.key?(:start_of_speech_sensitivity)
@@ -16020,6 +16667,37 @@ module Google
16020
16667
  end
16021
16668
  end
16022
16669
 
16670
+ #
16671
+ class GoogleCloudDialogflowV2StreamingReactiveCompanionSuggestionsResponseReactiveModeResponse
16672
+ include Google::Apis::Core::Hashable
16673
+
16674
+ #
16675
+ # Corresponds to the JSON property `groundingMetadata`
16676
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GroundingMetadata]
16677
+ attr_accessor :grounding_metadata
16678
+
16679
+ #
16680
+ # Corresponds to the JSON property `response`
16681
+ # @return [String]
16682
+ attr_accessor :response
16683
+
16684
+ #
16685
+ # Corresponds to the JSON property `toolCalls`
16686
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolCallSuggestion>]
16687
+ attr_accessor :tool_calls
16688
+
16689
+ def initialize(**args)
16690
+ update!(**args)
16691
+ end
16692
+
16693
+ # Update properties of this object
16694
+ def update!(**args)
16695
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
16696
+ @response = args[:response] if args.key?(:response)
16697
+ @tool_calls = args[:tool_calls] if args.key?(:tool_calls)
16698
+ end
16699
+ end
16700
+
16023
16701
  #
16024
16702
  class GoogleCloudDialogflowV2StreamingRecognitionResult
16025
16703
  include Google::Apis::Core::Hashable
@@ -16551,6 +17229,11 @@ module Google
16551
17229
  # @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
16552
17230
  attr_accessor :error
16553
17231
 
17232
+ #
17233
+ # Corresponds to the JSON property `generateCompanionSuggestionsResponse`
17234
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateCompanionSuggestionsResponse]
17235
+ attr_accessor :generate_companion_suggestions_response
17236
+
16554
17237
  #
16555
17238
  # Corresponds to the JSON property `generateSuggestionsResponse`
16556
17239
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GenerateSuggestionsResponse]
@@ -16583,6 +17266,7 @@ module Google
16583
17266
  # Update properties of this object
16584
17267
  def update!(**args)
16585
17268
  @error = args[:error] if args.key?(:error)
17269
+ @generate_companion_suggestions_response = args[:generate_companion_suggestions_response] if args.key?(:generate_companion_suggestions_response)
16586
17270
  @generate_suggestions_response = args[:generate_suggestions_response] if args.key?(:generate_suggestions_response)
16587
17271
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
16588
17272
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
@@ -17698,6 +18382,31 @@ module Google
17698
18382
  end
17699
18383
  end
17700
18384
 
18385
+ #
18386
+ class GoogleCloudDialogflowV2ToolCallSuggestion
18387
+ include Google::Apis::Core::Hashable
18388
+
18389
+ #
18390
+ # Corresponds to the JSON property `textUpdate`
18391
+ # @return [String]
18392
+ attr_accessor :text_update
18393
+
18394
+ #
18395
+ # Corresponds to the JSON property `toolCallInfo`
18396
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2GeneratorSuggestionToolCallInfo]
18397
+ attr_accessor :tool_call_info
18398
+
18399
+ def initialize(**args)
18400
+ update!(**args)
18401
+ end
18402
+
18403
+ # Update properties of this object
18404
+ def update!(**args)
18405
+ @text_update = args[:text_update] if args.key?(:text_update)
18406
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
18407
+ end
18408
+ end
18409
+
17701
18410
  #
17702
18411
  class GoogleCloudDialogflowV2ToolConnectorTool
17703
18412
  include Google::Apis::Core::Hashable
@@ -18656,6 +19365,117 @@ module Google
18656
19365
  end
18657
19366
  end
18658
19367
 
19368
+ #
19369
+ class GoogleCloudDialogflowV2beta1CompanionSuggestion
19370
+ include Google::Apis::Core::Hashable
19371
+
19372
+ #
19373
+ # Corresponds to the JSON property `guidances`
19374
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance>]
19375
+ attr_accessor :guidances
19376
+
19377
+ def initialize(**args)
19378
+ update!(**args)
19379
+ end
19380
+
19381
+ # Update properties of this object
19382
+ def update!(**args)
19383
+ @guidances = args[:guidances] if args.key?(:guidances)
19384
+ end
19385
+ end
19386
+
19387
+ #
19388
+ class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidance
19389
+ include Google::Apis::Core::Hashable
19390
+
19391
+ #
19392
+ # Corresponds to the JSON property `explanation`
19393
+ # @return [String]
19394
+ attr_accessor :explanation
19395
+
19396
+ #
19397
+ # Corresponds to the JSON property `groundingMetadata`
19398
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GroundingMetadata]
19399
+ attr_accessor :grounding_metadata
19400
+
19401
+ #
19402
+ # Corresponds to the JSON property `instructionSource`
19403
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GuidanceInstruction]
19404
+ attr_accessor :instruction_source
19405
+
19406
+ #
19407
+ # Corresponds to the JSON property `knowledgeSources`
19408
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource>]
19409
+ attr_accessor :knowledge_sources
19410
+
19411
+ #
19412
+ # Corresponds to the JSON property `suggestedAction`
19413
+ # @return [String]
19414
+ attr_accessor :suggested_action
19415
+
19416
+ #
19417
+ # Corresponds to the JSON property `suggestedReply`
19418
+ # @return [String]
19419
+ attr_accessor :suggested_reply
19420
+
19421
+ #
19422
+ # Corresponds to the JSON property `toolCalls`
19423
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1ToolCallSuggestion>]
19424
+ attr_accessor :tool_calls
19425
+
19426
+ #
19427
+ # Corresponds to the JSON property `triggeringToolCallAnswerRecords`
19428
+ # @return [Array<String>]
19429
+ attr_accessor :triggering_tool_call_answer_records
19430
+
19431
+ def initialize(**args)
19432
+ update!(**args)
19433
+ end
19434
+
19435
+ # Update properties of this object
19436
+ def update!(**args)
19437
+ @explanation = args[:explanation] if args.key?(:explanation)
19438
+ @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
19439
+ @instruction_source = args[:instruction_source] if args.key?(:instruction_source)
19440
+ @knowledge_sources = args[:knowledge_sources] if args.key?(:knowledge_sources)
19441
+ @suggested_action = args[:suggested_action] if args.key?(:suggested_action)
19442
+ @suggested_reply = args[:suggested_reply] if args.key?(:suggested_reply)
19443
+ @tool_calls = args[:tool_calls] if args.key?(:tool_calls)
19444
+ @triggering_tool_call_answer_records = args[:triggering_tool_call_answer_records] if args.key?(:triggering_tool_call_answer_records)
19445
+ end
19446
+ end
19447
+
19448
+ #
19449
+ class GoogleCloudDialogflowV2beta1CompanionSuggestionGuidanceKnowledgeSource
19450
+ include Google::Apis::Core::Hashable
19451
+
19452
+ #
19453
+ # Corresponds to the JSON property `knowledgeArticleTitle`
19454
+ # @return [String]
19455
+ attr_accessor :knowledge_article_title
19456
+
19457
+ #
19458
+ # Corresponds to the JSON property `knowledgeArticleUrl`
19459
+ # @return [String]
19460
+ attr_accessor :knowledge_article_url
19461
+
19462
+ #
19463
+ # Corresponds to the JSON property `knowledgeSnippet`
19464
+ # @return [String]
19465
+ attr_accessor :knowledge_snippet
19466
+
19467
+ def initialize(**args)
19468
+ update!(**args)
19469
+ end
19470
+
19471
+ # Update properties of this object
19472
+ def update!(**args)
19473
+ @knowledge_article_title = args[:knowledge_article_title] if args.key?(:knowledge_article_title)
19474
+ @knowledge_article_url = args[:knowledge_article_url] if args.key?(:knowledge_article_url)
19475
+ @knowledge_snippet = args[:knowledge_snippet] if args.key?(:knowledge_snippet)
19476
+ end
19477
+ end
19478
+
18659
19479
  #
18660
19480
  class GoogleCloudDialogflowV2beta1Context
18661
19481
  include Google::Apis::Core::Hashable
@@ -19024,6 +19844,43 @@ module Google
19024
19844
  end
19025
19845
  end
19026
19846
 
19847
+ #
19848
+ class GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse
19849
+ include Google::Apis::Core::Hashable
19850
+
19851
+ #
19852
+ # Corresponds to the JSON property `answerRecord`
19853
+ # @return [String]
19854
+ attr_accessor :answer_record
19855
+
19856
+ #
19857
+ # Corresponds to the JSON property `companionSuggestion`
19858
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1CompanionSuggestion]
19859
+ attr_accessor :companion_suggestion
19860
+
19861
+ #
19862
+ # Corresponds to the JSON property `latestMessage`
19863
+ # @return [String]
19864
+ attr_accessor :latest_message
19865
+
19866
+ #
19867
+ # Corresponds to the JSON property `suggestionIndex`
19868
+ # @return [Fixnum]
19869
+ attr_accessor :suggestion_index
19870
+
19871
+ def initialize(**args)
19872
+ update!(**args)
19873
+ end
19874
+
19875
+ # Update properties of this object
19876
+ def update!(**args)
19877
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
19878
+ @companion_suggestion = args[:companion_suggestion] if args.key?(:companion_suggestion)
19879
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
19880
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
19881
+ end
19882
+ end
19883
+
19027
19884
  #
19028
19885
  class GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse
19029
19886
  include Google::Apis::Core::Hashable
@@ -19142,6 +19999,224 @@ module Google
19142
19999
  end
19143
20000
  end
19144
20001
 
20002
+ #
20003
+ class GoogleCloudDialogflowV2beta1GroundingChunk
20004
+ include Google::Apis::Core::Hashable
20005
+
20006
+ #
20007
+ # Corresponds to the JSON property `retrievedContext`
20008
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext]
20009
+ attr_accessor :retrieved_context
20010
+
20011
+ #
20012
+ # Corresponds to the JSON property `web`
20013
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GroundingChunkWeb]
20014
+ attr_accessor :web
20015
+
20016
+ def initialize(**args)
20017
+ update!(**args)
20018
+ end
20019
+
20020
+ # Update properties of this object
20021
+ def update!(**args)
20022
+ @retrieved_context = args[:retrieved_context] if args.key?(:retrieved_context)
20023
+ @web = args[:web] if args.key?(:web)
20024
+ end
20025
+ end
20026
+
20027
+ #
20028
+ class GoogleCloudDialogflowV2beta1GroundingChunkRetrievedContext
20029
+ include Google::Apis::Core::Hashable
20030
+
20031
+ #
20032
+ # Corresponds to the JSON property `text`
20033
+ # @return [String]
20034
+ attr_accessor :text
20035
+
20036
+ #
20037
+ # Corresponds to the JSON property `title`
20038
+ # @return [String]
20039
+ attr_accessor :title
20040
+
20041
+ #
20042
+ # Corresponds to the JSON property `uri`
20043
+ # @return [String]
20044
+ attr_accessor :uri
20045
+
20046
+ def initialize(**args)
20047
+ update!(**args)
20048
+ end
20049
+
20050
+ # Update properties of this object
20051
+ def update!(**args)
20052
+ @text = args[:text] if args.key?(:text)
20053
+ @title = args[:title] if args.key?(:title)
20054
+ @uri = args[:uri] if args.key?(:uri)
20055
+ end
20056
+ end
20057
+
20058
+ #
20059
+ class GoogleCloudDialogflowV2beta1GroundingChunkWeb
20060
+ include Google::Apis::Core::Hashable
20061
+
20062
+ #
20063
+ # Corresponds to the JSON property `domain`
20064
+ # @return [String]
20065
+ attr_accessor :domain
20066
+
20067
+ #
20068
+ # Corresponds to the JSON property `title`
20069
+ # @return [String]
20070
+ attr_accessor :title
20071
+
20072
+ #
20073
+ # Corresponds to the JSON property `uri`
20074
+ # @return [String]
20075
+ attr_accessor :uri
20076
+
20077
+ def initialize(**args)
20078
+ update!(**args)
20079
+ end
20080
+
20081
+ # Update properties of this object
20082
+ def update!(**args)
20083
+ @domain = args[:domain] if args.key?(:domain)
20084
+ @title = args[:title] if args.key?(:title)
20085
+ @uri = args[:uri] if args.key?(:uri)
20086
+ end
20087
+ end
20088
+
20089
+ #
20090
+ class GoogleCloudDialogflowV2beta1GroundingMetadata
20091
+ include Google::Apis::Core::Hashable
20092
+
20093
+ #
20094
+ # Corresponds to the JSON property `groundingChunks`
20095
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GroundingChunk>]
20096
+ attr_accessor :grounding_chunks
20097
+
20098
+ #
20099
+ # Corresponds to the JSON property `groundingSupports`
20100
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GroundingSupport>]
20101
+ attr_accessor :grounding_supports
20102
+
20103
+ #
20104
+ # Corresponds to the JSON property `searchEntryPoint`
20105
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SearchEntryPoint]
20106
+ attr_accessor :search_entry_point
20107
+
20108
+ #
20109
+ # Corresponds to the JSON property `webSearchQueries`
20110
+ # @return [Array<String>]
20111
+ attr_accessor :web_search_queries
20112
+
20113
+ def initialize(**args)
20114
+ update!(**args)
20115
+ end
20116
+
20117
+ # Update properties of this object
20118
+ def update!(**args)
20119
+ @grounding_chunks = args[:grounding_chunks] if args.key?(:grounding_chunks)
20120
+ @grounding_supports = args[:grounding_supports] if args.key?(:grounding_supports)
20121
+ @search_entry_point = args[:search_entry_point] if args.key?(:search_entry_point)
20122
+ @web_search_queries = args[:web_search_queries] if args.key?(:web_search_queries)
20123
+ end
20124
+ end
20125
+
20126
+ #
20127
+ class GoogleCloudDialogflowV2beta1GroundingSupport
20128
+ include Google::Apis::Core::Hashable
20129
+
20130
+ #
20131
+ # Corresponds to the JSON property `groundingChunkIndices`
20132
+ # @return [Array<Fixnum>]
20133
+ attr_accessor :grounding_chunk_indices
20134
+
20135
+ #
20136
+ # Corresponds to the JSON property `segment`
20137
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1Segment]
20138
+ attr_accessor :segment
20139
+
20140
+ def initialize(**args)
20141
+ update!(**args)
20142
+ end
20143
+
20144
+ # Update properties of this object
20145
+ def update!(**args)
20146
+ @grounding_chunk_indices = args[:grounding_chunk_indices] if args.key?(:grounding_chunk_indices)
20147
+ @segment = args[:segment] if args.key?(:segment)
20148
+ end
20149
+ end
20150
+
20151
+ #
20152
+ class GoogleCloudDialogflowV2beta1GuidanceInstruction
20153
+ include Google::Apis::Core::Hashable
20154
+
20155
+ #
20156
+ # Corresponds to the JSON property `actions`
20157
+ # @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GuidanceInstructionAction>]
20158
+ attr_accessor :actions
20159
+
20160
+ #
20161
+ # Corresponds to the JSON property `condition`
20162
+ # @return [String]
20163
+ attr_accessor :condition
20164
+
20165
+ #
20166
+ # Corresponds to the JSON property `disableSuggestedReply`
20167
+ # @return [Boolean]
20168
+ attr_accessor :disable_suggested_reply
20169
+ alias_method :disable_suggested_reply?, :disable_suggested_reply
20170
+
20171
+ #
20172
+ # Corresponds to the JSON property `displayDetails`
20173
+ # @return [String]
20174
+ attr_accessor :display_details
20175
+
20176
+ #
20177
+ # Corresponds to the JSON property `displayName`
20178
+ # @return [String]
20179
+ attr_accessor :display_name
20180
+
20181
+ #
20182
+ # Corresponds to the JSON property `triggerEvent`
20183
+ # @return [String]
20184
+ attr_accessor :trigger_event
20185
+
20186
+ def initialize(**args)
20187
+ update!(**args)
20188
+ end
20189
+
20190
+ # Update properties of this object
20191
+ def update!(**args)
20192
+ @actions = args[:actions] if args.key?(:actions)
20193
+ @condition = args[:condition] if args.key?(:condition)
20194
+ @disable_suggested_reply = args[:disable_suggested_reply] if args.key?(:disable_suggested_reply)
20195
+ @display_details = args[:display_details] if args.key?(:display_details)
20196
+ @display_name = args[:display_name] if args.key?(:display_name)
20197
+ @trigger_event = args[:trigger_event] if args.key?(:trigger_event)
20198
+ end
20199
+ end
20200
+
20201
+ #
20202
+ class GoogleCloudDialogflowV2beta1GuidanceInstructionAction
20203
+ include Google::Apis::Core::Hashable
20204
+
20205
+ #
20206
+ # Corresponds to the JSON property `description`
20207
+ # @return [String]
20208
+ attr_accessor :description
20209
+
20210
+ def initialize(**args)
20211
+ update!(**args)
20212
+ end
20213
+
20214
+ # Update properties of this object
20215
+ def update!(**args)
20216
+ @description = args[:description] if args.key?(:description)
20217
+ end
20218
+ end
20219
+
19145
20220
  #
19146
20221
  class GoogleCloudDialogflowV2beta1HumanAgentAssistantEvent
19147
20222
  include Google::Apis::Core::Hashable
@@ -21907,6 +22982,56 @@ module Google
21907
22982
  end
21908
22983
  end
21909
22984
 
22985
+ #
22986
+ class GoogleCloudDialogflowV2beta1SearchEntryPoint
22987
+ include Google::Apis::Core::Hashable
22988
+
22989
+ #
22990
+ # Corresponds to the JSON property `renderedContent`
22991
+ # @return [String]
22992
+ attr_accessor :rendered_content
22993
+
22994
+ def initialize(**args)
22995
+ update!(**args)
22996
+ end
22997
+
22998
+ # Update properties of this object
22999
+ def update!(**args)
23000
+ @rendered_content = args[:rendered_content] if args.key?(:rendered_content)
23001
+ end
23002
+ end
23003
+
23004
+ #
23005
+ class GoogleCloudDialogflowV2beta1Segment
23006
+ include Google::Apis::Core::Hashable
23007
+
23008
+ #
23009
+ # Corresponds to the JSON property `endIndex`
23010
+ # @return [Fixnum]
23011
+ attr_accessor :end_index
23012
+
23013
+ #
23014
+ # Corresponds to the JSON property `startIndex`
23015
+ # @return [Fixnum]
23016
+ attr_accessor :start_index
23017
+
23018
+ #
23019
+ # Corresponds to the JSON property `text`
23020
+ # @return [String]
23021
+ attr_accessor :text
23022
+
23023
+ def initialize(**args)
23024
+ update!(**args)
23025
+ end
23026
+
23027
+ # Update properties of this object
23028
+ def update!(**args)
23029
+ @end_index = args[:end_index] if args.key?(:end_index)
23030
+ @start_index = args[:start_index] if args.key?(:start_index)
23031
+ @text = args[:text] if args.key?(:text)
23032
+ end
23033
+ end
23034
+
21910
23035
  #
21911
23036
  class GoogleCloudDialogflowV2beta1Sentiment
21912
23037
  include Google::Apis::Core::Hashable
@@ -22381,6 +23506,11 @@ module Google
22381
23506
  # @return [Google::Apis::DialogflowV2::GoogleRpcStatus]
22382
23507
  attr_accessor :error
22383
23508
 
23509
+ #
23510
+ # Corresponds to the JSON property `generateCompanionSuggestionsResponse`
23511
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateCompanionSuggestionsResponse]
23512
+ attr_accessor :generate_companion_suggestions_response
23513
+
22384
23514
  #
22385
23515
  # Corresponds to the JSON property `generateSuggestionsResponse`
22386
23516
  # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GenerateSuggestionsResponse]
@@ -22423,6 +23553,7 @@ module Google
22423
23553
  # Update properties of this object
22424
23554
  def update!(**args)
22425
23555
  @error = args[:error] if args.key?(:error)
23556
+ @generate_companion_suggestions_response = args[:generate_companion_suggestions_response] if args.key?(:generate_companion_suggestions_response)
22426
23557
  @generate_suggestions_response = args[:generate_suggestions_response] if args.key?(:generate_suggestions_response)
22427
23558
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
22428
23559
  @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
@@ -22675,6 +23806,31 @@ module Google
22675
23806
  end
22676
23807
  end
22677
23808
 
23809
+ #
23810
+ class GoogleCloudDialogflowV2beta1ToolCallSuggestion
23811
+ include Google::Apis::Core::Hashable
23812
+
23813
+ #
23814
+ # Corresponds to the JSON property `textUpdate`
23815
+ # @return [String]
23816
+ attr_accessor :text_update
23817
+
23818
+ #
23819
+ # Corresponds to the JSON property `toolCallInfo`
23820
+ # @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1GeneratorSuggestionToolCallInfo]
23821
+ attr_accessor :tool_call_info
23822
+
23823
+ def initialize(**args)
23824
+ update!(**args)
23825
+ end
23826
+
23827
+ # Update properties of this object
23828
+ def update!(**args)
23829
+ @text_update = args[:text_update] if args.key?(:text_update)
23830
+ @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
23831
+ end
23832
+ end
23833
+
22678
23834
  #
22679
23835
  class GoogleCloudDialogflowV2beta1WebhookRequest
22680
23836
  include Google::Apis::Core::Hashable