google-apis-dialogflow_v3beta1 0.109.0 → 0.111.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d53c2e3b9bcbac7fea4ad79db3c18fce003b06057bbfaf3df241eef5a1aabb0
4
- data.tar.gz: e51b1157fb18a366d0dae478b3a6fe14836cd032dd37887dc0b35fe606d338fb
3
+ metadata.gz: 8d282096e24c222256e8f76e57c279b6c79266bf4340b317f7e6d1824a3e6114
4
+ data.tar.gz: fe5758d535b1cd99faaafc3cdc46058da5405647d1eca8f129220f4f0b702701
5
5
  SHA512:
6
- metadata.gz: 590e9b02d15ec8997e1c763945799048a61d36bc967f80110ae8053db2b4f5b7973f27079ce993876387aa029e25ce691d80cb366ad5c455635cb1887a44e571
7
- data.tar.gz: bb3f4e803cd271d3e8693444e95d1eed4ba566be8c95b5508912d5a50026c9642226faa7a1ef2118d92dc6e8fb9a1f7a378cc74e2b599efde3bae71beb74ea48
6
+ metadata.gz: 9c266a75c0a8a0c8038e30564cef190af3706e69bded01f50bb5aba3c9cd5c6ac0d36ead98b6c45d014c2862945971d627120dd49d1d8d4709e8ede8680a10e9
7
+ data.tar.gz: 66390059a9ebd517271a84ec641fc679fd1a9f5d6135ff60809d685a25cdf1916f31042b09d728308006c11fb2a3995cf309684214809c46b9fa1ec0be632080
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.111.0 (2025-10-05)
4
+
5
+ * Regenerated from discovery document revision 20250929
6
+
7
+ ### v0.110.0 (2025-09-28)
8
+
9
+ * Regenerated from discovery document revision 20250919
10
+
3
11
  ### v0.109.0 (2025-08-31)
4
12
 
5
13
  * Regenerated from discovery document revision 20250828
@@ -16283,6 +16283,282 @@ module Google
16283
16283
  end
16284
16284
  end
16285
16285
 
