google-apis-dialogflow_v2beta1 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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +601 -4
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +298 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +68 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 382e57e572ba2f895832f9630ce54faf019968e38d326c35dcfce00de0feaf42
|
4
|
+
data.tar.gz: bf2e61cb833d69f585070766af938143c52ae166cfad054b88b5a78fa3a9ada6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57b136b13e7429e8612ee2b6fee4bcf919fcea05e7500508412021733565699b0b00c503e2b6241107fb188cb971cf511417470c168cf0643dd1db58d2bd5362
|
7
|
+
data.tar.gz: 0d51413fd45b3e6932ecb17c5783ddcc11dcdc2203d8e38ebe19b32d17f7a19c0e4eb94f7d6969bfd8926bb5fcc5374423f3c48d5cbe22af70dd5105ad9136e1
|
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
|
@@ -3965,13 +3965,13 @@ module Google
|
|
3965
3965
|
class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
|
3966
3966
|
include Google::Apis::Core::Hashable
|
3967
3967
|
|
3968
|
-
#
|
3968
|
+
# Enables DF Interaction logging.
|
3969
3969
|
# Corresponds to the JSON property `enableInteractionLogging`
|
3970
3970
|
# @return [Boolean]
|
3971
3971
|
attr_accessor :enable_interaction_logging
|
3972
3972
|
alias_method :enable_interaction_logging?, :enable_interaction_logging
|
3973
3973
|
|
3974
|
-
#
|
3974
|
+
# Enables StackDriver logging.
|
3975
3975
|
# Corresponds to the JSON property `enableStackdriverLogging`
|
3976
3976
|
# @return [Boolean]
|
3977
3977
|
attr_accessor :enable_stackdriver_logging
|
@@ -6238,6 +6238,11 @@ module Google
|
|
6238
6238
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput]
|
6239
6239
|
attr_accessor :text
|
6240
6240
|
|
6241
|
+
# The result of calling a tool's action that has been executed by the client.
|
6242
|
+
# Corresponds to the JSON property `toolCallResult`
|
6243
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult]
|
6244
|
+
attr_accessor :tool_call_result
|
6245
|
+
|
6241
6246
|
def initialize(**args)
|
6242
6247
|
update!(**args)
|
6243
6248
|
end
|
@@ -6250,6 +6255,7 @@ module Google
|
|
6250
6255
|
@intent = args[:intent] if args.key?(:intent)
|
6251
6256
|
@language_code = args[:language_code] if args.key?(:language_code)
|
6252
6257
|
@text = args[:text] if args.key?(:text)
|
6258
|
+
@tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
|
6253
6259
|
end
|
6254
6260
|
end
|
6255
6261
|
|
@@ -6366,6 +6372,11 @@ module Google
|
|
6366
6372
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
|
6367
6373
|
attr_accessor :text
|
6368
6374
|
|
6375
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
6376
|
+
# Corresponds to the JSON property `toolCall`
|
6377
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall]
|
6378
|
+
attr_accessor :tool_call
|
6379
|
+
|
6369
6380
|
def initialize(**args)
|
6370
6381
|
update!(**args)
|
6371
6382
|
end
|
@@ -6383,6 +6394,7 @@ module Google
|
|
6383
6394
|
@play_audio = args[:play_audio] if args.key?(:play_audio)
|
6384
6395
|
@telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
|
6385
6396
|
@text = args[:text] if args.key?(:text)
|
6397
|
+
@tool_call = args[:tool_call] if args.key?(:tool_call)
|
6386
6398
|
end
|
6387
6399
|
end
|
6388
6400
|
|
@@ -7005,6 +7017,95 @@ module Google
|
|
7005
7017
|
end
|
7006
7018
|
end
|
7007
7019
|
|
7020
|
+
# Represents a call of a specific tool's action with the specified inputs.
|
7021
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
7022
|
+
include Google::Apis::Core::Hashable
|
7023
|
+
|
7024
|
+
# Required. The name of the tool's action associated with this call.
|
7025
|
+
# Corresponds to the JSON property `action`
|
7026
|
+
# @return [String]
|
7027
|
+
attr_accessor :action
|
7028
|
+
|
7029
|
+
# Optional. The action's input parameters.
|
7030
|
+
# Corresponds to the JSON property `inputParameters`
|
7031
|
+
# @return [Hash<String,Object>]
|
7032
|
+
attr_accessor :input_parameters
|
7033
|
+
|
7034
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
7035
|
+
# agents//tools/`.
|
7036
|
+
# Corresponds to the JSON property `tool`
|
7037
|
+
# @return [String]
|
7038
|
+
attr_accessor :tool
|
7039
|
+
|
7040
|
+
def initialize(**args)
|
7041
|
+
update!(**args)
|
7042
|
+
end
|
7043
|
+
|
7044
|
+
# Update properties of this object
|
7045
|
+
def update!(**args)
|
7046
|
+
@action = args[:action] if args.key?(:action)
|
7047
|
+
@input_parameters = args[:input_parameters] if args.key?(:input_parameters)
|
7048
|
+
@tool = args[:tool] if args.key?(:tool)
|
7049
|
+
end
|
7050
|
+
end
|
7051
|
+
|
7052
|
+
# The result of calling a tool's action that has been executed by the client.
|
7053
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
7054
|
+
include Google::Apis::Core::Hashable
|
7055
|
+
|
7056
|
+
# Required. The name of the tool's action associated with this call.
|
7057
|
+
# Corresponds to the JSON property `action`
|
7058
|
+
# @return [String]
|
7059
|
+
attr_accessor :action
|
7060
|
+
|
7061
|
+
# An error produced by the tool call.
|
7062
|
+
# Corresponds to the JSON property `error`
|
7063
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
|
7064
|
+
attr_accessor :error
|
7065
|
+
|
7066
|
+
# The tool call's output parameters.
|
7067
|
+
# Corresponds to the JSON property `outputParameters`
|
7068
|
+
# @return [Hash<String,Object>]
|
7069
|
+
attr_accessor :output_parameters
|
7070
|
+
|
7071
|
+
# Required. The tool associated with this call. Format: `projects//locations//
|
7072
|
+
# agents//tools/`.
|
7073
|
+
# Corresponds to the JSON property `tool`
|
7074
|
+
# @return [String]
|
7075
|
+
attr_accessor :tool
|
7076
|
+
|
7077
|
+
def initialize(**args)
|
7078
|
+
update!(**args)
|
7079
|
+
end
|
7080
|
+
|
7081
|
+
# Update properties of this object
|
7082
|
+
def update!(**args)
|
7083
|
+
@action = args[:action] if args.key?(:action)
|
7084
|
+
@error = args[:error] if args.key?(:error)
|
7085
|
+
@output_parameters = args[:output_parameters] if args.key?(:output_parameters)
|
7086
|
+
@tool = args[:tool] if args.key?(:tool)
|
7087
|
+
end
|
7088
|
+
end
|
7089
|
+
|
7090
|
+
# An error produced by the tool call.
|
7091
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
7092
|
+
include Google::Apis::Core::Hashable
|
7093
|
+
|
7094
|
+
# Optional. The error message of the function.
|
7095
|
+
# Corresponds to the JSON property `message`
|
7096
|
+
# @return [String]
|
7097
|
+
attr_accessor :message
|
7098
|
+
|
7099
|
+
def initialize(**args)
|
7100
|
+
update!(**args)
|
7101
|
+
end
|
7102
|
+
|
7103
|
+
# Update properties of this object
|
7104
|
+
def update!(**args)
|
7105
|
+
@message = args[:message] if args.key?(:message)
|
7106
|
+
end
|
7107
|
+
end
|
7108
|
+
|
7008
7109
|
# A transition route specifies a intent that can be matched and/or a data
|
7009
7110
|
# condition that can be evaluated during a session. When a specified transition
|
7010
7111
|
# is matched, the following actions are taken in order: * If there is a `
|
@@ -9871,6 +9972,159 @@ module Google
|
|
9871
9972
|
end
|
9872
9973
|
end
|
9873
9974
|
|
9975
|
+
# Represents a Knowledge Assist answer.
|
9976
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
9977
|
+
include Google::Apis::Core::Hashable
|
9978
|
+
|
9979
|
+
# The name of the answer record. Format: `projects//locations//answer Records/`.
|
9980
|
+
# Corresponds to the JSON property `answerRecord`
|
9981
|
+
# @return [String]
|
9982
|
+
attr_accessor :answer_record
|
9983
|
+
|
9984
|
+
# Represents a suggested query.
|
9985
|
+
# Corresponds to the JSON property `suggestedQuery`
|
9986
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery]
|
9987
|
+
attr_accessor :suggested_query
|
9988
|
+
|
9989
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
9990
|
+
# answers.
|
9991
|
+
# Corresponds to the JSON property `suggestedQueryAnswer`
|
9992
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer]
|
9993
|
+
attr_accessor :suggested_query_answer
|
9994
|
+
|
9995
|
+
def initialize(**args)
|
9996
|
+
update!(**args)
|
9997
|
+
end
|
9998
|
+
|
9999
|
+
# Update properties of this object
|
10000
|
+
def update!(**args)
|
10001
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
10002
|
+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
|
10003
|
+
@suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
|
10004
|
+
end
|
10005
|
+
end
|
10006
|
+
|
10007
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
10008
|
+
# answers.
|
10009
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
10010
|
+
include Google::Apis::Core::Hashable
|
10011
|
+
|
10012
|
+
# The piece of text from the `source` that answers this suggested query.
|
10013
|
+
# Corresponds to the JSON property `answerText`
|
10014
|
+
# @return [String]
|
10015
|
+
attr_accessor :answer_text
|
10016
|
+
|
10017
|
+
# Details about source of FAQ answer.
|
10018
|
+
# Corresponds to the JSON property `faqSource`
|
10019
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
|
10020
|
+
attr_accessor :faq_source
|
10021
|
+
|
10022
|
+
# Details about source of Generative answer.
|
10023
|
+
# Corresponds to the JSON property `generativeSource`
|
10024
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
|
10025
|
+
attr_accessor :generative_source
|
10026
|
+
|
10027
|
+
def initialize(**args)
|
10028
|
+
update!(**args)
|
10029
|
+
end
|
10030
|
+
|
10031
|
+
# Update properties of this object
|
10032
|
+
def update!(**args)
|
10033
|
+
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
10034
|
+
@faq_source = args[:faq_source] if args.key?(:faq_source)
|
10035
|
+
@generative_source = args[:generative_source] if args.key?(:generative_source)
|
10036
|
+
end
|
10037
|
+
end
|
10038
|
+
|
10039
|
+
# Details about source of FAQ answer.
|
10040
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
10041
|
+
include Google::Apis::Core::Hashable
|
10042
|
+
|
10043
|
+
# The corresponding FAQ question.
|
10044
|
+
# Corresponds to the JSON property `question`
|
10045
|
+
# @return [String]
|
10046
|
+
attr_accessor :question
|
10047
|
+
|
10048
|
+
def initialize(**args)
|
10049
|
+
update!(**args)
|
10050
|
+
end
|
10051
|
+
|
10052
|
+
# Update properties of this object
|
10053
|
+
def update!(**args)
|
10054
|
+
@question = args[:question] if args.key?(:question)
|
10055
|
+
end
|
10056
|
+
end
|
10057
|
+
|
10058
|
+
# Details about source of Generative answer.
|
10059
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
10060
|
+
include Google::Apis::Core::Hashable
|
10061
|
+
|
10062
|
+
# All snippets used for this Generative Prediction, with their source URI and
|
10063
|
+
# data.
|
10064
|
+
# Corresponds to the JSON property `snippets`
|
10065
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
|
10066
|
+
attr_accessor :snippets
|
10067
|
+
|
10068
|
+
def initialize(**args)
|
10069
|
+
update!(**args)
|
10070
|
+
end
|
10071
|
+
|
10072
|
+
# Update properties of this object
|
10073
|
+
def update!(**args)
|
10074
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
10075
|
+
end
|
10076
|
+
end
|
10077
|
+
|
10078
|
+
# Snippet Source for a Generative Prediction.
|
10079
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
10080
|
+
include Google::Apis::Core::Hashable
|
10081
|
+
|
10082
|
+
# Text taken from that URI.
|
10083
|
+
# Corresponds to the JSON property `text`
|
10084
|
+
# @return [String]
|
10085
|
+
attr_accessor :text
|
10086
|
+
|
10087
|
+
# Title of the document.
|
10088
|
+
# Corresponds to the JSON property `title`
|
10089
|
+
# @return [String]
|
10090
|
+
attr_accessor :title
|
10091
|
+
|
10092
|
+
# URI the data is sourced from.
|
10093
|
+
# Corresponds to the JSON property `uri`
|
10094
|
+
# @return [String]
|
10095
|
+
attr_accessor :uri
|
10096
|
+
|
10097
|
+
def initialize(**args)
|
10098
|
+
update!(**args)
|
10099
|
+
end
|
10100
|
+
|
10101
|
+
# Update properties of this object
|
10102
|
+
def update!(**args)
|
10103
|
+
@text = args[:text] if args.key?(:text)
|
10104
|
+
@title = args[:title] if args.key?(:title)
|
10105
|
+
@uri = args[:uri] if args.key?(:uri)
|
10106
|
+
end
|
10107
|
+
end
|
10108
|
+
|
10109
|
+
# Represents a suggested query.
|
10110
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
10111
|
+
include Google::Apis::Core::Hashable
|
10112
|
+
|
10113
|
+
# Suggested query text.
|
10114
|
+
# Corresponds to the JSON property `queryText`
|
10115
|
+
# @return [String]
|
10116
|
+
attr_accessor :query_text
|
10117
|
+
|
10118
|
+
def initialize(**args)
|
10119
|
+
update!(**args)
|
10120
|
+
end
|
10121
|
+
|
10122
|
+
# Update properties of this object
|
10123
|
+
def update!(**args)
|
10124
|
+
@query_text = args[:query_text] if args.key?(:query_text)
|
10125
|
+
end
|
10126
|
+
end
|
10127
|
+
|
9874
10128
|
# Metadata in google::longrunning::Operation for Knowledge operations.
|
9875
10129
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
9876
10130
|
include Google::Apis::Core::Hashable
|
@@ -10471,6 +10725,41 @@ module Google
|
|
10471
10725
|
end
|
10472
10726
|
end
|
10473
10727
|
|
10728
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
10729
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
10730
|
+
include Google::Apis::Core::Hashable
|
10731
|
+
|
10732
|
+
# Number of messages prior to and including latest_message to compile the
|
10733
|
+
# suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
|
10734
|
+
# context_size field in the request if there are fewer messages in the
|
10735
|
+
# conversation.
|
10736
|
+
# Corresponds to the JSON property `contextSize`
|
10737
|
+
# @return [Fixnum]
|
10738
|
+
attr_accessor :context_size
|
10739
|
+
|
10740
|
+
# Represents a Knowledge Assist answer.
|
10741
|
+
# Corresponds to the JSON property `knowledgeAssistAnswer`
|
10742
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer]
|
10743
|
+
attr_accessor :knowledge_assist_answer
|
10744
|
+
|
10745
|
+
# The name of the latest conversation message used to compile suggestion for.
|
10746
|
+
# Format: `projects//locations//conversations//messages/`.
|
10747
|
+
# Corresponds to the JSON property `latestMessage`
|
10748
|
+
# @return [String]
|
10749
|
+
attr_accessor :latest_message
|
10750
|
+
|
10751
|
+
def initialize(**args)
|
10752
|
+
update!(**args)
|
10753
|
+
end
|
10754
|
+
|
10755
|
+
# Update properties of this object
|
10756
|
+
def update!(**args)
|
10757
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
10758
|
+
@knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
|
10759
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
10760
|
+
end
|
10761
|
+
end
|
10762
|
+
|
10474
10763
|
# The response message for Participants.SuggestSmartReplies.
|
10475
10764
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
10476
10765
|
include Google::Apis::Core::Hashable
|
@@ -10533,6 +10822,11 @@ module Google
|
|
10533
10822
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
|
10534
10823
|
attr_accessor :suggest_faq_answers_response
|
10535
10824
|
|
10825
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
10826
|
+
# Corresponds to the JSON property `suggestKnowledgeAssistResponse`
|
10827
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse]
|
10828
|
+
attr_accessor :suggest_knowledge_assist_response
|
10829
|
+
|
10536
10830
|
# The response message for Participants.SuggestSmartReplies.
|
10537
10831
|
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
10538
10832
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
|
@@ -10547,6 +10841,7 @@ module Google
|
|
10547
10841
|
@error = args[:error] if args.key?(:error)
|
10548
10842
|
@suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
|
10549
10843
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
10844
|
+
@suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
|
10550
10845
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
10551
10846
|
end
|
10552
10847
|
end
|
@@ -10842,6 +11137,11 @@ module Google
|
|
10842
11137
|
# @return [String]
|
10843
11138
|
attr_accessor :document_efficiency
|
10844
11139
|
|
11140
|
+
# Feedback for knowledge assist.
|
11141
|
+
# Corresponds to the JSON property `knowledgeAssistFeedback`
|
11142
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback]
|
11143
|
+
attr_accessor :knowledge_assist_feedback
|
11144
|
+
|
10845
11145
|
# Feedback for knowledge search.
|
10846
11146
|
# Corresponds to the JSON property `knowledgeSearchFeedback`
|
10847
11147
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback]
|
@@ -10861,11 +11161,41 @@ module Google
|
|
10861
11161
|
@answer_relevance = args[:answer_relevance] if args.key?(:answer_relevance)
|
10862
11162
|
@document_correctness = args[:document_correctness] if args.key?(:document_correctness)
|
10863
11163
|
@document_efficiency = args[:document_efficiency] if args.key?(:document_efficiency)
|
11164
|
+
@knowledge_assist_feedback = args[:knowledge_assist_feedback] if args.key?(:knowledge_assist_feedback)
|
10864
11165
|
@knowledge_search_feedback = args[:knowledge_search_feedback] if args.key?(:knowledge_search_feedback)
|
10865
11166
|
@summarization_feedback = args[:summarization_feedback] if args.key?(:summarization_feedback)
|
10866
11167
|
end
|
10867
11168
|
end
|
10868
11169
|
|
11170
|
+
# Feedback for knowledge assist.
|
11171
|
+
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
|
11172
|
+
include Google::Apis::Core::Hashable
|
11173
|
+
|
11174
|
+
# Whether the suggested answer was copied by the human agent. If the value is
|
11175
|
+
# set to be true, AnswerFeedback.clicked will be updated to be true.
|
11176
|
+
# Corresponds to the JSON property `answerCopied`
|
11177
|
+
# @return [Boolean]
|
11178
|
+
attr_accessor :answer_copied
|
11179
|
+
alias_method :answer_copied?, :answer_copied
|
11180
|
+
|
11181
|
+
# The URIs clicked by the human agent. The value is appended for each
|
11182
|
+
# UpdateAnswerRecordRequest. If the value is not empty, AnswerFeedback.clicked
|
11183
|
+
# will be updated to be true.
|
11184
|
+
# Corresponds to the JSON property `clickedUris`
|
11185
|
+
# @return [Array<String>]
|
11186
|
+
attr_accessor :clicked_uris
|
11187
|
+
|
11188
|
+
def initialize(**args)
|
11189
|
+
update!(**args)
|
11190
|
+
end
|
11191
|
+
|
11192
|
+
# Update properties of this object
|
11193
|
+
def update!(**args)
|
11194
|
+
@answer_copied = args[:answer_copied] if args.key?(:answer_copied)
|
11195
|
+
@clicked_uris = args[:clicked_uris] if args.key?(:clicked_uris)
|
11196
|
+
end
|
11197
|
+
end
|
11198
|
+
|
10869
11199
|
# Feedback for knowledge search.
|
10870
11200
|
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
|
10871
11201
|
include Google::Apis::Core::Hashable
|
@@ -11429,6 +11759,12 @@ module Google
|
|
11429
11759
|
# @return [String]
|
11430
11760
|
attr_accessor :automated_agent_reply_type
|
11431
11761
|
|
11762
|
+
# The auth code for accessing Call Companion UI.
|
11763
|
+
# Corresponds to the JSON property `callCompanionAuthCode`
|
11764
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
11765
|
+
# @return [String]
|
11766
|
+
attr_accessor :call_companion_auth_code
|
11767
|
+
|
11432
11768
|
# The unique identifier of the current Dialogflow CX conversation page. Format: `
|
11433
11769
|
# projects//locations//agents//flows//pages/`.
|
11434
11770
|
# Corresponds to the JSON property `cxCurrentPage`
|
@@ -11485,6 +11821,7 @@ module Google
|
|
11485
11821
|
def update!(**args)
|
11486
11822
|
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
11487
11823
|
@automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
|
11824
|
+
@call_companion_auth_code = args[:call_companion_auth_code] if args.key?(:call_companion_auth_code)
|
11488
11825
|
@cx_current_page = args[:cx_current_page] if args.key?(:cx_current_page)
|
11489
11826
|
@cx_session_parameters = args[:cx_session_parameters] if args.key?(:cx_session_parameters)
|
11490
11827
|
@detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
|
@@ -13704,6 +14041,17 @@ module Google
|
|
13704
14041
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
|
13705
14042
|
include Google::Apis::Core::Hashable
|
13706
14043
|
|
14044
|
+
# Optional. When disable_high_latency_features_sync_delivery is true and using
|
14045
|
+
# the AnalyzeContent API, we will not deliver the responses from high latency
|
14046
|
+
# features in the API response. The human_agent_assistant_config.
|
14047
|
+
# notification_config must be configured and enable_event_based_suggestion must
|
14048
|
+
# be set to true to receive the responses from high latency features in Pub/Sub.
|
14049
|
+
# High latency feature(s): KNOWLEDGE_ASSIST.
|
14050
|
+
# Corresponds to the JSON property `disableHighLatencyFeaturesSyncDelivery`
|
14051
|
+
# @return [Boolean]
|
14052
|
+
attr_accessor :disable_high_latency_features_sync_delivery
|
14053
|
+
alias_method :disable_high_latency_features_sync_delivery?, :disable_high_latency_features_sync_delivery
|
14054
|
+
|
13707
14055
|
# Configuration of different suggestion features. One feature can have only one
|
13708
14056
|
# config.
|
13709
14057
|
# Corresponds to the JSON property `featureConfigs`
|
@@ -13735,6 +14083,7 @@ module Google
|
|
13735
14083
|
|
13736
14084
|
# Update properties of this object
|
13737
14085
|
def update!(**args)
|
14086
|
+
@disable_high_latency_features_sync_delivery = args[:disable_high_latency_features_sync_delivery] if args.key?(:disable_high_latency_features_sync_delivery)
|
13738
14087
|
@feature_configs = args[:feature_configs] if args.key?(:feature_configs)
|
13739
14088
|
@generators = args[:generators] if args.key?(:generators)
|
13740
14089
|
@group_suggestion_responses = args[:group_suggestion_responses] if args.key?(:group_suggestion_responses)
|
@@ -13779,6 +14128,20 @@ module Google
|
|
13779
14128
|
attr_accessor :enable_event_based_suggestion
|
13780
14129
|
alias_method :enable_event_based_suggestion?, :enable_event_based_suggestion
|
13781
14130
|
|
14131
|
+
# Optional. Enable query suggestion only. Supported features: KNOWLEDGE_ASSIST
|
14132
|
+
# Corresponds to the JSON property `enableQuerySuggestionOnly`
|
14133
|
+
# @return [Boolean]
|
14134
|
+
attr_accessor :enable_query_suggestion_only
|
14135
|
+
alias_method :enable_query_suggestion_only?, :enable_query_suggestion_only
|
14136
|
+
|
14137
|
+
# Optional. Enable query suggestion even if we can't find its answer. By default,
|
14138
|
+
# queries are suggested only if we find its answer. Supported features:
|
14139
|
+
# KNOWLEDGE_ASSIST
|
14140
|
+
# Corresponds to the JSON property `enableQuerySuggestionWhenNoAnswer`
|
14141
|
+
# @return [Boolean]
|
14142
|
+
attr_accessor :enable_query_suggestion_when_no_answer
|
14143
|
+
alias_method :enable_query_suggestion_when_no_answer?, :enable_query_suggestion_when_no_answer
|
14144
|
+
|
13782
14145
|
# Config for suggestion query.
|
13783
14146
|
# Corresponds to the JSON property `queryConfig`
|
13784
14147
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig]
|
@@ -13807,6 +14170,8 @@ module Google
|
|
13807
14170
|
@disable_agent_query_logging = args[:disable_agent_query_logging] if args.key?(:disable_agent_query_logging)
|
13808
14171
|
@enable_conversation_augmented_query = args[:enable_conversation_augmented_query] if args.key?(:enable_conversation_augmented_query)
|
13809
14172
|
@enable_event_based_suggestion = args[:enable_event_based_suggestion] if args.key?(:enable_event_based_suggestion)
|
14173
|
+
@enable_query_suggestion_only = args[:enable_query_suggestion_only] if args.key?(:enable_query_suggestion_only)
|
14174
|
+
@enable_query_suggestion_when_no_answer = args[:enable_query_suggestion_when_no_answer] if args.key?(:enable_query_suggestion_when_no_answer)
|
13810
14175
|
@query_config = args[:query_config] if args.key?(:query_config)
|
13811
14176
|
@suggestion_feature = args[:suggestion_feature] if args.key?(:suggestion_feature)
|
13812
14177
|
@suggestion_trigger_settings = args[:suggestion_trigger_settings] if args.key?(:suggestion_trigger_settings)
|
@@ -16384,6 +16749,159 @@ module Google
|
|
16384
16749
|
end
|
16385
16750
|
end
|
16386
16751
|
|
16752
|
+
# Represents a Knowledge Assist answer.
|
16753
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
16754
|
+
include Google::Apis::Core::Hashable
|
16755
|
+
|
16756
|
+
# The name of the answer record. Format: `projects//locations//answer Records/`.
|
16757
|
+
# Corresponds to the JSON property `answerRecord`
|
16758
|
+
# @return [String]
|
16759
|
+
attr_accessor :answer_record
|
16760
|
+
|
16761
|
+
# Represents a suggested query.
|
16762
|
+
# Corresponds to the JSON property `suggestedQuery`
|
16763
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery]
|
16764
|
+
attr_accessor :suggested_query
|
16765
|
+
|
16766
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
16767
|
+
# answers.
|
16768
|
+
# Corresponds to the JSON property `suggestedQueryAnswer`
|
16769
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer]
|
16770
|
+
attr_accessor :suggested_query_answer
|
16771
|
+
|
16772
|
+
def initialize(**args)
|
16773
|
+
update!(**args)
|
16774
|
+
end
|
16775
|
+
|
16776
|
+
# Update properties of this object
|
16777
|
+
def update!(**args)
|
16778
|
+
@answer_record = args[:answer_record] if args.key?(:answer_record)
|
16779
|
+
@suggested_query = args[:suggested_query] if args.key?(:suggested_query)
|
16780
|
+
@suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
|
16781
|
+
end
|
16782
|
+
end
|
16783
|
+
|
16784
|
+
# Represents an answer from Knowledge. Currently supports FAQ and Generative
|
16785
|
+
# answers.
|
16786
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
16787
|
+
include Google::Apis::Core::Hashable
|
16788
|
+
|
16789
|
+
# The piece of text from the `source` that answers this suggested query.
|
16790
|
+
# Corresponds to the JSON property `answerText`
|
16791
|
+
# @return [String]
|
16792
|
+
attr_accessor :answer_text
|
16793
|
+
|
16794
|
+
# Details about source of FAQ answer.
|
16795
|
+
# Corresponds to the JSON property `faqSource`
|
16796
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
|
16797
|
+
attr_accessor :faq_source
|
16798
|
+
|
16799
|
+
# Details about source of Generative answer.
|
16800
|
+
# Corresponds to the JSON property `generativeSource`
|
16801
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
|
16802
|
+
attr_accessor :generative_source
|
16803
|
+
|
16804
|
+
def initialize(**args)
|
16805
|
+
update!(**args)
|
16806
|
+
end
|
16807
|
+
|
16808
|
+
# Update properties of this object
|
16809
|
+
def update!(**args)
|
16810
|
+
@answer_text = args[:answer_text] if args.key?(:answer_text)
|
16811
|
+
@faq_source = args[:faq_source] if args.key?(:faq_source)
|
16812
|
+
@generative_source = args[:generative_source] if args.key?(:generative_source)
|
16813
|
+
end
|
16814
|
+
end
|
16815
|
+
|
16816
|
+
# Details about source of FAQ answer.
|
16817
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
16818
|
+
include Google::Apis::Core::Hashable
|
16819
|
+
|
16820
|
+
# The corresponding FAQ question.
|
16821
|
+
# Corresponds to the JSON property `question`
|
16822
|
+
# @return [String]
|
16823
|
+
attr_accessor :question
|
16824
|
+
|
16825
|
+
def initialize(**args)
|
16826
|
+
update!(**args)
|
16827
|
+
end
|
16828
|
+
|
16829
|
+
# Update properties of this object
|
16830
|
+
def update!(**args)
|
16831
|
+
@question = args[:question] if args.key?(:question)
|
16832
|
+
end
|
16833
|
+
end
|
16834
|
+
|
16835
|
+
# Details about source of Generative answer.
|
16836
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
16837
|
+
include Google::Apis::Core::Hashable
|
16838
|
+
|
16839
|
+
# All snippets used for this Generative Prediction, with their source URI and
|
16840
|
+
# data.
|
16841
|
+
# Corresponds to the JSON property `snippets`
|
16842
|
+
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
|
16843
|
+
attr_accessor :snippets
|
16844
|
+
|
16845
|
+
def initialize(**args)
|
16846
|
+
update!(**args)
|
16847
|
+
end
|
16848
|
+
|
16849
|
+
# Update properties of this object
|
16850
|
+
def update!(**args)
|
16851
|
+
@snippets = args[:snippets] if args.key?(:snippets)
|
16852
|
+
end
|
16853
|
+
end
|
16854
|
+
|
16855
|
+
# Snippet Source for a Generative Prediction.
|
16856
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
16857
|
+
include Google::Apis::Core::Hashable
|
16858
|
+
|
16859
|
+
# Text taken from that URI.
|
16860
|
+
# Corresponds to the JSON property `text`
|
16861
|
+
# @return [String]
|
16862
|
+
attr_accessor :text
|
16863
|
+
|
16864
|
+
# Title of the document.
|
16865
|
+
# Corresponds to the JSON property `title`
|
16866
|
+
# @return [String]
|
16867
|
+
attr_accessor :title
|
16868
|
+
|
16869
|
+
# URI the data is sourced from.
|
16870
|
+
# Corresponds to the JSON property `uri`
|
16871
|
+
# @return [String]
|
16872
|
+
attr_accessor :uri
|
16873
|
+
|
16874
|
+
def initialize(**args)
|
16875
|
+
update!(**args)
|
16876
|
+
end
|
16877
|
+
|
16878
|
+
# Update properties of this object
|
16879
|
+
def update!(**args)
|
16880
|
+
@text = args[:text] if args.key?(:text)
|
16881
|
+
@title = args[:title] if args.key?(:title)
|
16882
|
+
@uri = args[:uri] if args.key?(:uri)
|
16883
|
+
end
|
16884
|
+
end
|
16885
|
+
|
16886
|
+
# Represents a suggested query.
|
16887
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
16888
|
+
include Google::Apis::Core::Hashable
|
16889
|
+
|
16890
|
+
# Suggested query text.
|
16891
|
+
# Corresponds to the JSON property `queryText`
|
16892
|
+
# @return [String]
|
16893
|
+
attr_accessor :query_text
|
16894
|
+
|
16895
|
+
def initialize(**args)
|
16896
|
+
update!(**args)
|
16897
|
+
end
|
16898
|
+
|
16899
|
+
# Update properties of this object
|
16900
|
+
def update!(**args)
|
16901
|
+
@query_text = args[:query_text] if args.key?(:query_text)
|
16902
|
+
end
|
16903
|
+
end
|
16904
|
+
|
16387
16905
|
# A knowledge base represents a collection of knowledge documents that you
|
16388
16906
|
# provide to Dialogflow. Your knowledge documents contain information that may
|
16389
16907
|
# be useful during conversations with end-users. Some Dialogflow features use
|
@@ -18592,6 +19110,79 @@ module Google
|
|
18592
19110
|
end
|
18593
19111
|
end
|
18594
19112
|
|
19113
|
+
# The request message for Participants.SuggestKnowledgeAssist.
|
19114
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest
|
19115
|
+
include Google::Apis::Core::Hashable
|
19116
|
+
|
19117
|
+
# Optional. Max number of messages prior to and including latest_message to use
|
19118
|
+
# as context when compiling the suggestion. The context size is by default 100
|
19119
|
+
# and at most 100.
|
19120
|
+
# Corresponds to the JSON property `contextSize`
|
19121
|
+
# @return [Fixnum]
|
19122
|
+
attr_accessor :context_size
|
19123
|
+
|
19124
|
+
# Optional. The name of the latest conversation message to compile suggestions
|
19125
|
+
# for. If empty, it will be the latest message of the conversation. Format: `
|
19126
|
+
# projects//locations//conversations//messages/`.
|
19127
|
+
# Corresponds to the JSON property `latestMessage`
|
19128
|
+
# @return [String]
|
19129
|
+
attr_accessor :latest_message
|
19130
|
+
|
19131
|
+
# Optional. The previously suggested query for the given conversation. This
|
19132
|
+
# helps identify whether the next suggestion we generate is resonably different
|
19133
|
+
# from the previous one. This is useful to avoid similar suggestions within the
|
19134
|
+
# conversation.
|
19135
|
+
# Corresponds to the JSON property `previousSuggestedQuery`
|
19136
|
+
# @return [String]
|
19137
|
+
attr_accessor :previous_suggested_query
|
19138
|
+
|
19139
|
+
def initialize(**args)
|
19140
|
+
update!(**args)
|
19141
|
+
end
|
19142
|
+
|
19143
|
+
# Update properties of this object
|
19144
|
+
def update!(**args)
|
19145
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
19146
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
19147
|
+
@previous_suggested_query = args[:previous_suggested_query] if args.key?(:previous_suggested_query)
|
19148
|
+
end
|
19149
|
+
end
|
19150
|
+
|
19151
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
19152
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
19153
|
+
include Google::Apis::Core::Hashable
|
19154
|
+
|
19155
|
+
# Number of messages prior to and including latest_message to compile the
|
19156
|
+
# suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
|
19157
|
+
# context_size field in the request if there are fewer messages in the
|
19158
|
+
# conversation.
|
19159
|
+
# Corresponds to the JSON property `contextSize`
|
19160
|
+
# @return [Fixnum]
|
19161
|
+
attr_accessor :context_size
|
19162
|
+
|
19163
|
+
# Represents a Knowledge Assist answer.
|
19164
|
+
# Corresponds to the JSON property `knowledgeAssistAnswer`
|
19165
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer]
|
19166
|
+
attr_accessor :knowledge_assist_answer
|
19167
|
+
|
19168
|
+
# The name of the latest conversation message used to compile suggestion for.
|
19169
|
+
# Format: `projects//locations//conversations//messages/`.
|
19170
|
+
# Corresponds to the JSON property `latestMessage`
|
19171
|
+
# @return [String]
|
19172
|
+
attr_accessor :latest_message
|
19173
|
+
|
19174
|
+
def initialize(**args)
|
19175
|
+
update!(**args)
|
19176
|
+
end
|
19177
|
+
|
19178
|
+
# Update properties of this object
|
19179
|
+
def update!(**args)
|
19180
|
+
@context_size = args[:context_size] if args.key?(:context_size)
|
19181
|
+
@knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
|
19182
|
+
@latest_message = args[:latest_message] if args.key?(:latest_message)
|
19183
|
+
end
|
19184
|
+
end
|
19185
|
+
|
18595
19186
|
# The request message for Participants.SuggestSmartReplies.
|
18596
19187
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
|
18597
19188
|
include Google::Apis::Core::Hashable
|
@@ -18914,6 +19505,11 @@ module Google
|
|
18914
19505
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
|
18915
19506
|
attr_accessor :suggest_faq_answers_response
|
18916
19507
|
|
19508
|
+
# The response message for Participants.SuggestKnowledgeAssist.
|
19509
|
+
# Corresponds to the JSON property `suggestKnowledgeAssistResponse`
|
19510
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
19511
|
+
attr_accessor :suggest_knowledge_assist_response
|
19512
|
+
|
18917
19513
|
# The response message for Participants.SuggestSmartReplies.
|
18918
19514
|
# Corresponds to the JSON property `suggestSmartRepliesResponse`
|
18919
19515
|
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse]
|
@@ -18930,6 +19526,7 @@ module Google
|
|
18930
19526
|
@suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
|
18931
19527
|
@suggest_entity_extraction_response = args[:suggest_entity_extraction_response] if args.key?(:suggest_entity_extraction_response)
|
18932
19528
|
@suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
|
19529
|
+
@suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
|
18933
19530
|
@suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
|
18934
19531
|
end
|
18935
19532
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 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
|
@@ -1222,6 +1222,24 @@ module Google
|
|
1222
1222
|
include Google::Apis::Core::JsonObjectSupport
|
1223
1223
|
end
|
1224
1224
|
|
1225
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
1226
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
|
+
|
1228
|
+
include Google::Apis::Core::JsonObjectSupport
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1233
|
+
|
1234
|
+
include Google::Apis::Core::JsonObjectSupport
|
1235
|
+
end
|
1236
|
+
|
1237
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
1238
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
|
+
|
1240
|
+
include Google::Apis::Core::JsonObjectSupport
|
1241
|
+
end
|
1242
|
+
|
1225
1243
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
1226
1244
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
1245
|
|
@@ -1666,6 +1684,42 @@ module Google
|
|
1666
1684
|
include Google::Apis::Core::JsonObjectSupport
|
1667
1685
|
end
|
1668
1686
|
|
1687
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
1688
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1689
|
+
|
1690
|
+
include Google::Apis::Core::JsonObjectSupport
|
1691
|
+
end
|
1692
|
+
|
1693
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
1694
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1695
|
+
|
1696
|
+
include Google::Apis::Core::JsonObjectSupport
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
1700
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1701
|
+
|
1702
|
+
include Google::Apis::Core::JsonObjectSupport
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
1706
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1707
|
+
|
1708
|
+
include Google::Apis::Core::JsonObjectSupport
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
1712
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1713
|
+
|
1714
|
+
include Google::Apis::Core::JsonObjectSupport
|
1715
|
+
end
|
1716
|
+
|
1717
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
1718
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1719
|
+
|
1720
|
+
include Google::Apis::Core::JsonObjectSupport
|
1721
|
+
end
|
1722
|
+
|
1669
1723
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
1670
1724
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1671
1725
|
|
@@ -1744,6 +1798,12 @@ module Google
|
|
1744
1798
|
include Google::Apis::Core::JsonObjectSupport
|
1745
1799
|
end
|
1746
1800
|
|
1801
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
1802
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1803
|
+
|
1804
|
+
include Google::Apis::Core::JsonObjectSupport
|
1805
|
+
end
|
1806
|
+
|
1747
1807
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
1748
1808
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1749
1809
|
|
@@ -1786,6 +1846,12 @@ module Google
|
|
1786
1846
|
include Google::Apis::Core::JsonObjectSupport
|
1787
1847
|
end
|
1788
1848
|
|
1849
|
+
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
|
1850
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1851
|
+
|
1852
|
+
include Google::Apis::Core::JsonObjectSupport
|
1853
|
+
end
|
1854
|
+
|
1789
1855
|
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
|
1790
1856
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1791
1857
|
|
@@ -2656,6 +2722,42 @@ module Google
|
|
2656
2722
|
include Google::Apis::Core::JsonObjectSupport
|
2657
2723
|
end
|
2658
2724
|
|
2725
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
2726
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2727
|
+
|
2728
|
+
include Google::Apis::Core::JsonObjectSupport
|
2729
|
+
end
|
2730
|
+
|
2731
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
2732
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2733
|
+
|
2734
|
+
include Google::Apis::Core::JsonObjectSupport
|
2735
|
+
end
|
2736
|
+
|
2737
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
2738
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2739
|
+
|
2740
|
+
include Google::Apis::Core::JsonObjectSupport
|
2741
|
+
end
|
2742
|
+
|
2743
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
2744
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2745
|
+
|
2746
|
+
include Google::Apis::Core::JsonObjectSupport
|
2747
|
+
end
|
2748
|
+
|
2749
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
2750
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2751
|
+
|
2752
|
+
include Google::Apis::Core::JsonObjectSupport
|
2753
|
+
end
|
2754
|
+
|
2755
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
2756
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2757
|
+
|
2758
|
+
include Google::Apis::Core::JsonObjectSupport
|
2759
|
+
end
|
2760
|
+
|
2659
2761
|
class GoogleCloudDialogflowV2beta1KnowledgeBase
|
2660
2762
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2661
2763
|
|
@@ -3022,6 +3124,18 @@ module Google
|
|
3022
3124
|
include Google::Apis::Core::JsonObjectSupport
|
3023
3125
|
end
|
3024
3126
|
|
3127
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest
|
3128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3129
|
+
|
3130
|
+
include Google::Apis::Core::JsonObjectSupport
|
3131
|
+
end
|
3132
|
+
|
3133
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
3134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3135
|
+
|
3136
|
+
include Google::Apis::Core::JsonObjectSupport
|
3137
|
+
end
|
3138
|
+
|
3025
3139
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
|
3026
3140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3027
3141
|
|
@@ -4971,6 +5085,8 @@ module Google
|
|
4971
5085
|
property :language_code, as: 'languageCode'
|
4972
5086
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TextInput::Representation
|
4973
5087
|
|
5088
|
+
property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
|
5089
|
+
|
4974
5090
|
end
|
4975
5091
|
end
|
4976
5092
|
|
@@ -5005,6 +5121,8 @@ module Google
|
|
5005
5121
|
|
5006
5122
|
property :text, as: 'text', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
|
5007
5123
|
|
5124
|
+
property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
|
5125
|
+
|
5008
5126
|
end
|
5009
5127
|
end
|
5010
5128
|
|
@@ -5194,6 +5312,33 @@ module Google
|
|
5194
5312
|
end
|
5195
5313
|
end
|
5196
5314
|
|
5315
|
+
class GoogleCloudDialogflowCxV3beta1ToolCall
|
5316
|
+
# @private
|
5317
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5318
|
+
property :action, as: 'action'
|
5319
|
+
hash :input_parameters, as: 'inputParameters'
|
5320
|
+
property :tool, as: 'tool'
|
5321
|
+
end
|
5322
|
+
end
|
5323
|
+
|
5324
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResult
|
5325
|
+
# @private
|
5326
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5327
|
+
property :action, as: 'action'
|
5328
|
+
property :error, as: 'error', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ToolCallResultError::Representation
|
5329
|
+
|
5330
|
+
hash :output_parameters, as: 'outputParameters'
|
5331
|
+
property :tool, as: 'tool'
|
5332
|
+
end
|
5333
|
+
end
|
5334
|
+
|
5335
|
+
class GoogleCloudDialogflowCxV3beta1ToolCallResultError
|
5336
|
+
# @private
|
5337
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
5338
|
+
property :message, as: 'message'
|
5339
|
+
end
|
5340
|
+
end
|
5341
|
+
|
5197
5342
|
class GoogleCloudDialogflowCxV3beta1TransitionRoute
|
5198
5343
|
# @private
|
5199
5344
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -5978,6 +6123,59 @@ module Google
|
|
5978
6123
|
end
|
5979
6124
|
end
|
5980
6125
|
|
6126
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswer
|
6127
|
+
# @private
|
6128
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6129
|
+
property :answer_record, as: 'answerRecord'
|
6130
|
+
property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery::Representation
|
6131
|
+
|
6132
|
+
property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer::Representation
|
6133
|
+
|
6134
|
+
end
|
6135
|
+
end
|
6136
|
+
|
6137
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
|
6138
|
+
# @private
|
6139
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6140
|
+
property :answer_text, as: 'answerText'
|
6141
|
+
property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
|
6142
|
+
|
6143
|
+
property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
|
6144
|
+
|
6145
|
+
end
|
6146
|
+
end
|
6147
|
+
|
6148
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
6149
|
+
# @private
|
6150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6151
|
+
property :question, as: 'question'
|
6152
|
+
end
|
6153
|
+
end
|
6154
|
+
|
6155
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
6156
|
+
# @private
|
6157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6158
|
+
collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
|
6159
|
+
|
6160
|
+
end
|
6161
|
+
end
|
6162
|
+
|
6163
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
6164
|
+
# @private
|
6165
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6166
|
+
property :text, as: 'text'
|
6167
|
+
property :title, as: 'title'
|
6168
|
+
property :uri, as: 'uri'
|
6169
|
+
end
|
6170
|
+
end
|
6171
|
+
|
6172
|
+
class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
|
6173
|
+
# @private
|
6174
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6175
|
+
property :query_text, as: 'queryText'
|
6176
|
+
end
|
6177
|
+
end
|
6178
|
+
|
5981
6179
|
class GoogleCloudDialogflowV2KnowledgeOperationMetadata
|
5982
6180
|
# @private
|
5983
6181
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6121,6 +6319,16 @@ module Google
|
|
6121
6319
|
end
|
6122
6320
|
end
|
6123
6321
|
|
6322
|
+
class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
|
6323
|
+
# @private
|
6324
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6325
|
+
property :context_size, as: 'contextSize'
|
6326
|
+
property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswer::Representation
|
6327
|
+
|
6328
|
+
property :latest_message, as: 'latestMessage'
|
6329
|
+
end
|
6330
|
+
end
|
6331
|
+
|
6124
6332
|
class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
|
6125
6333
|
# @private
|
6126
6334
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6140,6 +6348,8 @@ module Google
|
|
6140
6348
|
|
6141
6349
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
|
6142
6350
|
|
6351
|
+
property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::Representation
|
6352
|
+
|
6143
6353
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
|
6144
6354
|
|
6145
6355
|
end
|
@@ -6206,6 +6416,8 @@ module Google
|
|
6206
6416
|
property :answer_relevance, as: 'answerRelevance'
|
6207
6417
|
property :document_correctness, as: 'documentCorrectness'
|
6208
6418
|
property :document_efficiency, as: 'documentEfficiency'
|
6419
|
+
property :knowledge_assist_feedback, as: 'knowledgeAssistFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback::Representation
|
6420
|
+
|
6209
6421
|
property :knowledge_search_feedback, as: 'knowledgeSearchFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback::Representation
|
6210
6422
|
|
6211
6423
|
property :summarization_feedback, as: 'summarizationFeedback', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1AgentAssistantFeedbackSummarizationFeedback::Representation
|
@@ -6213,6 +6425,14 @@ module Google
|
|
6213
6425
|
end
|
6214
6426
|
end
|
6215
6427
|
|
6428
|
+
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeAssistFeedback
|
6429
|
+
# @private
|
6430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6431
|
+
property :answer_copied, as: 'answerCopied'
|
6432
|
+
collection :clicked_uris, as: 'clickedUris'
|
6433
|
+
end
|
6434
|
+
end
|
6435
|
+
|
6216
6436
|
class GoogleCloudDialogflowV2beta1AgentAssistantFeedbackKnowledgeSearchFeedback
|
6217
6437
|
# @private
|
6218
6438
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6361,6 +6581,7 @@ module Google
|
|
6361
6581
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6362
6582
|
property :allow_cancellation, as: 'allowCancellation'
|
6363
6583
|
property :automated_agent_reply_type, as: 'automatedAgentReplyType'
|
6584
|
+
property :call_companion_auth_code, :base64 => true, as: 'callCompanionAuthCode'
|
6364
6585
|
property :cx_current_page, as: 'cxCurrentPage'
|
6365
6586
|
hash :cx_session_parameters, as: 'cxSessionParameters'
|
6366
6587
|
property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
|
@@ -6978,6 +7199,7 @@ module Google
|
|
6978
7199
|
class GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionConfig
|
6979
7200
|
# @private
|
6980
7201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
7202
|
+
property :disable_high_latency_features_sync_delivery, as: 'disableHighLatencyFeaturesSyncDelivery'
|
6981
7203
|
collection :feature_configs, as: 'featureConfigs', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionFeatureConfig::Representation
|
6982
7204
|
|
6983
7205
|
collection :generators, as: 'generators'
|
@@ -6995,6 +7217,8 @@ module Google
|
|
6995
7217
|
property :disable_agent_query_logging, as: 'disableAgentQueryLogging'
|
6996
7218
|
property :enable_conversation_augmented_query, as: 'enableConversationAugmentedQuery'
|
6997
7219
|
property :enable_event_based_suggestion, as: 'enableEventBasedSuggestion'
|
7220
|
+
property :enable_query_suggestion_only, as: 'enableQuerySuggestionOnly'
|
7221
|
+
property :enable_query_suggestion_when_no_answer, as: 'enableQuerySuggestionWhenNoAnswer'
|
6998
7222
|
property :query_config, as: 'queryConfig', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigSuggestionQueryConfig::Representation
|
6999
7223
|
|
7000
7224
|
property :suggestion_feature, as: 'suggestionFeature', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestionFeature::Representation
|
@@ -7722,6 +7946,59 @@ module Google
|
|
7722
7946
|
end
|
7723
7947
|
end
|
7724
7948
|
|
7949
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
|
7950
|
+
# @private
|
7951
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7952
|
+
property :answer_record, as: 'answerRecord'
|
7953
|
+
property :suggested_query, as: 'suggestedQuery', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery::Representation
|
7954
|
+
|
7955
|
+
property :suggested_query_answer, as: 'suggestedQueryAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer::Representation
|
7956
|
+
|
7957
|
+
end
|
7958
|
+
end
|
7959
|
+
|
7960
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
|
7961
|
+
# @private
|
7962
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7963
|
+
property :answer_text, as: 'answerText'
|
7964
|
+
property :faq_source, as: 'faqSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource::Representation
|
7965
|
+
|
7966
|
+
property :generative_source, as: 'generativeSource', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource::Representation
|
7967
|
+
|
7968
|
+
end
|
7969
|
+
end
|
7970
|
+
|
7971
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
|
7972
|
+
# @private
|
7973
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7974
|
+
property :question, as: 'question'
|
7975
|
+
end
|
7976
|
+
end
|
7977
|
+
|
7978
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
|
7979
|
+
# @private
|
7980
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7981
|
+
collection :snippets, as: 'snippets', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet::Representation
|
7982
|
+
|
7983
|
+
end
|
7984
|
+
end
|
7985
|
+
|
7986
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
|
7987
|
+
# @private
|
7988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7989
|
+
property :text, as: 'text'
|
7990
|
+
property :title, as: 'title'
|
7991
|
+
property :uri, as: 'uri'
|
7992
|
+
end
|
7993
|
+
end
|
7994
|
+
|
7995
|
+
class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
|
7996
|
+
# @private
|
7997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
7998
|
+
property :query_text, as: 'queryText'
|
7999
|
+
end
|
8000
|
+
end
|
8001
|
+
|
7725
8002
|
class GoogleCloudDialogflowV2beta1KnowledgeBase
|
7726
8003
|
# @private
|
7727
8004
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8325,6 +8602,25 @@ module Google
|
|
8325
8602
|
end
|
8326
8603
|
end
|
8327
8604
|
|
8605
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest
|
8606
|
+
# @private
|
8607
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8608
|
+
property :context_size, as: 'contextSize'
|
8609
|
+
property :latest_message, as: 'latestMessage'
|
8610
|
+
property :previous_suggested_query, as: 'previousSuggestedQuery'
|
8611
|
+
end
|
8612
|
+
end
|
8613
|
+
|
8614
|
+
class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
8615
|
+
# @private
|
8616
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8617
|
+
property :context_size, as: 'contextSize'
|
8618
|
+
property :knowledge_assist_answer, as: 'knowledgeAssistAnswer', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer::Representation
|
8619
|
+
|
8620
|
+
property :latest_message, as: 'latestMessage'
|
8621
|
+
end
|
8622
|
+
end
|
8623
|
+
|
8328
8624
|
class GoogleCloudDialogflowV2beta1SuggestSmartRepliesRequest
|
8329
8625
|
# @private
|
8330
8626
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8413,6 +8709,8 @@ module Google
|
|
8413
8709
|
|
8414
8710
|
property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
|
8415
8711
|
|
8712
|
+
property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
8713
|
+
|
8416
8714
|
property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
|
8417
8715
|
|
8418
8716
|
end
|
@@ -4053,6 +4053,40 @@ module Google
|
|
4053
4053
|
execute_or_queue_command(command, &block)
|
4054
4054
|
end
|
4055
4055
|
|
4056
|
+
# Gets knowledge assist suggestions based on historical messages.
|
4057
|
+
# @param [String] parent
|
4058
|
+
# Required. The name of the participant to fetch suggestions for. Format: `
|
4059
|
+
# projects//locations//conversations//participants/`.
|
4060
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest] google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
4061
|
+
# @param [String] fields
|
4062
|
+
# Selector specifying which fields to include in a partial response.
|
4063
|
+
# @param [String] quota_user
|
4064
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4065
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4066
|
+
# @param [Google::Apis::RequestOptions] options
|
4067
|
+
# Request-specific options
|
4068
|
+
#
|
4069
|
+
# @yield [result, err] Result & error if block supplied
|
4070
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse] parsed result object
|
4071
|
+
# @yieldparam err [StandardError] error object if request failed
|
4072
|
+
#
|
4073
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
4074
|
+
#
|
4075
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4076
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4077
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4078
|
+
def suggest_project_conversation_participant_suggestion_knowledge_assist(parent, google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4079
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:suggestKnowledgeAssist', options)
|
4080
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest::Representation
|
4081
|
+
command.request_object = google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
4082
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
4083
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
4084
|
+
command.params['parent'] = parent unless parent.nil?
|
4085
|
+
command.query['fields'] = fields unless fields.nil?
|
4086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4087
|
+
execute_or_queue_command(command, &block)
|
4088
|
+
end
|
4089
|
+
|
4056
4090
|
# Gets smart replies for a participant based on specific historical messages.
|
4057
4091
|
# @param [String] parent
|
4058
4092
|
# Required. The name of the participant to fetch suggestion for. Format: `
|
@@ -8256,6 +8290,40 @@ module Google
|
|
8256
8290
|
execute_or_queue_command(command, &block)
|
8257
8291
|
end
|
8258
8292
|
|
8293
|
+
# Gets knowledge assist suggestions based on historical messages.
|
8294
|
+
# @param [String] parent
|
8295
|
+
# Required. The name of the participant to fetch suggestions for. Format: `
|
8296
|
+
# projects//locations//conversations//participants/`.
|
8297
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest] google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
8298
|
+
# @param [String] fields
|
8299
|
+
# Selector specifying which fields to include in a partial response.
|
8300
|
+
# @param [String] quota_user
|
8301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
8302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
8303
|
+
# @param [Google::Apis::RequestOptions] options
|
8304
|
+
# Request-specific options
|
8305
|
+
#
|
8306
|
+
# @yield [result, err] Result & error if block supplied
|
8307
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse] parsed result object
|
8308
|
+
# @yieldparam err [StandardError] error object if request failed
|
8309
|
+
#
|
8310
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
|
8311
|
+
#
|
8312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
8313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
8314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
8315
|
+
def suggest_project_location_conversation_participant_suggestion_knowledge_assist(parent, google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
8316
|
+
command = make_simple_command(:post, 'v2beta1/{+parent}/suggestions:suggestKnowledgeAssist', options)
|
8317
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistRequest::Representation
|
8318
|
+
command.request_object = google_cloud_dialogflow_v2beta1_suggest_knowledge_assist_request_object
|
8319
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
|
8320
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
|
8321
|
+
command.params['parent'] = parent unless parent.nil?
|
8322
|
+
command.query['fields'] = fields unless fields.nil?
|
8323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
8324
|
+
execute_or_queue_command(command, &block)
|
8325
|
+
end
|
8326
|
+
|
8259
8327
|
# Gets smart replies for a participant based on specific historical messages.
|
8260
8328
|
# @param [String] parent
|
8261
8329
|
# Required. The name of the participant to fetch suggestion for. Format: `
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
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-06-
|
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_v2beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.87.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v2beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|