google-apis-dialogflow_v3beta1 0.110.0 → 0.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +673 -0
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +320 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +18 -2
- metadata +2 -2
|
@@ -10939,6 +10939,11 @@ module Google
|
|
|
10939
10939
|
# @return [String]
|
|
10940
10940
|
attr_accessor :model
|
|
10941
10941
|
|
|
10942
|
+
# Generative model parameters to control the model behavior.
|
|
10943
|
+
# Corresponds to the JSON property `parameters`
|
|
10944
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters]
|
|
10945
|
+
attr_accessor :parameters
|
|
10946
|
+
|
|
10942
10947
|
# The custom prompt to use.
|
|
10943
10948
|
# Corresponds to the JSON property `promptText`
|
|
10944
10949
|
# @return [String]
|
|
@@ -10951,10 +10956,46 @@ module Google
|
|
|
10951
10956
|
# Update properties of this object
|
|
10952
10957
|
def update!(**args)
|
|
10953
10958
|
@model = args[:model] if args.key?(:model)
|
|
10959
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
|
10954
10960
|
@prompt_text = args[:prompt_text] if args.key?(:prompt_text)
|
|
10955
10961
|
end
|
|
10956
10962
|
end
|
|
10957
10963
|
|
|
10964
|
+
# Generative model parameters to control the model behavior.
|
|
10965
|
+
class GoogleCloudDialogflowCxV3beta1LlmModelSettingsParameters
|
|
10966
|
+
include Google::Apis::Core::Hashable
|
|
10967
|
+
|
|
10968
|
+
# The input token limit. This setting is currently only supported by playbooks.
|
|
10969
|
+
# Corresponds to the JSON property `inputTokenLimit`
|
|
10970
|
+
# @return [String]
|
|
10971
|
+
attr_accessor :input_token_limit
|
|
10972
|
+
|
|
10973
|
+
# The output token limit. This setting is currently only supported by playbooks.
|
|
10974
|
+
# Only one of output_token_limit and max_output_tokens is allowed to be set.
|
|
10975
|
+
# Corresponds to the JSON property `outputTokenLimit`
|
|
10976
|
+
# @return [String]
|
|
10977
|
+
attr_accessor :output_token_limit
|
|
10978
|
+
|
|
10979
|
+
# The temperature used for sampling during response generation. Value ranges
|
|
10980
|
+
# from 0 to 1. Temperature controls the degree of randomness in token selection.
|
|
10981
|
+
# Lower temperature means less randomness, while higher temperature means more
|
|
10982
|
+
# randomness. Valid range: [0.0, 1.0]
|
|
10983
|
+
# Corresponds to the JSON property `temperature`
|
|
10984
|
+
# @return [Float]
|
|
10985
|
+
attr_accessor :temperature
|
|
10986
|
+
|
|
10987
|
+
def initialize(**args)
|
|
10988
|
+
update!(**args)
|
|
10989
|
+
end
|
|
10990
|
+
|
|
10991
|
+
# Update properties of this object
|
|
10992
|
+
def update!(**args)
|
|
10993
|
+
@input_token_limit = args[:input_token_limit] if args.key?(:input_token_limit)
|
|
10994
|
+
@output_token_limit = args[:output_token_limit] if args.key?(:output_token_limit)
|
|
10995
|
+
@temperature = args[:temperature] if args.key?(:temperature)
|
|
10996
|
+
end
|
|
10997
|
+
end
|
|
10998
|
+
|
|
10958
10999
|
# The request message for Versions.LoadVersion.
|
|
10959
11000
|
class GoogleCloudDialogflowCxV3beta1LoadVersionRequest
|
|
10960
11001
|
include Google::Apis::Core::Hashable
|
|
@@ -16283,6 +16324,282 @@ module Google
|
|
|
16283
16324
|
end
|
|
16284
16325
|
end
|
|
16285
16326
|
|
|
16327
|
+
# Agent Coaching instructions that customer can configure.
|
|
16328
|
+
class GoogleCloudDialogflowV2AgentCoachingInstruction
|
|
16329
|
+
include Google::Apis::Core::Hashable
|
|
16330
|
+
|
|
16331
|
+
# Optional. The action that human agent should take. For example, "apologize for
|
|
16332
|
+
# the slow shipping". If the users only want to use agent coaching for intent
|
|
16333
|
+
# detection, agent_action can be empty
|
|
16334
|
+
# Corresponds to the JSON property `agentAction`
|
|
16335
|
+
# @return [String]
|
|
16336
|
+
attr_accessor :agent_action
|
|
16337
|
+
|
|
16338
|
+
# Optional. The condition of the instruction. For example, "the customer wants
|
|
16339
|
+
# to cancel an order". If the users want the instruction to be triggered
|
|
16340
|
+
# unconditionally, the condition can be empty.
|
|
16341
|
+
# Corresponds to the JSON property `condition`
|
|
16342
|
+
# @return [String]
|
|
16343
|
+
attr_accessor :condition
|
|
16344
|
+
|
|
16345
|
+
# Optional. The detailed description of this instruction.
|
|
16346
|
+
# Corresponds to the JSON property `displayDetails`
|
|
16347
|
+
# @return [String]
|
|
16348
|
+
attr_accessor :display_details
|
|
16349
|
+
|
|
16350
|
+
# Optional. Display name for the instruction.
|
|
16351
|
+
# Corresponds to the JSON property `displayName`
|
|
16352
|
+
# @return [String]
|
|
16353
|
+
attr_accessor :display_name
|
|
16354
|
+
|
|
16355
|
+
# Duplication check for the suggestion.
|
|
16356
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
|
16357
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult]
|
|
16358
|
+
attr_accessor :duplicate_check_result
|
|
16359
|
+
|
|
16360
|
+
# Optional. The action that system should take. For example, "call GetOrderTime
|
|
16361
|
+
# with order_number=`order number provided by the customer`". If the users don't
|
|
16362
|
+
# have plugins or don't want to trigger plugins, the system_action can be empty
|
|
16363
|
+
# Corresponds to the JSON property `systemAction`
|
|
16364
|
+
# @return [String]
|
|
16365
|
+
attr_accessor :system_action
|
|
16366
|
+
|
|
16367
|
+
def initialize(**args)
|
|
16368
|
+
update!(**args)
|
|
16369
|
+
end
|
|
16370
|
+
|
|
16371
|
+
# Update properties of this object
|
|
16372
|
+
def update!(**args)
|
|
16373
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
|
16374
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
16375
|
+
@display_details = args[:display_details] if args.key?(:display_details)
|
|
16376
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
16377
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
|
16378
|
+
@system_action = args[:system_action] if args.key?(:system_action)
|
|
16379
|
+
end
|
|
16380
|
+
end
|
|
16381
|
+
|
|
16382
|
+
# Duplication check for the suggestion.
|
|
16383
|
+
class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
|
|
16384
|
+
include Google::Apis::Core::Hashable
|
|
16385
|
+
|
|
16386
|
+
# Output only. The duplicate suggestions.
|
|
16387
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
|
16388
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
|
|
16389
|
+
attr_accessor :duplicate_suggestions
|
|
16390
|
+
|
|
16391
|
+
def initialize(**args)
|
|
16392
|
+
update!(**args)
|
|
16393
|
+
end
|
|
16394
|
+
|
|
16395
|
+
# Update properties of this object
|
|
16396
|
+
def update!(**args)
|
|
16397
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
|
16398
|
+
end
|
|
16399
|
+
end
|
|
16400
|
+
|
|
16401
|
+
# The duplicate suggestion details.
|
|
16402
|
+
class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
|
|
16403
|
+
include Google::Apis::Core::Hashable
|
|
16404
|
+
|
|
16405
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
|
16406
|
+
# Corresponds to the JSON property `answerRecord`
|
|
16407
|
+
# @return [String]
|
|
16408
|
+
attr_accessor :answer_record
|
|
16409
|
+
|
|
16410
|
+
# Output only. The similarity score of between the past and current suggestion.
|
|
16411
|
+
# Corresponds to the JSON property `similarityScore`
|
|
16412
|
+
# @return [Float]
|
|
16413
|
+
attr_accessor :similarity_score
|
|
16414
|
+
|
|
16415
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
|
16416
|
+
# Corresponds to the JSON property `suggestionIndex`
|
|
16417
|
+
# @return [Fixnum]
|
|
16418
|
+
attr_accessor :suggestion_index
|
|
16419
|
+
|
|
16420
|
+
def initialize(**args)
|
|
16421
|
+
update!(**args)
|
|
16422
|
+
end
|
|
16423
|
+
|
|
16424
|
+
# Update properties of this object
|
|
16425
|
+
def update!(**args)
|
|
16426
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
16427
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
|
16428
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
|
16429
|
+
end
|
|
16430
|
+
end
|
|
16431
|
+
|
|
16432
|
+
# Suggestion for coaching agents.
|
|
16433
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestion
|
|
16434
|
+
include Google::Apis::Core::Hashable
|
|
16435
|
+
|
|
16436
|
+
# Optional. Suggested actions for the agent to take.
|
|
16437
|
+
# Corresponds to the JSON property `agentActionSuggestions`
|
|
16438
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion>]
|
|
16439
|
+
attr_accessor :agent_action_suggestions
|
|
16440
|
+
|
|
16441
|
+
# Optional. Instructions applicable based on the current context.
|
|
16442
|
+
# Corresponds to the JSON property `applicableInstructions`
|
|
16443
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingInstruction>]
|
|
16444
|
+
attr_accessor :applicable_instructions
|
|
16445
|
+
|
|
16446
|
+
# Optional. Sample response for the Agent.
|
|
16447
|
+
# Corresponds to the JSON property `sampleResponses`
|
|
16448
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse>]
|
|
16449
|
+
attr_accessor :sample_responses
|
|
16450
|
+
|
|
16451
|
+
def initialize(**args)
|
|
16452
|
+
update!(**args)
|
|
16453
|
+
end
|
|
16454
|
+
|
|
16455
|
+
# Update properties of this object
|
|
16456
|
+
def update!(**args)
|
|
16457
|
+
@agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
|
|
16458
|
+
@applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
|
|
16459
|
+
@sample_responses = args[:sample_responses] if args.key?(:sample_responses)
|
|
16460
|
+
end
|
|
16461
|
+
end
|
|
16462
|
+
|
|
16463
|
+
# Actions suggested for the agent. This is based on applicable instructions.
|
|
16464
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
|
|
16465
|
+
include Google::Apis::Core::Hashable
|
|
16466
|
+
|
|
16467
|
+
# Optional. The suggested action for the agent.
|
|
16468
|
+
# Corresponds to the JSON property `agentAction`
|
|
16469
|
+
# @return [String]
|
|
16470
|
+
attr_accessor :agent_action
|
|
16471
|
+
|
|
16472
|
+
# Duplication check for the suggestion.
|
|
16473
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
|
16474
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
|
|
16475
|
+
attr_accessor :duplicate_check_result
|
|
16476
|
+
|
|
16477
|
+
# Sources for the suggestion.
|
|
16478
|
+
# Corresponds to the JSON property `sources`
|
|
16479
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
|
|
16480
|
+
attr_accessor :sources
|
|
16481
|
+
|
|
16482
|
+
def initialize(**args)
|
|
16483
|
+
update!(**args)
|
|
16484
|
+
end
|
|
16485
|
+
|
|
16486
|
+
# Update properties of this object
|
|
16487
|
+
def update!(**args)
|
|
16488
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
|
16489
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
|
16490
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
16491
|
+
end
|
|
16492
|
+
end
|
|
16493
|
+
|
|
16494
|
+
# Duplication check for the suggestion.
|
|
16495
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
|
|
16496
|
+
include Google::Apis::Core::Hashable
|
|
16497
|
+
|
|
16498
|
+
# Output only. The duplicate suggestions.
|
|
16499
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
|
16500
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
|
|
16501
|
+
attr_accessor :duplicate_suggestions
|
|
16502
|
+
|
|
16503
|
+
def initialize(**args)
|
|
16504
|
+
update!(**args)
|
|
16505
|
+
end
|
|
16506
|
+
|
|
16507
|
+
# Update properties of this object
|
|
16508
|
+
def update!(**args)
|
|
16509
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
|
16510
|
+
end
|
|
16511
|
+
end
|
|
16512
|
+
|
|
16513
|
+
# The duplicate suggestion details. Keeping answer_record and sources together
|
|
16514
|
+
# as they are identifiers for duplicate suggestions.
|
|
16515
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
|
|
16516
|
+
include Google::Apis::Core::Hashable
|
|
16517
|
+
|
|
16518
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
|
16519
|
+
# Corresponds to the JSON property `answerRecord`
|
|
16520
|
+
# @return [String]
|
|
16521
|
+
attr_accessor :answer_record
|
|
16522
|
+
|
|
16523
|
+
# Output only. The similarity score of between the past and current suggestion.
|
|
16524
|
+
# Corresponds to the JSON property `similarityScore`
|
|
16525
|
+
# @return [Float]
|
|
16526
|
+
attr_accessor :similarity_score
|
|
16527
|
+
|
|
16528
|
+
# Sources for the suggestion.
|
|
16529
|
+
# Corresponds to the JSON property `sources`
|
|
16530
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
|
|
16531
|
+
attr_accessor :sources
|
|
16532
|
+
|
|
16533
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
|
16534
|
+
# Corresponds to the JSON property `suggestionIndex`
|
|
16535
|
+
# @return [Fixnum]
|
|
16536
|
+
attr_accessor :suggestion_index
|
|
16537
|
+
|
|
16538
|
+
def initialize(**args)
|
|
16539
|
+
update!(**args)
|
|
16540
|
+
end
|
|
16541
|
+
|
|
16542
|
+
# Update properties of this object
|
|
16543
|
+
def update!(**args)
|
|
16544
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
16545
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
|
16546
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
16547
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
|
16548
|
+
end
|
|
16549
|
+
end
|
|
16550
|
+
|
|
16551
|
+
# Sample response that the agent can use. This could be based on applicable
|
|
16552
|
+
# instructions and ingested data from other systems.
|
|
16553
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
|
|
16554
|
+
include Google::Apis::Core::Hashable
|
|
16555
|
+
|
|
16556
|
+
# Duplication check for the suggestion.
|
|
16557
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
|
16558
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
|
|
16559
|
+
attr_accessor :duplicate_check_result
|
|
16560
|
+
|
|
16561
|
+
# Optional. Sample response for Agent in text.
|
|
16562
|
+
# Corresponds to the JSON property `responseText`
|
|
16563
|
+
# @return [String]
|
|
16564
|
+
attr_accessor :response_text
|
|
16565
|
+
|
|
16566
|
+
# Sources for the suggestion.
|
|
16567
|
+
# Corresponds to the JSON property `sources`
|
|
16568
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
|
|
16569
|
+
attr_accessor :sources
|
|
16570
|
+
|
|
16571
|
+
def initialize(**args)
|
|
16572
|
+
update!(**args)
|
|
16573
|
+
end
|
|
16574
|
+
|
|
16575
|
+
# Update properties of this object
|
|
16576
|
+
def update!(**args)
|
|
16577
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
|
16578
|
+
@response_text = args[:response_text] if args.key?(:response_text)
|
|
16579
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
16580
|
+
end
|
|
16581
|
+
end
|
|
16582
|
+
|
|
16583
|
+
# Sources for the suggestion.
|
|
16584
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
|
|
16585
|
+
include Google::Apis::Core::Hashable
|
|
16586
|
+
|
|
16587
|
+
# Output only. Source instruction indexes for the suggestion. This is the index
|
|
16588
|
+
# of the applicable_instructions field.
|
|
16589
|
+
# Corresponds to the JSON property `instructionIndexes`
|
|
16590
|
+
# @return [Array<Fixnum>]
|
|
16591
|
+
attr_accessor :instruction_indexes
|
|
16592
|
+
|
|
16593
|
+
def initialize(**args)
|
|
16594
|
+
update!(**args)
|
|
16595
|
+
end
|
|
16596
|
+
|
|
16597
|
+
# Update properties of this object
|
|
16598
|
+
def update!(**args)
|
|
16599
|
+
@instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
|
|
16600
|
+
end
|
|
16601
|
+
end
|
|
16602
|
+
|
|
16286
16603
|
# Represents a part of a message possibly annotated with an entity. The part can
|
|
16287
16604
|
# be an entity or purely a part of the message between two entities or message
|
|
16288
16605
|
# start/end.
|
|
@@ -17236,6 +17553,11 @@ module Google
|
|
|
17236
17553
|
class GoogleCloudDialogflowV2GeneratorSuggestion
|
|
17237
17554
|
include Google::Apis::Core::Hashable
|
|
17238
17555
|
|
|
17556
|
+
# Suggestion for coaching agents.
|
|
17557
|
+
# Corresponds to the JSON property `agentCoachingSuggestion`
|
|
17558
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion]
|
|
17559
|
+
attr_accessor :agent_coaching_suggestion
|
|
17560
|
+
|
|
17239
17561
|
# Suggestion generated using free form generator.
|
|
17240
17562
|
# Corresponds to the JSON property `freeFormSuggestion`
|
|
17241
17563
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2FreeFormSuggestion]
|
|
@@ -17257,6 +17579,7 @@ module Google
|
|
|
17257
17579
|
|
|
17258
17580
|
# Update properties of this object
|
|
17259
17581
|
def update!(**args)
|
|
17582
|
+
@agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
|
|
17260
17583
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
|
17261
17584
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
|
17262
17585
|
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
|
@@ -19789,6 +20112,11 @@ module Google
|
|
|
19789
20112
|
# @return [String]
|
|
19790
20113
|
attr_accessor :action
|
|
19791
20114
|
|
|
20115
|
+
# Optional. The answer record associated with this tool call.
|
|
20116
|
+
# Corresponds to the JSON property `answerRecord`
|
|
20117
|
+
# @return [String]
|
|
20118
|
+
attr_accessor :answer_record
|
|
20119
|
+
|
|
19792
20120
|
# Output only. Create time of the tool call.
|
|
19793
20121
|
# Corresponds to the JSON property `createTime`
|
|
19794
20122
|
# @return [String]
|
|
@@ -19799,12 +20127,27 @@ module Google
|
|
|
19799
20127
|
# @return [Hash<String,Object>]
|
|
19800
20128
|
attr_accessor :input_parameters
|
|
19801
20129
|
|
|
20130
|
+
# Output only. State of the tool call.
|
|
20131
|
+
# Corresponds to the JSON property `state`
|
|
20132
|
+
# @return [String]
|
|
20133
|
+
attr_accessor :state
|
|
20134
|
+
|
|
19802
20135
|
# Optional. The tool associated with this call. Format: `projects//locations//
|
|
19803
20136
|
# tools/`.
|
|
19804
20137
|
# Corresponds to the JSON property `tool`
|
|
19805
20138
|
# @return [String]
|
|
19806
20139
|
attr_accessor :tool
|
|
19807
20140
|
|
|
20141
|
+
# Optional. A human readable description of the tool.
|
|
20142
|
+
# Corresponds to the JSON property `toolDisplayDetails`
|
|
20143
|
+
# @return [String]
|
|
20144
|
+
attr_accessor :tool_display_details
|
|
20145
|
+
|
|
20146
|
+
# Optional. A human readable short name of the tool, to be shown on the UI.
|
|
20147
|
+
# Corresponds to the JSON property `toolDisplayName`
|
|
20148
|
+
# @return [String]
|
|
20149
|
+
attr_accessor :tool_display_name
|
|
20150
|
+
|
|
19808
20151
|
def initialize(**args)
|
|
19809
20152
|
update!(**args)
|
|
19810
20153
|
end
|
|
@@ -19812,9 +20155,13 @@ module Google
|
|
|
19812
20155
|
# Update properties of this object
|
|
19813
20156
|
def update!(**args)
|
|
19814
20157
|
@action = args[:action] if args.key?(:action)
|
|
20158
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
19815
20159
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
19816
20160
|
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
|
20161
|
+
@state = args[:state] if args.key?(:state)
|
|
19817
20162
|
@tool = args[:tool] if args.key?(:tool)
|
|
20163
|
+
@tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
|
|
20164
|
+
@tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
|
|
19818
20165
|
end
|
|
19819
20166
|
end
|
|
19820
20167
|
|
|
@@ -19827,6 +20174,11 @@ module Google
|
|
|
19827
20174
|
# @return [String]
|
|
19828
20175
|
attr_accessor :action
|
|
19829
20176
|
|
|
20177
|
+
# Optional. The answer record associated with this tool call result.
|
|
20178
|
+
# Corresponds to the JSON property `answerRecord`
|
|
20179
|
+
# @return [String]
|
|
20180
|
+
attr_accessor :answer_record
|
|
20181
|
+
|
|
19830
20182
|
# Only populated if the response content is utf-8 encoded.
|
|
19831
20183
|
# Corresponds to the JSON property `content`
|
|
19832
20184
|
# @return [String]
|
|
@@ -19862,6 +20214,7 @@ module Google
|
|
|
19862
20214
|
# Update properties of this object
|
|
19863
20215
|
def update!(**args)
|
|
19864
20216
|
@action = args[:action] if args.key?(:action)
|
|
20217
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
19865
20218
|
@content = args[:content] if args.key?(:content)
|
|
19866
20219
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
19867
20220
|
@error = args[:error] if args.key?(:error)
|
|
@@ -20048,6 +20401,282 @@ module Google
|
|
|
20048
20401
|
end
|
|
20049
20402
|
end
|
|
20050
20403
|
|
|
20404
|
+
# Agent Coaching instructions that customer can configure.
|
|
20405
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
|
|
20406
|
+
include Google::Apis::Core::Hashable
|
|
20407
|
+
|
|
20408
|
+
# Optional. The action that human agent should take. For example, "apologize for
|
|
20409
|
+
# the slow shipping". If the users only want to use agent coaching for intent
|
|
20410
|
+
# detection, agent_action can be empty
|
|
20411
|
+
# Corresponds to the JSON property `agentAction`
|
|
20412
|
+
# @return [String]
|
|
20413
|
+
attr_accessor :agent_action
|
|
20414
|
+
|
|
20415
|
+
# Optional. The condition of the instruction. For example, "the customer wants
|
|
20416
|
+
# to cancel an order". If the users want the instruction to be triggered
|
|
20417
|
+
# unconditionally, the condition can be empty.
|
|
20418
|
+
# Corresponds to the JSON property `condition`
|
|
20419
|
+
# @return [String]
|
|
20420
|
+
attr_accessor :condition
|
|
20421
|
+
|
|
20422
|
+
# Optional. The detailed description of this instruction.
|
|
20423
|
+
# Corresponds to the JSON property `displayDetails`
|
|
20424
|
+
# @return [String]
|
|
20425
|
+
attr_accessor :display_details
|
|
20426
|
+
|
|
20427
|
+
# Optional. Display name for the instruction.
|
|
20428
|
+
# Corresponds to the JSON property `displayName`
|
|
20429
|
+
# @return [String]
|
|
20430
|
+
attr_accessor :display_name
|
|
20431
|
+
|
|
20432
|
+
# Duplication check for the suggestion.
|
|
20433
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
|
20434
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult]
|
|
20435
|
+
attr_accessor :duplicate_check_result
|
|
20436
|
+
|
|
20437
|
+
# Optional. The action that system should take. For example, "call GetOrderTime
|
|
20438
|
+
# with order_number=`order number provided by the customer`". If the users don't
|
|
20439
|
+
# have plugins or don't want to trigger plugins, the system_action can be empty
|
|
20440
|
+
# Corresponds to the JSON property `systemAction`
|
|
20441
|
+
# @return [String]
|
|
20442
|
+
attr_accessor :system_action
|
|
20443
|
+
|
|
20444
|
+
def initialize(**args)
|
|
20445
|
+
update!(**args)
|
|
20446
|
+
end
|
|
20447
|
+
|
|
20448
|
+
# Update properties of this object
|
|
20449
|
+
def update!(**args)
|
|
20450
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
|
20451
|
+
@condition = args[:condition] if args.key?(:condition)
|
|
20452
|
+
@display_details = args[:display_details] if args.key?(:display_details)
|
|
20453
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
20454
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
|
20455
|
+
@system_action = args[:system_action] if args.key?(:system_action)
|
|
20456
|
+
end
|
|
20457
|
+
end
|
|
20458
|
+
|
|
20459
|
+
# Duplication check for the suggestion.
|
|
20460
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
|
|
20461
|
+
include Google::Apis::Core::Hashable
|
|
20462
|
+
|
|
20463
|
+
# Output only. The duplicate suggestions.
|
|
20464
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
|
20465
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
|
|
20466
|
+
attr_accessor :duplicate_suggestions
|
|
20467
|
+
|
|
20468
|
+
def initialize(**args)
|
|
20469
|
+
update!(**args)
|
|
20470
|
+
end
|
|
20471
|
+
|
|
20472
|
+
# Update properties of this object
|
|
20473
|
+
def update!(**args)
|
|
20474
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
|
20475
|
+
end
|
|
20476
|
+
end
|
|
20477
|
+
|
|
20478
|
+
# The duplicate suggestion details.
|
|
20479
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
|
|
20480
|
+
include Google::Apis::Core::Hashable
|
|
20481
|
+
|
|
20482
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
|
20483
|
+
# Corresponds to the JSON property `answerRecord`
|
|
20484
|
+
# @return [String]
|
|
20485
|
+
attr_accessor :answer_record
|
|
20486
|
+
|
|
20487
|
+
# Output only. The similarity score of between the past and current suggestion.
|
|
20488
|
+
# Corresponds to the JSON property `similarityScore`
|
|
20489
|
+
# @return [Float]
|
|
20490
|
+
attr_accessor :similarity_score
|
|
20491
|
+
|
|
20492
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
|
20493
|
+
# Corresponds to the JSON property `suggestionIndex`
|
|
20494
|
+
# @return [Fixnum]
|
|
20495
|
+
attr_accessor :suggestion_index
|
|
20496
|
+
|
|
20497
|
+
def initialize(**args)
|
|
20498
|
+
update!(**args)
|
|
20499
|
+
end
|
|
20500
|
+
|
|
20501
|
+
# Update properties of this object
|
|
20502
|
+
def update!(**args)
|
|
20503
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
20504
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
|
20505
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
|
20506
|
+
end
|
|
20507
|
+
end
|
|
20508
|
+
|
|
20509
|
+
# Suggestion for coaching agents.
|
|
20510
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
|
|
20511
|
+
include Google::Apis::Core::Hashable
|
|
20512
|
+
|
|
20513
|
+
# Optional. Suggested actions for the agent to take.
|
|
20514
|
+
# Corresponds to the JSON property `agentActionSuggestions`
|
|
20515
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>]
|
|
20516
|
+
attr_accessor :agent_action_suggestions
|
|
20517
|
+
|
|
20518
|
+
# Optional. Instructions applicable based on the current context.
|
|
20519
|
+
# Corresponds to the JSON property `applicableInstructions`
|
|
20520
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>]
|
|
20521
|
+
attr_accessor :applicable_instructions
|
|
20522
|
+
|
|
20523
|
+
# Optional. Sample response for the Agent.
|
|
20524
|
+
# Corresponds to the JSON property `sampleResponses`
|
|
20525
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>]
|
|
20526
|
+
attr_accessor :sample_responses
|
|
20527
|
+
|
|
20528
|
+
def initialize(**args)
|
|
20529
|
+
update!(**args)
|
|
20530
|
+
end
|
|
20531
|
+
|
|
20532
|
+
# Update properties of this object
|
|
20533
|
+
def update!(**args)
|
|
20534
|
+
@agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
|
|
20535
|
+
@applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
|
|
20536
|
+
@sample_responses = args[:sample_responses] if args.key?(:sample_responses)
|
|
20537
|
+
end
|
|
20538
|
+
end
|
|
20539
|
+
|
|
20540
|
+
# Actions suggested for the agent. This is based on applicable instructions.
|
|
20541
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
|
|
20542
|
+
include Google::Apis::Core::Hashable
|
|
20543
|
+
|
|
20544
|
+
# Optional. The suggested action for the agent.
|
|
20545
|
+
# Corresponds to the JSON property `agentAction`
|
|
20546
|
+
# @return [String]
|
|
20547
|
+
attr_accessor :agent_action
|
|
20548
|
+
|
|
20549
|
+
# Duplication check for the suggestion.
|
|
20550
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
|
20551
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
|
|
20552
|
+
attr_accessor :duplicate_check_result
|
|
20553
|
+
|
|
20554
|
+
# Sources for the suggestion.
|
|
20555
|
+
# Corresponds to the JSON property `sources`
|
|
20556
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
|
|
20557
|
+
attr_accessor :sources
|
|
20558
|
+
|
|
20559
|
+
def initialize(**args)
|
|
20560
|
+
update!(**args)
|
|
20561
|
+
end
|
|
20562
|
+
|
|
20563
|
+
# Update properties of this object
|
|
20564
|
+
def update!(**args)
|
|
20565
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
|
20566
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
|
20567
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
20568
|
+
end
|
|
20569
|
+
end
|
|
20570
|
+
|
|
20571
|
+
# Duplication check for the suggestion.
|
|
20572
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
|
|
20573
|
+
include Google::Apis::Core::Hashable
|
|
20574
|
+
|
|
20575
|
+
# Output only. The duplicate suggestions.
|
|
20576
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
|
20577
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
|
|
20578
|
+
attr_accessor :duplicate_suggestions
|
|
20579
|
+
|
|
20580
|
+
def initialize(**args)
|
|
20581
|
+
update!(**args)
|
|
20582
|
+
end
|
|
20583
|
+
|
|
20584
|
+
# Update properties of this object
|
|
20585
|
+
def update!(**args)
|
|
20586
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
|
20587
|
+
end
|
|
20588
|
+
end
|
|
20589
|
+
|
|
20590
|
+
# The duplicate suggestion details. Keeping answer_record and sources together
|
|
20591
|
+
# as they are identifiers for duplicate suggestions.
|
|
20592
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
|
|
20593
|
+
include Google::Apis::Core::Hashable
|
|
20594
|
+
|
|
20595
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
|
20596
|
+
# Corresponds to the JSON property `answerRecord`
|
|
20597
|
+
# @return [String]
|
|
20598
|
+
attr_accessor :answer_record
|
|
20599
|
+
|
|
20600
|
+
# Output only. The similarity score of between the past and current suggestion.
|
|
20601
|
+
# Corresponds to the JSON property `similarityScore`
|
|
20602
|
+
# @return [Float]
|
|
20603
|
+
attr_accessor :similarity_score
|
|
20604
|
+
|
|
20605
|
+
# Sources for the suggestion.
|
|
20606
|
+
# Corresponds to the JSON property `sources`
|
|
20607
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
|
|
20608
|
+
attr_accessor :sources
|
|
20609
|
+
|
|
20610
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
|
20611
|
+
# Corresponds to the JSON property `suggestionIndex`
|
|
20612
|
+
# @return [Fixnum]
|
|
20613
|
+
attr_accessor :suggestion_index
|
|
20614
|
+
|
|
20615
|
+
def initialize(**args)
|
|
20616
|
+
update!(**args)
|
|
20617
|
+
end
|
|
20618
|
+
|
|
20619
|
+
# Update properties of this object
|
|
20620
|
+
def update!(**args)
|
|
20621
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
20622
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
|
20623
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
20624
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
|
20625
|
+
end
|
|
20626
|
+
end
|
|
20627
|
+
|
|
20628
|
+
# Sample response that the agent can use. This could be based on applicable
|
|
20629
|
+
# instructions and ingested data from other systems.
|
|
20630
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
|
|
20631
|
+
include Google::Apis::Core::Hashable
|
|
20632
|
+
|
|
20633
|
+
# Duplication check for the suggestion.
|
|
20634
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
|
20635
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
|
|
20636
|
+
attr_accessor :duplicate_check_result
|
|
20637
|
+
|
|
20638
|
+
# Optional. Sample response for Agent in text.
|
|
20639
|
+
# Corresponds to the JSON property `responseText`
|
|
20640
|
+
# @return [String]
|
|
20641
|
+
attr_accessor :response_text
|
|
20642
|
+
|
|
20643
|
+
# Sources for the suggestion.
|
|
20644
|
+
# Corresponds to the JSON property `sources`
|
|
20645
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
|
|
20646
|
+
attr_accessor :sources
|
|
20647
|
+
|
|
20648
|
+
def initialize(**args)
|
|
20649
|
+
update!(**args)
|
|
20650
|
+
end
|
|
20651
|
+
|
|
20652
|
+
# Update properties of this object
|
|
20653
|
+
def update!(**args)
|
|
20654
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
|
20655
|
+
@response_text = args[:response_text] if args.key?(:response_text)
|
|
20656
|
+
@sources = args[:sources] if args.key?(:sources)
|
|
20657
|
+
end
|
|
20658
|
+
end
|
|
20659
|
+
|
|
20660
|
+
# Sources for the suggestion.
|
|
20661
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
|
|
20662
|
+
include Google::Apis::Core::Hashable
|
|
20663
|
+
|
|
20664
|
+
# Output only. Source instruction indexes for the suggestion. This is the index
|
|
20665
|
+
# of the applicable_instructions field.
|
|
20666
|
+
# Corresponds to the JSON property `instructionIndexes`
|
|
20667
|
+
# @return [Array<Fixnum>]
|
|
20668
|
+
attr_accessor :instruction_indexes
|
|
20669
|
+
|
|
20670
|
+
def initialize(**args)
|
|
20671
|
+
update!(**args)
|
|
20672
|
+
end
|
|
20673
|
+
|
|
20674
|
+
# Update properties of this object
|
|
20675
|
+
def update!(**args)
|
|
20676
|
+
@instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
|
|
20677
|
+
end
|
|
20678
|
+
end
|
|
20679
|
+
|
|
20051
20680
|
# Represents a part of a message possibly annotated with an entity. The part can
|
|
20052
20681
|
# be an entity or purely a part of the message between two entities or message
|
|
20053
20682
|
# start/end.
|
|
@@ -20748,6 +21377,11 @@ module Google
|
|
|
20748
21377
|
class GoogleCloudDialogflowV2beta1GeneratorSuggestion
|
|
20749
21378
|
include Google::Apis::Core::Hashable
|
|
20750
21379
|
|
|
21380
|
+
# Suggestion for coaching agents.
|
|
21381
|
+
# Corresponds to the JSON property `agentCoachingSuggestion`
|
|
21382
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion]
|
|
21383
|
+
attr_accessor :agent_coaching_suggestion
|
|
21384
|
+
|
|
20751
21385
|
# Suggestion generated using free form generator.
|
|
20752
21386
|
# Corresponds to the JSON property `freeFormSuggestion`
|
|
20753
21387
|
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion]
|
|
@@ -20769,6 +21403,7 @@ module Google
|
|
|
20769
21403
|
|
|
20770
21404
|
# Update properties of this object
|
|
20771
21405
|
def update!(**args)
|
|
21406
|
+
@agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
|
|
20772
21407
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
|
20773
21408
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
|
20774
21409
|
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
|
@@ -24085,6 +24720,11 @@ module Google
|
|
|
24085
24720
|
# @return [String]
|
|
24086
24721
|
attr_accessor :action
|
|
24087
24722
|
|
|
24723
|
+
# Optional. The answer record associated with this tool call.
|
|
24724
|
+
# Corresponds to the JSON property `answerRecord`
|
|
24725
|
+
# @return [String]
|
|
24726
|
+
attr_accessor :answer_record
|
|
24727
|
+
|
|
24088
24728
|
# Output only. Create time of the tool call.
|
|
24089
24729
|
# Corresponds to the JSON property `createTime`
|
|
24090
24730
|
# @return [String]
|
|
@@ -24095,12 +24735,27 @@ module Google
|
|
|
24095
24735
|
# @return [Hash<String,Object>]
|
|
24096
24736
|
attr_accessor :input_parameters
|
|
24097
24737
|
|
|
24738
|
+
# Output only. State of the tool call
|
|
24739
|
+
# Corresponds to the JSON property `state`
|
|
24740
|
+
# @return [String]
|
|
24741
|
+
attr_accessor :state
|
|
24742
|
+
|
|
24098
24743
|
# Optional. The tool associated with this call. Format: `projects//locations//
|
|
24099
24744
|
# tools/`.
|
|
24100
24745
|
# Corresponds to the JSON property `tool`
|
|
24101
24746
|
# @return [String]
|
|
24102
24747
|
attr_accessor :tool
|
|
24103
24748
|
|
|
24749
|
+
# Optional. A human readable description of the tool.
|
|
24750
|
+
# Corresponds to the JSON property `toolDisplayDetails`
|
|
24751
|
+
# @return [String]
|
|
24752
|
+
attr_accessor :tool_display_details
|
|
24753
|
+
|
|
24754
|
+
# Optional. A human readable short name of the tool, to be shown on the UI.
|
|
24755
|
+
# Corresponds to the JSON property `toolDisplayName`
|
|
24756
|
+
# @return [String]
|
|
24757
|
+
attr_accessor :tool_display_name
|
|
24758
|
+
|
|
24104
24759
|
def initialize(**args)
|
|
24105
24760
|
update!(**args)
|
|
24106
24761
|
end
|
|
@@ -24108,9 +24763,13 @@ module Google
|
|
|
24108
24763
|
# Update properties of this object
|
|
24109
24764
|
def update!(**args)
|
|
24110
24765
|
@action = args[:action] if args.key?(:action)
|
|
24766
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
24111
24767
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
24112
24768
|
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
|
24769
|
+
@state = args[:state] if args.key?(:state)
|
|
24113
24770
|
@tool = args[:tool] if args.key?(:tool)
|
|
24771
|
+
@tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
|
|
24772
|
+
@tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
|
|
24114
24773
|
end
|
|
24115
24774
|
end
|
|
24116
24775
|
|
|
@@ -24123,6 +24782,11 @@ module Google
|
|
|
24123
24782
|
# @return [String]
|
|
24124
24783
|
attr_accessor :action
|
|
24125
24784
|
|
|
24785
|
+
# Optional. The answer record associated with this tool call result.
|
|
24786
|
+
# Corresponds to the JSON property `answerRecord`
|
|
24787
|
+
# @return [String]
|
|
24788
|
+
attr_accessor :answer_record
|
|
24789
|
+
|
|
24126
24790
|
# Only populated if the response content is utf-8 encoded.
|
|
24127
24791
|
# Corresponds to the JSON property `content`
|
|
24128
24792
|
# @return [String]
|
|
@@ -24158,6 +24822,7 @@ module Google
|
|
|
24158
24822
|
# Update properties of this object
|
|
24159
24823
|
def update!(**args)
|
|
24160
24824
|
@action = args[:action] if args.key?(:action)
|
|
24825
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
24161
24826
|
@content = args[:content] if args.key?(:content)
|
|
24162
24827
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
24163
24828
|
@error = args[:error] if args.key?(:error)
|
|
@@ -24534,6 +25199,13 @@ module Google
|
|
|
24534
25199
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation>]
|
|
24535
25200
|
attr_accessor :operations
|
|
24536
25201
|
|
|
25202
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
25203
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
25204
|
+
# when attempting to list all resources across all supported locations.
|
|
25205
|
+
# Corresponds to the JSON property `unreachable`
|
|
25206
|
+
# @return [Array<String>]
|
|
25207
|
+
attr_accessor :unreachable
|
|
25208
|
+
|
|
24537
25209
|
def initialize(**args)
|
|
24538
25210
|
update!(**args)
|
|
24539
25211
|
end
|
|
@@ -24542,6 +25214,7 @@ module Google
|
|
|
24542
25214
|
def update!(**args)
|
|
24543
25215
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
24544
25216
|
@operations = args[:operations] if args.key?(:operations)
|
|
25217
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
24545
25218
|
end
|
|
24546
25219
|
end
|
|
24547
25220
|
|