16286
+ # Agent Coaching instructions that customer can configure.
16287
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
16288
+ include Google::Apis::Core::Hashable
16289
+
16290
+ # Optional. The action that human agent should take. For example, "apologize for
16291
+ # the slow shipping". If the users only want to use agent coaching for intent
16292
+ # detection, agent_action can be empty
16293
+ # Corresponds to the JSON property `agentAction`
16294
+ # @return [String]
16295
+ attr_accessor :agent_action
16296
+
16297
+ # Optional. The condition of the instruction. For example, "the customer wants
16298
+ # to cancel an order". If the users want the instruction to be triggered
16299
+ # unconditionally, the condition can be empty.
16300
+ # Corresponds to the JSON property `condition`
16301
+ # @return [String]
16302
+ attr_accessor :condition
16303
+
16304
+ # Optional. The detailed description of this instruction.
16305
+ # Corresponds to the JSON property `displayDetails`
16306
+ # @return [String]
16307
+ attr_accessor :display_details
16308
+
16309
+ # Optional. Display name for the instruction.
16310
+ # Corresponds to the JSON property `displayName`
16311
+ # @return [String]
16312
+ attr_accessor :display_name
16313
+
16314
+ # Duplication check for the suggestion.
16315
+ # Corresponds to the JSON property `duplicateCheckResult`
16316
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult]
16317
+ attr_accessor :duplicate_check_result
16318
+
16319
+ # Optional. The action that system should take. For example, "call GetOrderTime
16320
+ # with order_number=`order number provided by the customer`". If the users don't
16321
+ # have plugins or don't want to trigger plugins, the system_action can be empty
16322
+ # Corresponds to the JSON property `systemAction`
16323
+ # @return [String]
16324
+ attr_accessor :system_action
16325
+
16326
+ def initialize(**args)
16327
+ update!(**args)
16328
+ end
16329
+
16330
+ # Update properties of this object
16331
+ def update!(**args)
16332
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
16333
+ @condition = args[:condition] if args.key?(:condition)
16334
+ @display_details = args[:display_details] if args.key?(:display_details)
16335
+ @display_name = args[:display_name] if args.key?(:display_name)
16336
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
16337
+ @system_action = args[:system_action] if args.key?(:system_action)
16338
+ end
16339
+ end
16340
+
16341
+ # Duplication check for the suggestion.
16342
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
16343
+ include Google::Apis::Core::Hashable
16344
+
16345
+ # Output only. The duplicate suggestions.
16346
+ # Corresponds to the JSON property `duplicateSuggestions`
16347
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
16348
+ attr_accessor :duplicate_suggestions
16349
+
16350
+ def initialize(**args)
16351
+ update!(**args)
16352
+ end
16353
+
16354
+ # Update properties of this object
16355
+ def update!(**args)
16356
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
16357
+ end
16358
+ end
16359
+
16360
+ # The duplicate suggestion details.
16361
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
16362
+ include Google::Apis::Core::Hashable
16363
+
16364
+ # Output only. The answer record id of the past duplicate suggestion.
16365
+ # Corresponds to the JSON property `answerRecord`
16366
+ # @return [String]
16367
+ attr_accessor :answer_record
16368
+
16369
+ # Output only. The similarity score of between the past and current suggestion.
16370
+ # Corresponds to the JSON property `similarityScore`
16371
+ # @return [Float]
16372
+ attr_accessor :similarity_score
16373
+
16374
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
16375
+ # Corresponds to the JSON property `suggestionIndex`
16376
+ # @return [Fixnum]
16377
+ attr_accessor :suggestion_index
16378
+
16379
+ def initialize(**args)
16380
+ update!(**args)
16381
+ end
16382
+
16383
+ # Update properties of this object
16384
+ def update!(**args)
16385
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
16386
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
16387
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
16388
+ end
16389
+ end
16390
+
16391
+ # Suggestion for coaching agents.
16392
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
16393
+ include Google::Apis::Core::Hashable
16394
+
16395
+ # Optional. Suggested actions for the agent to take.
16396
+ # Corresponds to the JSON property `agentActionSuggestions`
16397
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion>]
16398
+ attr_accessor :agent_action_suggestions
16399
+
16400
+ # Optional. Instructions applicable based on the current context.
16401
+ # Corresponds to the JSON property `applicableInstructions`
16402
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstruction>]
16403
+ attr_accessor :applicable_instructions
16404
+
16405
+ # Optional. Sample response for the Agent.
16406
+ # Corresponds to the JSON property `sampleResponses`
16407
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse>]
16408
+ attr_accessor :sample_responses
16409
+
16410
+ def initialize(**args)
16411
+ update!(**args)
16412
+ end
16413
+
16414
+ # Update properties of this object
16415
+ def update!(**args)
16416
+ @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
16417
+ @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
16418
+ @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
16419
+ end
16420
+ end
16421
+
16422
+ # Actions suggested for the agent. This is based on applicable instructions.
16423
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
16424
+ include Google::Apis::Core::Hashable
16425
+
16426
+ # Optional. The suggested action for the agent.
16427
+ # Corresponds to the JSON property `agentAction`
16428
+ # @return [String]
16429
+ attr_accessor :agent_action
16430
+
16431
+ # Duplication check for the suggestion.
16432
+ # Corresponds to the JSON property `duplicateCheckResult`
16433
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
16434
+ attr_accessor :duplicate_check_result
16435
+
16436
+ # Sources for the suggestion.
16437
+ # Corresponds to the JSON property `sources`
16438
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
16439
+ attr_accessor :sources
16440
+
16441
+ def initialize(**args)
16442
+ update!(**args)
16443
+ end
16444
+
16445
+ # Update properties of this object
16446
+ def update!(**args)
16447
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
16448
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
16449
+ @sources = args[:sources] if args.key?(:sources)
16450
+ end
16451
+ end
16452
+
16453
+ # Duplication check for the suggestion.
16454
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
16455
+ include Google::Apis::Core::Hashable
16456
+
16457
+ # Output only. The duplicate suggestions.
16458
+ # Corresponds to the JSON property `duplicateSuggestions`
16459
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
16460
+ attr_accessor :duplicate_suggestions
16461
+
16462
+ def initialize(**args)
16463
+ update!(**args)
16464
+ end
16465
+
16466
+ # Update properties of this object
16467
+ def update!(**args)
16468
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
16469
+ end
16470
+ end
16471
+
16472
+ # The duplicate suggestion details. Keeping answer_record and sources together
16473
+ # as they are identifiers for duplicate suggestions.
16474
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
16475
+ include Google::Apis::Core::Hashable
16476
+
16477
+ # Output only. The answer record id of the past duplicate suggestion.
16478
+ # Corresponds to the JSON property `answerRecord`
16479
+ # @return [String]
16480
+ attr_accessor :answer_record
16481
+
16482
+ # Output only. The similarity score of between the past and current suggestion.
16483
+ # Corresponds to the JSON property `similarityScore`
16484
+ # @return [Float]
16485
+ attr_accessor :similarity_score
16486
+
16487
+ # Sources for the suggestion.
16488
+ # Corresponds to the JSON property `sources`
16489
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
16490
+ attr_accessor :sources
16491
+
16492
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
16493
+ # Corresponds to the JSON property `suggestionIndex`
16494
+ # @return [Fixnum]
16495
+ attr_accessor :suggestion_index
16496
+
16497
+ def initialize(**args)
16498
+ update!(**args)
16499
+ end
16500
+
16501
+ # Update properties of this object
16502
+ def update!(**args)
16503
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
16504
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
16505
+ @sources = args[:sources] if args.key?(:sources)
16506
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
16507
+ end
16508
+ end
16509
+
16510
+ # Sample response that the agent can use. This could be based on applicable
16511
+ # instructions and ingested data from other systems.
16512
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
16513
+ include Google::Apis::Core::Hashable
16514
+
16515
+ # Duplication check for the suggestion.
16516
+ # Corresponds to the JSON property `duplicateCheckResult`
16517
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
16518
+ attr_accessor :duplicate_check_result
16519
+
16520
+ # Optional. Sample response for Agent in text.
16521
+ # Corresponds to the JSON property `responseText`
16522
+ # @return [String]
16523
+ attr_accessor :response_text
16524
+
16525
+ # Sources for the suggestion.
16526
+ # Corresponds to the JSON property `sources`
16527
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
16528
+ attr_accessor :sources
16529
+
16530
+ def initialize(**args)
16531
+ update!(**args)
16532
+ end
16533
+
16534
+ # Update properties of this object
16535
+ def update!(**args)
16536
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
16537
+ @response_text = args[:response_text] if args.key?(:response_text)
16538
+ @sources = args[:sources] if args.key?(:sources)
16539
+ end
16540
+ end
16541
+
16542
+ # Sources for the suggestion.
16543
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
16544
+ include Google::Apis::Core::Hashable
16545
+
16546
+ # Output only. Source instruction indexes for the suggestion. This is the index
16547
+ # of the applicable_instructions field.
16548
+ # Corresponds to the JSON property `instructionIndexes`
16549
+ # @return [Array<Fixnum>]
16550
+ attr_accessor :instruction_indexes
16551
+
16552
+ def initialize(**args)
16553
+ update!(**args)
16554
+ end
16555
+
16556
+ # Update properties of this object
16557
+ def update!(**args)
16558
+ @instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
16559
+ end
16560
+ end
16561
+
16286
16562
  # Represents a part of a message possibly annotated with an entity. The part can
16287
16563
  # be an entity or purely a part of the message between two entities or message
16288
16564
  # start/end.
@@ -17236,6 +17512,11 @@ module Google
17236
17512
  class GoogleCloudDialogflowV2GeneratorSuggestion
17237
17513
  include Google::Apis::Core::Hashable
