google-apis-dialogflow_v3 0.86.0 → 0.88.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c569b3ae807599f55e54211085d3949793d221a2d4bb2b15ee8a6e588dbfaeb8
|
4
|
+
data.tar.gz: 355b6344300ed1f9a7b6dcd7520352bc23f11d0aad2803effbdc8924d4d63f24
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4822103153bc92d6961e278a8dd5a5d847c783a4752623931e450e11279053f5ded3afbf7828c47f896d98f39146c27e010348b6a172a44db4e5f1ac9a31b538
|
7
|
+
data.tar.gz: 8451724004329567b32be12aa947d20f1327180efc20a7a03c46ed79e8f44ac3d48a2b20b1c38477c1927e5809eec3011b77e382feb533792ee0f3671c7caf7a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.88.0 (2024-06-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240617
|
6
|
+
|
7
|
+
### v0.87.0 (2024-06-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240603
|
10
|
+
|
3
11
|
### v0.86.0 (2024-05-19)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240507
|
@@ -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
|
@@ -7456,18 +7456,16 @@ module Google
|
|
7456
7456
|
|
7457
7457
|
# Flow name to start the test case with. Format: `projects//locations//agents//
|
7458
7458
|
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
7459
|
-
# point of the test case. If
|
7460
|
-
#
|
7461
|
-
# start flow.
|
7459
|
+
# point of the test case. If neither is set, the test case will start with start
|
7460
|
+
# page on the default start flow.
|
7462
7461
|
# Corresponds to the JSON property `flow`
|
7463
7462
|
# @return [String]
|
7464
7463
|
attr_accessor :flow
|
7465
7464
|
|
7466
7465
|
# The page to start the test case with. Format: `projects//locations//agents//
|
7467
7466
|
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
7468
|
-
# starting point of the test case. If
|
7469
|
-
#
|
7470
|
-
# default start flow.
|
7467
|
+
# starting point of the test case. If neither is set, the test case will start
|
7468
|
+
# with start page on the default start flow.
|
7471
7469
|
# Corresponds to the JSON property `page`
|
7472
7470
|
# @return [String]
|
7473
7471
|
attr_accessor :page
|
@@ -8914,13 +8912,13 @@ module Google
|
|
8914
8912
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
8915
8913
|
include Google::Apis::Core::Hashable
|
8916
8914
|
|
8917
|
-
#
|
8915
|
+
# Enables DF Interaction logging.
|
8918
8916
|
# Corresponds to the JSON property `enableInteractionLogging`
|
8919
8917
|
# @return [Boolean]
|
8920
8918
|
attr_accessor :enable_interaction_logging
|
8921
8919
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
8922
8920
|
|
8923
|
-
#
|
8921
|
+
# Enables StackDriver logging.
|
8924
8922
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
8925
8923
|
# @return [Boolean]
|
8926
8924
|
attr_accessor :enable_stackdriver_logging
|
@@ -11187,6 +11185,11 @@ module Google
|
|
11187
11185
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput]
|
11188
11186
|
attr_accessor :text
|
11189
11187
|
|
11188
|
+
# The result of calling a tool's action that has been executed by the client.
|
11189
|
+
# Corresponds to the JSON property `toolCallResult`
|
11190
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult]
|
11191
|
+
attr_accessor :tool_call_result
|
11192
|
+
|
11190
11193
|
def initialize(**args)
|
11191
11194
|
update!(**args)
|
11192
11195
|
end
|
@@ -11199,6 +11202,7 @@ module Google
|
|
11199
11202
|
@intent = args[:intent] if args.key?(:intent)
|
11200
11203
|
@language_code = args[:language_code] if args.key?(:language_code)
|
11201
11204
|
@text = args[:text] if args.key?(:text)
|
11205
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
11202
11206
|
end
|
11203
11207
|
end
|
11204
11208
|
|
@@ -11315,6 +11319,11 @@ module Google
|
|
11315
11319
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
11316
11320
|
attr_accessor :text
|
11317
11321
|
|
11322
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
11323
|
+
# Corresponds to the JSON property `toolCall`
|
11324
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall]
|
11325
|
+
attr_accessor :tool_call
|
11326
|
+
|
11318
11327
|
def initialize(**args)
|
11319
11328
|
update!(**args)
|
11320
11329
|
end
|
@@ -11332,6 +11341,7 @@ module Google
|
|
11332
11341
|
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
11333
11342
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
11334
11343
|
@text = args[:text] if args.key?(:text)
|
11344
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
11335
11345
|
end
|
11336
11346
|
end
|
11337
11347
|
|
@@ -11840,18 +11850,16 @@ module Google
|
|
11840
11850
|
|
11841
11851
|
# Flow name to start the test case with. Format: `projects//locations//agents//
|
11842
11852
|
# flows/`. Only one of `flow` and `page` should be set to indicate the starting
|
11843
|
-
# point of the test case. If
|
11844
|
-
#
|
11845
|
-
# start flow.
|
11853
|
+
# point of the test case. If neither is set, the test case will start with start
|
11854
|
+
# page on the default start flow.
|
11846
11855
|
# Corresponds to the JSON property `flow`
|
11847
11856
|
# @return [String]
|
11848
11857
|
attr_accessor :flow
|
11849
11858
|
|
11850
11859
|
# The page to start the test case with. Format: `projects//locations//agents//
|
11851
11860
|
# flows//pages/`. Only one of `flow` and `page` should be set to indicate the
|
11852
|
-
# starting point of the test case. If
|
11853
|
-
#
|
11854
|
-
# default start flow.
|
11861
|
+
# starting point of the test case. If neither is set, the test case will start
|
11862
|
+
# with start page on the default start flow.
|
11855
11863
|
# Corresponds to the JSON property `page`
|
11856
11864
|
# @return [String]
|
11857
11865
|
attr_accessor :page
|
@@ -11954,6 +11962,95 @@ module Google
|
|
11954
11962
|
end
|
11955
11963
|
end
|
11956
11964
|
|
11965
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
11966
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
11967
|
+
include Google::Apis::Core::Hashable
|
11968
|
+
|
11969
|
+
# Required. The name of the tool's action associated with this call.
|
11970
|
+
# Corresponds to the JSON property `action`
|
11971
|
+
# @return [String]
|
11972
|
+
attr_accessor :action
|
11973
|
+
|
11974
|
+
# Optional. The action's input parameters.
|
11975
|
+
# Corresponds to the JSON property `inputParameters`
|
11976
|
+
# @return [Hash<String,Object>]
|
11977
|
+
attr_accessor :input_parameters
|
11978
|
+
|
11979
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
11980
|
+
# agents//tools/`.
|
11981
|
+
# Corresponds to the JSON property `tool`
|
11982
|
+
# @return [String]
|
11983
|
+
attr_accessor :tool
|
11984
|
+
|
11985
|
+
def initialize(**args)
|
11986
|
+
update!(**args)
|
11987
|
+
end
|
11988
|
+
|
11989
|
+
# Update properties of this object
|
11990
|
+
def update!(**args)
|
11991
|
+
@action = args[:action] if args.key?(:action)
|
11992
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
11993
|
+
@tool = args[:tool] if args.key?(:tool)
|
11994
|
+
end
|
11995
|
+
end
|
11996
|
+
|
11997
|
+
# The result of calling a tool's action that has been executed by the client.
|
11998
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
11999
|
+
include Google::Apis::Core::Hashable
|
12000
|
+
|
12001
|
+
# Required. The name of the tool's action associated with this call.
|
12002
|
+
# Corresponds to the JSON property `action`
|
12003
|
+
# @return [String]
|
12004
|
+
attr_accessor :action
|
12005
|
+
|
12006
|
+
# An error produced by the tool call.
|
12007
|
+
# Corresponds to the JSON property `error`
|
12008
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
|
12009
|
+
attr_accessor :error
|
12010
|
+
|
12011
|
+
# The tool call's output parameters.
|
12012
|
+
# Corresponds to the JSON property `outputParameters`
|
12013
|
+
# @return [Hash<String,Object>]
|
12014
|
+
attr_accessor :output_parameters
|
12015
|
+
|
12016
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
12017
|
+
# agents//tools/`.
|
12018
|
+
# Corresponds to the JSON property `tool`
|
12019
|
+
# @return [String]
|
12020
|
+
attr_accessor :tool
|
12021
|
+
|
12022
|
+
def initialize(**args)
|
12023
|
+
update!(**args)
|
12024
|
+
end
|
12025
|
+
|
12026
|
+
# Update properties of this object
|
12027
|
+
def update!(**args)
|
12028
|
+
@action = args[:action] if args.key?(:action)
|
12029
|
+
@error = args[:error] if args.key?(:error)
|
12030
|
+
@output_parameters = args[:output_parameters] if args.key?(:output_parameters)
|
12031
|
+
@tool = args[:tool] if args.key?(:tool)
|
12032
|
+
end
|
12033
|
+
end
|
12034
|
+
|
12035
|
+
# An error produced by the tool call.
|
12036
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
12037
|
+
include Google::Apis::Core::Hashable
|
12038
|
+
|
12039
|
+
# Optional. The error message of the function.
|
12040
|
+
# Corresponds to the JSON property `message`
|
12041
|
+
# @return [String]
|
12042
|
+
attr_accessor :message
|
12043
|
+
|
12044
|
+
def initialize(**args)
|
12045
|
+
update!(**args)
|
12046
|
+
end
|
12047
|
+
|
12048
|
+
# Update properties of this object
|
12049
|
+
def update!(**args)
|
12050
|
+
@message = args[:message] if args.key?(:message)
|
12051
|
+
end
|
12052
|
+
end
|
12053
|
+
|
11957
12054
|
# A transition route specifies a intent that can be matched and/or a data
|
11958
12055
|
# condition that can be evaluated during a session. When a specified transition
|
11959
12056
|
# is matched, the following actions are taken in order: * If there is a `
|
@@ -14820,6 +14917,159 @@ module Google
|
|
14820
14917
|
end
|
14821
14918
|
end
|
14822
14919
|
|
14920
|
+
# Represents a Knowledge Assist answer.
|
14921
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
14922
|
+
include Google::Apis::Core::Hashable
|
14923
|
+
|
14924
|
+
# The name of the answer record. Format: `projects//locations//answer Records/`.
|
14925
|
+
# Corresponds to the JSON property `answerRecord`
|
14926
|
+
# @return [String]
|
14927
|
+
attr_accessor :answer_record
|
14928
|
+
|
14929
|
+
# Represents a suggested query.
|
14930
|
+
# Corresponds to the JSON property `suggestedQuery`
|
14931
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery]
|
14932
|
+
attr_accessor :suggested_query
|
14933
|
+
|
14934
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
14935
|
+
# answers.
|
14936
|
+
# Corresponds to the JSON property `suggestedQueryAnswer`
|
14937
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer]
|
14938
|
+
attr_accessor :suggested_query_answer
|
14939
|
+
|
14940
|
+
def initialize(**args)
|
14941
|
+
update!(**args)
|
14942
|
+
end
|
14943
|
+
|
14944
|
+
# Update properties of this object
|
14945
|
+
def update!(**args)
|
14946
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
14947
|
+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
|
14948
|
+
@suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
|
14949
|
+
end
|
14950
|
+
end
|
14951
|
+
|
14952
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
14953
|
+
# answers.
|
14954
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
14955
|
+
include Google::Apis::Core::Hashable
|
14956
|
+
|
14957
|
+
# The piece of text from the `source` that answers this suggested query.
|
14958
|
+
# Corresponds to the JSON property `answerText`
|
14959
|
+
# @return [String]
|
14960
|
+
attr_accessor :answer_text
|
14961
|
+
|
14962
|
+
# Details about source of FAQ answer.
|
14963
|
+
# Corresponds to the JSON property `faqSource`
|
14964
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
|
14965
|
+
attr_accessor :faq_source
|
14966
|
+
|
14967
|
+
# Details about source of Generative answer.
|
14968
|
+
# Corresponds to the JSON property `generativeSource`
|
14969
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
|
14970
|
+
attr_accessor :generative_source
|
14971
|
+
|
14972
|
+
def initialize(**args)
|
14973
|
+
update!(**args)
|
14974
|
+
end
|
14975
|
+
|
14976
|
+
# Update properties of this object
|
14977
|
+
def update!(**args)
|
14978
|
+
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
14979
|
+
@faq_source = args[:faq_source] if args.key?(:faq_source)
|
14980
|
+
@generative_source = args[:generative_source] if args.key?(:generative_source)
|
14981
|
+
end
|
14982
|
+
end
|
14983
|
+
|
14984
|
+
# Details about source of FAQ answer.
|
14985
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
14986
|
+
include Google::Apis::Core::Hashable
|
14987
|
+
|
14988
|
+
# The corresponding FAQ question.
|
14989
|
+
# Corresponds to the JSON property `question`
|
14990
|
+
# @return [String]
|
14991
|
+
attr_accessor :question
|
14992
|
+
|
14993
|
+
def initialize(**args)
|
14994
|
+
update!(**args)
|
14995
|
+
end
|
14996
|
+
|
14997
|
+
# Update properties of this object
|
14998
|
+
def update!(**args)
|
14999
|
+
@question = args[:question] if args.key?(:question)
|
15000
|
+
end
|
15001
|
+
end
|
15002
|
+
|
15003
|
+
# Details about source of Generative answer.
|
15004
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
15005
|
+
include Google::Apis::Core::Hashable
|
15006
|
+
|
15007
|
+
# All snippets used for this Generative Prediction, with their source URI and
|
15008
|
+
# data.
|
15009
|
+
# Corresponds to the JSON property `snippets`
|
15010
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
|
15011
|
+
attr_accessor :snippets
|
15012
|
+
|
15013
|
+
def initialize(**args)
|
15014
|
+
update!(**args)
|
15015
|
+
end
|
15016
|
+
|
15017
|
+
# Update properties of this object
|
15018
|
+
def update!(**args)
|
15019
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
15020
|
+
end
|
15021
|
+
end
|
15022
|
+
|
15023
|
+
# Snippet Source for a Generative Prediction.
|
15024
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
15025
|
+
include Google::Apis::Core::Hashable
|
15026
|
+
|
15027
|
+
# Text taken from that URI.
|
15028
|
+
# Corresponds to the JSON property `text`
|
15029
|
+
# @return [String]
|
15030
|
+
attr_accessor :text
|
15031
|
+
|
15032
|
+
# Title of the document.
|
15033
|
+
# Corresponds to the JSON property `title`
|
15034
|
+
# @return [String]
|
15035
|
+
attr_accessor :title
|
15036
|
+
|
15037
|
+
# URI the data is sourced from.
|
15038
|
+
# Corresponds to the JSON property `uri`
|
15039
|
+
# @return [String]
|
15040
|
+
attr_accessor :uri
|
15041
|
+
|
15042
|
+
def initialize(**args)
|
15043
|
+
update!(**args)
|
15044
|
+
end
|
15045
|
+
|
15046
|
+
# Update properties of this object
|
15047
|
+
def update!(**args)
|
15048
|
+
@text = args[:text] if args.key?(:text)
|
15049
|
+
@title = args[:title] if args.key?(:title)
|
15050
|
+
@uri = args[:uri] if args.key?(:uri)
|
15051
|
+
end
|
15052
|
+
end
|
15053
|
+
|
15054
|
+
# Represents a suggested query.
|
15055
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
15056
|
+
include Google::Apis::Core::Hashable
|
15057
|
+
|
15058
|
+
# Suggested query text.
|
15059
|
+
# Corresponds to the JSON property `queryText`
|
15060
|
+
# @return [String]
|
15061
|
+
attr_accessor :query_text
|
15062
|
+
|
15063
|
+
def initialize(**args)
|
15064
|
+
update!(**args)
|
15065
|
+
end
|
15066
|
+
|
15067
|
+
# Update properties of this object
|
15068
|
+
def update!(**args)
|
15069
|
+
@query_text = args[:query_text] if args.key?(:query_text)
|
15070
|
+
end
|
15071
|
+
end
|
15072
|
+
|
14823
15073
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
14824
15074
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
14825
15075
|
include Google::Apis::Core::Hashable
|
@@ -15420,6 +15670,41 @@ module Google
|
|
15420
15670
|
end
|
15421
15671
|
end
|
15422
15672
|
|
15673
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
15674
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
15675
|
+
include Google::Apis::Core::Hashable
|
15676
|
+
|
15677
|
+
# Number of messages prior to and including latest_message to compile the
|
15678
|
+
# suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
|
15679
|
+
# context_size field in the request if there are fewer messages in the
|
15680
|
+
# conversation.
|
15681
|
+
# Corresponds to the JSON property `contextSize`
|
15682
|
+
# @return [Fixnum]
|
15683
|
+
attr_accessor :context_size
|
15684
|
+
|
15685
|
+
# Represents a Knowledge Assist answer.
|
15686
|
+
# Corresponds to the JSON property `knowledgeAssistAnswer`
|
15687
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer]
|
15688
|
+
attr_accessor :knowledge_assist_answer
|
15689
|
+
|
15690
|
+
# The name of the latest conversation message used to compile suggestion for.
|
15691
|
+
# Format: `projects//locations//conversations//messages/`.
|
15692
|
+
# Corresponds to the JSON property `latestMessage`
|
15693
|
+
# @return [String]
|
15694
|
+
attr_accessor :latest_message
|
15695
|
+
|
15696
|
+
def initialize(**args)
|
15697
|
+
update!(**args)
|
15698
|
+
end
|
15699
|
+
|
15700
|
+
# Update properties of this object
|
15701
|
+
def update!(**args)
|
15702
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
15703
|
+
@knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
|
15704
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
15705
|
+
end
|
15706
|
+
end
|
15707
|
+
|
15423
15708
|
# The response message for Participants.SuggestSmartReplies.
|
15424
15709
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
15425
15710
|
include Google::Apis::Core::Hashable
|
@@ -15482,6 +15767,11 @@ module Google
|
|
15482
15767
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
|
15483
15768
|
attr_accessor :suggest_faq_answers_response
|
15484
15769
|
|
15770
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
15771
|
+
# Corresponds to the JSON property `suggestKnowledgeAssistResponse`
|
15772
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse]
|
15773
|
+
attr_accessor :suggest_knowledge_assist_response
|
15774
|
+
|
15485
15775
|
# The response message for Participants.SuggestSmartReplies.
|
15486
15776
|
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
15487
15777
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
|
@@ -15496,6 +15786,7 @@ module Google
|
|
15496
15786
|
@error = args[:error] if args.key?(:error)
|
15497
15787
|
@suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
|
15498
15788
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
15789
|
+
@suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
|
15499
15790
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
15500
15791
|
end
|
15501
15792
|
end
|
@@ -18100,6 +18391,159 @@ module Google
|
|
18100
18391
|
end
|
18101
18392
|
end
|
18102
18393
|
|
18394
|
+
# Represents a Knowledge Assist answer.
|
18395
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
18396
|
+
include Google::Apis::Core::Hashable
|
18397
|
+
|
18398
|
+
# The name of the answer record. Format: `projects//locations//answer Records/`.
|
18399
|
+
# Corresponds to the JSON property `answerRecord`
|
18400
|
+
# @return [String]
|
18401
|
+
attr_accessor :answer_record
|
18402
|
+
|
18403
|
+
# Represents a suggested query.
|
18404
|
+
# Corresponds to the JSON property `suggestedQuery`
|
18405
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery]
|
18406
|
+
attr_accessor :suggested_query
|
18407
|
+
|
18408
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
18409
|
+
# answers.
|
18410
|
+
# Corresponds to the JSON property `suggestedQueryAnswer`
|
18411
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer]
|
18412
|
+
attr_accessor :suggested_query_answer
|
18413
|
+
|
18414
|
+
def initialize(**args)
|
18415
|
+
update!(**args)
|
18416
|
+
end
|
18417
|
+
|
18418
|
+
# Update properties of this object
|
18419
|
+
def update!(**args)
|
18420
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
18421
|
+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
|
18422
|
+
@suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
|
18423
|
+
end
|
18424
|
+
end
|
18425
|
+
|
18426
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
18427
|
+
# answers.
|
18428
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
18429
|
+
include Google::Apis::Core::Hashable
|
18430
|
+
|
18431
|
+
# The piece of text from the `source` that answers this suggested query.
|
18432
|
+
# Corresponds to the JSON property `answerText`
|
18433
|
+
# @return [String]
|
18434
|
+
attr_accessor :answer_text
|
18435
|
+
|
18436
|
+
# Details about source of FAQ answer.
|
18437
|
+
# Corresponds to the JSON property `faqSource`
|
18438
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
|
18439
|
+
attr_accessor :faq_source
|
18440
|
+
|
18441
|
+
# Details about source of Generative answer.
|
18442
|
+
# Corresponds to the JSON property `generativeSource`
|
18443
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
|
18444
|
+
attr_accessor :generative_source
|
18445
|
+
|
18446
|
+
def initialize(**args)
|
18447
|
+
update!(**args)
|
18448
|
+
end
|
18449
|
+
|
18450
|
+
# Update properties of this object
|
18451
|
+
def update!(**args)
|
18452
|
+
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
18453
|
+
@faq_source = args[:faq_source] if args.key?(:faq_source)
|
18454
|
+
@generative_source = args[:generative_source] if args.key?(:generative_source)
|
18455
|
+
end
|
18456
|
+
end
|
18457
|
+
|
18458
|
+
# Details about source of FAQ answer.
|
18459
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
18460
|
+
include Google::Apis::Core::Hashable
|
18461
|
+
|
18462
|
+
# The corresponding FAQ question.
|
18463
|
+
# Corresponds to the JSON property `question`
|
18464
|
+
# @return [String]
|
18465
|
+
attr_accessor :question
|
18466
|
+
|
18467
|
+
def initialize(**args)
|
18468
|
+
update!(**args)
|
18469
|
+
end
|
18470
|
+
|
18471
|
+
# Update properties of this object
|
18472
|
+
def update!(**args)
|
18473
|
+
@question = args[:question] if args.key?(:question)
|
18474
|
+
end
|
18475
|
+
end
|
18476
|
+
|
18477
|
+
# Details about source of Generative answer.
|
18478
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
18479
|
+
include Google::Apis::Core::Hashable
|
18480
|
+
|
18481
|
+
# All snippets used for this Generative Prediction, with their source URI and
|
18482
|
+
# data.
|
18483
|
+
# Corresponds to the JSON property `snippets`
|
18484
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
|
18485
|
+
attr_accessor :snippets
|
18486
|
+
|
18487
|
+
def initialize(**args)
|
18488
|
+
update!(**args)
|
18489
|
+
end
|
18490
|
+
|
18491
|
+
# Update properties of this object
|
18492
|
+
def update!(**args)
|
18493
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
18494
|
+
end
|
18495
|
+
end
|
18496
|
+
|
18497
|
+
# Snippet Source for a Generative Prediction.
|
18498
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
18499
|
+
include Google::Apis::Core::Hashable
|
18500
|
+
|
18501
|
+
# Text taken from that URI.
|
18502
|
+
# Corresponds to the JSON property `text`
|
18503
|
+
# @return [String]
|
18504
|
+
attr_accessor :text
|
18505
|
+
|
18506
|
+
# Title of the document.
|
18507
|
+
# Corresponds to the JSON property `title`
|
18508
|
+
# @return [String]
|
18509
|
+
attr_accessor :title
|
18510
|
+
|
18511
|
+
# URI the data is sourced from.
|
18512
|
+
# Corresponds to the JSON property `uri`
|
18513
|
+
# @return [String]
|
18514
|
+
attr_accessor :uri
|
18515
|
+
|
18516
|
+
def initialize(**args)
|
18517
|
+
update!(**args)
|
18518
|
+
end
|
18519
|
+
|
18520
|
+
# Update properties of this object
|
18521
|
+
def update!(**args)
|
18522
|
+
@text = args[:text] if args.key?(:text)
|
18523
|
+
@title = args[:title] if args.key?(:title)
|
18524
|
+
@uri = args[:uri] if args.key?(:uri)
|
18525
|
+
end
|
18526
|
+
end
|
18527
|
+
|
18528
|
+
# Represents a suggested query.
|
18529
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
18530
|
+
include Google::Apis::Core::Hashable
|
18531
|
+
|
18532
|
+
# Suggested query text.
|
18533
|
+
# Corresponds to the JSON property `queryText`
|
18534
|
+
# @return [String]
|
18535
|
+
attr_accessor :query_text
|
18536
|
+
|
18537
|
+
def initialize(**args)
|
18538
|
+
update!(**args)
|
18539
|
+
end
|
18540
|
+
|
18541
|
+
# Update properties of this object
|
18542
|
+
def update!(**args)
|
18543
|
+
@query_text = args[:query_text] if args.key?(:query_text)
|
18544
|
+
end
|
18545
|
+
end
|
18546
|
+
|
18103
18547
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
18104
18548
|
class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
|
18105
18549
|
include Google::Apis::Core::Hashable
|
@@ -18726,6 +19170,41 @@ module Google
|
|
18726
19170
|
end
|
18727
19171
|
end
|
18728
19172
|
|
19173
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
19174
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
19175
|
+
include Google::Apis::Core::Hashable
|
19176
|
+
|
19177
|
+
# Number of messages prior to and including latest_message to compile the
|
19178
|
+
# suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
|
19179
|
+
# context_size field in the request if there are fewer messages in the
|
19180
|
+
# conversation.
|
19181
|
+
# Corresponds to the JSON property `contextSize`
|
19182
|
+
# @return [Fixnum]
|
19183
|
+
attr_accessor :context_size
|
19184
|
+
|
19185
|
+
# Represents a Knowledge Assist answer.
|
19186
|
+
# Corresponds to the JSON property `knowledgeAssistAnswer`
|
19187
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer]
|
19188
|
+
attr_accessor :knowledge_assist_answer
|
19189
|
+
|
19190
|
+
# The name of the latest conversation message used to compile suggestion for.
|
19191
|
+
# Format: `projects//locations//conversations//messages/`.
|
19192
|
+
# Corresponds to the JSON property `latestMessage`
|
19193
|
+
# @return [String]
|
19194
|
+
attr_accessor :latest_message
|
19195
|
+
|
19196
|
+
def initialize(**args)
|
19197
|
+
update!(**args)
|
19198
|
+
end
|
19199
|
+
|
19200
|
+
# Update properties of this object
|
19201
|
+
def update!(**args)
|
19202
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
19203
|
+
@knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
|
19204
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
19205
|
+
end
|
19206
|
+
end
|
19207
|
+
|
18729
19208
|
# The response message for Participants.SuggestSmartReplies.
|
18730
19209
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
|
18731
19210
|
include Google::Apis::Core::Hashable
|
@@ -18798,6 +19277,11 @@ module Google
|
|
18798
19277
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
|
18799
19278
|
attr_accessor :suggest_faq_answers_response
|
18800
19279
|
|
19280
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
19281
|
+
# Corresponds to the JSON property `suggestKnowledgeAssistResponse`
|
19282
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
19283
|
+
attr_accessor :suggest_knowledge_assist_response
|
19284
|
+
|
18801
19285
|
# The response message for Participants.SuggestSmartReplies.
|
18802
19286
|
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
18803
19287
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse]
|
@@ -18814,6 +19298,7 @@ module Google
|
|
18814
19298
|
@suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
|
18815
19299
|
@suggest_entity_extraction_response = args[:suggest_entity_extraction_response] if args.key?(:suggest_entity_extraction_response)
|
18816
19300
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
19301
|
+
@suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
|
18817
19302
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
18818
19303
|
end
|
18819
19304
|
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.88.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 = "20240617"
|
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.88.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-27 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.88.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: []
|