google-apis-dialogflow_v2beta1 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_v2beta1/classes.rb +1686 -100
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +759 -30
- data/lib/google/apis/dialogflow_v2beta1/service.rb +155 -4
- metadata +2 -2
@@ -7878,6 +7878,282 @@ module Google
|
|
7878
7878
|
end
|
7879
7879
|
end
|
7880
7880
|
|
7881
|
+
# Agent Coaching instructions that customer can configure.
|
7882
|
+
class GoogleCloudDialogflowV2AgentCoachingInstruction
|
7883
|
+
include Google::Apis::Core::Hashable
|
7884
|
+
|
7885
|
+
# Optional. The action that human agent should take. For example, "apologize for
|
7886
|
+
# the slow shipping". If the users only want to use agent coaching for intent
|
7887
|
+
# detection, agent_action can be empty
|
7888
|
+
# Corresponds to the JSON property `agentAction`
|
7889
|
+
# @return [String]
|
7890
|
+
attr_accessor :agent_action
|
7891
|
+
|
7892
|
+
# Optional. The condition of the instruction. For example, "the customer wants
|
7893
|
+
# to cancel an order". If the users want the instruction to be triggered
|
7894
|
+
# unconditionally, the condition can be empty.
|
7895
|
+
# Corresponds to the JSON property `condition`
|
7896
|
+
# @return [String]
|
7897
|
+
attr_accessor :condition
|
7898
|
+
|
7899
|
+
# Optional. The detailed description of this instruction.
|
7900
|
+
# Corresponds to the JSON property `displayDetails`
|
7901
|
+
# @return [String]
|
7902
|
+
attr_accessor :display_details
|
7903
|
+
|
7904
|
+
# Optional. Display name for the instruction.
|
7905
|
+
# Corresponds to the JSON property `displayName`
|
7906
|
+
# @return [String]
|
7907
|
+
attr_accessor :display_name
|
7908
|
+
|
7909
|
+
# Duplication check for the suggestion.
|
7910
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
7911
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult]
|
7912
|
+
attr_accessor :duplicate_check_result
|
7913
|
+
|
7914
|
+
# Optional. The action that system should take. For example, "call GetOrderTime
|
7915
|
+
# with order_number=`order number provided by the customer`". If the users don't
|
7916
|
+
# have plugins or don't want to trigger plugins, the system_action can be empty
|
7917
|
+
# Corresponds to the JSON property `systemAction`
|
7918
|
+
# @return [String]
|
7919
|
+
attr_accessor :system_action
|
7920
|
+
|
7921
|
+
def initialize(**args)
|
7922
|
+
update!(**args)
|
7923
|
+
end
|
7924
|
+
|
7925
|
+
# Update properties of this object
|
7926
|
+
def update!(**args)
|
7927
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
7928
|
+
@condition = args[:condition] if args.key?(:condition)
|
7929
|
+
@display_details = args[:display_details] if args.key?(:display_details)
|
7930
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7931
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
7932
|
+
@system_action = args[:system_action] if args.key?(:system_action)
|
7933
|
+
end
|
7934
|
+
end
|
7935
|
+
|
7936
|
+
# Duplication check for the suggestion.
|
7937
|
+
class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResult
|
7938
|
+
include Google::Apis::Core::Hashable
|
7939
|
+
|
7940
|
+
# Output only. The duplicate suggestions.
|
7941
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
7942
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
|
7943
|
+
attr_accessor :duplicate_suggestions
|
7944
|
+
|
7945
|
+
def initialize(**args)
|
7946
|
+
update!(**args)
|
7947
|
+
end
|
7948
|
+
|
7949
|
+
# Update properties of this object
|
7950
|
+
def update!(**args)
|
7951
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
7952
|
+
end
|
7953
|
+
end
|
7954
|
+
|
7955
|
+
# The duplicate suggestion details.
|
7956
|
+
class GoogleCloudDialogflowV2AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
|
7957
|
+
include Google::Apis::Core::Hashable
|
7958
|
+
|
7959
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
7960
|
+
# Corresponds to the JSON property `answerRecord`
|
7961
|
+
# @return [String]
|
7962
|
+
attr_accessor :answer_record
|
7963
|
+
|
7964
|
+
# Output only. The similarity score of between the past and current suggestion.
|
7965
|
+
# Corresponds to the JSON property `similarityScore`
|
7966
|
+
# @return [Float]
|
7967
|
+
attr_accessor :similarity_score
|
7968
|
+
|
7969
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
7970
|
+
# Corresponds to the JSON property `suggestionIndex`
|
7971
|
+
# @return [Fixnum]
|
7972
|
+
attr_accessor :suggestion_index
|
7973
|
+
|
7974
|
+
def initialize(**args)
|
7975
|
+
update!(**args)
|
7976
|
+
end
|
7977
|
+
|
7978
|
+
# Update properties of this object
|
7979
|
+
def update!(**args)
|
7980
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
7981
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
7982
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
7983
|
+
end
|
7984
|
+
end
|
7985
|
+
|
7986
|
+
# Suggestion for coaching agents.
|
7987
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestion
|
7988
|
+
include Google::Apis::Core::Hashable
|
7989
|
+
|
7990
|
+
# Optional. Suggested actions for the agent to take.
|
7991
|
+
# Corresponds to the JSON property `agentActionSuggestions`
|
7992
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion>]
|
7993
|
+
attr_accessor :agent_action_suggestions
|
7994
|
+
|
7995
|
+
# Optional. Instructions applicable based on the current context.
|
7996
|
+
# Corresponds to the JSON property `applicableInstructions`
|
7997
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingInstruction>]
|
7998
|
+
attr_accessor :applicable_instructions
|
7999
|
+
|
8000
|
+
# Optional. Sample response for the Agent.
|
8001
|
+
# Corresponds to the JSON property `sampleResponses`
|
8002
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse>]
|
8003
|
+
attr_accessor :sample_responses
|
8004
|
+
|
8005
|
+
def initialize(**args)
|
8006
|
+
update!(**args)
|
8007
|
+
end
|
8008
|
+
|
8009
|
+
# Update properties of this object
|
8010
|
+
def update!(**args)
|
8011
|
+
@agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
|
8012
|
+
@applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
|
8013
|
+
@sample_responses = args[:sample_responses] if args.key?(:sample_responses)
|
8014
|
+
end
|
8015
|
+
end
|
8016
|
+
|
8017
|
+
# Actions suggested for the agent. This is based on applicable instructions.
|
8018
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionAgentActionSuggestion
|
8019
|
+
include Google::Apis::Core::Hashable
|
8020
|
+
|
8021
|
+
# Optional. The suggested action for the agent.
|
8022
|
+
# Corresponds to the JSON property `agentAction`
|
8023
|
+
# @return [String]
|
8024
|
+
attr_accessor :agent_action
|
8025
|
+
|
8026
|
+
# Duplication check for the suggestion.
|
8027
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
8028
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
|
8029
|
+
attr_accessor :duplicate_check_result
|
8030
|
+
|
8031
|
+
# Sources for the suggestion.
|
8032
|
+
# Corresponds to the JSON property `sources`
|
8033
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
|
8034
|
+
attr_accessor :sources
|
8035
|
+
|
8036
|
+
def initialize(**args)
|
8037
|
+
update!(**args)
|
8038
|
+
end
|
8039
|
+
|
8040
|
+
# Update properties of this object
|
8041
|
+
def update!(**args)
|
8042
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
8043
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
8044
|
+
@sources = args[:sources] if args.key?(:sources)
|
8045
|
+
end
|
8046
|
+
end
|
8047
|
+
|
8048
|
+
# Duplication check for the suggestion.
|
8049
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult
|
8050
|
+
include Google::Apis::Core::Hashable
|
8051
|
+
|
8052
|
+
# Output only. The duplicate suggestions.
|
8053
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
8054
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
|
8055
|
+
attr_accessor :duplicate_suggestions
|
8056
|
+
|
8057
|
+
def initialize(**args)
|
8058
|
+
update!(**args)
|
8059
|
+
end
|
8060
|
+
|
8061
|
+
# Update properties of this object
|
8062
|
+
def update!(**args)
|
8063
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
8064
|
+
end
|
8065
|
+
end
|
8066
|
+
|
8067
|
+
# The duplicate suggestion details. Keeping answer_record and sources together
|
8068
|
+
# as they are identifiers for duplicate suggestions.
|
8069
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
|
8070
|
+
include Google::Apis::Core::Hashable
|
8071
|
+
|
8072
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
8073
|
+
# Corresponds to the JSON property `answerRecord`
|
8074
|
+
# @return [String]
|
8075
|
+
attr_accessor :answer_record
|
8076
|
+
|
8077
|
+
# Output only. The similarity score of between the past and current suggestion.
|
8078
|
+
# Corresponds to the JSON property `similarityScore`
|
8079
|
+
# @return [Float]
|
8080
|
+
attr_accessor :similarity_score
|
8081
|
+
|
8082
|
+
# Sources for the suggestion.
|
8083
|
+
# Corresponds to the JSON property `sources`
|
8084
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
|
8085
|
+
attr_accessor :sources
|
8086
|
+
|
8087
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
8088
|
+
# Corresponds to the JSON property `suggestionIndex`
|
8089
|
+
# @return [Fixnum]
|
8090
|
+
attr_accessor :suggestion_index
|
8091
|
+
|
8092
|
+
def initialize(**args)
|
8093
|
+
update!(**args)
|
8094
|
+
end
|
8095
|
+
|
8096
|
+
# Update properties of this object
|
8097
|
+
def update!(**args)
|
8098
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
8099
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
8100
|
+
@sources = args[:sources] if args.key?(:sources)
|
8101
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
8102
|
+
end
|
8103
|
+
end
|
8104
|
+
|
8105
|
+
# Sample response that the agent can use. This could be based on applicable
|
8106
|
+
# instructions and ingested data from other systems.
|
8107
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionSampleResponse
|
8108
|
+
include Google::Apis::Core::Hashable
|
8109
|
+
|
8110
|
+
# Duplication check for the suggestion.
|
8111
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
8112
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionDuplicateCheckResult]
|
8113
|
+
attr_accessor :duplicate_check_result
|
8114
|
+
|
8115
|
+
# Optional. Sample response for Agent in text.
|
8116
|
+
# Corresponds to the JSON property `responseText`
|
8117
|
+
# @return [String]
|
8118
|
+
attr_accessor :response_text
|
8119
|
+
|
8120
|
+
# Sources for the suggestion.
|
8121
|
+
# Corresponds to the JSON property `sources`
|
8122
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestionSources]
|
8123
|
+
attr_accessor :sources
|
8124
|
+
|
8125
|
+
def initialize(**args)
|
8126
|
+
update!(**args)
|
8127
|
+
end
|
8128
|
+
|
8129
|
+
# Update properties of this object
|
8130
|
+
def update!(**args)
|
8131
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
8132
|
+
@response_text = args[:response_text] if args.key?(:response_text)
|
8133
|
+
@sources = args[:sources] if args.key?(:sources)
|
8134
|
+
end
|
8135
|
+
end
|
8136
|
+
|
8137
|
+
# Sources for the suggestion.
|
8138
|
+
class GoogleCloudDialogflowV2AgentCoachingSuggestionSources
|
8139
|
+
include Google::Apis::Core::Hashable
|
8140
|
+
|
8141
|
+
# Output only. Source instruction indexes for the suggestion. This is the index
|
8142
|
+
# of the applicable_instructions field.
|
8143
|
+
# Corresponds to the JSON property `instructionIndexes`
|
8144
|
+
# @return [Array<Fixnum>]
|
8145
|
+
attr_accessor :instruction_indexes
|
8146
|
+
|
8147
|
+
def initialize(**args)
|
8148
|
+
update!(**args)
|
8149
|
+
end
|
8150
|
+
|
8151
|
+
# Update properties of this object
|
8152
|
+
def update!(**args)
|
8153
|
+
@instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
|
8154
|
+
end
|
8155
|
+
end
|
8156
|
+
|
7881
8157
|
# Represents a part of a message possibly annotated with an entity. The part can
|
7882
8158
|
# be an entity or purely a part of the message between two entities or message
|
7883
8159
|
# start/end.
|
@@ -8831,6 +9107,11 @@ module Google
|
|
8831
9107
|
class GoogleCloudDialogflowV2GeneratorSuggestion
|
8832
9108
|
include Google::Apis::Core::Hashable
|
8833
9109
|
|
9110
|
+
# Suggestion for coaching agents.
|
9111
|
+
# Corresponds to the JSON property `agentCoachingSuggestion`
|
9112
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2AgentCoachingSuggestion]
|
9113
|
+
attr_accessor :agent_coaching_suggestion
|
9114
|
+
|
8834
9115
|
# Suggestion generated using free form generator.
|
8835
9116
|
# Corresponds to the JSON property `freeFormSuggestion`
|
8836
9117
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2FreeFormSuggestion]
|
@@ -8852,6 +9133,7 @@ module Google
|
|
8852
9133
|
|
8853
9134
|
# Update properties of this object
|
8854
9135
|
def update!(**args)
|
9136
|
+
@agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
|
8855
9137
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
8856
9138
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
8857
9139
|
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
@@ -11384,6 +11666,11 @@ module Google
|
|
11384
11666
|
# @return [String]
|
11385
11667
|
attr_accessor :action
|
11386
11668
|
|
11669
|
+
# Optional. The answer record associated with this tool call.
|
11670
|
+
# Corresponds to the JSON property `answerRecord`
|
11671
|
+
# @return [String]
|
11672
|
+
attr_accessor :answer_record
|
11673
|
+
|
11387
11674
|
# Output only. Create time of the tool call.
|
11388
11675
|
# Corresponds to the JSON property `createTime`
|
11389
11676
|
# @return [String]
|
@@ -11394,12 +11681,27 @@ module Google
|
|
11394
11681
|
# @return [Hash<String,Object>]
|
11395
11682
|
attr_accessor :input_parameters
|
11396
11683
|
|
11684
|
+
# Output only. State of the tool call.
|
11685
|
+
# Corresponds to the JSON property `state`
|
11686
|
+
# @return [String]
|
11687
|
+
attr_accessor :state
|
11688
|
+
|
11397
11689
|
# Optional. The tool associated with this call. Format: `projects//locations//
|
11398
11690
|
# tools/`.
|
11399
11691
|
# Corresponds to the JSON property `tool`
|
11400
11692
|
# @return [String]
|
11401
11693
|
attr_accessor :tool
|
11402
11694
|
|
11695
|
+
# Optional. A human readable description of the tool.
|
11696
|
+
# Corresponds to the JSON property `toolDisplayDetails`
|
11697
|
+
# @return [String]
|
11698
|
+
attr_accessor :tool_display_details
|
11699
|
+
|
11700
|
+
# Optional. A human readable short name of the tool, to be shown on the UI.
|
11701
|
+
# Corresponds to the JSON property `toolDisplayName`
|
11702
|
+
# @return [String]
|
11703
|
+
attr_accessor :tool_display_name
|
11704
|
+
|
11403
11705
|
def initialize(**args)
|
11404
11706
|
update!(**args)
|
11405
11707
|
end
|
@@ -11407,9 +11709,13 @@ module Google
|
|
11407
11709
|
# Update properties of this object
|
11408
11710
|
def update!(**args)
|
11409
11711
|
@action = args[:action] if args.key?(:action)
|
11712
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
11410
11713
|
@create_time = args[:create_time] if args.key?(:create_time)
|
11411
11714
|
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
11715
|
+
@state = args[:state] if args.key?(:state)
|
11412
11716
|
@tool = args[:tool] if args.key?(:tool)
|
11717
|
+
@tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
|
11718
|
+
@tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
|
11413
11719
|
end
|
11414
11720
|
end
|
11415
11721
|
|
@@ -11422,6 +11728,11 @@ module Google
|
|
11422
11728
|
# @return [String]
|
11423
11729
|
attr_accessor :action
|
11424
11730
|
|
11731
|
+
# Optional. The answer record associated with this tool call result.
|
11732
|
+
# Corresponds to the JSON property `answerRecord`
|
11733
|
+
# @return [String]
|
11734
|
+
attr_accessor :answer_record
|
11735
|
+
|
11425
11736
|
# Only populated if the response content is utf-8 encoded.
|
11426
11737
|
# Corresponds to the JSON property `content`
|
11427
11738
|
# @return [String]
|
@@ -11457,6 +11768,7 @@ module Google
|
|
11457
11768
|
# Update properties of this object
|
11458
11769
|
def update!(**args)
|
11459
11770
|
@action = args[:action] if args.key?(:action)
|
11771
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
11460
11772
|
@content = args[:content] if args.key?(:content)
|
11461
11773
|
@create_time = args[:create_time] if args.key?(:create_time)
|
11462
11774
|
@error = args[:error] if args.key?(:error)
|
@@ -11943,95 +12255,31 @@ module Google
|
|
11943
12255
|
end
|
11944
12256
|
end
|
11945
12257
|
|
11946
|
-
#
|
11947
|
-
class
|
12258
|
+
# Agent Coaching context that customer can configure.
|
12259
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingContext
|
11948
12260
|
include Google::Apis::Core::Hashable
|
11949
12261
|
|
11950
|
-
#
|
11951
|
-
# Corresponds to the JSON property `
|
11952
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
11953
|
-
attr_accessor :
|
11954
|
-
|
11955
|
-
# Represents the natural language speech audio to be processed.
|
11956
|
-
# Corresponds to the JSON property `audioInput`
|
11957
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput]
|
11958
|
-
attr_accessor :audio_input
|
12262
|
+
# Optional. Customized instructions for agent coaching.
|
12263
|
+
# Corresponds to the JSON property `instructions`
|
12264
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>]
|
12265
|
+
attr_accessor :instructions
|
11959
12266
|
|
11960
|
-
#
|
11961
|
-
#
|
11962
|
-
# cx_current_page` is specified, the previous state of the session will be
|
11963
|
-
# ignored by Dialogflow CX, including the previous page and the previous session
|
11964
|
-
# parameters. In most cases, `cx_current_page` and `cx_parameters` should be
|
11965
|
-
# configured together to direct a session to a specific state. Note: this field
|
11966
|
-
# should only be used if you are connecting to a Dialogflow CX agent.
|
11967
|
-
# Corresponds to the JSON property `cxCurrentPage`
|
12267
|
+
# Optional. Output language code.
|
12268
|
+
# Corresponds to the JSON property `outputLanguageCode`
|
11968
12269
|
# @return [String]
|
11969
|
-
attr_accessor :
|
11970
|
-
|
11971
|
-
# Additional parameters to be put into Dialogflow CX session parameters. To
|
11972
|
-
# remove a parameter from the session, clients should explicitly set the
|
11973
|
-
# parameter value to null. Note: this field should only be used if you are
|
11974
|
-
# connecting to a Dialogflow CX agent.
|
11975
|
-
# Corresponds to the JSON property `cxParameters`
|
11976
|
-
# @return [Hash<String,Object>]
|
11977
|
-
attr_accessor :cx_parameters
|
11978
|
-
|
11979
|
-
# Events allow for matching intents by event name instead of the natural
|
11980
|
-
# language input. For instance, input `` can trigger a personalized welcome
|
11981
|
-
# response. The parameter `name` may be used by the agent in the response: `"
|
11982
|
-
# Hello #welcome_event.name! What can I do for you today?"`.
|
11983
|
-
# Corresponds to the JSON property `eventInput`
|
11984
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
|
11985
|
-
attr_accessor :event_input
|
11986
|
-
|
11987
|
-
# Represents the intent to trigger programmatically rather than as a result of
|
11988
|
-
# natural language processing. The intent input is only used for V3 agent.
|
11989
|
-
# Corresponds to the JSON property `intentInput`
|
11990
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput]
|
11991
|
-
attr_accessor :intent_input
|
12270
|
+
attr_accessor :output_language_code
|
11992
12271
|
|
11993
|
-
# Optional. The
|
11994
|
-
#
|
11995
|
-
#
|
11996
|
-
# participant: * If send time are different regardless of whether the content of
|
11997
|
-
# the messages are exactly the same, the conversation will regard them as two
|
11998
|
-
# distinct messages sent by the participant. * If send time is the same
|
11999
|
-
# regardless of whether the content of the messages are exactly the same, the
|
12000
|
-
# conversation will regard them as same message, and ignore the message received
|
12001
|
-
# later. If the value is not provided, a new request will always be regarded as
|
12002
|
-
# a new message without any de-duplication.
|
12003
|
-
# Corresponds to the JSON property `messageSendTime`
|
12272
|
+
# Optional. The overarching guidance for the agent coaching. This should be set
|
12273
|
+
# only for v1.5 and later versions.
|
12274
|
+
# Corresponds to the JSON property `overarchingGuidance`
|
12004
12275
|
# @return [String]
|
12005
|
-
attr_accessor :
|
12006
|
-
|
12007
|
-
# Represents the parameters of the conversational query.
|
12008
|
-
# Corresponds to the JSON property `queryParams`
|
12009
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters]
|
12010
|
-
attr_accessor :query_params
|
12011
|
-
|
12012
|
-
# Instructs the speech synthesizer how to generate the output audio content. If
|
12013
|
-
# this audio config is supplied in a request, it overrides all existing text-to-
|
12014
|
-
# speech settings applied to the agent.
|
12015
|
-
# Corresponds to the JSON property `replyAudioConfig`
|
12016
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
|
12017
|
-
attr_accessor :reply_audio_config
|
12276
|
+
attr_accessor :overarching_guidance
|
12018
12277
|
|
12019
|
-
#
|
12020
|
-
#
|
12021
|
-
#
|
12022
|
-
# Corresponds to the JSON property `requestId`
|
12278
|
+
# Optional. Version of the feature. If not set, default to latest version.
|
12279
|
+
# Current candidates are ["2.5"].
|
12280
|
+
# Corresponds to the JSON property `version`
|
12023
12281
|
# @return [String]
|
12024
|
-
attr_accessor :
|
12025
|
-
|
12026
|
-
# Represents the selection of a suggestion.
|
12027
|
-
# Corresponds to the JSON property `suggestionInput`
|
12028
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput]
|
12029
|
-
attr_accessor :suggestion_input
|
12030
|
-
|
12031
|
-
# Represents the natural language text to be processed.
|
12032
|
-
# Corresponds to the JSON property `textInput`
|
12033
|
-
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
|
12034
|
-
attr_accessor :text_input
|
12282
|
+
attr_accessor :version
|
12035
12283
|
|
12036
12284
|
def initialize(**args)
|
12037
12285
|
update!(**args)
|
@@ -12039,8 +12287,387 @@ module Google
|
|
12039
12287
|
|
12040
12288
|
# Update properties of this object
|
12041
12289
|
def update!(**args)
|
12042
|
-
@
|
12043
|
-
@
|
12290
|
+
@instructions = args[:instructions] if args.key?(:instructions)
|
12291
|
+
@output_language_code = args[:output_language_code] if args.key?(:output_language_code)
|
12292
|
+
@overarching_guidance = args[:overarching_guidance] if args.key?(:overarching_guidance)
|
12293
|
+
@version = args[:version] if args.key?(:version)
|
12294
|
+
end
|
12295
|
+
end
|
12296
|
+
|
12297
|
+
# Agent Coaching instructions that customer can configure.
|
12298
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingInstruction
|
12299
|
+
include Google::Apis::Core::Hashable
|
12300
|
+
|
12301
|
+
# Optional. The action that human agent should take. For example, "apologize for
|
12302
|
+
# the slow shipping". If the users only want to use agent coaching for intent
|
12303
|
+
# detection, agent_action can be empty
|
12304
|
+
# Corresponds to the JSON property `agentAction`
|
12305
|
+
# @return [String]
|
12306
|
+
attr_accessor :agent_action
|
12307
|
+
|
12308
|
+
# Optional. The condition of the instruction. For example, "the customer wants
|
12309
|
+
# to cancel an order". If the users want the instruction to be triggered
|
12310
|
+
# unconditionally, the condition can be empty.
|
12311
|
+
# Corresponds to the JSON property `condition`
|
12312
|
+
# @return [String]
|
12313
|
+
attr_accessor :condition
|
12314
|
+
|
12315
|
+
# Optional. The detailed description of this instruction.
|
12316
|
+
# Corresponds to the JSON property `displayDetails`
|
12317
|
+
# @return [String]
|
12318
|
+
attr_accessor :display_details
|
12319
|
+
|
12320
|
+
# Optional. Display name for the instruction.
|
12321
|
+
# Corresponds to the JSON property `displayName`
|
12322
|
+
# @return [String]
|
12323
|
+
attr_accessor :display_name
|
12324
|
+
|
12325
|
+
# Duplication check for the suggestion.
|
12326
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
12327
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult]
|
12328
|
+
attr_accessor :duplicate_check_result
|
12329
|
+
|
12330
|
+
# Optional. The action that system should take. For example, "call GetOrderTime
|
12331
|
+
# with order_number=`order number provided by the customer`". If the users don't
|
12332
|
+
# have plugins or don't want to trigger plugins, the system_action can be empty
|
12333
|
+
# Corresponds to the JSON property `systemAction`
|
12334
|
+
# @return [String]
|
12335
|
+
attr_accessor :system_action
|
12336
|
+
|
12337
|
+
def initialize(**args)
|
12338
|
+
update!(**args)
|
12339
|
+
end
|
12340
|
+
|
12341
|
+
# Update properties of this object
|
12342
|
+
def update!(**args)
|
12343
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
12344
|
+
@condition = args[:condition] if args.key?(:condition)
|
12345
|
+
@display_details = args[:display_details] if args.key?(:display_details)
|
12346
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
12347
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
12348
|
+
@system_action = args[:system_action] if args.key?(:system_action)
|
12349
|
+
end
|
12350
|
+
end
|
12351
|
+
|
12352
|
+
# Duplication check for the suggestion.
|
12353
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResult
|
12354
|
+
include Google::Apis::Core::Hashable
|
12355
|
+
|
12356
|
+
# Output only. The duplicate suggestions.
|
12357
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
12358
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion>]
|
12359
|
+
attr_accessor :duplicate_suggestions
|
12360
|
+
|
12361
|
+
def initialize(**args)
|
12362
|
+
update!(**args)
|
12363
|
+
end
|
12364
|
+
|
12365
|
+
# Update properties of this object
|
12366
|
+
def update!(**args)
|
12367
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
12368
|
+
end
|
12369
|
+
end
|
12370
|
+
|
12371
|
+
# The duplicate suggestion details.
|
12372
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingInstructionDuplicateCheckResultDuplicateSuggestion
|
12373
|
+
include Google::Apis::Core::Hashable
|
12374
|
+
|
12375
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
12376
|
+
# Corresponds to the JSON property `answerRecord`
|
12377
|
+
# @return [String]
|
12378
|
+
attr_accessor :answer_record
|
12379
|
+
|
12380
|
+
# Output only. The similarity score of between the past and current suggestion.
|
12381
|
+
# Corresponds to the JSON property `similarityScore`
|
12382
|
+
# @return [Float]
|
12383
|
+
attr_accessor :similarity_score
|
12384
|
+
|
12385
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
12386
|
+
# Corresponds to the JSON property `suggestionIndex`
|
12387
|
+
# @return [Fixnum]
|
12388
|
+
attr_accessor :suggestion_index
|
12389
|
+
|
12390
|
+
def initialize(**args)
|
12391
|
+
update!(**args)
|
12392
|
+
end
|
12393
|
+
|
12394
|
+
# Update properties of this object
|
12395
|
+
def update!(**args)
|
12396
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
12397
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
12398
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
12399
|
+
end
|
12400
|
+
end
|
12401
|
+
|
12402
|
+
# Suggestion for coaching agents.
|
12403
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestion
|
12404
|
+
include Google::Apis::Core::Hashable
|
12405
|
+
|
12406
|
+
# Optional. Suggested actions for the agent to take.
|
12407
|
+
# Corresponds to the JSON property `agentActionSuggestions`
|
12408
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion>]
|
12409
|
+
attr_accessor :agent_action_suggestions
|
12410
|
+
|
12411
|
+
# Optional. Instructions applicable based on the current context.
|
12412
|
+
# Corresponds to the JSON property `applicableInstructions`
|
12413
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingInstruction>]
|
12414
|
+
attr_accessor :applicable_instructions
|
12415
|
+
|
12416
|
+
# Optional. Sample response for the Agent.
|
12417
|
+
# Corresponds to the JSON property `sampleResponses`
|
12418
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse>]
|
12419
|
+
attr_accessor :sample_responses
|
12420
|
+
|
12421
|
+
def initialize(**args)
|
12422
|
+
update!(**args)
|
12423
|
+
end
|
12424
|
+
|
12425
|
+
# Update properties of this object
|
12426
|
+
def update!(**args)
|
12427
|
+
@agent_action_suggestions = args[:agent_action_suggestions] if args.key?(:agent_action_suggestions)
|
12428
|
+
@applicable_instructions = args[:applicable_instructions] if args.key?(:applicable_instructions)
|
12429
|
+
@sample_responses = args[:sample_responses] if args.key?(:sample_responses)
|
12430
|
+
end
|
12431
|
+
end
|
12432
|
+
|
12433
|
+
# Actions suggested for the agent. This is based on applicable instructions.
|
12434
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionAgentActionSuggestion
|
12435
|
+
include Google::Apis::Core::Hashable
|
12436
|
+
|
12437
|
+
# Optional. The suggested action for the agent.
|
12438
|
+
# Corresponds to the JSON property `agentAction`
|
12439
|
+
# @return [String]
|
12440
|
+
attr_accessor :agent_action
|
12441
|
+
|
12442
|
+
# Duplication check for the suggestion.
|
12443
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
12444
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
|
12445
|
+
attr_accessor :duplicate_check_result
|
12446
|
+
|
12447
|
+
# Sources for the suggestion.
|
12448
|
+
# Corresponds to the JSON property `sources`
|
12449
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
|
12450
|
+
attr_accessor :sources
|
12451
|
+
|
12452
|
+
def initialize(**args)
|
12453
|
+
update!(**args)
|
12454
|
+
end
|
12455
|
+
|
12456
|
+
# Update properties of this object
|
12457
|
+
def update!(**args)
|
12458
|
+
@agent_action = args[:agent_action] if args.key?(:agent_action)
|
12459
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
12460
|
+
@sources = args[:sources] if args.key?(:sources)
|
12461
|
+
end
|
12462
|
+
end
|
12463
|
+
|
12464
|
+
# Duplication check for the suggestion.
|
12465
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult
|
12466
|
+
include Google::Apis::Core::Hashable
|
12467
|
+
|
12468
|
+
# Output only. The duplicate suggestions.
|
12469
|
+
# Corresponds to the JSON property `duplicateSuggestions`
|
12470
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion>]
|
12471
|
+
attr_accessor :duplicate_suggestions
|
12472
|
+
|
12473
|
+
def initialize(**args)
|
12474
|
+
update!(**args)
|
12475
|
+
end
|
12476
|
+
|
12477
|
+
# Update properties of this object
|
12478
|
+
def update!(**args)
|
12479
|
+
@duplicate_suggestions = args[:duplicate_suggestions] if args.key?(:duplicate_suggestions)
|
12480
|
+
end
|
12481
|
+
end
|
12482
|
+
|
12483
|
+
# The duplicate suggestion details. Keeping answer_record and sources together
|
12484
|
+
# as they are identifiers for duplicate suggestions.
|
12485
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResultDuplicateSuggestion
|
12486
|
+
include Google::Apis::Core::Hashable
|
12487
|
+
|
12488
|
+
# Output only. The answer record id of the past duplicate suggestion.
|
12489
|
+
# Corresponds to the JSON property `answerRecord`
|
12490
|
+
# @return [String]
|
12491
|
+
attr_accessor :answer_record
|
12492
|
+
|
12493
|
+
# Output only. The similarity score of between the past and current suggestion.
|
12494
|
+
# Corresponds to the JSON property `similarityScore`
|
12495
|
+
# @return [Float]
|
12496
|
+
attr_accessor :similarity_score
|
12497
|
+
|
12498
|
+
# Sources for the suggestion.
|
12499
|
+
# Corresponds to the JSON property `sources`
|
12500
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
|
12501
|
+
attr_accessor :sources
|
12502
|
+
|
12503
|
+
# Output only. The index of the duplicate suggestion in the past suggestion list.
|
12504
|
+
# Corresponds to the JSON property `suggestionIndex`
|
12505
|
+
# @return [Fixnum]
|
12506
|
+
attr_accessor :suggestion_index
|
12507
|
+
|
12508
|
+
def initialize(**args)
|
12509
|
+
update!(**args)
|
12510
|
+
end
|
12511
|
+
|
12512
|
+
# Update properties of this object
|
12513
|
+
def update!(**args)
|
12514
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
12515
|
+
@similarity_score = args[:similarity_score] if args.key?(:similarity_score)
|
12516
|
+
@sources = args[:sources] if args.key?(:sources)
|
12517
|
+
@suggestion_index = args[:suggestion_index] if args.key?(:suggestion_index)
|
12518
|
+
end
|
12519
|
+
end
|
12520
|
+
|
12521
|
+
# Sample response that the agent can use. This could be based on applicable
|
12522
|
+
# instructions and ingested data from other systems.
|
12523
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSampleResponse
|
12524
|
+
include Google::Apis::Core::Hashable
|
12525
|
+
|
12526
|
+
# Duplication check for the suggestion.
|
12527
|
+
# Corresponds to the JSON property `duplicateCheckResult`
|
12528
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionDuplicateCheckResult]
|
12529
|
+
attr_accessor :duplicate_check_result
|
12530
|
+
|
12531
|
+
# Optional. Sample response for Agent in text.
|
12532
|
+
# Corresponds to the JSON property `responseText`
|
12533
|
+
# @return [String]
|
12534
|
+
attr_accessor :response_text
|
12535
|
+
|
12536
|
+
# Sources for the suggestion.
|
12537
|
+
# Corresponds to the JSON property `sources`
|
12538
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources]
|
12539
|
+
attr_accessor :sources
|
12540
|
+
|
12541
|
+
def initialize(**args)
|
12542
|
+
update!(**args)
|
12543
|
+
end
|
12544
|
+
|
12545
|
+
# Update properties of this object
|
12546
|
+
def update!(**args)
|
12547
|
+
@duplicate_check_result = args[:duplicate_check_result] if args.key?(:duplicate_check_result)
|
12548
|
+
@response_text = args[:response_text] if args.key?(:response_text)
|
12549
|
+
@sources = args[:sources] if args.key?(:sources)
|
12550
|
+
end
|
12551
|
+
end
|
12552
|
+
|
12553
|
+
# Sources for the suggestion.
|
12554
|
+
class GoogleCloudDialogflowV2beta1AgentCoachingSuggestionSources
|
12555
|
+
include Google::Apis::Core::Hashable
|
12556
|
+
|
12557
|
+
# Output only. Source instruction indexes for the suggestion. This is the index
|
12558
|
+
# of the applicable_instructions field.
|
12559
|
+
# Corresponds to the JSON property `instructionIndexes`
|
12560
|
+
# @return [Array<Fixnum>]
|
12561
|
+
attr_accessor :instruction_indexes
|
12562
|
+
|
12563
|
+
def initialize(**args)
|
12564
|
+
update!(**args)
|
12565
|
+
end
|
12566
|
+
|
12567
|
+
# Update properties of this object
|
12568
|
+
def update!(**args)
|
12569
|
+
@instruction_indexes = args[:instruction_indexes] if args.key?(:instruction_indexes)
|
12570
|
+
end
|
12571
|
+
end
|
12572
|
+
|
12573
|
+
# The request message for Participants.AnalyzeContent.
|
12574
|
+
class GoogleCloudDialogflowV2beta1AnalyzeContentRequest
|
12575
|
+
include Google::Apis::Core::Hashable
|
12576
|
+
|
12577
|
+
# Represents the parameters of human assist query.
|
12578
|
+
# Corresponds to the JSON property `assistQueryParams`
|
12579
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AssistQueryParameters]
|
12580
|
+
attr_accessor :assist_query_params
|
12581
|
+
|
12582
|
+
# Represents the natural language speech audio to be processed.
|
12583
|
+
# Corresponds to the JSON property `audioInput`
|
12584
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AudioInput]
|
12585
|
+
attr_accessor :audio_input
|
12586
|
+
|
12587
|
+
# The unique identifier of the Dialogflow CX page to override the `current_page`
|
12588
|
+
# in the session. Format: `projects//locations//agents//flows//pages/`. If `
|
12589
|
+
# cx_current_page` is specified, the previous state of the session will be
|
12590
|
+
# ignored by Dialogflow CX, including the previous page and the previous session
|
12591
|
+
# parameters. In most cases, `cx_current_page` and `cx_parameters` should be
|
12592
|
+
# configured together to direct a session to a specific state. Note: this field
|
12593
|
+
# should only be used if you are connecting to a Dialogflow CX agent.
|
12594
|
+
# Corresponds to the JSON property `cxCurrentPage`
|
12595
|
+
# @return [String]
|
12596
|
+
attr_accessor :cx_current_page
|
12597
|
+
|
12598
|
+
# Additional parameters to be put into Dialogflow CX session parameters. To
|
12599
|
+
# remove a parameter from the session, clients should explicitly set the
|
12600
|
+
# parameter value to null. Note: this field should only be used if you are
|
12601
|
+
# connecting to a Dialogflow CX agent.
|
12602
|
+
# Corresponds to the JSON property `cxParameters`
|
12603
|
+
# @return [Hash<String,Object>]
|
12604
|
+
attr_accessor :cx_parameters
|
12605
|
+
|
12606
|
+
# Events allow for matching intents by event name instead of the natural
|
12607
|
+
# language input. For instance, input `` can trigger a personalized welcome
|
12608
|
+
# response. The parameter `name` may be used by the agent in the response: `"
|
12609
|
+
# Hello #welcome_event.name! What can I do for you today?"`.
|
12610
|
+
# Corresponds to the JSON property `eventInput`
|
12611
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EventInput]
|
12612
|
+
attr_accessor :event_input
|
12613
|
+
|
12614
|
+
# Represents the intent to trigger programmatically rather than as a result of
|
12615
|
+
# natural language processing. The intent input is only used for V3 agent.
|
12616
|
+
# Corresponds to the JSON property `intentInput`
|
12617
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput]
|
12618
|
+
attr_accessor :intent_input
|
12619
|
+
|
12620
|
+
# Optional. The send time of the message from end user or human agent's
|
12621
|
+
# perspective. It is used for identifying the same message under one participant.
|
12622
|
+
# For BatchCreateMessages API only: Given two messages under the same
|
12623
|
+
# participant: * If send time are different regardless of whether the content of
|
12624
|
+
# the messages are exactly the same, the conversation will regard them as two
|
12625
|
+
# distinct messages sent by the participant. * If send time is the same
|
12626
|
+
# regardless of whether the content of the messages are exactly the same, the
|
12627
|
+
# conversation will regard them as same message, and ignore the message received
|
12628
|
+
# later. If the value is not provided, a new request will always be regarded as
|
12629
|
+
# a new message without any de-duplication.
|
12630
|
+
# Corresponds to the JSON property `messageSendTime`
|
12631
|
+
# @return [String]
|
12632
|
+
attr_accessor :message_send_time
|
12633
|
+
|
12634
|
+
# Represents the parameters of the conversational query.
|
12635
|
+
# Corresponds to the JSON property `queryParams`
|
12636
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1QueryParameters]
|
12637
|
+
attr_accessor :query_params
|
12638
|
+
|
12639
|
+
# Instructs the speech synthesizer how to generate the output audio content. If
|
12640
|
+
# this audio config is supplied in a request, it overrides all existing text-to-
|
12641
|
+
# speech settings applied to the agent.
|
12642
|
+
# Corresponds to the JSON property `replyAudioConfig`
|
12643
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1OutputAudioConfig]
|
12644
|
+
attr_accessor :reply_audio_config
|
12645
|
+
|
12646
|
+
# A unique identifier for this request. Restricted to 36 ASCII characters. A
|
12647
|
+
# random UUID is recommended. This request is only idempotent if a `request_id`
|
12648
|
+
# is provided.
|
12649
|
+
# Corresponds to the JSON property `requestId`
|
12650
|
+
# @return [String]
|
12651
|
+
attr_accessor :request_id
|
12652
|
+
|
12653
|
+
# Represents the action to take for a tool call that requires confirmation.
|
12654
|
+
# Corresponds to the JSON property `suggestionInput`
|
12655
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionInput]
|
12656
|
+
attr_accessor :suggestion_input
|
12657
|
+
|
12658
|
+
# Represents the natural language text to be processed.
|
12659
|
+
# Corresponds to the JSON property `textInput`
|
12660
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
|
12661
|
+
attr_accessor :text_input
|
12662
|
+
|
12663
|
+
def initialize(**args)
|
12664
|
+
update!(**args)
|
12665
|
+
end
|
12666
|
+
|
12667
|
+
# Update properties of this object
|
12668
|
+
def update!(**args)
|
12669
|
+
@assist_query_params = args[:assist_query_params] if args.key?(:assist_query_params)
|
12670
|
+
@audio_input = args[:audio_input] if args.key?(:audio_input)
|
12044
12671
|
@cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
|
12045
12672
|
@cx_parameters = args[:cx_parameters] if args.key?(:cx_parameters)
|
12046
12673
|
@event_input = args[:event_input] if args.key?(:event_input)
|
@@ -13234,6 +13861,13 @@ module Google
|
|
13234
13861
|
class GoogleCloudDialogflowV2beta1ConversationContextReferenceContextContent
|
13235
13862
|
include Google::Apis::Core::Hashable
|
13236
13863
|
|
13864
|
+
# If the context content was generated from a tool call, specify the answer
|
13865
|
+
# record associated with the tool call. Format: `projects//locations//
|
13866
|
+
# answerRecords/`.
|
13867
|
+
# Corresponds to the JSON property `answerRecord`
|
13868
|
+
# @return [String]
|
13869
|
+
attr_accessor :answer_record
|
13870
|
+
|
13237
13871
|
# Required. The information ingested in a single request.
|
13238
13872
|
# Corresponds to the JSON property `content`
|
13239
13873
|
# @return [String]
|
@@ -13256,6 +13890,7 @@ module Google
|
|
13256
13890
|
|
13257
13891
|
# Update properties of this object
|
13258
13892
|
def update!(**args)
|
13893
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
13259
13894
|
@content = args[:content] if args.key?(:content)
|
13260
13895
|
@content_format = args[:content_format] if args.key?(:content_format)
|
13261
13896
|
@ingestion_time = args[:ingestion_time] if args.key?(:ingestion_time)
|
@@ -14228,6 +14863,39 @@ module Google
|
|
14228
14863
|
end
|
14229
14864
|
end
|
14230
14865
|
|
14866
|
+
# A common evalaution pipeline status.
|
14867
|
+
class GoogleCloudDialogflowV2beta1EvaluationStatus
|
14868
|
+
include Google::Apis::Core::Hashable
|
14869
|
+
|
14870
|
+
# Output only. If the value is `false`, it means the evaluation is still in
|
14871
|
+
# progress. If `true`, the operation is completed, and either `error` or `
|
14872
|
+
# response` is available.
|
14873
|
+
# Corresponds to the JSON property `done`
|
14874
|
+
# @return [Boolean]
|
14875
|
+
attr_accessor :done
|
14876
|
+
alias_method :done?, :done
|
14877
|
+
|
14878
|
+
# The `Status` type defines a logical error model that is suitable for different
|
14879
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
14880
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
14881
|
+
# data: error code, error message, and error details. You can find out more
|
14882
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
14883
|
+
# //cloud.google.com/apis/design/errors).
|
14884
|
+
# Corresponds to the JSON property `pipelineStatus`
|
14885
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleRpcStatus]
|
14886
|
+
attr_accessor :pipeline_status
|
14887
|
+
|
14888
|
+
def initialize(**args)
|
14889
|
+
update!(**args)
|
14890
|
+
end
|
14891
|
+
|
14892
|
+
# Update properties of this object
|
14893
|
+
def update!(**args)
|
14894
|
+
@done = args[:done] if args.key?(:done)
|
14895
|
+
@pipeline_status = args[:pipeline_status] if args.key?(:pipeline_status)
|
14896
|
+
end
|
14897
|
+
end
|
14898
|
+
|
14231
14899
|
# Events allow for matching intents by event name instead of the natural
|
14232
14900
|
# language input. For instance, input `` can trigger a personalized welcome
|
14233
14901
|
# response. The parameter `name` may be used by the agent in the response: `"
|
@@ -14972,6 +15640,11 @@ module Google
|
|
14972
15640
|
class GoogleCloudDialogflowV2beta1Generator
|
14973
15641
|
include Google::Apis::Core::Hashable
|
14974
15642
|
|
15643
|
+
# Agent Coaching context that customer can configure.
|
15644
|
+
# Corresponds to the JSON property `agentCoachingContext`
|
15645
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingContext]
|
15646
|
+
attr_accessor :agent_coaching_context
|
15647
|
+
|
14975
15648
|
# Output only. Creation time of this generator.
|
14976
15649
|
# Corresponds to the JSON property `createTime`
|
14977
15650
|
# @return [String]
|
@@ -15006,6 +15679,11 @@ module Google
|
|
15006
15679
|
# @return [String]
|
15007
15680
|
attr_accessor :published_model
|
15008
15681
|
|
15682
|
+
# Config for suggestion deduping. NEXT_ID: 3
|
15683
|
+
# Corresponds to the JSON property `suggestionDedupingConfig`
|
15684
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionDedupingConfig]
|
15685
|
+
attr_accessor :suggestion_deduping_config
|
15686
|
+
|
15009
15687
|
# Summarization context that customer can configure.
|
15010
15688
|
# Corresponds to the JSON property `summarizationContext`
|
15011
15689
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationContext]
|
@@ -15034,12 +15712,14 @@ module Google
|
|
15034
15712
|
|
15035
15713
|
# Update properties of this object
|
15036
15714
|
def update!(**args)
|
15715
|
+
@agent_coaching_context = args[:agent_coaching_context] if args.key?(:agent_coaching_context)
|
15037
15716
|
@create_time = args[:create_time] if args.key?(:create_time)
|
15038
15717
|
@description = args[:description] if args.key?(:description)
|
15039
15718
|
@free_form_context = args[:free_form_context] if args.key?(:free_form_context)
|
15040
15719
|
@inference_parameter = args[:inference_parameter] if args.key?(:inference_parameter)
|
15041
15720
|
@name = args[:name] if args.key?(:name)
|
15042
15721
|
@published_model = args[:published_model] if args.key?(:published_model)
|
15722
|
+
@suggestion_deduping_config = args[:suggestion_deduping_config] if args.key?(:suggestion_deduping_config)
|
15043
15723
|
@summarization_context = args[:summarization_context] if args.key?(:summarization_context)
|
15044
15724
|
@tools = args[:tools] if args.key?(:tools)
|
15045
15725
|
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
@@ -15047,10 +15727,288 @@ module Google
|
|
15047
15727
|
end
|
15048
15728
|
end
|
15049
15729
|
|
15730
|
+
# Represents evaluation result of a generator.
|
15731
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluation
|
15732
|
+
include Google::Apis::Core::Hashable
|
15733
|
+
|
15734
|
+
# Output only. Completion time of this generator evaluation.
|
15735
|
+
# Corresponds to the JSON property `completeTime`
|
15736
|
+
# @return [String]
|
15737
|
+
attr_accessor :complete_time
|
15738
|
+
|
15739
|
+
# Output only. Creation time of this generator evaluation.
|
15740
|
+
# Corresponds to the JSON property `createTime`
|
15741
|
+
# @return [String]
|
15742
|
+
attr_accessor :create_time
|
15743
|
+
|
15744
|
+
# Optional. The display name of the generator evaluation. At most 64 bytes long.
|
15745
|
+
# Corresponds to the JSON property `displayName`
|
15746
|
+
# @return [String]
|
15747
|
+
attr_accessor :display_name
|
15748
|
+
|
15749
|
+
# A common evalaution pipeline status.
|
15750
|
+
# Corresponds to the JSON property `evaluationStatus`
|
15751
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EvaluationStatus]
|
15752
|
+
attr_accessor :evaluation_status
|
15753
|
+
|
15754
|
+
# Generator evaluation input config.
|
15755
|
+
# Corresponds to the JSON property `generatorEvaluationConfig`
|
15756
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig]
|
15757
|
+
attr_accessor :generator_evaluation_config
|
15758
|
+
|
15759
|
+
# LLM generator.
|
15760
|
+
# Corresponds to the JSON property `initialGenerator`
|
15761
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Generator]
|
15762
|
+
attr_accessor :initial_generator
|
15763
|
+
|
15764
|
+
# Output only. Identifier. The resource name of the evaluation. Format: `
|
15765
|
+
# projects//locations//generators// evaluations/`
|
15766
|
+
# Corresponds to the JSON property `name`
|
15767
|
+
# @return [String]
|
15768
|
+
attr_accessor :name
|
15769
|
+
|
15770
|
+
# Output only. A read only boolean field reflecting Zone Isolation status of the
|
15771
|
+
# model. The field is an aggregated value of ZI status of its underlying
|
15772
|
+
# dependencies. See more details in go/zicy-resource-placement#resource-status
|
15773
|
+
# Corresponds to the JSON property `satisfiesPzi`
|
15774
|
+
# @return [Boolean]
|
15775
|
+
attr_accessor :satisfies_pzi
|
15776
|
+
alias_method :satisfies_pzi?, :satisfies_pzi
|
15777
|
+
|
15778
|
+
# Output only. A read only boolean field reflecting Zone Separation status of
|
15779
|
+
# the model. The field is an aggregated value of ZS status of its underlying
|
15780
|
+
# dependencies. See more details in go/zicy-resource-placement#resource-status
|
15781
|
+
# Corresponds to the JSON property `satisfiesPzs`
|
15782
|
+
# @return [Boolean]
|
15783
|
+
attr_accessor :satisfies_pzs
|
15784
|
+
alias_method :satisfies_pzs?, :satisfies_pzs
|
15785
|
+
|
15786
|
+
# Evaluation metrics for summarization generator.
|
15787
|
+
# Corresponds to the JSON property `summarizationMetrics`
|
15788
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics]
|
15789
|
+
attr_accessor :summarization_metrics
|
15790
|
+
|
15791
|
+
def initialize(**args)
|
15792
|
+
update!(**args)
|
15793
|
+
end
|
15794
|
+
|
15795
|
+
# Update properties of this object
|
15796
|
+
def update!(**args)
|
15797
|
+
@complete_time = args[:complete_time] if args.key?(:complete_time)
|
15798
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
15799
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
15800
|
+
@evaluation_status = args[:evaluation_status] if args.key?(:evaluation_status)
|
15801
|
+
@generator_evaluation_config = args[:generator_evaluation_config] if args.key?(:generator_evaluation_config)
|
15802
|
+
@initial_generator = args[:initial_generator] if args.key?(:initial_generator)
|
15803
|
+
@name = args[:name] if args.key?(:name)
|
15804
|
+
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
15805
|
+
@satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
|
15806
|
+
@summarization_metrics = args[:summarization_metrics] if args.key?(:summarization_metrics)
|
15807
|
+
end
|
15808
|
+
end
|
15809
|
+
|
15810
|
+
# Generator evaluation input config.
|
15811
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfig
|
15812
|
+
include Google::Apis::Core::Hashable
|
15813
|
+
|
15814
|
+
# Input data config details
|
15815
|
+
# Corresponds to the JSON property `inputDataConfig`
|
15816
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig]
|
15817
|
+
attr_accessor :input_data_config
|
15818
|
+
|
15819
|
+
# Required. The output Cloud Storage bucket path to store eval files, e.g.
|
15820
|
+
# per_summary_accuracy_score report. This path is provided by customer and files
|
15821
|
+
# stored in it are visible to customer, no internal data should be stored in
|
15822
|
+
# this path.
|
15823
|
+
# Corresponds to the JSON property `outputGcsBucketPath`
|
15824
|
+
# @return [String]
|
15825
|
+
attr_accessor :output_gcs_bucket_path
|
15826
|
+
|
15827
|
+
# Evaluation configs for summarization generator.
|
15828
|
+
# Corresponds to the JSON property `summarizationConfig`
|
15829
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig]
|
15830
|
+
attr_accessor :summarization_config
|
15831
|
+
|
15832
|
+
def initialize(**args)
|
15833
|
+
update!(**args)
|
15834
|
+
end
|
15835
|
+
|
15836
|
+
# Update properties of this object
|
15837
|
+
def update!(**args)
|
15838
|
+
@input_data_config = args[:input_data_config] if args.key?(:input_data_config)
|
15839
|
+
@output_gcs_bucket_path = args[:output_gcs_bucket_path] if args.key?(:output_gcs_bucket_path)
|
15840
|
+
@summarization_config = args[:summarization_config] if args.key?(:summarization_config)
|
15841
|
+
end
|
15842
|
+
end
|
15843
|
+
|
15844
|
+
# The distinctive configs for Agent Assist conversations as the conversation
|
15845
|
+
# source.
|
15846
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig
|
15847
|
+
include Google::Apis::Core::Hashable
|
15848
|
+
|
15849
|
+
# Required. The end of the time range for conversations to be evaluated. Only
|
15850
|
+
# conversations ended at or before this timestamp will be sampled.
|
15851
|
+
# Corresponds to the JSON property `endTime`
|
15852
|
+
# @return [String]
|
15853
|
+
attr_accessor :end_time
|
15854
|
+
|
15855
|
+
# Required. The start of the time range for conversations to be evaluated. Only
|
15856
|
+
# conversations created at or after this timestamp will be sampled.
|
15857
|
+
# Corresponds to the JSON property `startTime`
|
15858
|
+
# @return [String]
|
15859
|
+
attr_accessor :start_time
|
15860
|
+
|
15861
|
+
def initialize(**args)
|
15862
|
+
update!(**args)
|
15863
|
+
end
|
15864
|
+
|
15865
|
+
# Update properties of this object
|
15866
|
+
def update!(**args)
|
15867
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
15868
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
15869
|
+
end
|
15870
|
+
end
|
15871
|
+
|
15872
|
+
# The distinctive configs for dataset as the conversation source.
|
15873
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig
|
15874
|
+
include Google::Apis::Core::Hashable
|
15875
|
+
|
15876
|
+
# Required. The identifier of the dataset to be evaluated. Format: `projects//
|
15877
|
+
# locations//datasets/`.
|
15878
|
+
# Corresponds to the JSON property `dataset`
|
15879
|
+
# @return [String]
|
15880
|
+
attr_accessor :dataset
|
15881
|
+
|
15882
|
+
def initialize(**args)
|
15883
|
+
update!(**args)
|
15884
|
+
end
|
15885
|
+
|
15886
|
+
# Update properties of this object
|
15887
|
+
def update!(**args)
|
15888
|
+
@dataset = args[:dataset] if args.key?(:dataset)
|
15889
|
+
end
|
15890
|
+
end
|
15891
|
+
|
15892
|
+
# Input data config details
|
15893
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigInputDataConfig
|
15894
|
+
include Google::Apis::Core::Hashable
|
15895
|
+
|
15896
|
+
# The distinctive configs for Agent Assist conversations as the conversation
|
15897
|
+
# source.
|
15898
|
+
# Corresponds to the JSON property `agentAssistInputDataConfig`
|
15899
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigAgentAssistInputDataConfig]
|
15900
|
+
attr_accessor :agent_assist_input_data_config
|
15901
|
+
|
15902
|
+
# The distinctive configs for dataset as the conversation source.
|
15903
|
+
# Corresponds to the JSON property `datasetInputDataConfig`
|
15904
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigDatasetInputDataConfig]
|
15905
|
+
attr_accessor :dataset_input_data_config
|
15906
|
+
|
15907
|
+
# Optional. The end timestamp to fetch conversation data.
|
15908
|
+
# Corresponds to the JSON property `endTime`
|
15909
|
+
# @return [String]
|
15910
|
+
attr_accessor :end_time
|
15911
|
+
|
15912
|
+
# Required. The source type of input data.
|
15913
|
+
# Corresponds to the JSON property `inputDataSourceType`
|
15914
|
+
# @return [String]
|
15915
|
+
attr_accessor :input_data_source_type
|
15916
|
+
|
15917
|
+
# Optional. Whether the summary generation is allowed when the pre-existing
|
15918
|
+
# qualified summaries are insufficient to cover the sample size.
|
15919
|
+
# Corresponds to the JSON property `isSummaryGenerationAllowed`
|
15920
|
+
# @return [Boolean]
|
15921
|
+
attr_accessor :is_summary_generation_allowed
|
15922
|
+
alias_method :is_summary_generation_allowed?, :is_summary_generation_allowed
|
15923
|
+
|
15924
|
+
# Optional. Desired number of conversation-summary pairs to be evaluated.
|
15925
|
+
# Corresponds to the JSON property `sampleSize`
|
15926
|
+
# @return [Fixnum]
|
15927
|
+
attr_accessor :sample_size
|
15928
|
+
|
15929
|
+
# Optional. The start timestamp to fetch conversation data.
|
15930
|
+
# Corresponds to the JSON property `startTime`
|
15931
|
+
# @return [String]
|
15932
|
+
attr_accessor :start_time
|
15933
|
+
|
15934
|
+
# Optional. Option to control whether summaries are generated during evaluation.
|
15935
|
+
# Corresponds to the JSON property `summaryGenerationOption`
|
15936
|
+
# @return [String]
|
15937
|
+
attr_accessor :summary_generation_option
|
15938
|
+
|
15939
|
+
def initialize(**args)
|
15940
|
+
update!(**args)
|
15941
|
+
end
|
15942
|
+
|
15943
|
+
# Update properties of this object
|
15944
|
+
def update!(**args)
|
15945
|
+
@agent_assist_input_data_config = args[:agent_assist_input_data_config] if args.key?(:agent_assist_input_data_config)
|
15946
|
+
@dataset_input_data_config = args[:dataset_input_data_config] if args.key?(:dataset_input_data_config)
|
15947
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
15948
|
+
@input_data_source_type = args[:input_data_source_type] if args.key?(:input_data_source_type)
|
15949
|
+
@is_summary_generation_allowed = args[:is_summary_generation_allowed] if args.key?(:is_summary_generation_allowed)
|
15950
|
+
@sample_size = args[:sample_size] if args.key?(:sample_size)
|
15951
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
15952
|
+
@summary_generation_option = args[:summary_generation_option] if args.key?(:summary_generation_option)
|
15953
|
+
end
|
15954
|
+
end
|
15955
|
+
|
15956
|
+
# Evaluation configs for summarization generator.
|
15957
|
+
class GoogleCloudDialogflowV2beta1GeneratorEvaluationConfigSummarizationConfig
|
15958
|
+
include Google::Apis::Core::Hashable
|
15959
|
+
|
15960
|
+
# Optional. Version for summarization accuracy. This will determine the prompt
|
15961
|
+
# and model used at backend.
|
15962
|
+
# Corresponds to the JSON property `accuracyEvaluationVersion`
|
15963
|
+
# @return [String]
|
15964
|
+
attr_accessor :accuracy_evaluation_version
|
15965
|
+
|
15966
|
+
# Optional. Version for summarization completeness. This will determine the
|
15967
|
+
# prompt and model used at backend.
|
15968
|
+
# Corresponds to the JSON property `completenessEvaluationVersion`
|
15969
|
+
# @return [String]
|
15970
|
+
attr_accessor :completeness_evaluation_version
|
15971
|
+
|
15972
|
+
# Optional. Enable accuracy evaluation.
|
15973
|
+
# Corresponds to the JSON property `enableAccuracyEvaluation`
|
15974
|
+
# @return [Boolean]
|
15975
|
+
attr_accessor :enable_accuracy_evaluation
|
15976
|
+
alias_method :enable_accuracy_evaluation?, :enable_accuracy_evaluation
|
15977
|
+
|
15978
|
+
# Optional. Enable completeness evaluation.
|
15979
|
+
# Corresponds to the JSON property `enableCompletenessEvaluation`
|
15980
|
+
# @return [Boolean]
|
15981
|
+
attr_accessor :enable_completeness_evaluation
|
15982
|
+
alias_method :enable_completeness_evaluation?, :enable_completeness_evaluation
|
15983
|
+
|
15984
|
+
# Output only. Version for summarization evaluation.
|
15985
|
+
# Corresponds to the JSON property `evaluatorVersion`
|
15986
|
+
# @return [String]
|
15987
|
+
attr_accessor :evaluator_version
|
15988
|
+
|
15989
|
+
def initialize(**args)
|
15990
|
+
update!(**args)
|
15991
|
+
end
|
15992
|
+
|
15993
|
+
# Update properties of this object
|
15994
|
+
def update!(**args)
|
15995
|
+
@accuracy_evaluation_version = args[:accuracy_evaluation_version] if args.key?(:accuracy_evaluation_version)
|
15996
|
+
@completeness_evaluation_version = args[:completeness_evaluation_version] if args.key?(:completeness_evaluation_version)
|
15997
|
+
@enable_accuracy_evaluation = args[:enable_accuracy_evaluation] if args.key?(:enable_accuracy_evaluation)
|
15998
|
+
@enable_completeness_evaluation = args[:enable_completeness_evaluation] if args.key?(:enable_completeness_evaluation)
|
15999
|
+
@evaluator_version = args[:evaluator_version] if args.key?(:evaluator_version)
|
16000
|
+
end
|
16001
|
+
end
|
16002
|
+
|
15050
16003
|
# Suggestion generated using a Generator.
|
15051
16004
|
class GoogleCloudDialogflowV2beta1GeneratorSuggestion
|
15052
16005
|
include Google::Apis::Core::Hashable
|
15053
16006
|
|
16007
|
+
# Suggestion for coaching agents.
|
16008
|
+
# Corresponds to the JSON property `agentCoachingSuggestion`
|
16009
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentCoachingSuggestion]
|
16010
|
+
attr_accessor :agent_coaching_suggestion
|
16011
|
+
|
15054
16012
|
# Suggestion generated using free form generator.
|
15055
16013
|
# Corresponds to the JSON property `freeFormSuggestion`
|
15056
16014
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1FreeFormSuggestion]
|
@@ -15072,6 +16030,7 @@ module Google
|
|
15072
16030
|
|
15073
16031
|
# Update properties of this object
|
15074
16032
|
def update!(**args)
|
16033
|
+
@agent_coaching_suggestion = args[:agent_coaching_suggestion] if args.key?(:agent_coaching_suggestion)
|
15075
16034
|
@free_form_suggestion = args[:free_form_suggestion] if args.key?(:free_form_suggestion)
|
15076
16035
|
@summary_suggestion = args[:summary_suggestion] if args.key?(:summary_suggestion)
|
15077
16036
|
@tool_call_info = args[:tool_call_info] if args.key?(:tool_call_info)
|
@@ -15245,6 +16204,12 @@ module Google
|
|
15245
16204
|
attr_accessor :disable_high_latency_features_sync_delivery
|
15246
16205
|
alias_method :disable_high_latency_features_sync_delivery?, :disable_high_latency_features_sync_delivery
|
15247
16206
|
|
16207
|
+
# Optional. If true, enable asynchronous execution of tools.
|
16208
|
+
# Corresponds to the JSON property `enableAsyncToolCall`
|
16209
|
+
# @return [Boolean]
|
16210
|
+
attr_accessor :enable_async_tool_call
|
16211
|
+
alias_method :enable_async_tool_call?, :enable_async_tool_call
|
16212
|
+
|
15248
16213
|
# Configuration of different suggestion features. One feature can have only one
|
15249
16214
|
# config.
|
15250
16215
|
# Corresponds to the JSON property `featureConfigs`
|
@@ -15270,6 +16235,23 @@ module Google
|
|
15270
16235
|
attr_accessor :group_suggestion_responses
|
15271
16236
|
alias_method :group_suggestion_responses?, :group_suggestion_responses
|
15272
16237
|
|
16238
|
+
# Optional. Enable skipping event based suggestion if the suggestion is empty.
|
16239
|
+
# For example, with this field disabled, Knowledge Assist feature sends a Pub/
|
16240
|
+
# Sub message when there are no suggestions. Enabling this field will change the
|
16241
|
+
# behavior to skip the Pub/Sub message in this situation.
|
16242
|
+
# Corresponds to the JSON property `skipEmptyEventBasedSuggestion`
|
16243
|
+
# @return [Boolean]
|
16244
|
+
attr_accessor :skip_empty_event_based_suggestion
|
16245
|
+
alias_method :skip_empty_event_based_suggestion?, :skip_empty_event_based_suggestion
|
16246
|
+
|
16247
|
+
# Optional. If true, use unredacted transcript data (Supported features:
|
16248
|
+
# AI_COACH) and use unredacted ingested context (Supported features: All Agent
|
16249
|
+
# Assist features)
|
16250
|
+
# Corresponds to the JSON property `useUnredactedConversationData`
|
16251
|
+
# @return [Boolean]
|
16252
|
+
attr_accessor :use_unredacted_conversation_data
|
16253
|
+
alias_method :use_unredacted_conversation_data?, :use_unredacted_conversation_data
|
16254
|
+
|
15273
16255
|
def initialize(**args)
|
15274
16256
|
update!(**args)
|
15275
16257
|
end
|
@@ -15277,9 +16259,12 @@ module Google
|
|
15277
16259
|
# Update properties of this object
|
15278
16260
|
def update!(**args)
|
15279
16261
|
@disable_high_latency_features_sync_delivery = args[:disable_high_latency_features_sync_delivery] if args.key?(:disable_high_latency_features_sync_delivery)
|
16262
|
+
@enable_async_tool_call = args[:enable_async_tool_call] if args.key?(:enable_async_tool_call)
|
15280
16263
|
@feature_configs = args[:feature_configs] if args.key?(:feature_configs)
|
15281
16264
|
@generators = args[:generators] if args.key?(:generators)
|
15282
16265
|
@group_suggestion_responses = args[:group_suggestion_responses] if args.key?(:group_suggestion_responses)
|
16266
|
+
@skip_empty_event_based_suggestion = args[:skip_empty_event_based_suggestion] if args.key?(:skip_empty_event_based_suggestion)
|
16267
|
+
@use_unredacted_conversation_data = args[:use_unredacted_conversation_data] if args.key?(:use_unredacted_conversation_data)
|
15283
16268
|
end
|
15284
16269
|
end
|
15285
16270
|
|
@@ -15335,11 +16320,27 @@ module Google
|
|
15335
16320
|
attr_accessor :enable_query_suggestion_when_no_answer
|
15336
16321
|
alias_method :enable_query_suggestion_when_no_answer?, :enable_query_suggestion_when_no_answer
|
15337
16322
|
|
16323
|
+
# Optional. Enable returning detailed reasons for suggestion results. For
|
16324
|
+
# example, with this field disabled, Knowledge Search feature returns NotFound
|
16325
|
+
# error when no answer is found for the input query. Enabling this field will
|
16326
|
+
# change the behavior to return an OK response with detailed information
|
16327
|
+
# indicating the lack of results. Supported features: KNOWLEDGE_SEARCH,
|
16328
|
+
# KNOWLEDGE_ASSIST
|
16329
|
+
# Corresponds to the JSON property `enableResponseDebugInfo`
|
16330
|
+
# @return [Boolean]
|
16331
|
+
attr_accessor :enable_response_debug_info
|
16332
|
+
alias_method :enable_response_debug_info?, :enable_response_debug_info
|
16333
|
+
|
15338
16334
|
# Config for suggestion query.
|
15339
16335
|
# Corresponds to the JSON property `queryConfig`
|
15340
16336
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig]
|
15341
16337
|
attr_accessor :query_config
|
15342
16338
|
|
16339
|
+
# Settings for Responsible AI checks.
|
16340
|
+
# Corresponds to the JSON property `raiSettings`
|
16341
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RaiSettings]
|
16342
|
+
attr_accessor :rai_settings
|
16343
|
+
|
15343
16344
|
# The type of Human Agent Assistant API suggestion to perform, and the maximum
|
15344
16345
|
# number of results to return for that type. Multiple `Feature` objects can be
|
15345
16346
|
# specified in the `features` list.
|
@@ -15365,7 +16366,9 @@ module Google
|
|
15365
16366
|
@enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
|
15366
16367
|
@enable_query_suggestion_only = args[:enable_query_suggestion_only] if args.key?(:enable_query_suggestion_only)
|
15367
16368
|
@enable_query_suggestion_when_no_answer = args[:enable_query_suggestion_when_no_answer] if args.key?(:enable_query_suggestion_when_no_answer)
|
16369
|
+
@enable_response_debug_info = args[:enable_response_debug_info] if args.key?(:enable_response_debug_info)
|
15368
16370
|
@query_config = args[:query_config] if args.key?(:query_config)
|
16371
|
+
@rai_settings = args[:rai_settings] if args.key?(:rai_settings)
|
15369
16372
|
@suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
|
15370
16373
|
@suggestion_trigger_settings = args[:suggestion_trigger_settings] if args.key?(:suggestion_trigger_settings)
|
15371
16374
|
end
|
@@ -18462,6 +19465,32 @@ module Google
|
|
18462
19465
|
end
|
18463
19466
|
end
|
18464
19467
|
|
19468
|
+
# Response of ListGeneratorEvaluations.
|
19469
|
+
class GoogleCloudDialogflowV2beta1ListGeneratorEvaluationsResponse
|
19470
|
+
include Google::Apis::Core::Hashable
|
19471
|
+
|
19472
|
+
# The list of evaluations to return.
|
19473
|
+
# Corresponds to the JSON property `generatorEvaluations`
|
19474
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1GeneratorEvaluation>]
|
19475
|
+
attr_accessor :generator_evaluations
|
19476
|
+
|
19477
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
19478
|
+
# results in the list.
|
19479
|
+
# Corresponds to the JSON property `nextPageToken`
|
19480
|
+
# @return [String]
|
19481
|
+
attr_accessor :next_page_token
|
19482
|
+
|
19483
|
+
def initialize(**args)
|
19484
|
+
update!(**args)
|
19485
|
+
end
|
19486
|
+
|
19487
|
+
# Update properties of this object
|
19488
|
+
def update!(**args)
|
19489
|
+
@generator_evaluations = args[:generator_evaluations] if args.key?(:generator_evaluations)
|
19490
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
19491
|
+
end
|
19492
|
+
end
|
19493
|
+
|
18465
19494
|
# Response of ListGenerators.
|
18466
19495
|
class GoogleCloudDialogflowV2beta1ListGeneratorsResponse
|
18467
19496
|
include Google::Apis::Core::Hashable
|
@@ -19462,6 +20491,50 @@ module Google
|
|
19462
20491
|
end
|
19463
20492
|
end
|
19464
20493
|
|
20494
|
+
# Settings for Responsible AI checks.
|
20495
|
+
class GoogleCloudDialogflowV2beta1RaiSettings
|
20496
|
+
include Google::Apis::Core::Hashable
|
20497
|
+
|
20498
|
+
# Configuration for a set of RAI categories.
|
20499
|
+
# Corresponds to the JSON property `raiCategoryConfigs`
|
20500
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig>]
|
20501
|
+
attr_accessor :rai_category_configs
|
20502
|
+
|
20503
|
+
def initialize(**args)
|
20504
|
+
update!(**args)
|
20505
|
+
end
|
20506
|
+
|
20507
|
+
# Update properties of this object
|
20508
|
+
def update!(**args)
|
20509
|
+
@rai_category_configs = args[:rai_category_configs] if args.key?(:rai_category_configs)
|
20510
|
+
end
|
20511
|
+
end
|
20512
|
+
|
20513
|
+
# Configuration for a specific RAI category.
|
20514
|
+
class GoogleCloudDialogflowV2beta1RaiSettingsRaiCategoryConfig
|
20515
|
+
include Google::Apis::Core::Hashable
|
20516
|
+
|
20517
|
+
# Optional. The RAI category.
|
20518
|
+
# Corresponds to the JSON property `category`
|
20519
|
+
# @return [String]
|
20520
|
+
attr_accessor :category
|
20521
|
+
|
20522
|
+
# Optional. The sensitivity level for this category.
|
20523
|
+
# Corresponds to the JSON property `sensitivityLevel`
|
20524
|
+
# @return [String]
|
20525
|
+
attr_accessor :sensitivity_level
|
20526
|
+
|
20527
|
+
def initialize(**args)
|
20528
|
+
update!(**args)
|
20529
|
+
end
|
20530
|
+
|
20531
|
+
# Update properties of this object
|
20532
|
+
def update!(**args)
|
20533
|
+
@category = args[:category] if args.key?(:category)
|
20534
|
+
@sensitivity_level = args[:sensitivity_level] if args.key?(:sensitivity_level)
|
20535
|
+
end
|
20536
|
+
end
|
20537
|
+
|
19465
20538
|
# Request message for Documents.ReloadDocument.
|
19466
20539
|
class GoogleCloudDialogflowV2beta1ReloadDocumentRequest
|
19467
20540
|
include Google::Apis::Core::Hashable
|
@@ -21255,6 +22328,33 @@ module Google
|
|
21255
22328
|
end
|
21256
22329
|
end
|
21257
22330
|
|
22331
|
+
# Config for suggestion deduping. NEXT_ID: 3
|
22332
|
+
class GoogleCloudDialogflowV2beta1SuggestionDedupingConfig
|
22333
|
+
include Google::Apis::Core::Hashable
|
22334
|
+
|
22335
|
+
# Optional. Whether to enable suggestion deduping.
|
22336
|
+
# Corresponds to the JSON property `enableDeduping`
|
22337
|
+
# @return [Boolean]
|
22338
|
+
attr_accessor :enable_deduping
|
22339
|
+
alias_method :enable_deduping?, :enable_deduping
|
22340
|
+
|
22341
|
+
# Optional. The threshold for similarity between two suggestions. Acceptable
|
22342
|
+
# value is [0.0, 1.0], default to 0.8
|
22343
|
+
# Corresponds to the JSON property `similarityThreshold`
|
22344
|
+
# @return [Float]
|
22345
|
+
attr_accessor :similarity_threshold
|
22346
|
+
|
22347
|
+
def initialize(**args)
|
22348
|
+
update!(**args)
|
22349
|
+
end
|
22350
|
+
|
22351
|
+
# Update properties of this object
|
22352
|
+
def update!(**args)
|
22353
|
+
@enable_deduping = args[:enable_deduping] if args.key?(:enable_deduping)
|
22354
|
+
@similarity_threshold = args[:similarity_threshold] if args.key?(:similarity_threshold)
|
22355
|
+
end
|
22356
|
+
end
|
22357
|
+
|
21258
22358
|
# Represents suggested answer from "frequently asked questions".
|
21259
22359
|
class GoogleCloudDialogflowV2beta1SuggestionFaqAnswer
|
21260
22360
|
include Google::Apis::Core::Hashable
|
@@ -21330,13 +22430,17 @@ module Google
|
|
21330
22430
|
end
|
21331
22431
|
end
|
21332
22432
|
|
21333
|
-
# Represents the
|
22433
|
+
# Represents the action to take for a tool call that requires confirmation.
|
21334
22434
|
class GoogleCloudDialogflowV2beta1SuggestionInput
|
21335
22435
|
include Google::Apis::Core::Hashable
|
21336
22436
|
|
21337
|
-
#
|
21338
|
-
#
|
21339
|
-
#
|
22437
|
+
# Optional. The type of action to take with the tool.
|
22438
|
+
# Corresponds to the JSON property `action`
|
22439
|
+
# @return [String]
|
22440
|
+
attr_accessor :action
|
22441
|
+
|
22442
|
+
# Required. Format: `projects//locations//answerRecords/` The answer record
|
22443
|
+
# associated with the tool call.
|
21340
22444
|
# Corresponds to the JSON property `answerRecord`
|
21341
22445
|
# @return [String]
|
21342
22446
|
attr_accessor :answer_record
|
@@ -21347,23 +22451,20 @@ module Google
|
|
21347
22451
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentInput]
|
21348
22452
|
attr_accessor :intent_input
|
21349
22453
|
|
21350
|
-
#
|
21351
|
-
#
|
21352
|
-
# which identifies a v3 QueryResult containing the current page. The form
|
21353
|
-
# parameters are specified via the parameters field. Depending on your protocol
|
21354
|
-
# or client library language, this is a map, associative array, symbol table,
|
21355
|
-
# dictionary, or JSON object composed of a collection of (MapKey, MapValue)
|
21356
|
-
# pairs: * MapKey type: string * MapKey value: parameter name * MapValue type:
|
21357
|
-
# If parameter's entity type is a composite entity then use map, otherwise,
|
21358
|
-
# depending on the parameter value type, it could be one of string, number,
|
21359
|
-
# boolean, null, list or map. * MapValue value: If parameter's entity type is a
|
21360
|
-
# composite entity then use map from composite entity property names to property
|
21361
|
-
# values, otherwise, use parameter value.
|
22454
|
+
# Parameters to be used for the tool call. If not provided, the tool will be
|
22455
|
+
# called without any parameters.
|
21362
22456
|
# Corresponds to the JSON property `parameters`
|
21363
22457
|
# @return [Hash<String,Object>]
|
21364
22458
|
attr_accessor :parameters
|
21365
22459
|
|
21366
|
-
#
|
22460
|
+
# Optional. Time when the current suggest input is sent. For tool calls, this
|
22461
|
+
# timestamp (along with the answer record) will be included in the corresponding
|
22462
|
+
# tool call result so that it can be identified.
|
22463
|
+
# Corresponds to the JSON property `sendTime`
|
22464
|
+
# @return [String]
|
22465
|
+
attr_accessor :send_time
|
22466
|
+
|
22467
|
+
# Represents the natural language text to be processed.
|
21367
22468
|
# Corresponds to the JSON property `textOverride`
|
21368
22469
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TextInput]
|
21369
22470
|
attr_accessor :text_override
|
@@ -21374,9 +22475,11 @@ module Google
|
|
21374
22475
|
|
21375
22476
|
# Update properties of this object
|
21376
22477
|
def update!(**args)
|
22478
|
+
@action = args[:action] if args.key?(:action)
|
21377
22479
|
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
21378
22480
|
@intent_input = args[:intent_input] if args.key?(:intent_input)
|
21379
22481
|
@parameters = args[:parameters] if args.key?(:parameters)
|
22482
|
+
@send_time = args[:send_time] if args.key?(:send_time)
|
21380
22483
|
@text_override = args[:text_override] if args.key?(:text_override)
|
21381
22484
|
end
|
21382
22485
|
end
|
@@ -21490,6 +22593,451 @@ module Google
|
|
21490
22593
|
end
|
21491
22594
|
end
|
21492
22595
|
|
22596
|
+
# Evaluation metrics for summarization generator.
|
22597
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetrics
|
22598
|
+
include Google::Apis::Core::Hashable
|
22599
|
+
|
22600
|
+
# Output only. List of conversation details.
|
22601
|
+
# Corresponds to the JSON property `conversationDetails`
|
22602
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail>]
|
22603
|
+
attr_accessor :conversation_details
|
22604
|
+
|
22605
|
+
# Output only. A list of aggregated(average) scores per metric section.
|
22606
|
+
# Corresponds to the JSON property `overallMetrics`
|
22607
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric>]
|
22608
|
+
attr_accessor :overall_metrics
|
22609
|
+
|
22610
|
+
# Output only. Overall token per section. This is an aggregated(sum) result of
|
22611
|
+
# input token of summary acorss all conversations that are selected for
|
22612
|
+
# summarization evaluation.
|
22613
|
+
# Corresponds to the JSON property `overallSectionTokens`
|
22614
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken>]
|
22615
|
+
attr_accessor :overall_section_tokens
|
22616
|
+
|
22617
|
+
# Output only. User bucket uri for merged evaluation score and aggregation score
|
22618
|
+
# csv.
|
22619
|
+
# Corresponds to the JSON property `summarizationEvaluationMergedResultsUri`
|
22620
|
+
# @return [String]
|
22621
|
+
attr_accessor :summarization_evaluation_merged_results_uri
|
22622
|
+
|
22623
|
+
# Output only. A list of evaluation results per conversation(&summary), metric
|
22624
|
+
# and section.
|
22625
|
+
# Corresponds to the JSON property `summarizationEvaluationResults`
|
22626
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult>]
|
22627
|
+
attr_accessor :summarization_evaluation_results
|
22628
|
+
|
22629
|
+
def initialize(**args)
|
22630
|
+
update!(**args)
|
22631
|
+
end
|
22632
|
+
|
22633
|
+
# Update properties of this object
|
22634
|
+
def update!(**args)
|
22635
|
+
@conversation_details = args[:conversation_details] if args.key?(:conversation_details)
|
22636
|
+
@overall_metrics = args[:overall_metrics] if args.key?(:overall_metrics)
|
22637
|
+
@overall_section_tokens = args[:overall_section_tokens] if args.key?(:overall_section_tokens)
|
22638
|
+
@summarization_evaluation_merged_results_uri = args[:summarization_evaluation_merged_results_uri] if args.key?(:summarization_evaluation_merged_results_uri)
|
22639
|
+
@summarization_evaluation_results = args[:summarization_evaluation_results] if args.key?(:summarization_evaluation_results)
|
22640
|
+
end
|
22641
|
+
end
|
22642
|
+
|
22643
|
+
# Decomposition details for accuracy.
|
22644
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition
|
22645
|
+
include Google::Apis::Core::Hashable
|
22646
|
+
|
22647
|
+
# Output only. The accuracy reasoning of the breakdown point.
|
22648
|
+
# Corresponds to the JSON property `accuracyReasoning`
|
22649
|
+
# @return [String]
|
22650
|
+
attr_accessor :accuracy_reasoning
|
22651
|
+
|
22652
|
+
# Output only. Whether the breakdown point is accurate or not.
|
22653
|
+
# Corresponds to the JSON property `isAccurate`
|
22654
|
+
# @return [Boolean]
|
22655
|
+
attr_accessor :is_accurate
|
22656
|
+
alias_method :is_accurate?, :is_accurate
|
22657
|
+
|
22658
|
+
# Output only. The breakdown point of the summary.
|
22659
|
+
# Corresponds to the JSON property `point`
|
22660
|
+
# @return [String]
|
22661
|
+
attr_accessor :point
|
22662
|
+
|
22663
|
+
def initialize(**args)
|
22664
|
+
update!(**args)
|
22665
|
+
end
|
22666
|
+
|
22667
|
+
# Update properties of this object
|
22668
|
+
def update!(**args)
|
22669
|
+
@accuracy_reasoning = args[:accuracy_reasoning] if args.key?(:accuracy_reasoning)
|
22670
|
+
@is_accurate = args[:is_accurate] if args.key?(:is_accurate)
|
22671
|
+
@point = args[:point] if args.key?(:point)
|
22672
|
+
end
|
22673
|
+
end
|
22674
|
+
|
22675
|
+
# Decomposition details for adherence.
|
22676
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition
|
22677
|
+
include Google::Apis::Core::Hashable
|
22678
|
+
|
22679
|
+
# Output only. The adherence reasoning of the breakdown point.
|
22680
|
+
# Corresponds to the JSON property `adherenceReasoning`
|
22681
|
+
# @return [String]
|
22682
|
+
attr_accessor :adherence_reasoning
|
22683
|
+
|
22684
|
+
# Output only. Whether the breakdown point is adherent or not.
|
22685
|
+
# Corresponds to the JSON property `isAdherent`
|
22686
|
+
# @return [Boolean]
|
22687
|
+
attr_accessor :is_adherent
|
22688
|
+
alias_method :is_adherent?, :is_adherent
|
22689
|
+
|
22690
|
+
# Output only. The breakdown point of the given instructions.
|
22691
|
+
# Corresponds to the JSON property `point`
|
22692
|
+
# @return [String]
|
22693
|
+
attr_accessor :point
|
22694
|
+
|
22695
|
+
def initialize(**args)
|
22696
|
+
update!(**args)
|
22697
|
+
end
|
22698
|
+
|
22699
|
+
# Update properties of this object
|
22700
|
+
def update!(**args)
|
22701
|
+
@adherence_reasoning = args[:adherence_reasoning] if args.key?(:adherence_reasoning)
|
22702
|
+
@is_adherent = args[:is_adherent] if args.key?(:is_adherent)
|
22703
|
+
@point = args[:point] if args.key?(:point)
|
22704
|
+
end
|
22705
|
+
end
|
22706
|
+
|
22707
|
+
# Rubric result of the adherence evaluation. A rubric is ued to determine if the
|
22708
|
+
# summary adheres to all aspects of the given instructions.
|
22709
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric
|
22710
|
+
include Google::Apis::Core::Hashable
|
22711
|
+
|
22712
|
+
# Output only. A boolean that indicates whether the rubric question is addressed
|
22713
|
+
# or not.
|
22714
|
+
# Corresponds to the JSON property `isAddressed`
|
22715
|
+
# @return [Boolean]
|
22716
|
+
attr_accessor :is_addressed
|
22717
|
+
alias_method :is_addressed?, :is_addressed
|
22718
|
+
|
22719
|
+
# Output only. The question generated from instruction that used to evaluate
|
22720
|
+
# summary.
|
22721
|
+
# Corresponds to the JSON property `question`
|
22722
|
+
# @return [String]
|
22723
|
+
attr_accessor :question
|
22724
|
+
|
22725
|
+
# Output only. The reasoning of the rubric question is addressed or not.
|
22726
|
+
# Corresponds to the JSON property `reasoning`
|
22727
|
+
# @return [String]
|
22728
|
+
attr_accessor :reasoning
|
22729
|
+
|
22730
|
+
def initialize(**args)
|
22731
|
+
update!(**args)
|
22732
|
+
end
|
22733
|
+
|
22734
|
+
# Update properties of this object
|
22735
|
+
def update!(**args)
|
22736
|
+
@is_addressed = args[:is_addressed] if args.key?(:is_addressed)
|
22737
|
+
@question = args[:question] if args.key?(:question)
|
22738
|
+
@reasoning = args[:reasoning] if args.key?(:reasoning)
|
22739
|
+
end
|
22740
|
+
end
|
22741
|
+
|
22742
|
+
# Rubric details of the completeness evaluation result.
|
22743
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric
|
22744
|
+
include Google::Apis::Core::Hashable
|
22745
|
+
|
22746
|
+
# Output only. A boolean that indicates whether the rubric question is addressed
|
22747
|
+
# or not.
|
22748
|
+
# Corresponds to the JSON property `isAddressed`
|
22749
|
+
# @return [Boolean]
|
22750
|
+
attr_accessor :is_addressed
|
22751
|
+
alias_method :is_addressed?, :is_addressed
|
22752
|
+
|
22753
|
+
# Output only. The question generated from instruction that used to evaluate
|
22754
|
+
# summary.
|
22755
|
+
# Corresponds to the JSON property `question`
|
22756
|
+
# @return [String]
|
22757
|
+
attr_accessor :question
|
22758
|
+
|
22759
|
+
def initialize(**args)
|
22760
|
+
update!(**args)
|
22761
|
+
end
|
22762
|
+
|
22763
|
+
# Update properties of this object
|
22764
|
+
def update!(**args)
|
22765
|
+
@is_addressed = args[:is_addressed] if args.key?(:is_addressed)
|
22766
|
+
@question = args[:question] if args.key?(:question)
|
22767
|
+
end
|
22768
|
+
end
|
22769
|
+
|
22770
|
+
# Aggregated evaluation result on conversation level. This contains evaluation
|
22771
|
+
# results of all the metrics and sections.
|
22772
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetail
|
22773
|
+
include Google::Apis::Core::Hashable
|
22774
|
+
|
22775
|
+
# Output only. Conversation transcript that used for summarization evaluation as
|
22776
|
+
# a reference.
|
22777
|
+
# Corresponds to the JSON property `messageEntries`
|
22778
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1MessageEntry>]
|
22779
|
+
attr_accessor :message_entries
|
22780
|
+
|
22781
|
+
# Output only. List of metric details.
|
22782
|
+
# Corresponds to the JSON property `metricDetails`
|
22783
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail>]
|
22784
|
+
attr_accessor :metric_details
|
22785
|
+
|
22786
|
+
# Output only. Conversation level token count per section. This is an aggregated(
|
22787
|
+
# sum) result of input token of summary acorss all metrics for a single
|
22788
|
+
# conversation.
|
22789
|
+
# Corresponds to the JSON property `sectionTokens`
|
22790
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken>]
|
22791
|
+
attr_accessor :section_tokens
|
22792
|
+
|
22793
|
+
# Output only. Summary sections that used for summarization evaluation as a
|
22794
|
+
# reference.
|
22795
|
+
# Corresponds to the JSON property `summarySections`
|
22796
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarySuggestionSummarySection>]
|
22797
|
+
attr_accessor :summary_sections
|
22798
|
+
|
22799
|
+
def initialize(**args)
|
22800
|
+
update!(**args)
|
22801
|
+
end
|
22802
|
+
|
22803
|
+
# Update properties of this object
|
22804
|
+
def update!(**args)
|
22805
|
+
@message_entries = args[:message_entries] if args.key?(:message_entries)
|
22806
|
+
@metric_details = args[:metric_details] if args.key?(:metric_details)
|
22807
|
+
@section_tokens = args[:section_tokens] if args.key?(:section_tokens)
|
22808
|
+
@summary_sections = args[:summary_sections] if args.key?(:summary_sections)
|
22809
|
+
end
|
22810
|
+
end
|
22811
|
+
|
22812
|
+
# Aggregated result on metric level. This contains the evaluation results of all
|
22813
|
+
# the sections.
|
22814
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetail
|
22815
|
+
include Google::Apis::Core::Hashable
|
22816
|
+
|
22817
|
+
# Output only. Metrics name. e.g. accuracy, adherence, completeness.
|
22818
|
+
# Corresponds to the JSON property `metric`
|
22819
|
+
# @return [String]
|
22820
|
+
attr_accessor :metric
|
22821
|
+
|
22822
|
+
# Output only. Aggregated(average) score on this metric across all sections.
|
22823
|
+
# Corresponds to the JSON property `score`
|
22824
|
+
# @return [Float]
|
22825
|
+
attr_accessor :score
|
22826
|
+
|
22827
|
+
# Output only. List of section details.
|
22828
|
+
# Corresponds to the JSON property `sectionDetails`
|
22829
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail>]
|
22830
|
+
attr_accessor :section_details
|
22831
|
+
|
22832
|
+
def initialize(**args)
|
22833
|
+
update!(**args)
|
22834
|
+
end
|
22835
|
+
|
22836
|
+
# Update properties of this object
|
22837
|
+
def update!(**args)
|
22838
|
+
@metric = args[:metric] if args.key?(:metric)
|
22839
|
+
@score = args[:score] if args.key?(:score)
|
22840
|
+
@section_details = args[:section_details] if args.key?(:section_details)
|
22841
|
+
end
|
22842
|
+
end
|
22843
|
+
|
22844
|
+
# Section level result.
|
22845
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsConversationDetailMetricDetailSectionDetail
|
22846
|
+
include Google::Apis::Core::Hashable
|
22847
|
+
|
22848
|
+
# Output only. List of evaluation result. The list only contains one kind of the
|
22849
|
+
# evaluation result.
|
22850
|
+
# Corresponds to the JSON property `evaluationResults`
|
22851
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>]
|
22852
|
+
attr_accessor :evaluation_results
|
22853
|
+
|
22854
|
+
# Output only. Aggregated(average) score on this section across all evaluation
|
22855
|
+
# results. Either decompositions or rubrics.
|
22856
|
+
# Corresponds to the JSON property `score`
|
22857
|
+
# @return [Float]
|
22858
|
+
attr_accessor :score
|
22859
|
+
|
22860
|
+
# Output only. The name of the summary instruction.
|
22861
|
+
# Corresponds to the JSON property `section`
|
22862
|
+
# @return [String]
|
22863
|
+
attr_accessor :section
|
22864
|
+
|
22865
|
+
# Output only. Summary for this section
|
22866
|
+
# Corresponds to the JSON property `sectionSummary`
|
22867
|
+
# @return [String]
|
22868
|
+
attr_accessor :section_summary
|
22869
|
+
|
22870
|
+
def initialize(**args)
|
22871
|
+
update!(**args)
|
22872
|
+
end
|
22873
|
+
|
22874
|
+
# Update properties of this object
|
22875
|
+
def update!(**args)
|
22876
|
+
@evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results)
|
22877
|
+
@score = args[:score] if args.key?(:score)
|
22878
|
+
@section = args[:section] if args.key?(:section)
|
22879
|
+
@section_summary = args[:section_summary] if args.key?(:section_summary)
|
22880
|
+
end
|
22881
|
+
end
|
22882
|
+
|
22883
|
+
# Decomposition details
|
22884
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition
|
22885
|
+
include Google::Apis::Core::Hashable
|
22886
|
+
|
22887
|
+
# Decomposition details for accuracy.
|
22888
|
+
# Corresponds to the JSON property `accuracyDecomposition`
|
22889
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition]
|
22890
|
+
attr_accessor :accuracy_decomposition
|
22891
|
+
|
22892
|
+
# Decomposition details for adherence.
|
22893
|
+
# Corresponds to the JSON property `adherenceDecomposition`
|
22894
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition]
|
22895
|
+
attr_accessor :adherence_decomposition
|
22896
|
+
|
22897
|
+
def initialize(**args)
|
22898
|
+
update!(**args)
|
22899
|
+
end
|
22900
|
+
|
22901
|
+
# Update properties of this object
|
22902
|
+
def update!(**args)
|
22903
|
+
@accuracy_decomposition = args[:accuracy_decomposition] if args.key?(:accuracy_decomposition)
|
22904
|
+
@adherence_decomposition = args[:adherence_decomposition] if args.key?(:adherence_decomposition)
|
22905
|
+
end
|
22906
|
+
end
|
22907
|
+
|
22908
|
+
# Evaluation result that contains one of accuracy, adherence or completeness
|
22909
|
+
# evaluation result.
|
22910
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult
|
22911
|
+
include Google::Apis::Core::Hashable
|
22912
|
+
|
22913
|
+
# Decomposition details for accuracy.
|
22914
|
+
# Corresponds to the JSON property `accuracyDecomposition`
|
22915
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAccuracyDecomposition]
|
22916
|
+
attr_accessor :accuracy_decomposition
|
22917
|
+
|
22918
|
+
# Rubric result of the adherence evaluation. A rubric is ued to determine if the
|
22919
|
+
# summary adheres to all aspects of the given instructions.
|
22920
|
+
# Corresponds to the JSON property `adherenceRubric`
|
22921
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceRubric]
|
22922
|
+
attr_accessor :adherence_rubric
|
22923
|
+
|
22924
|
+
# Rubric details of the completeness evaluation result.
|
22925
|
+
# Corresponds to the JSON property `completenessRubric`
|
22926
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsCompletenessRubric]
|
22927
|
+
attr_accessor :completeness_rubric
|
22928
|
+
|
22929
|
+
def initialize(**args)
|
22930
|
+
update!(**args)
|
22931
|
+
end
|
22932
|
+
|
22933
|
+
# Update properties of this object
|
22934
|
+
def update!(**args)
|
22935
|
+
@accuracy_decomposition = args[:accuracy_decomposition] if args.key?(:accuracy_decomposition)
|
22936
|
+
@adherence_rubric = args[:adherence_rubric] if args.key?(:adherence_rubric)
|
22937
|
+
@completeness_rubric = args[:completeness_rubric] if args.key?(:completeness_rubric)
|
22938
|
+
end
|
22939
|
+
end
|
22940
|
+
|
22941
|
+
# Overall performance per metric. This is the aggregated score for each metric
|
22942
|
+
# across all conversations that are selected for summarization evaluation.
|
22943
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsOverallScoresByMetric
|
22944
|
+
include Google::Apis::Core::Hashable
|
22945
|
+
|
22946
|
+
# Output only. Metric name. e.g. accuracy, adherence, completeness.
|
22947
|
+
# Corresponds to the JSON property `metric`
|
22948
|
+
# @return [String]
|
22949
|
+
attr_accessor :metric
|
22950
|
+
|
22951
|
+
def initialize(**args)
|
22952
|
+
update!(**args)
|
22953
|
+
end
|
22954
|
+
|
22955
|
+
# Update properties of this object
|
22956
|
+
def update!(**args)
|
22957
|
+
@metric = args[:metric] if args.key?(:metric)
|
22958
|
+
end
|
22959
|
+
end
|
22960
|
+
|
22961
|
+
# A pair of section name and input token count of the input summary section.
|
22962
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSectionToken
|
22963
|
+
include Google::Apis::Core::Hashable
|
22964
|
+
|
22965
|
+
# Output only. The name of the summary instruction.
|
22966
|
+
# Corresponds to the JSON property `section`
|
22967
|
+
# @return [String]
|
22968
|
+
attr_accessor :section
|
22969
|
+
|
22970
|
+
# Output only. Token count.
|
22971
|
+
# Corresponds to the JSON property `tokenCount`
|
22972
|
+
# @return [Fixnum]
|
22973
|
+
attr_accessor :token_count
|
22974
|
+
|
22975
|
+
def initialize(**args)
|
22976
|
+
update!(**args)
|
22977
|
+
end
|
22978
|
+
|
22979
|
+
# Update properties of this object
|
22980
|
+
def update!(**args)
|
22981
|
+
@section = args[:section] if args.key?(:section)
|
22982
|
+
@token_count = args[:token_count] if args.key?(:token_count)
|
22983
|
+
end
|
22984
|
+
end
|
22985
|
+
|
22986
|
+
# Evaluation result per conversation(&summary), metric and section.
|
22987
|
+
class GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsSummarizationEvaluationResult
|
22988
|
+
include Google::Apis::Core::Hashable
|
22989
|
+
|
22990
|
+
# Output only. List of decompostion details
|
22991
|
+
# Corresponds to the JSON property `decompositions`
|
22992
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsDecomposition>]
|
22993
|
+
attr_accessor :decompositions
|
22994
|
+
|
22995
|
+
# Output only. List of evaluation results.
|
22996
|
+
# Corresponds to the JSON property `evaluationResults`
|
22997
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsEvaluationResult>]
|
22998
|
+
attr_accessor :evaluation_results
|
22999
|
+
|
23000
|
+
# Output only. metric name, e.g. accuracy, completeness, adherence, etc.
|
23001
|
+
# Corresponds to the JSON property `metric`
|
23002
|
+
# @return [String]
|
23003
|
+
attr_accessor :metric
|
23004
|
+
|
23005
|
+
# Output only. score calculated from decompositions
|
23006
|
+
# Corresponds to the JSON property `score`
|
23007
|
+
# @return [Float]
|
23008
|
+
attr_accessor :score
|
23009
|
+
|
23010
|
+
# Output only. section/task name, e.g. action, situation, etc
|
23011
|
+
# Corresponds to the JSON property `section`
|
23012
|
+
# @return [String]
|
23013
|
+
attr_accessor :section
|
23014
|
+
|
23015
|
+
# Output only. Summary of this section
|
23016
|
+
# Corresponds to the JSON property `sectionSummary`
|
23017
|
+
# @return [String]
|
23018
|
+
attr_accessor :section_summary
|
23019
|
+
|
23020
|
+
# Output only. conversation session id
|
23021
|
+
# Corresponds to the JSON property `sessionId`
|
23022
|
+
# @return [String]
|
23023
|
+
attr_accessor :session_id
|
23024
|
+
|
23025
|
+
def initialize(**args)
|
23026
|
+
update!(**args)
|
23027
|
+
end
|
23028
|
+
|
23029
|
+
# Update properties of this object
|
23030
|
+
def update!(**args)
|
23031
|
+
@decompositions = args[:decompositions] if args.key?(:decompositions)
|
23032
|
+
@evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results)
|
23033
|
+
@metric = args[:metric] if args.key?(:metric)
|
23034
|
+
@score = args[:score] if args.key?(:score)
|
23035
|
+
@section = args[:section] if args.key?(:section)
|
23036
|
+
@section_summary = args[:section_summary] if args.key?(:section_summary)
|
23037
|
+
@session_id = args[:session_id] if args.key?(:session_id)
|
23038
|
+
end
|
23039
|
+
end
|
23040
|
+
|
21493
23041
|
# Represents the section of summarization.
|
21494
23042
|
class GoogleCloudDialogflowV2beta1SummarizationSection
|
21495
23043
|
include Google::Apis::Core::Hashable
|
@@ -21750,6 +23298,11 @@ module Google
|
|
21750
23298
|
# @return [String]
|
21751
23299
|
attr_accessor :action
|
21752
23300
|
|
23301
|
+
# Optional. The answer record associated with this tool call.
|
23302
|
+
# Corresponds to the JSON property `answerRecord`
|
23303
|
+
# @return [String]
|
23304
|
+
attr_accessor :answer_record
|
23305
|
+
|
21753
23306
|
# Output only. Create time of the tool call.
|
21754
23307
|
# Corresponds to the JSON property `createTime`
|
21755
23308
|
# @return [String]
|
@@ -21760,12 +23313,27 @@ module Google
|
|
21760
23313
|
# @return [Hash<String,Object>]
|
21761
23314
|
attr_accessor :input_parameters
|
21762
23315
|
|
23316
|
+
# Output only. State of the tool call
|
23317
|
+
# Corresponds to the JSON property `state`
|
23318
|
+
# @return [String]
|
23319
|
+
attr_accessor :state
|
23320
|
+
|
21763
23321
|
# Optional. The tool associated with this call. Format: `projects//locations//
|
21764
23322
|
# tools/`.
|
21765
23323
|
# Corresponds to the JSON property `tool`
|
21766
23324
|
# @return [String]
|
21767
23325
|
attr_accessor :tool
|
21768
23326
|
|
23327
|
+
# Optional. A human readable description of the tool.
|
23328
|
+
# Corresponds to the JSON property `toolDisplayDetails`
|
23329
|
+
# @return [String]
|
23330
|
+
attr_accessor :tool_display_details
|
23331
|
+
|
23332
|
+
# Optional. A human readable short name of the tool, to be shown on the UI.
|
23333
|
+
# Corresponds to the JSON property `toolDisplayName`
|
23334
|
+
# @return [String]
|
23335
|
+
attr_accessor :tool_display_name
|
23336
|
+
|
21769
23337
|
def initialize(**args)
|
21770
23338
|
update!(**args)
|
21771
23339
|
end
|
@@ -21773,9 +23341,13 @@ module Google
|
|
21773
23341
|
# Update properties of this object
|
21774
23342
|
def update!(**args)
|
21775
23343
|
@action = args[:action] if args.key?(:action)
|
23344
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
21776
23345
|
@create_time = args[:create_time] if args.key?(:create_time)
|
21777
23346
|
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
23347
|
+
@state = args[:state] if args.key?(:state)
|
21778
23348
|
@tool = args[:tool] if args.key?(:tool)
|
23349
|
+
@tool_display_details = args[:tool_display_details] if args.key?(:tool_display_details)
|
23350
|
+
@tool_display_name = args[:tool_display_name] if args.key?(:tool_display_name)
|
21779
23351
|
end
|
21780
23352
|
end
|
21781
23353
|
|
@@ -21788,6 +23360,11 @@ module Google
|
|
21788
23360
|
# @return [String]
|
21789
23361
|
attr_accessor :action
|
21790
23362
|
|
23363
|
+
# Optional. The answer record associated with this tool call result.
|
23364
|
+
# Corresponds to the JSON property `answerRecord`
|
23365
|
+
# @return [String]
|
23366
|
+
attr_accessor :answer_record
|
23367
|
+
|
21791
23368
|
# Only populated if the response content is utf-8 encoded.
|
21792
23369
|
# Corresponds to the JSON property `content`
|
21793
23370
|
# @return [String]
|
@@ -21823,6 +23400,7 @@ module Google
|
|
21823
23400
|
# Update properties of this object
|
21824
23401
|
def update!(**args)
|
21825
23402
|
@action = args[:action] if args.key?(:action)
|
23403
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
21826
23404
|
@content = args[:content] if args.key?(:content)
|
21827
23405
|
@create_time = args[:create_time] if args.key?(:create_time)
|
21828
23406
|
@error = args[:error] if args.key?(:error)
|
@@ -22368,6 +23946,13 @@ module Google
|
|
22368
23946
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation>]
|
22369
23947
|
attr_accessor :operations
|
22370
23948
|
|
23949
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
23950
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
23951
|
+
# when attempting to list all resources across all supported locations.
|
23952
|
+
# Corresponds to the JSON property `unreachable`
|
23953
|
+
# @return [Array<String>]
|
23954
|
+
attr_accessor :unreachable
|
23955
|
+
|
22371
23956
|
def initialize(**args)
|
22372
23957
|
update!(**args)
|
22373
23958
|
end
|
@@ -22376,6 +23961,7 @@ module Google
|
|
22376
23961
|
def update!(**args)
|
22377
23962
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
22378
23963
|
@operations = args[:operations] if args.key?(:operations)
|
23964
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
22379
23965
|
end
|
22380
23966
|
end
|
22381
23967
|
|