17238
17514
 
17515
+ # Suggestion for coaching agents.
17516
+ # Corresponds to the JSON property `agentCoachingSuggestion`
17517
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion]
17518
+ attr_accessor :agent_coaching_suggestion
17519
+
17239
17520
  # Suggestion generated using free form generator.
17240
17521
  # Corresponds to the JSON property `freeFormSuggestion`
17241
17522
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2FreeFormSuggestion]
@@ -17257,6 +17538,7 @@ module Google
17257
17538
 
17258
17539
  # Update properties of this object
17259
17540
  def update!(**args)
17541
+ @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
17260
17542
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
17261
17543
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
17262
17544
  @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
@@ -19789,6 +20071,11 @@ module Google
19789
20071
  # @return [String]
19790
20072
  attr_accessor :action
19791
20073
 
20074
+ # Optional. The answer record associated with this tool call.
20075
+ # Corresponds to the JSON property `answerRecord`
20076
+ # @return [String]
20077
+ attr_accessor :answer_record
20078
+
19792
20079
  # Output only. Create time of the tool call.
19793
20080
  # Corresponds to the JSON property `createTime`
19794
20081
  # @return [String]
@@ -19799,12 +20086,27 @@ module Google
19799
20086
  # @return [Hash<String,Object>]
19800
20087
  attr_accessor :input_parameters
19801
20088
 
20089
+ # Output only. State of the tool call.
20090
+ # Corresponds to the JSON property `state`
20091
+ # @return [String]
20092
+ attr_accessor :state
20093
+
19802
20094
  # Optional. The tool associated with this call. Format: `projects//locations//
19803
20095
  # tools/`.
19804
20096
  # Corresponds to the JSON property `tool`
19805
20097
  # @return [String]
19806
20098
  attr_accessor :tool
19807
20099
 
20100
+ # Optional. A human readable description of the tool.
20101
+ # Corresponds to the JSON property `toolDisplayDetails`
20102
+ # @return [String]
20103
+ attr_accessor :tool_display_details
20104
+
20105
+ # Optional. A human readable short name of the tool, to be shown on the UI.
20106
+ # Corresponds to the JSON property `toolDisplayName`
20107
+ # @return [String]
20108
+ attr_accessor :tool_display_name
20109
+
19808
20110
  def initialize(**args)
19809
20111
  update!(**args)
19810
20112
  end
@@ -19812,9 +20114,13 @@ module Google
19812
20114
  # Update properties of this object
19813
20115
  def update!(**args)
19814
20116
  @action = args[:action] if args.key?(:action)
20117
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
19815
20118
  @create_time = args[:create_time] if args.key?(:create_time)
19816
20119
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
20120
+ @state = args[:state] if args.key?(:state)
19817
20121
  @tool = args[:tool] if args.key?(:tool)
20122
+ @tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
20123
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
19818
20124
  end
19819
20125
  end
19820
20126
 
@@ -19827,6 +20133,11 @@ module Google
19827
20133
  # @return [String]
19828
20134
  attr_accessor :action
19829
20135
 
20136
+ # Optional. The answer record associated with this tool call result.
20137
+ # Corresponds to the JSON property `answerRecord`
20138
+ # @return [String]
20139
+ attr_accessor :answer_record
20140
+
19830
20141
  # Only populated if the response content is utf-8 encoded.
19831
20142
  # Corresponds to the JSON property `content`
19832
20143
  # @return [String]
@@ -19862,6 +20173,7 @@ module Google
19862
20173
  # Update properties of this object
19863
20174
  def update!(**args)
19864
20175
  @action = args[:action] if args.key?(:action)
20176
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
19865
20177
  @content = args[:content] if args.key?(:content)
19866
20178
  @create_time = args[:create_time] if args.key?(:create_time)
19867
20179
  @error = args[:error] if args.key?(:error)
@@ -20048,6 +20360,282 @@ module Google
20048
20360
  end
20049
20361
  end
20050
20362
 
