google-apis-dialogflow_v3 0.86.0 → 0.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14ff50cae92d13960324e9eb8afc31aa01ca52b08e47cd7ad08a03ffeb68a6e2
|
|
4
|
+
data.tar.gz: 43277f9e8b27853562a14a4d87bfc2e11104153a75d7e9c8962f760ea31732f4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2ed87d39249327225c42671e0266bbdd70e68a1b283c9ed26af10ee0fcf042c87c68995c5c2bc573e6df1a06b98fd6fe0ee859dfbf2d3b27f4360c653f906264
|
|
7
|
+
data.tar.gz: 1d2786707589977f4c1996e79d50aff8c5b9e0d79e93de707e173e62ca5b75cf8a5bac4e578c5478f85835d23a045ab1f392cd725f7796472f7e5753a9f9bb20
|
data/CHANGELOG.md
CHANGED
|
@@ -119,13 +119,13 @@ module Google
|
|
|
119
119
|
class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
|
|
120
120
|
include Google::Apis::Core::Hashable
|
|
121
121
|
|
|
122
|
-
#
|
|
122
|
+
# Enables DF Interaction logging.
|
|
123
123
|
# Corresponds to the JSON property `enableInteractionLogging`
|
|
124
124
|
# @return [Boolean]
|
|
125
125
|
attr_accessor :enable_interaction_logging
|
|
126
126
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
|
127
127
|
|
|
128
|
-
#
|
|
128
|
+
# Enables StackDriver logging.
|
|
129
129
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
|
130
130
|
# @return [Boolean]
|
|
131
131
|
attr_accessor :enable_stackdriver_logging
|
|
@@ -8914,13 +8914,13 @@ module Google
|
|
|
8914
8914
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
|
8915
8915
|
include Google::Apis::Core::Hashable
|
|
8916
8916
|
|
|
8917
|
-
#
|
|
8917
|
+
# Enables DF Interaction logging.
|
|
8918
8918
|
# Corresponds to the JSON property `enableInteractionLogging`
|
|
8919
8919
|
# @return [Boolean]
|
|
8920
8920
|
attr_accessor :enable_interaction_logging
|
|
8921
8921
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
|
8922
8922
|
|
|
8923
|
-
#
|
|
8923
|
+
# Enables StackDriver logging.
|
|
8924
8924
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
|
8925
8925
|
# @return [Boolean]
|
|
8926
8926
|
attr_accessor :enable_stackdriver_logging
|
|
@@ -11187,6 +11187,11 @@ module Google
|
|
|
11187
11187
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput]
|
|
11188
11188
|
attr_accessor :text
|
|
11189
11189
|
|
|
11190
|
+
# The result of calling a tool's action that has been executed by the client.
|
|
11191
|
+
# Corresponds to the JSON property `toolCallResult`
|
|
11192
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult]
|
|
11193
|
+
attr_accessor :tool_call_result
|
|
11194
|
+
|
|
11190
11195
|
def initialize(**args)
|
|
11191
11196
|
update!(**args)
|
|
11192
11197
|
end
|
|
@@ -11199,6 +11204,7 @@ module Google
|
|
|
11199
11204
|
@intent = args[:intent] if args.key?(:intent)
|
|
11200
11205
|
@language_code = args[:language_code] if args.key?(:language_code)
|
|
11201
11206
|
@text = args[:text] if args.key?(:text)
|
|
11207
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
|
11202
11208
|
end
|
|
11203
11209
|
end
|
|
11204
11210
|
|
|
@@ -11315,6 +11321,11 @@ module Google
|
|
|
11315
11321
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
|
11316
11322
|
attr_accessor :text
|
|
11317
11323
|
|
|
11324
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
|
11325
|
+
# Corresponds to the JSON property `toolCall`
|
|
11326
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall]
|
|
11327
|
+
attr_accessor :tool_call
|
|
11328
|
+
|
|
11318
11329
|
def initialize(**args)
|
|
11319
11330
|
update!(**args)
|
|
11320
11331
|
end
|
|
@@ -11332,6 +11343,7 @@ module Google
|
|
|
11332
11343
|
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
|
11333
11344
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
|
11334
11345
|
@text = args[:text] if args.key?(:text)
|
|
11346
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
|
11335
11347
|
end
|
|
11336
11348
|
end
|
|
11337
11349
|
|
|
@@ -11954,6 +11966,95 @@ module Google
|
|
|
11954
11966
|
end
|
|
11955
11967
|
end
|
|
11956
11968
|
|
|
11969
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
|
11970
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
|
11971
|
+
include Google::Apis::Core::Hashable
|
|
11972
|
+
|
|
11973
|
+
# Required. The name of the tool's action associated with this call.
|
|
11974
|
+
# Corresponds to the JSON property `action`
|
|
11975
|
+
# @return [String]
|
|
11976
|
+
attr_accessor :action
|
|
11977
|
+
|
|
11978
|
+
# Optional. The action's input parameters.
|
|
11979
|
+
# Corresponds to the JSON property `inputParameters`
|
|
11980
|
+
# @return [Hash<String,Object>]
|
|
11981
|
+
attr_accessor :input_parameters
|
|
11982
|
+
|
|
11983
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
|
11984
|
+
# agents//tools/`.
|
|
11985
|
+
# Corresponds to the JSON property `tool`
|
|
11986
|
+
# @return [String]
|
|
11987
|
+
attr_accessor :tool
|
|
11988
|
+
|
|
11989
|
+
def initialize(**args)
|
|
11990
|
+
update!(**args)
|
|
11991
|
+
end
|
|
11992
|
+
|
|
11993
|
+
# Update properties of this object
|
|
11994
|
+
def update!(**args)
|
|
11995
|
+
@action = args[:action] if args.key?(:action)
|
|
11996
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
|
11997
|
+
@tool = args[:tool] if args.key?(:tool)
|
|
11998
|
+
end
|
|
11999
|
+
end
|
|
12000
|
+
|
|
12001
|
+
# The result of calling a tool's action that has been executed by the client.
|
|
12002
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
|
12003
|
+
include Google::Apis::Core::Hashable
|
|
12004
|
+
|
|
12005
|
+
# Required. The name of the tool's action associated with this call.
|
|
12006
|
+
# Corresponds to the JSON property `action`
|
|
12007
|
+
# @return [String]
|
|
12008
|
+
attr_accessor :action
|
|
12009
|
+
|
|
12010
|
+
# An error produced by the tool call.
|
|
12011
|
+
# Corresponds to the JSON property `error`
|
|
12012
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
|
|
12013
|
+
attr_accessor :error
|
|
12014
|
+
|
|
12015
|
+
# The tool call's output parameters.
|
|
12016
|
+
# Corresponds to the JSON property `outputParameters`
|
|
12017
|
+
# @return [Hash<String,Object>]
|
|
12018
|
+
attr_accessor :output_parameters
|
|
12019
|
+
|
|
12020
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
|
12021
|
+
# agents//tools/`.
|
|
12022
|
+
# Corresponds to the JSON property `tool`
|
|
12023
|
+
# @return [String]
|
|
12024
|
+
attr_accessor :tool
|
|
12025
|
+
|
|
12026
|
+
def initialize(**args)
|
|
12027
|
+
update!(**args)
|
|
12028
|
+
end
|
|
12029
|
+
|
|
12030
|
+
# Update properties of this object
|
|
12031
|
+
def update!(**args)
|
|
12032
|
+
@action = args[:action] if args.key?(:action)
|
|
12033
|
+
@error = args[:error] if args.key?(:error)
|
|
12034
|
+
@output_parameters = args[:output_parameters] if args.key?(:output_parameters)
|
|
12035
|
+
@tool = args[:tool] if args.key?(:tool)
|
|
12036
|
+
end
|
|
12037
|
+
end
|
|
12038
|
+
|
|
12039
|
+
# An error produced by the tool call.
|
|
12040
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
|
12041
|
+
include Google::Apis::Core::Hashable
|
|
12042
|
+
|
|
12043
|
+
# Optional. The error message of the function.
|
|
12044
|
+
# Corresponds to the JSON property `message`
|
|
12045
|
+
# @return [String]
|
|
12046
|
+
attr_accessor :message
|
|
12047
|
+
|
|
12048
|
+
def initialize(**args)
|
|
12049
|
+
update!(**args)
|
|
12050
|
+
end
|
|
12051
|
+
|
|
12052
|
+
# Update properties of this object
|
|
12053
|
+
def update!(**args)
|
|
12054
|
+
@message = args[:message] if args.key?(:message)
|
|
12055
|
+
end
|
|
12056
|
+
end
|
|
12057
|
+
|
|
11957
12058
|
# A transition route specifies a intent that can be matched and/or a data
|
|
11958
12059
|
# condition that can be evaluated during a session. When a specified transition
|
|
11959
12060
|
# is matched, the following actions are taken in order: * If there is a `
|
|
@@ -14820,6 +14921,159 @@ module Google
|
|
|
14820
14921
|
end
|
|
14821
14922
|
end
|
|
14822
14923
|
|
|
14924
|
+
# Represents a Knowledge Assist answer.
|
|
14925
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
|
14926
|
+
include Google::Apis::Core::Hashable
|
|
14927
|
+
|
|
14928
|
+
# The name of the answer record. Format: `projects//locations//answer Records/`.
|
|
14929
|
+
# Corresponds to the JSON property `answerRecord`
|
|
14930
|
+
# @return [String]
|
|
14931
|
+
attr_accessor :answer_record
|
|
14932
|
+
|
|
14933
|
+
# Represents a suggested query.
|
|
14934
|
+
# Corresponds to the JSON property `suggestedQuery`
|
|
14935
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery]
|
|
14936
|
+
attr_accessor :suggested_query
|
|
14937
|
+
|
|
14938
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
|
14939
|
+
# answers.
|
|
14940
|
+
# Corresponds to the JSON property `suggestedQueryAnswer`
|
|
14941
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer]
|
|
14942
|
+
attr_accessor :suggested_query_answer
|
|
14943
|
+
|
|
14944
|
+
def initialize(**args)
|
|
14945
|
+
update!(**args)
|
|
14946
|
+
end
|
|
14947
|
+
|
|
14948
|
+
# Update properties of this object
|
|
14949
|
+
def update!(**args)
|
|
14950
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
14951
|
+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
|
|
14952
|
+
@suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
|
|
14953
|
+
end
|
|
14954
|
+
end
|
|
14955
|
+
|
|
14956
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
|
14957
|
+
# answers.
|
|
14958
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
|
14959
|
+
include Google::Apis::Core::Hashable
|
|
14960
|
+
|
|
14961
|
+
# The piece of text from the `source` that answers this suggested query.
|
|
14962
|
+
# Corresponds to the JSON property `answerText`
|
|
14963
|
+
# @return [String]
|
|
14964
|
+
attr_accessor :answer_text
|
|
14965
|
+
|
|
14966
|
+
# Details about source of FAQ answer.
|
|
14967
|
+
# Corresponds to the JSON property `faqSource`
|
|
14968
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
|
|
14969
|
+
attr_accessor :faq_source
|
|
14970
|
+
|
|
14971
|
+
# Details about source of Generative answer.
|
|
14972
|
+
# Corresponds to the JSON property `generativeSource`
|
|
14973
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
|
|
14974
|
+
attr_accessor :generative_source
|
|
14975
|
+
|
|
14976
|
+
def initialize(**args)
|
|
14977
|
+
update!(**args)
|
|
14978
|
+
end
|
|
14979
|
+
|
|
14980
|
+
# Update properties of this object
|
|
14981
|
+
def update!(**args)
|
|
14982
|
+
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
|
14983
|
+
@faq_source = args[:faq_source] if args.key?(:faq_source)
|
|
14984
|
+
@generative_source = args[:generative_source] if args.key?(:generative_source)
|
|
14985
|
+
end
|
|
14986
|
+
end
|
|
14987
|
+
|
|
14988
|
+
# Details about source of FAQ answer.
|
|
14989
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
|
14990
|
+
include Google::Apis::Core::Hashable
|
|
14991
|
+
|
|
14992
|
+
# The corresponding FAQ question.
|
|
14993
|
+
# Corresponds to the JSON property `question`
|
|
14994
|
+
# @return [String]
|
|
14995
|
+
attr_accessor :question
|
|
14996
|
+
|
|
14997
|
+
def initialize(**args)
|
|
14998
|
+
update!(**args)
|
|
14999
|
+
end
|
|
15000
|
+
|
|
15001
|
+
# Update properties of this object
|
|
15002
|
+
def update!(**args)
|
|
15003
|
+
@question = args[:question] if args.key?(:question)
|
|
15004
|
+
end
|
|
15005
|
+
end
|
|
15006
|
+
|
|
15007
|
+
# Details about source of Generative answer.
|
|
15008
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
|
15009
|
+
include Google::Apis::Core::Hashable
|
|
15010
|
+
|
|
15011
|
+
# All snippets used for this Generative Prediction, with their source URI and
|
|
15012
|
+
# data.
|
|
15013
|
+
# Corresponds to the JSON property `snippets`
|
|
15014
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
|
|
15015
|
+
attr_accessor :snippets
|
|
15016
|
+
|
|
15017
|
+
def initialize(**args)
|
|
15018
|
+
update!(**args)
|
|
15019
|
+
end
|
|
15020
|
+
|
|
15021
|
+
# Update properties of this object
|
|
15022
|
+
def update!(**args)
|
|
15023
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
|
15024
|
+
end
|
|
15025
|
+
end
|
|
15026
|
+
|
|
15027
|
+
# Snippet Source for a Generative Prediction.
|
|
15028
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
|
15029
|
+
include Google::Apis::Core::Hashable
|
|
15030
|
+
|
|
15031
|
+
# Text taken from that URI.
|
|
15032
|
+
# Corresponds to the JSON property `text`
|
|
15033
|
+
# @return [String]
|
|
15034
|
+
attr_accessor :text
|
|
15035
|
+
|
|
15036
|
+
# Title of the document.
|
|
15037
|
+
# Corresponds to the JSON property `title`
|
|
15038
|
+
# @return [String]
|
|
15039
|
+
attr_accessor :title
|
|
15040
|
+
|
|
15041
|
+
# URI the data is sourced from.
|
|
15042
|
+
# Corresponds to the JSON property `uri`
|
|
15043
|
+
# @return [String]
|
|
15044
|
+
attr_accessor :uri
|
|
15045
|
+
|
|
15046
|
+
def initialize(**args)
|
|
15047
|
+
update!(**args)
|
|
15048
|
+
end
|
|
15049
|
+
|
|
15050
|
+
# Update properties of this object
|
|
15051
|
+
def update!(**args)
|
|
15052
|
+
@text = args[:text] if args.key?(:text)
|
|
15053
|
+
@title = args[:title] if args.key?(:title)
|
|
15054
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
15055
|
+
end
|
|
15056
|
+
end
|
|
15057
|
+
|
|
15058
|
+
# Represents a suggested query.
|
|
15059
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
|
15060
|
+
include Google::Apis::Core::Hashable
|
|
15061
|
+
|
|
15062
|
+
# Suggested query text.
|
|
15063
|
+
# Corresponds to the JSON property `queryText`
|
|
15064
|
+
# @return [String]
|
|
15065
|
+
attr_accessor :query_text
|
|
15066
|
+
|
|
15067
|
+
def initialize(**args)
|
|
15068
|
+
update!(**args)
|
|
15069
|
+
end
|
|
15070
|
+
|
|
15071
|
+
# Update properties of this object
|
|
15072
|
+
def update!(**args)
|
|
15073
|
+
@query_text = args[:query_text] if args.key?(:query_text)
|
|
15074
|
+
end
|
|
15075
|
+
end
|
|
15076
|
+
|
|
14823
15077
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
|
14824
15078
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
|
14825
15079
|
include Google::Apis::Core::Hashable
|
|
@@ -15420,6 +15674,41 @@ module Google
|
|
|
15420
15674
|
end
|
|
15421
15675
|
end
|
|
15422
15676
|
|
|
15677
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
|
15678
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
|
15679
|
+
include Google::Apis::Core::Hashable
|
|
15680
|
+
|
|
15681
|
+
# Number of messages prior to and including latest_message to compile the
|
|
15682
|
+
# suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
|
|
15683
|
+
# context_size field in the request if there are fewer messages in the
|
|
15684
|
+
# conversation.
|
|
15685
|
+
# Corresponds to the JSON property `contextSize`
|
|
15686
|
+
# @return [Fixnum]
|
|
15687
|
+
attr_accessor :context_size
|
|
15688
|
+
|
|
15689
|
+
# Represents a Knowledge Assist answer.
|
|
15690
|
+
# Corresponds to the JSON property `knowledgeAssistAnswer`
|
|
15691
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer]
|
|
15692
|
+
attr_accessor :knowledge_assist_answer
|
|
15693
|
+
|
|
15694
|
+
# The name of the latest conversation message used to compile suggestion for.
|
|
15695
|
+
# Format: `projects//locations//conversations//messages/`.
|
|
15696
|
+
# Corresponds to the JSON property `latestMessage`
|
|
15697
|
+
# @return [String]
|
|
15698
|
+
attr_accessor :latest_message
|
|
15699
|
+
|
|
15700
|
+
def initialize(**args)
|
|
15701
|
+
update!(**args)
|
|
15702
|
+
end
|
|
15703
|
+
|
|
15704
|
+
# Update properties of this object
|
|
15705
|
+
def update!(**args)
|
|
15706
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
|
15707
|
+
@knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
|
|
15708
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
|
15709
|
+
end
|
|
15710
|
+
end
|
|
15711
|
+
|
|
15423
15712
|
# The response message for Participants.SuggestSmartReplies.
|
|
15424
15713
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
|
15425
15714
|
include Google::Apis::Core::Hashable
|
|
@@ -15482,6 +15771,11 @@ module Google
|
|
|
15482
15771
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
|
|
15483
15772
|
attr_accessor :suggest_faq_answers_response
|
|
15484
15773
|
|
|
15774
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
|
15775
|
+
# Corresponds to the JSON property `suggestKnowledgeAssistResponse`
|
|
15776
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse]
|
|
15777
|
+
attr_accessor :suggest_knowledge_assist_response
|
|
15778
|
+
|
|
15485
15779
|
# The response message for Participants.SuggestSmartReplies.
|
|
15486
15780
|
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
|
15487
15781
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
|
|
@@ -15496,6 +15790,7 @@ module Google
|
|
|
15496
15790
|
@error = args[:error] if args.key?(:error)
|
|
15497
15791
|
@suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
|
|
15498
15792
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
|
15793
|
+
@suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
|
|
15499
15794
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
|
15500
15795
|
end
|
|
15501
15796
|
end
|
|
@@ -18100,6 +18395,159 @@ module Google
|
|
|
18100
18395
|
end
|
|
18101
18396
|
end
|
|
18102
18397
|
|
|
18398
|
+
# Represents a Knowledge Assist answer.
|
|
18399
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
|
18400
|
+
include Google::Apis::Core::Hashable
|
|
18401
|
+
|
|
18402
|
+
# The name of the answer record. Format: `projects//locations//answer Records/`.
|
|
18403
|
+
# Corresponds to the JSON property `answerRecord`
|
|
18404
|
+
# @return [String]
|
|
18405
|
+
attr_accessor :answer_record
|
|
18406
|
+
|
|
18407
|
+
# Represents a suggested query.
|
|
18408
|
+
# Corresponds to the JSON property `suggestedQuery`
|
|
18409
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery]
|
|
18410
|
+
attr_accessor :suggested_query
|
|
18411
|
+
|
|
18412
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
|
18413
|
+
# answers.
|
|
18414
|
+
# Corresponds to the JSON property `suggestedQueryAnswer`
|
|
18415
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer]
|
|
18416
|
+
attr_accessor :suggested_query_answer
|
|
18417
|
+
|
|
18418
|
+
def initialize(**args)
|
|
18419
|
+
update!(**args)
|
|
18420
|
+
end
|
|
18421
|
+
|
|
18422
|
+
# Update properties of this object
|
|
18423
|
+
def update!(**args)
|
|
18424
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
|
18425
|
+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
|
|
18426
|
+
@suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
|
|
18427
|
+
end
|
|
18428
|
+
end
|
|
18429
|
+
|
|
18430
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
|
18431
|
+
# answers.
|
|
18432
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
|
18433
|
+
include Google::Apis::Core::Hashable
|
|
18434
|
+
|
|
18435
|
+
# The piece of text from the `source` that answers this suggested query.
|
|
18436
|
+
# Corresponds to the JSON property `answerText`
|
|
18437
|
+
# @return [String]
|
|
18438
|
+
attr_accessor :answer_text
|
|
18439
|
+
|
|
18440
|
+
# Details about source of FAQ answer.
|
|
18441
|
+
# Corresponds to the JSON property `faqSource`
|
|
18442
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
|
|
18443
|
+
attr_accessor :faq_source
|
|
18444
|
+
|
|
18445
|
+
# Details about source of Generative answer.
|
|
18446
|
+
# Corresponds to the JSON property `generativeSource`
|
|
18447
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
|
|
18448
|
+
attr_accessor :generative_source
|
|
18449
|
+
|
|
18450
|
+
def initialize(**args)
|
|
18451
|
+
update!(**args)
|
|
18452
|
+
end
|
|
18453
|
+
|
|
18454
|
+
# Update properties of this object
|
|
18455
|
+
def update!(**args)
|
|
18456
|
+
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
|
18457
|
+
@faq_source = args[:faq_source] if args.key?(:faq_source)
|
|
18458
|
+
@generative_source = args[:generative_source] if args.key?(:generative_source)
|
|
18459
|
+
end
|
|
18460
|
+
end
|
|
18461
|
+
|
|
18462
|
+
# Details about source of FAQ answer.
|
|
18463
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
|
18464
|
+
include Google::Apis::Core::Hashable
|
|
18465
|
+
|
|
18466
|
+
# The corresponding FAQ question.
|
|
18467
|
+
# Corresponds to the JSON property `question`
|
|
18468
|
+
# @return [String]
|
|
18469
|
+
attr_accessor :question
|
|
18470
|
+
|
|
18471
|
+
def initialize(**args)
|
|
18472
|
+
update!(**args)
|
|
18473
|
+
end
|
|
18474
|
+
|
|
18475
|
+
# Update properties of this object
|
|
18476
|
+
def update!(**args)
|
|
18477
|
+
@question = args[:question] if args.key?(:question)
|
|
18478
|
+
end
|
|
18479
|
+
end
|
|
18480
|
+
|
|
18481
|
+
# Details about source of Generative answer.
|
|
18482
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
|
18483
|
+
include Google::Apis::Core::Hashable
|
|
18484
|
+
|
|
18485
|
+
# All snippets used for this Generative Prediction, with their source URI and
|
|
18486
|
+
# data.
|
|
18487
|
+
# Corresponds to the JSON property `snippets`
|
|
18488
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
|
|
18489
|
+
attr_accessor :snippets
|
|
18490
|
+
|
|
18491
|
+
def initialize(**args)
|
|
18492
|
+
update!(**args)
|
|
18493
|
+
end
|
|
18494
|
+
|
|
18495
|
+
# Update properties of this object
|
|
18496
|
+
def update!(**args)
|
|
18497
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
|
18498
|
+
end
|
|
18499
|
+
end
|
|
18500
|
+
|
|
18501
|
+
# Snippet Source for a Generative Prediction.
|
|
18502
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
|
18503
|
+
include Google::Apis::Core::Hashable
|
|
18504
|
+
|
|
18505
|
+
# Text taken from that URI.
|
|
18506
|
+
# Corresponds to the JSON property `text`
|
|
18507
|
+
# @return [String]
|
|
18508
|
+
attr_accessor :text
|
|
18509
|
+
|
|
18510
|
+
# Title of the document.
|
|
18511
|
+
# Corresponds to the JSON property `title`
|
|
18512
|
+
# @return [String]
|
|
18513
|
+
attr_accessor :title
|
|
18514
|
+
|
|
18515
|
+
# URI the data is sourced from.
|
|
18516
|
+
# Corresponds to the JSON property `uri`
|
|
18517
|
+
# @return [String]
|
|
18518
|
+
attr_accessor :uri
|
|
18519
|
+
|
|
18520
|
+
def initialize(**args)
|
|
18521
|
+
update!(**args)
|
|
18522
|
+
end
|
|
18523
|
+
|
|
18524
|
+
# Update properties of this object
|
|
18525
|
+
def update!(**args)
|
|
18526
|
+
@text = args[:text] if args.key?(:text)
|
|
18527
|
+
@title = args[:title] if args.key?(:title)
|
|
18528
|
+
@uri = args[:uri] if args.key?(:uri)
|
|
18529
|
+
end
|
|
18530
|
+
end
|
|
18531
|
+
|
|
18532
|
+
# Represents a suggested query.
|
|
18533
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
|
18534
|
+
include Google::Apis::Core::Hashable
|
|
18535
|
+
|
|
18536
|
+
# Suggested query text.
|
|
18537
|
+
# Corresponds to the JSON property `queryText`
|
|
18538
|
+
# @return [String]
|
|
18539
|
+
attr_accessor :query_text
|
|
18540
|
+
|
|
18541
|
+
def initialize(**args)
|
|
18542
|
+
update!(**args)
|
|
18543
|
+
end
|
|
18544
|
+
|
|
18545
|
+
# Update properties of this object
|
|
18546
|
+
def update!(**args)
|
|
18547
|
+
@query_text = args[:query_text] if args.key?(:query_text)
|
|
18548
|
+
end
|
|
18549
|
+
end
|
|
18550
|
+
|
|
18103
18551
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
|
18104
18552
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
|
18105
18553
|
include Google::Apis::Core::Hashable
|
|
@@ -18726,6 +19174,41 @@ module Google
|
|
|
18726
19174
|
end
|
|
18727
19175
|
end
|
|
18728
19176
|
|
|
19177
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
|
19178
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
|
19179
|
+
include Google::Apis::Core::Hashable
|
|
19180
|
+
|
|
19181
|
+
# Number of messages prior to and including latest_message to compile the
|
|
19182
|
+
# suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
|
|
19183
|
+
# context_size field in the request if there are fewer messages in the
|
|
19184
|
+
# conversation.
|
|
19185
|
+
# Corresponds to the JSON property `contextSize`
|
|
19186
|
+
# @return [Fixnum]
|
|
19187
|
+
attr_accessor :context_size
|
|
19188
|
+
|
|
19189
|
+
# Represents a Knowledge Assist answer.
|
|
19190
|
+
# Corresponds to the JSON property `knowledgeAssistAnswer`
|
|
19191
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer]
|
|
19192
|
+
attr_accessor :knowledge_assist_answer
|
|
19193
|
+
|
|
19194
|
+
# The name of the latest conversation message used to compile suggestion for.
|
|
19195
|
+
# Format: `projects//locations//conversations//messages/`.
|
|
19196
|
+
# Corresponds to the JSON property `latestMessage`
|
|
19197
|
+
# @return [String]
|
|
19198
|
+
attr_accessor :latest_message
|
|
19199
|
+
|
|
19200
|
+
def initialize(**args)
|
|
19201
|
+
update!(**args)
|
|
19202
|
+
end
|
|
19203
|
+
|
|
19204
|
+
# Update properties of this object
|
|
19205
|
+
def update!(**args)
|
|
19206
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
|
19207
|
+
@knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
|
|
19208
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
|
19209
|
+
end
|
|
19210
|
+
end
|
|
19211
|
+
|
|
18729
19212
|
# The response message for Participants.SuggestSmartReplies.
|
|
18730
19213
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
|
18731
19214
|
include Google::Apis::Core::Hashable
|
|
@@ -18798,6 +19281,11 @@ module Google
|
|
|
18798
19281
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
|
|
18799
19282
|
attr_accessor :suggest_faq_answers_response
|
|
18800
19283
|
|
|
19284
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
|
19285
|
+
# Corresponds to the JSON property `suggestKnowledgeAssistResponse`
|
|
19286
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
|
19287
|
+
attr_accessor :suggest_knowledge_assist_response
|
|
19288
|
+
|
|
18801
19289
|
# The response message for Participants.SuggestSmartReplies.
|
|
18802
19290
|
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
|
18803
19291
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse]
|
|
@@ -18814,6 +19302,7 @@ module Google
|
|
|
18814
19302
|
@suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
|
|
18815
19303
|
@suggest_entity_extraction_response = args[:suggest_entity_extraction_response] if args.key?(:suggest_entity_extraction_response)
|
|
18816
19304
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
|
19305
|
+
@suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
|
|
18817
19306
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
|
18818
19307
|
end
|
|
18819
19308
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module DialogflowV3
|
|
18
18
|
# Version of the google-apis-dialogflow_v3 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.87.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20240603"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -2014,6 +2014,24 @@ module Google
|
|
|
2014
2014
|
include Google::Apis::Core::JsonObjectSupport
|
|
2015
2015
|
end
|
|
2016
2016
|
|
|
2017
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
|
2018
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2019
|
+
|
|
2020
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2021
|
+
end
|
|
2022
|
+
|
|
2023
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
|
2024
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2025
|
+
|
|
2026
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2027
|
+
end
|
|
2028
|
+
|
|
2029
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
|
2030
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2031
|
+
|
|
2032
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2033
|
+
end
|
|
2034
|
+
|
|
2017
2035
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
|
2018
2036
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2019
2037
|
|
|
@@ -2458,6 +2476,42 @@ module Google
|
|
|
2458
2476
|
include Google::Apis::Core::JsonObjectSupport
|
|
2459
2477
|
end
|
|
2460
2478
|
|
|
2479
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
|
2480
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2481
|
+
|
|
2482
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2483
|
+
end
|
|
2484
|
+
|
|
2485
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
|
2486
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2487
|
+
|
|
2488
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2489
|
+
end
|
|
2490
|
+
|
|
2491
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
|
2492
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2493
|
+
|
|
2494
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2495
|
+
end
|
|
2496
|
+
|
|
2497
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
|
2498
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2499
|
+
|
|
2500
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2501
|
+
end
|
|
2502
|
+
|
|
2503
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
|
2504
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2505
|
+
|
|
2506
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2507
|
+
end
|
|
2508
|
+
|
|
2509
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
|
2510
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2511
|
+
|
|
2512
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2513
|
+
end
|
|
2514
|
+
|
|
2461
2515
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
|
2462
2516
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2463
2517
|
|
|
@@ -2536,6 +2590,12 @@ module Google
|
|
|
2536
2590
|
include Google::Apis::Core::JsonObjectSupport
|
|
2537
2591
|
end
|
|
2538
2592
|
|
|
2593
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
|
2594
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2595
|
+
|
|
2596
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2597
|
+
end
|
|
2598
|
+
|
|
2539
2599
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
|
2540
2600
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2541
2601
|
|
|
@@ -2968,6 +3028,42 @@ module Google
|
|
|
2968
3028
|
include Google::Apis::Core::JsonObjectSupport
|
|
2969
3029
|
end
|
|
2970
3030
|
|
|
3031
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
|
3032
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3033
|
+
|
|
3034
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3035
|
+
end
|
|
3036
|
+
|
|
3037
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
|
3038
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3039
|
+
|
|
3040
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3041
|
+
end
|
|
3042
|
+
|
|
3043
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
|
3044
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3045
|
+
|
|
3046
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3047
|
+
end
|
|
3048
|
+
|
|
3049
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
|
3050
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3051
|
+
|
|
3052
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3053
|
+
end
|
|
3054
|
+
|
|
3055
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
|
3056
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3057
|
+
|
|
3058
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3059
|
+
end
|
|
3060
|
+
|
|
3061
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
|
3062
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3063
|
+
|
|
3064
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3065
|
+
end
|
|
3066
|
+
|
|
2971
3067
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
|
2972
3068
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2973
3069
|
|
|
@@ -3046,6 +3142,12 @@ module Google
|
|
|
3046
3142
|
include Google::Apis::Core::JsonObjectSupport
|
|
3047
3143
|
end
|
|
3048
3144
|
|
|
3145
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
|
3146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3147
|
+
|
|
3148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3149
|
+
end
|
|
3150
|
+
|
|
3049
3151
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
|
3050
3152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3051
3153
|
|
|
@@ -6216,6 +6318,8 @@ module Google
|
|
|
6216
6318
|
property :language_code, as: 'languageCode'
|
|
6217
6319
|
property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput::Representation
|
|
6218
6320
|
|
|
6321
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
|
|
6322
|
+
|
|
6219
6323
|
end
|
|
6220
6324
|
end
|
|
6221
6325
|
|
|
@@ -6250,6 +6354,8 @@ module Google
|
|
|
6250
6354
|
|
|
6251
6355
|
property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
|
6252
6356
|
|
|
6357
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
|
|
6358
|
+
|
|
6253
6359
|
end
|
|
6254
6360
|
end
|
|
6255
6361
|
|
|
@@ -6439,6 +6545,33 @@ module Google
|
|
|
6439
6545
|
end
|
|
6440
6546
|
end
|
|
6441
6547
|
|
|
6548
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
|
6549
|
+
# @private
|
|
6550
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6551
|
+
property :action, as: 'action'
|
|
6552
|
+
hash :input_parameters, as: 'inputParameters'
|
|
6553
|
+
property :tool, as: 'tool'
|
|
6554
|
+
end
|
|
6555
|
+
end
|
|
6556
|
+
|
|
6557
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
|
6558
|
+
# @private
|
|
6559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6560
|
+
property :action, as: 'action'
|
|
6561
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
|
|
6562
|
+
|
|
6563
|
+
hash :output_parameters, as: 'outputParameters'
|
|
6564
|
+
property :tool, as: 'tool'
|
|
6565
|
+
end
|
|
6566
|
+
end
|
|
6567
|
+
|
|
6568
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
|
6569
|
+
# @private
|
|
6570
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
6571
|
+
property :message, as: 'message'
|
|
6572
|
+
end
|
|
6573
|
+
end
|
|
6574
|
+
|
|
6442
6575
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
|
6443
6576
|
# @private
|
|
6444
6577
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7223,6 +7356,59 @@ module Google
|
|
|
7223
7356
|
end
|
|
7224
7357
|
end
|
|
7225
7358
|
|
|
7359
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
|
7360
|
+
# @private
|
|
7361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7362
|
+
property :answer_record, as: 'answerRecord'
|
|
7363
|
+
property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery::Representation
|
|
7364
|
+
|
|
7365
|
+
property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer::Representation
|
|
7366
|
+
|
|
7367
|
+
end
|
|
7368
|
+
end
|
|
7369
|
+
|
|
7370
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
|
7371
|
+
# @private
|
|
7372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7373
|
+
property :answer_text, as: 'answerText'
|
|
7374
|
+
property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
|
|
7375
|
+
|
|
7376
|
+
property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
|
|
7377
|
+
|
|
7378
|
+
end
|
|
7379
|
+
end
|
|
7380
|
+
|
|
7381
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
|
7382
|
+
# @private
|
|
7383
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7384
|
+
property :question, as: 'question'
|
|
7385
|
+
end
|
|
7386
|
+
end
|
|
7387
|
+
|
|
7388
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
|
7389
|
+
# @private
|
|
7390
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7391
|
+
collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
|
|
7392
|
+
|
|
7393
|
+
end
|
|
7394
|
+
end
|
|
7395
|
+
|
|
7396
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
|
7397
|
+
# @private
|
|
7398
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7399
|
+
property :text, as: 'text'
|
|
7400
|
+
property :title, as: 'title'
|
|
7401
|
+
property :uri, as: 'uri'
|
|
7402
|
+
end
|
|
7403
|
+
end
|
|
7404
|
+
|
|
7405
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
|
7406
|
+
# @private
|
|
7407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7408
|
+
property :query_text, as: 'queryText'
|
|
7409
|
+
end
|
|
7410
|
+
end
|
|
7411
|
+
|
|
7226
7412
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
|
7227
7413
|
# @private
|
|
7228
7414
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7366,6 +7552,16 @@ module Google
|
|
|
7366
7552
|
end
|
|
7367
7553
|
end
|
|
7368
7554
|
|
|
7555
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
|
7556
|
+
# @private
|
|
7557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7558
|
+
property :context_size, as: 'contextSize'
|
|
7559
|
+
property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer::Representation
|
|
7560
|
+
|
|
7561
|
+
property :latest_message, as: 'latestMessage'
|
|
7562
|
+
end
|
|
7563
|
+
end
|
|
7564
|
+
|
|
7369
7565
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
|
7370
7566
|
# @private
|
|
7371
7567
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -7385,6 +7581,8 @@ module Google
|
|
|
7385
7581
|
|
|
7386
7582
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
|
7387
7583
|
|
|
7584
|
+
property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::Representation
|
|
7585
|
+
|
|
7388
7586
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
|
|
7389
7587
|
|
|
7390
7588
|
end
|
|
@@ -8113,6 +8311,59 @@ module Google
|
|
|
8113
8311
|
end
|
|
8114
8312
|
end
|
|
8115
8313
|
|
|
8314
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
|
8315
|
+
# @private
|
|
8316
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8317
|
+
property :answer_record, as: 'answerRecord'
|
|
8318
|
+
property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery::Representation
|
|
8319
|
+
|
|
8320
|
+
property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer::Representation
|
|
8321
|
+
|
|
8322
|
+
end
|
|
8323
|
+
end
|
|
8324
|
+
|
|
8325
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
|
8326
|
+
# @private
|
|
8327
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8328
|
+
property :answer_text, as: 'answerText'
|
|
8329
|
+
property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
|
|
8330
|
+
|
|
8331
|
+
property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
|
|
8332
|
+
|
|
8333
|
+
end
|
|
8334
|
+
end
|
|
8335
|
+
|
|
8336
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
|
8337
|
+
# @private
|
|
8338
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8339
|
+
property :question, as: 'question'
|
|
8340
|
+
end
|
|
8341
|
+
end
|
|
8342
|
+
|
|
8343
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
|
8344
|
+
# @private
|
|
8345
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8346
|
+
collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
|
|
8347
|
+
|
|
8348
|
+
end
|
|
8349
|
+
end
|
|
8350
|
+
|
|
8351
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
|
8352
|
+
# @private
|
|
8353
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8354
|
+
property :text, as: 'text'
|
|
8355
|
+
property :title, as: 'title'
|
|
8356
|
+
property :uri, as: 'uri'
|
|
8357
|
+
end
|
|
8358
|
+
end
|
|
8359
|
+
|
|
8360
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
|
8361
|
+
# @private
|
|
8362
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8363
|
+
property :query_text, as: 'queryText'
|
|
8364
|
+
end
|
|
8365
|
+
end
|
|
8366
|
+
|
|
8116
8367
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
|
8117
8368
|
# @private
|
|
8118
8369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8261,6 +8512,16 @@ module Google
|
|
|
8261
8512
|
end
|
|
8262
8513
|
end
|
|
8263
8514
|
|
|
8515
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
|
8516
|
+
# @private
|
|
8517
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8518
|
+
property :context_size, as: 'contextSize'
|
|
8519
|
+
property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer::Representation
|
|
8520
|
+
|
|
8521
|
+
property :latest_message, as: 'latestMessage'
|
|
8522
|
+
end
|
|
8523
|
+
end
|
|
8524
|
+
|
|
8264
8525
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
|
8265
8526
|
# @private
|
|
8266
8527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8284,6 +8545,8 @@ module Google
|
|
|
8284
8545
|
|
|
8285
8546
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
|
|
8286
8547
|
|
|
8548
|
+
property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
|
8549
|
+
|
|
8287
8550
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
|
|
8288
8551
|
|
|
8289
8552
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-dialogflow_v3
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.87.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-
|
|
11
|
+
date: 2024-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-apis-core
|
|
@@ -58,7 +58,7 @@ licenses:
|
|
|
58
58
|
metadata:
|
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.87.0
|
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
|
|
63
63
|
post_install_message:
|
|
64
64
|
rdoc_options: []
|