20363
+ # Agent Coaching instructions that customer can configure.
20364
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
20365
+ include Google::Apis::Core::Hashable
20366
+
20367
+ # Optional. The action that human agent should take. For example, "apologize for
20368
+ # the slow shipping". If the users only want to use agent coaching for intent
20369
+ # detection, agent_action can be empty
20370
+ # Corresponds to the JSON property `agentAction`
20371
+ # @return [String]
20372
+ attr_accessor :agent_action
20373
+
20374
+ # Optional. The condition of the instruction. For example, "the customer wants
20375
+ # to cancel an order". If the users want the instruction to be triggered
20376
+ # unconditionally, the condition can be empty.
20377
+ # Corresponds to the JSON property `condition`
20378
+ # @return [String]
20379
+ attr_accessor :condition
20380
+
20381
+ # Optional. The detailed description of this instruction.
20382
+ # Corresponds to the JSON property `displayDetails`
20383
+ # @return [String]
20384
+ attr_accessor :display_details
20385
+
20386
+ # Optional. Display name for the instruction.
20387
+ # Corresponds to the JSON property `displayName`
20388
+ # @return [String]
20389
+ attr_accessor :display_name
20390
+
20391
+ # Duplication check for the suggestion.
20392
+ # Corresponds to the JSON property `duplicateCheckResult`
20393
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult]
20394
+ attr_accessor :duplicate_check_result
20395
+
20396
+ # Optional. The action that system should take. For example, "call GetOrderTime
20397
+ # with order_number=`order number provided by the customer`". If the users don't
20398
+ # have plugins or don't want to trigger plugins, the system_action can be empty
20399
+ # Corresponds to the JSON property `systemAction`
20400
+ # @return [String]
20401
+ attr_accessor :system_action
20402
+
20403
+ def initialize(**args)
20404
+ update!(**args)
20405
+ end
20406
+
20407
+ # Update properties of this object
20408
+ def update!(**args)
20409
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
20410
+ @condition = args[:condition] if args.key?(:condition)
20411
+ @display_details = args[:display_details] if args.key?(:display_details)
20412
+ @display_name = args[:display_name] if args.key?(:display_name)
20413
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
20414
+ @system_action = args[:system_action] if args.key?(:system_action)
20415
+ end
20416
+ end
20417
+
20418
+ # Duplication check for the suggestion.
20419
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
20420
+ include Google::Apis::Core::Hashable
20421
+
20422
+ # Output only. The duplicate suggestions.
20423
+ # Corresponds to the JSON property `duplicateSuggestions`
20424
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
20425
+ attr_accessor :duplicate_suggestions
20426
+
20427
+ def initialize(**args)
20428
+ update!(**args)
20429
+ end
20430
+
20431
+ # Update properties of this object
20432
+ def update!(**args)
20433
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
20434
+ end
20435
+ end
20436
+
20437
+ # The duplicate suggestion details.
20438
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
20439
+ include Google::Apis::Core::Hashable
20440
+
20441
+ # Output only. The answer record id of the past duplicate suggestion.
20442
+ # Corresponds to the JSON property `answerRecord`
20443
+ # @return [String]
20444
+ attr_accessor :answer_record
20445
+
20446
+ # Output only. The similarity score of between the past and current suggestion.
20447
+ # Corresponds to the JSON property `similarityScore`
20448
+ # @return [Float]
20449
+ attr_accessor :similarity_score
20450
+
20451
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
20452
+ # Corresponds to the JSON property `suggestionIndex`
20453
+ # @return [Fixnum]
20454
+ attr_accessor :suggestion_index
20455
+
20456
+ def initialize(**args)
20457
+ update!(**args)
20458
+ end
20459
+
20460
+ # Update properties of this object
20461
+ def update!(**args)
20462
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
20463
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
20464
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
20465
+ end
20466
+ end
20467
+
20468
+ # Suggestion for coaching agents.
20469
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
20470
+ include Google::Apis::Core::Hashable
20471
+
20472
+ # Optional. Suggested actions for the agent to take.
20473
+ # Corresponds to the JSON property `agentActionSuggestions`
20474
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>]
20475
+ attr_accessor :agent_action_suggestions
20476
+
20477
+ # Optional. Instructions applicable based on the current context.
20478
+ # Corresponds to the JSON property `applicableInstructions`
20479
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>]
20480
+ attr_accessor :applicable_instructions
20481
+
20482
+ # Optional. Sample response for the Agent.
20483
+ # Corresponds to the JSON property `sampleResponses`
20484
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>]
20485
+ attr_accessor :sample_responses
20486
+
20487
+ def initialize(**args)
20488
+ update!(**args)
20489
+ end
20490
+
20491
+ # Update properties of this object
20492
+ def update!(**args)
20493
+ @agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
20494
+ @applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
20495
+ @sample_responses = args[:sample_responses] if args.key?(:sample_responses)
20496
+ end
20497
+ end
20498
+
20499
+ # Actions suggested for the agent. This is based on applicable instructions.
20500
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
20501
+ include Google::Apis::Core::Hashable
20502
+
20503
+ # Optional. The suggested action for the agent.
20504
+ # Corresponds to the JSON property `agentAction`
20505
+ # @return [String]
20506
+ attr_accessor :agent_action
20507
+
20508
+ # Duplication check for the suggestion.
20509
+ # Corresponds to the JSON property `duplicateCheckResult`
20510
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
20511
+ attr_accessor :duplicate_check_result
20512
+
20513
+ # Sources for the suggestion.
20514
+ # Corresponds to the JSON property `sources`
20515
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
20516
+ attr_accessor :sources
20517
+
20518
+ def initialize(**args)
20519
+ update!(**args)
20520
+ end
20521
+
20522
+ # Update properties of this object
20523
+ def update!(**args)
20524
+ @agent_action = args[:agent_action] if args.key?(:agent_action)
20525
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
20526
+ @sources = args[:sources] if args.key?(:sources)
20527
+ end
20528
+ end
20529
+
20530
+ # Duplication check for the suggestion.
20531
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
20532
+ include Google::Apis::Core::Hashable
20533
+
20534
+ # Output only. The duplicate suggestions.
20535
+ # Corresponds to the JSON property `duplicateSuggestions`
20536
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
20537
+ attr_accessor :duplicate_suggestions
20538
+
20539
+ def initialize(**args)
20540
+ update!(**args)
20541
+ end
20542
+
20543
+ # Update properties of this object
20544
+ def update!(**args)
20545
+ @duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
20546
+ end
20547
+ end
20548
+
20549
+ # The duplicate suggestion details. Keeping answer_record and sources together
20550
+ # as they are identifiers for duplicate suggestions.
20551
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
20552
+ include Google::Apis::Core::Hashable
20553
+
20554
+ # Output only. The answer record id of the past duplicate suggestion.
20555
+ # Corresponds to the JSON property `answerRecord`
20556
+ # @return [String]
20557
+ attr_accessor :answer_record
20558
+
20559
+ # Output only. The similarity score of between the past and current suggestion.
20560
+ # Corresponds to the JSON property `similarityScore`
20561
+ # @return [Float]
20562
+ attr_accessor :similarity_score
20563
+
20564
+ # Sources for the suggestion.
20565
+ # Corresponds to the JSON property `sources`
20566
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
20567
+ attr_accessor :sources
20568
+
20569
+ # Output only. The index of the duplicate suggestion in the past suggestion list.
20570
+ # Corresponds to the JSON property `suggestionIndex`
20571
+ # @return [Fixnum]
20572
+ attr_accessor :suggestion_index
20573
+
20574
+ def initialize(**args)
20575
+ update!(**args)
20576
+ end
20577
+
20578
+ # Update properties of this object
20579
+ def update!(**args)
20580
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
20581
+ @similarity_score = args[:similarity_score] if args.key?(:similarity_score)
20582
+ @sources = args[:sources] if args.key?(:sources)
20583
+ @suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
20584
+ end
20585
+ end
20586
+
20587
+ # Sample response that the agent can use. This could be based on applicable
20588
+ # instructions and ingested data from other systems.
20589
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
20590
+ include Google::Apis::Core::Hashable
20591
+
20592
+ # Duplication check for the suggestion.
20593
+ # Corresponds to the JSON property `duplicateCheckResult`
20594
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
20595
+ attr_accessor :duplicate_check_result
20596
+
20597
+ # Optional. Sample response for Agent in text.
20598
+ # Corresponds to the JSON property `responseText`
20599
+ # @return [String]
20600
+ attr_accessor :response_text
20601
+
20602
+ # Sources for the suggestion.
20603
+ # Corresponds to the JSON property `sources`
20604
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
20605
+ attr_accessor :sources
20606
+
20607
+ def initialize(**args)
20608
+ update!(**args)
20609
+ end
20610
+
20611
+ # Update properties of this object
20612
+ def update!(**args)
20613
+ @duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
20614
+ @response_text = args[:response_text] if args.key?(:response_text)
20615
+ @sources = args[:sources] if args.key?(:sources)
20616
+ end
20617
+ end
20618
+
20619
+ # Sources for the suggestion.
20620
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
20621
+ include Google::Apis::Core::Hashable
20622
+
20623
+ # Output only. Source instruction indexes for the suggestion. This is the index
20624
+ # of the applicable_instructions field.
20625
+ # Corresponds to the JSON property `instructionIndexes`
20626
+ # @return [Array<Fixnum>]
20627
+ attr_accessor :instruction_indexes
20628
+
20629
+ def initialize(**args)
20630
+ update!(**args)
20631
+ end
20632
+
20633
+ # Update properties of this object
20634
+ def update!(**args)
20635
+ @instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
20636
+ end
20637
+ end
20638
+
20051
20639
  # Represents a part of a message possibly annotated with an entity. The part can
20052
20640
  # be an entity or purely a part of the message between two entities or message
20053
20641
  # start/end.
@@ -20748,6 +21336,11 @@ module Google
20748
21336
  class GoogleCloudDialogflowV2beta1GeneratorSuggestion
20749
21337
  include Google::Apis::Core::Hashable
20750
21338
 
21339
+ # Suggestion for coaching agents.
21340
+ # Corresponds to the JSON property `agentCoachingSuggestion`
21341
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion]
21342
+ attr_accessor :agent_coaching_suggestion
21343
+
20751
21344
  # Suggestion generated using free form generator.
20752
21345
  # Corresponds to the JSON property `freeFormSuggestion`
20753
21346
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion]
@@ -20769,6 +21362,7 @@ module Google
20769
21362
 
20770
21363
  # Update properties of this object
20771
21364
  def update!(**args)
21365
+ @agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
20772
21366
  @free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
20773
21367
  @summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
20774
21368
  @tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
@@ -24085,6 +24679,11 @@ module Google
24085
24679
  # @return [String]
24086
24680
  attr_accessor :action
24087
24681
 
24682
+ # Optional. The answer record associated with this tool call.
24683
+ # Corresponds to the JSON property `answerRecord`
24684
+ # @return [String]
24685
+ attr_accessor :answer_record
24686
+
24088
24687
  # Output only. Create time of the tool call.
24089
24688
  # Corresponds to the JSON property `createTime`
24090
24689
  # @return [String]
@@ -24095,12 +24694,27 @@ module Google
24095
24694
  # @return [Hash<String,Object>]
24096
24695
  attr_accessor :input_parameters
24097
24696
 
24697
+ # Output only. State of the tool call
24698
+ # Corresponds to the JSON property `state`
24699
+ # @return [String]
24700
+ attr_accessor :state
24701
+
24098
24702
  # Optional. The tool associated with this call. Format: `projects//locations//
24099
24703
  # tools/`.
24100
24704
  # Corresponds to the JSON property `tool`
24101
24705
  # @return [String]
24102
24706
  attr_accessor :tool
24103
24707
 
24708
+ # Optional. A human readable description of the tool.
24709
+ # Corresponds to the JSON property `toolDisplayDetails`
24710
+ # @return [String]
24711
+ attr_accessor :tool_display_details
24712
+
24713
+ # Optional. A human readable short name of the tool, to be shown on the UI.
24714
+ # Corresponds to the JSON property `toolDisplayName`
24715
+ # @return [String]
24716
+ attr_accessor :tool_display_name
24717
+
24104
24718
  def initialize(**args)
24105
24719
  update!(**args)
24106
24720
  end
@@ -24108,9 +24722,13 @@ module Google
24108
24722
  # Update properties of this object
24109
24723
  def update!(**args)
24110
24724
  @action = args[:action] if args.key?(:action)
24725
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
24111
24726
  @create_time = args[:create_time] if args.key?(:create_time)
24112
24727
  @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
24728
+ @state = args[:state] if args.key?(:state)
24113
24729
  @tool = args[:tool] if args.key?(:tool)
24730
+ @tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
24731
+ @tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
24114
24732
  end
24115
24733
  end
24116
24734
 
@@ -24123,6 +24741,11 @@ module Google
24123
24741
  # @return [String]
24124
24742
  attr_accessor :action
24125
24743
 
24744
+ # Optional. The answer record associated with this tool call result.
24745
+ # Corresponds to the JSON property `answerRecord`
24746
+ # @return [String]
24747
+ attr_accessor :answer_record
24748
+
24126
24749
  # Only populated if the response content is utf-8 encoded.
24127
24750
  # Corresponds to the JSON property `content`
24128
24751
  # @return [String]
@@ -24158,6 +24781,7 @@ module Google
24158
24781
  # Update properties of this object
24159
24782
  def update!(**args)
24160
24783
  @action = args[:action] if args.key?(:action)
24784
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
24161
24785
  @content = args[:content] if args.key?(:content)
24162
24786
  @create_time = args[:create_time] if args.key?(:create_time)
24163
24787
  @error = args[:error] if args.key?(:error)
@@ -24534,6 +25158,13 @@ module Google
24534
25158
  # @return [Array<Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation>]
24535
25159
  attr_accessor :operations
24536
25160
 
25161
+ # Unordered list. Unreachable resources. Populated when the request sets `
25162
+ # ListOperationsRequest.return_partial_success` and reads across collections e.g.
25163
+ # when attempting to list all resources across all supported locations.
25164
+ # Corresponds to the JSON property `unreachable`
25165
+ # @return [Array<String>]
25166
+ attr_accessor :unreachable
25167
+
24537
25168
  def initialize(**args)
24538
25169
  update!(**args)
24539
25170
  end
@@ -24542,6 +25173,7 @@ module Google
24542
25173
  def update!(**args)
24543
25174
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
24544
25175
  @operations = args[:operations] if args.key?(:operations)
25176
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
24545
25177
  end
24546
25178
  end
24547
25179
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.109.0"
19
+ GEM_VERSION = "0.111.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 = "20250828"
25
+ REVISION = "20250929"
26
26
  end
27
27
  end
28
28
  end
@@ -2614,6 +2614,60 @@ module Google
2614
2614
  include Google::Apis::Core::JsonObjectSupport
2615
2615
  end
2616
2616
 
2617
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
2618
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2619
+
2620
+ include Google::Apis::Core::JsonObjectSupport
2621
+ end
2622
+
2623
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
2624
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2625
+
2626
+ include Google::Apis::Core::JsonObjectSupport
2627
+ end
2628
+
2629
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
2630
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2631
+
2632
+ include Google::Apis::Core::JsonObjectSupport
2633
+ end
2634
+
2635
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
2636
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2637
+
2638
+ include Google::Apis::Core::JsonObjectSupport
2639
+ end
2640
+
2641
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
2642
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2643
+
2644
+ include Google::Apis::Core::JsonObjectSupport
2645
+ end
2646
+
2647
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
2648
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2649
+
2650
+ include Google::Apis::Core::JsonObjectSupport
2651
+ end
2652
+
2653
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
2654
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2655
+
2656
+ include Google::Apis::Core::JsonObjectSupport
2657
+ end
2658
+
2659
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
2660
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2661
+
2662
+ include Google::Apis::Core::JsonObjectSupport
2663
+ end
2664
+
2665
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
2666
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2667
+
2668
+ include Google::Apis::Core::JsonObjectSupport
2669
+ end
2670
+
2617
2671
  class GoogleCloudDialogflowV2AnnotatedMessagePart
2618
2672
  class Representation < Google::Apis::Core::JsonRepresentation; end
2619
2673
 
@@ -3214,6 +3268,60 @@ module Google
3214
3268
  include Google::Apis::Core::JsonObjectSupport
3215
3269
  end
3216
3270
 
3271
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
3272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3273
+
3274
+ include Google::Apis::Core::JsonObjectSupport
3275
+ end
3276
+
3277
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
3278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3279
+
3280
+ include Google::Apis::Core::JsonObjectSupport
3281
+ end
3282
+
3283
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
3284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3285
+
3286
+ include Google::Apis::Core::JsonObjectSupport
3287
+ end
3288
+
3289
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
3290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3291
+
3292
+ include Google::Apis::Core::JsonObjectSupport
3293
+ end
3294
+
3295
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
3296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3297
+
3298
+ include Google::Apis::Core::JsonObjectSupport
3299
+ end
3300
+
3301
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
3302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3303
+
3304
+ include Google::Apis::Core::JsonObjectSupport
3305
+ end
3306
+
3307
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
3308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3309
+
3310
+ include Google::Apis::Core::JsonObjectSupport
3311
+ end
3312
+
3313
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
3314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3315
+
3316
+ include Google::Apis::Core::JsonObjectSupport
3317
+ end
3318
+
3319
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
3320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3321
+
3322
+ include Google::Apis::Core::JsonObjectSupport
3323
+ end
3324
+
3217
3325
  class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
3218
3326
  class Representation < Google::Apis::Core::JsonRepresentation; end
3219
3327
 
@@ -8379,6 +8487,96 @@ module Google
8379
8487
  end
8380
8488
  end
8381
8489
 
8490
+ class GoogleCloudDialogflowV2AgentCoachingInstruction
8491
+ # @private
8492
+ class Representation < Google::Apis::Core::JsonRepresentation
8493
+ property :agent_action, as: 'agentAction'
8494
+ property :condition, as: 'condition'
8495
+ property :display_details, as: 'displayDetails'
8496
+ property :display_name, as: 'displayName'
8497
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult::Representation
8498
+
8499
+ property :system_action, as: 'systemAction'
8500
+ end
8501
+ end
8502
+
8503
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
8504
+ # @private
8505
+ class Representation < Google::Apis::Core::JsonRepresentation
8506
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion::Representation
8507
+
8508
+ end
8509
+ end
8510
+
8511
+ class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
8512
+ # @private
8513
+ class Representation < Google::Apis::Core::JsonRepresentation
8514
+ property :answer_record, as: 'answerRecord'
8515
+ property :similarity_score, as: 'similarityScore'
8516
+ property :suggestion_index, as: 'suggestionIndex'
8517
+ end
8518
+ end
8519
+
8520
+ class GoogleCloudDialogflowV2AgentCoachingSuggestion
8521
+ # @private
8522
+ class Representation < Google::Apis::Core::JsonRepresentation
8523
+ collection :agent_action_suggestions, as: 'agentActionSuggestions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion::Representation
8524
+
8525
+ collection :applicable_instructions, as: 'applicableInstructions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstruction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstruction::Representation
8526
+
8527
+ collection :sample_responses, as: 'sampleResponses', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse::Representation
8528
+
8529
+ end
8530
+ end
8531
+
8532
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
8533
+ # @private
8534
+ class Representation < Google::Apis::Core::JsonRepresentation
8535
+ property :agent_action, as: 'agentAction'
8536
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult::Representation
8537
+
8538
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
8539
+
8540
+ end
8541
+ end
8542
+
8543
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
8544
+ # @private
8545
+ class Representation < Google::Apis::Core::JsonRepresentation
8546
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion::Representation
8547
+
8548
+ end
8549
+ end
8550
+
8551
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
8552
+ # @private
8553
+ class Representation < Google::Apis::Core::JsonRepresentation
8554
+ property :answer_record, as: 'answerRecord'
8555
+ property :similarity_score, as: 'similarityScore'
8556
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
8557
+
8558
+ property :suggestion_index, as: 'suggestionIndex'
8559
+ end
8560
+ end
8561
+
8562
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
8563
+ # @private
8564
+ class Representation < Google::Apis::Core::JsonRepresentation
8565
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult::Representation
8566
+
8567
+ property :response_text, as: 'responseText'
8568
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources::Representation
8569
+
8570
+ end
8571
+ end
8572
+
8573
+ class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
8574
+ # @private
8575
+ class Representation < Google::Apis::Core::JsonRepresentation
8576
+ collection :instruction_indexes, as: 'instructionIndexes'
8577
+ end
8578
+ end
8579
+
8382
8580
  class GoogleCloudDialogflowV2AnnotatedMessagePart
8383
8581
  # @private
8384
8582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8628,6 +8826,8 @@ module Google
8628
8826
  class GoogleCloudDialogflowV2GeneratorSuggestion
8629
8827
  # @private
8630
8828
  class Representation < Google::Apis::Core::JsonRepresentation
8829
+ property :agent_coaching_suggestion, as: 'agentCoachingSuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion::Representation
8830
+
8631
8831
  property :free_form_suggestion, as: 'freeFormSuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2FreeFormSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2FreeFormSuggestion::Representation
8632
8832
 
8633
8833
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2SummarySuggestion::Representation
@@ -9347,9 +9547,13 @@ module Google
9347
9547
  # @private
9348
9548
  class Representation < Google::Apis::Core::JsonRepresentation
9349
9549
  property :action, as: 'action'
9550
+ property :answer_record, as: 'answerRecord'
9350
9551
  property :create_time, as: 'createTime'
9351
9552
  hash :input_parameters, as: 'inputParameters'
9553
+ property :state, as: 'state'
9352
9554
  property :tool, as: 'tool'
9555
+ property :tool_display_details, as: 'toolDisplayDetails'
9556
+ property :tool_display_name, as: 'toolDisplayName'
9353
9557
  end
9354
9558
  end
9355
9559
 
@@ -9357,6 +9561,7 @@ module Google
9357
9561
  # @private
9358
9562
  class Representation < Google::Apis::Core::JsonRepresentation
9359
9563
  property :action, as: 'action'
9564
+ property :answer_record, as: 'answerRecord'
9360
9565
  property :content, as: 'content'
9361
9566
  property :create_time, as: 'createTime'
9362
9567
  property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ToolCallResultError::Representation
@@ -9411,6 +9616,96 @@ module Google
9411
9616
  end
9412
9617
  end
9413
9618
 
9619
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
9620
+ # @private
9621
+ class Representation < Google::Apis::Core::JsonRepresentation
9622
+ property :agent_action, as: 'agentAction'
9623
+ property :condition, as: 'condition'
9624
+ property :display_details, as: 'displayDetails'
9625
+ property :display_name, as: 'displayName'
9626
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult::Representation
9627
+
9628
+ property :system_action, as: 'systemAction'
9629
+ end
9630
+ end
9631
+
9632
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
9633
+ # @private
9634
+ class Representation < Google::Apis::Core::JsonRepresentation
9635
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion::Representation
9636
+
9637
+ end
9638
+ end
9639
+
9640
+ class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
9641
+ # @private
9642
+ class Representation < Google::Apis::Core::JsonRepresentation
9643
+ property :answer_record, as: 'answerRecord'
9644
+ property :similarity_score, as: 'similarityScore'
9645
+ property :suggestion_index, as: 'suggestionIndex'
9646
+ end
9647
+ end
9648
+
9649
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
9650
+ # @private
9651
+ class Representation < Google::Apis::Core::JsonRepresentation
9652
+ collection :agent_action_suggestions, as: 'agentActionSuggestions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion::Representation
9653
+
9654
+ collection :applicable_instructions, as: 'applicableInstructions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction::Representation
9655
+
9656
+ collection :sample_responses, as: 'sampleResponses', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse::Representation
9657
+
9658
+ end
9659
+ end
9660
+
9661
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
9662
+ # @private
9663
+ class Representation < Google::Apis::Core::JsonRepresentation
9664
+ property :agent_action, as: 'agentAction'
9665
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult::Representation
9666
+
9667
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9668
+
9669
+ end
9670
+ end
9671
+
9672
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
9673
+ # @private
9674
+ class Representation < Google::Apis::Core::JsonRepresentation
9675
+ collection :duplicate_suggestions, as: 'duplicateSuggestions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion::Representation
9676
+
9677
+ end
9678
+ end
9679
+
9680
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
9681
+ # @private
9682
+ class Representation < Google::Apis::Core::JsonRepresentation
9683
+ property :answer_record, as: 'answerRecord'
9684
+ property :similarity_score, as: 'similarityScore'
9685
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9686
+
9687
+ property :suggestion_index, as: 'suggestionIndex'
9688
+ end
9689
+ end
9690
+
9691
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
9692
+ # @private
9693
+ class Representation < Google::Apis::Core::JsonRepresentation
9694
+ property :duplicate_check_result, as: 'duplicateCheckResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult::Representation
9695
+
9696
+ property :response_text, as: 'responseText'
9697
+ property :sources, as: 'sources', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources::Representation
9698
+
9699
+ end
9700
+ end
9701
+
9702
+ class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
9703
+ # @private
9704
+ class Representation < Google::Apis::Core::JsonRepresentation
9705
+ collection :instruction_indexes, as: 'instructionIndexes'
9706
+ end
9707
+ end
9708
+
9414
9709
  class GoogleCloudDialogflowV2beta1AnnotatedMessagePart
9415
9710
  # @private
9416
9711
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -9593,6 +9888,8 @@ module Google
9593
9888
  class GoogleCloudDialogflowV2beta1GeneratorSuggestion
9594
9889
  # @private
9595
9890
  class Representation < Google::Apis::Core::JsonRepresentation
9891
+ property :agent_coaching_suggestion, as: 'agentCoachingSuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion::Representation
9892
+
9596
9893
  property :free_form_suggestion, as: 'freeFormSuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion::Representation
9597
9894
 
9598
9895
  property :summary_suggestion, as: 'summarySuggestion', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1SummarySuggestion::Representation
@@ -10534,9 +10831,13 @@ module Google
10534
10831
  # @private
10535
10832
  class Representation < Google::Apis::Core::JsonRepresentation
10536
10833
  property :action, as: 'action'
10834
+ property :answer_record, as: 'answerRecord'
10537
10835
  property :create_time, as: 'createTime'
10538
10836
  hash :input_parameters, as: 'inputParameters'
10837
+ property :state, as: 'state'
10539
10838
  property :tool, as: 'tool'
10839
+ property :tool_display_details, as: 'toolDisplayDetails'
10840
+ property :tool_display_name, as: 'toolDisplayName'
10540
10841
  end
10541
10842
  end
10542
10843
 
@@ -10544,6 +10845,7 @@ module Google
10544
10845
  # @private
10545
10846
  class Representation < Google::Apis::Core::JsonRepresentation
10546
10847
  property :action, as: 'action'
10848
+ property :answer_record, as: 'answerRecord'
10547
10849
  property :content, as: 'content'
10548
10850
  property :create_time, as: 'createTime'
10549
10851
  property :error, as: 'error', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1ToolCallResultError::Representation
@@ -10644,6 +10946,7 @@ module Google
10644
10946
  property :next_page_token, as: 'nextPageToken'
10645
10947
  collection :operations, as: 'operations', class: Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation, decorator: Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
10646
10948
 
10949
+ collection :unreachable, as: 'unreachable'
10647
10950
  end
10648
10951
  end
10649
10952
 
@@ -86,8 +86,8 @@ module Google
86
86
  # @param [String] name
87
87
  # The resource that owns the locations collection, if applicable.
88
88
  # @param [Array<String>, String] extra_location_types
89
- # Optional. Do not use this field. It is unsupported and is ignored unless
90
- # explicitly documented otherwise. This is primarily for internal usage.
89
+ # Optional. Unless explicitly documented otherwise, don't use this unsupported
90
+ # field which is primarily intended for internal usage.
91
91
  # @param [String] filter
92
92
  # A filter to narrow down results to a preferred subset. The filtering language
93
93
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -5891,6 +5891,13 @@ module Google
5891
5891
  # The standard list page size.
5892
5892
  # @param [String] page_token
5893
5893
  # The standard list page token.
5894
+ # @param [Boolean] return_partial_success
5895
+ # When set to `true`, operations that are reachable are returned as normal, and
5896
+ # those that are unreachable are returned in the [ListOperationsResponse.
5897
+ # unreachable] field. This can only be `true` when reading across collections e.
5898
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5899
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5900
+ # explicitly documented otherwise in service or product specific documentation.
5894
5901
  # @param [String] fields
5895
5902
  # Selector specifying which fields to include in a partial response.
5896
5903
  # @param [String] quota_user
@@ -5908,7 +5915,7 @@ module Google
5908
5915
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5909
5916
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5910
5917
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5911
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5918
+ 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)
5912
5919
  command = make_simple_command(:get, 'v3beta1/{+name}/operations', options)
5913
5920
  command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse::Representation
5914
5921
  command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse
@@ -5916,6 +5923,7 @@ module Google
5916
5923
  command.query['filter'] = filter unless filter.nil?
5917
5924
  command.query['pageSize'] = page_size unless page_size.nil?
5918
5925
  command.query['pageToken'] = page_token unless page_token.nil?
5926
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5919
5927
  command.query['fields'] = fields unless fields.nil?
5920
5928
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5921
5929
  execute_or_queue_command(command, &block)
@@ -6174,6 +6182,13 @@ module Google
6174
6182
  # The standard list page size.
6175
6183
  # @param [String] page_token
6176
6184
  # The standard list page token.
6185
+ # @param [Boolean] return_partial_success
6186
+ # When set to `true`, operations that are reachable are returned as normal, and
6187
+ # those that are unreachable are returned in the [ListOperationsResponse.
6188
+ # unreachable] field. This can only be `true` when reading across collections e.
6189
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6190
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6191
+ # explicitly documented otherwise in service or product specific documentation.
6177
6192
  # @param [String] fields
6178
6193
  # Selector specifying which fields to include in a partial response.
6179
6194
  # @param [String] quota_user
@@ -6191,7 +6206,7 @@ module Google
6191
6206
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6192
6207
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6193
6208
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6194
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6209
+ 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)
6195
6210
  command = make_simple_command(:get, 'v3beta1/{+name}/operations', options)
6196
6211
  command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse::Representation
6197
6212
  command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningListOperationsResponse
@@ -6199,6 +6214,7 @@ module Google
6199
6214
  command.query['filter'] = filter unless filter.nil?
6200
6215
  command.query['pageSize'] = page_size unless page_size.nil?
6201
6216
  command.query['pageToken'] = page_token unless page_token.nil?
6217
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6202
6218
  command.query['fields'] = fields unless fields.nil?
6203
6219
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6204
6220
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.109.0
4
+ version: 0.111.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_v3beta1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.109.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.111.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
62
62
  rdoc_options: []
63
63
  require_paths: