google-apis-dialogflow_v3 0.85.0 → 0.87.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: a9b32740c97684735e4412138102bf532ae510c2a8a306a77d9eca541c4ccf09
4
- data.tar.gz: 273d0ef90e396a5395bfcb04cf36c6d93808daae02e25243ed737437b792a022
3
+ metadata.gz: 14ff50cae92d13960324e9eb8afc31aa01ca52b08e47cd7ad08a03ffeb68a6e2
4
+ data.tar.gz: 43277f9e8b27853562a14a4d87bfc2e11104153a75d7e9c8962f760ea31732f4
5
5
  SHA512:
6
- metadata.gz: 0d0a9798fd279f2dcdbfa2124e92a70a405c4817e069a523dc5047bad57578e0f8bf636742fa327903f84adc321f7eb4008a74ce569ed0cfcff73e60e5ffc1b0
7
- data.tar.gz: d018fcbee28dd0ffb9e19e464e4543f077fc77991fdea2891ee862490e534265bf50f7a7e74b758405ea75f5c47b3c3cb5de0d93bd24b741da3eec1630f3135f
6
+ metadata.gz: 2ed87d39249327225c42671e0266bbdd70e68a1b283c9ed26af10ee0fcf042c87c68995c5c2bc573e6df1a06b98fd6fe0ee859dfbf2d3b27f4360c653f906264
7
+ data.tar.gz: 1d2786707589977f4c1996e79d50aff8c5b9e0d79e93de707e173e62ca5b75cf8a5bac4e578c5478f85835d23a045ab1f392cd725f7796472f7e5753a9f9bb20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.87.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240603
6
+
7
+ ### v0.86.0 (2024-05-19)
8
+
9
+ * Regenerated from discovery document revision 20240507
10
+ * Regenerated using generator version 0.15.0
11
+
3
12
  ### v0.85.0 (2024-04-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20240417
@@ -81,11 +81,21 @@ module Google
81
81
  attr_accessor :enabled
82
82
  alias_method :enabled?, :enabled
83
83
 
84
+ # Endpoint timeout setting for matching dtmf input to regex.
85
+ # Corresponds to the JSON property `endpointingTimeoutDuration`
86
+ # @return [String]
87
+ attr_accessor :endpointing_timeout_duration
88
+
84
89
  # The digit that terminates a DTMF digit sequence.
85
90
  # Corresponds to the JSON property `finishDigit`
86
91
  # @return [String]
87
92
  attr_accessor :finish_digit
88
93
 
94
+ # Interdigit timeout setting for matching dtmf input to regex.
95
+ # Corresponds to the JSON property `interdigitTimeoutDuration`
96
+ # @return [String]
97
+ attr_accessor :interdigit_timeout_duration
98
+
89
99
  # Max length of DTMF digits.
90
100
  # Corresponds to the JSON property `maxDigits`
91
101
  # @return [Fixnum]
@@ -98,7 +108,9 @@ module Google
98
108
  # Update properties of this object
99
109
  def update!(**args)
100
110
  @enabled = args[:enabled] if args.key?(:enabled)
111
+ @endpointing_timeout_duration = args[:endpointing_timeout_duration] if args.key?(:endpointing_timeout_duration)
101
112
  @finish_digit = args[:finish_digit] if args.key?(:finish_digit)
113
+ @interdigit_timeout_duration = args[:interdigit_timeout_duration] if args.key?(:interdigit_timeout_duration)
102
114
  @max_digits = args[:max_digits] if args.key?(:max_digits)
103
115
  end
104
116
  end
@@ -107,13 +119,13 @@ module Google
107
119
  class GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings
108
120
  include Google::Apis::Core::Hashable
109
121
 
110
- # If true, DF Interaction logging is currently enabled.
122
+ # Enables DF Interaction logging.
111
123
  # Corresponds to the JSON property `enableInteractionLogging`
112
124
  # @return [Boolean]
113
125
  attr_accessor :enable_interaction_logging
114
126
  alias_method :enable_interaction_logging?, :enable_interaction_logging
115
127
 
116
- # If true, StackDriver logging is currently enabled.
128
+ # Enables StackDriver logging.
117
129
  # Corresponds to the JSON property `enableStackdriverLogging`
118
130
  # @return [Boolean]
119
131
  attr_accessor :enable_stackdriver_logging
@@ -7012,6 +7024,13 @@ module Google
7012
7024
  # @return [String]
7013
7025
  attr_accessor :gcs_bucket
7014
7026
 
7027
+ # Whether to store TTS audio. By default, TTS audio from the virtual agent is
7028
+ # not exported.
7029
+ # Corresponds to the JSON property `storeTtsAudio`
7030
+ # @return [Boolean]
7031
+ attr_accessor :store_tts_audio
7032
+ alias_method :store_tts_audio?, :store_tts_audio
7033
+
7015
7034
  def initialize(**args)
7016
7035
  update!(**args)
7017
7036
  end
@@ -7022,6 +7041,7 @@ module Google
7022
7041
  @audio_format = args[:audio_format] if args.key?(:audio_format)
7023
7042
  @enable_audio_redaction = args[:enable_audio_redaction] if args.key?(:enable_audio_redaction)
7024
7043
  @gcs_bucket = args[:gcs_bucket] if args.key?(:gcs_bucket)
7044
+ @store_tts_audio = args[:store_tts_audio] if args.key?(:store_tts_audio)
7025
7045
  end
7026
7046
  end
7027
7047
 
@@ -8856,11 +8876,21 @@ module Google
8856
8876
  attr_accessor :enabled
8857
8877
  alias_method :enabled?, :enabled
8858
8878
 
8879
+ # Endpoint timeout setting for matching dtmf input to regex.
8880
+ # Corresponds to the JSON property `endpointingTimeoutDuration`
8881
+ # @return [String]
8882
+ attr_accessor :endpointing_timeout_duration
8883
+
8859
8884
  # The digit that terminates a DTMF digit sequence.
8860
8885
  # Corresponds to the JSON property `finishDigit`
8861
8886
  # @return [String]
8862
8887
  attr_accessor :finish_digit
8863
8888
 
8889
+ # Interdigit timeout setting for matching dtmf input to regex.
8890
+ # Corresponds to the JSON property `interdigitTimeoutDuration`
8891
+ # @return [String]
8892
+ attr_accessor :interdigit_timeout_duration
8893
+
8864
8894
  # Max length of DTMF digits.
8865
8895
  # Corresponds to the JSON property `maxDigits`
8866
8896
  # @return [Fixnum]
@@ -8873,7 +8903,9 @@ module Google
8873
8903
  # Update properties of this object
8874
8904
  def update!(**args)
8875
8905
  @enabled = args[:enabled] if args.key?(:enabled)
8906
+ @endpointing_timeout_duration = args[:endpointing_timeout_duration] if args.key?(:endpointing_timeout_duration)
8876
8907
  @finish_digit = args[:finish_digit] if args.key?(:finish_digit)
8908
+ @interdigit_timeout_duration = args[:interdigit_timeout_duration] if args.key?(:interdigit_timeout_duration)
8877
8909
  @max_digits = args[:max_digits] if args.key?(:max_digits)
8878
8910
  end
8879
8911
  end
@@ -8882,13 +8914,13 @@ module Google
8882
8914
  class GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings
8883
8915
  include Google::Apis::Core::Hashable
8884
8916
 
8885
- # If true, DF Interaction logging is currently enabled.
8917
+ # Enables DF Interaction logging.
8886
8918
  # Corresponds to the JSON property `enableInteractionLogging`
8887
8919
  # @return [Boolean]
8888
8920
  attr_accessor :enable_interaction_logging
8889
8921
  alias_method :enable_interaction_logging?, :enable_interaction_logging
8890
8922
 
8891
- # If true, StackDriver logging is currently enabled.
8923
+ # Enables StackDriver logging.
8892
8924
  # Corresponds to the JSON property `enableStackdriverLogging`
8893
8925
  # @return [Boolean]
8894
8926
  attr_accessor :enable_stackdriver_logging
@@ -11155,6 +11187,11 @@ module Google
11155
11187
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput]
11156
11188
  attr_accessor :text
11157
11189
 
11190
+ # The result of calling a tool's action that has been executed by the client.
11191
+ # Corresponds to the JSON property `toolCallResult`
11192
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult]
11193
+ attr_accessor :tool_call_result
11194
+
11158
11195
  def initialize(**args)
11159
11196
  update!(**args)
11160
11197
  end
@@ -11167,6 +11204,7 @@ module Google
11167
11204
  @intent = args[:intent] if args.key?(:intent)
11168
11205
  @language_code = args[:language_code] if args.key?(:language_code)
11169
11206
  @text = args[:text] if args.key?(:text)
11207
+ @tool_call_result = args[:tool_call_result] if args.key?(:tool_call_result)
11170
11208
  end
11171
11209
  end
11172
11210
 
@@ -11283,6 +11321,11 @@ module Google
11283
11321
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText]
11284
11322
  attr_accessor :text
11285
11323
 
11324
+ # Represents a call of a specific tool's action with the specified inputs.
11325
+ # Corresponds to the JSON property `toolCall`
11326
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall]
11327
+ attr_accessor :tool_call
11328
+
11286
11329
  def initialize(**args)
11287
11330
  update!(**args)
11288
11331
  end
@@ -11300,6 +11343,7 @@ module Google
11300
11343
  @play_audio = args[:play_audio] if args.key?(:play_audio)
11301
11344
  @telephony_transfer_call = args[:telephony_transfer_call] if args.key?(:telephony_transfer_call)
11302
11345
  @text = args[:text] if args.key?(:text)
11346
+ @tool_call = args[:tool_call] if args.key?(:tool_call)
11303
11347
  end
11304
11348
  end
11305
11349
 
@@ -11922,6 +11966,95 @@ module Google
11922
11966
  end
11923
11967
  end
11924
11968
 
11969
+ # Represents a call of a specific tool's action with the specified inputs.
11970
+ class GoogleCloudDialogflowCxV3beta1ToolCall
11971
+ include Google::Apis::Core::Hashable
11972
+
11973
+ # Required. The name of the tool's action associated with this call.
11974
+ # Corresponds to the JSON property `action`
11975
+ # @return [String]
11976
+ attr_accessor :action
11977
+
11978
+ # Optional. The action's input parameters.
11979
+ # Corresponds to the JSON property `inputParameters`
11980
+ # @return [Hash<String,Object>]
11981
+ attr_accessor :input_parameters
11982
+
11983
+ # Required. The tool associated with this call. Format: `projects//locations//
11984
+ # agents//tools/`.
11985
+ # Corresponds to the JSON property `tool`
11986
+ # @return [String]
11987
+ attr_accessor :tool
11988
+
11989
+ def initialize(**args)
11990
+ update!(**args)
11991
+ end
11992
+
11993
+ # Update properties of this object
11994
+ def update!(**args)
11995
+ @action = args[:action] if args.key?(:action)
11996
+ @input_parameters = args[:input_parameters] if args.key?(:input_parameters)
11997
+ @tool = args[:tool] if args.key?(:tool)
11998
+ end
11999
+ end
12000
+
12001
+ # The result of calling a tool's action that has been executed by the client.
12002
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
12003
+ include Google::Apis::Core::Hashable
12004
+
12005
+ # Required. The name of the tool's action associated with this call.
12006
+ # Corresponds to the JSON property `action`
12007
+ # @return [String]
12008
+ attr_accessor :action
12009
+
12010
+ # An error produced by the tool call.
12011
+ # Corresponds to the JSON property `error`
12012
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResultError]
12013
+ attr_accessor :error
12014
+
12015
+ # The tool call's output parameters.
12016
+ # Corresponds to the JSON property `outputParameters`
12017
+ # @return [Hash<String,Object>]
12018
+ attr_accessor :output_parameters
12019
+
12020
+ # Required. The tool associated with this call. Format: `projects//locations//
12021
+ # agents//tools/`.
12022
+ # Corresponds to the JSON property `tool`
12023
+ # @return [String]
12024
+ attr_accessor :tool
12025
+
12026
+ def initialize(**args)
12027
+ update!(**args)
12028
+ end
12029
+
12030
+ # Update properties of this object
12031
+ def update!(**args)
12032
+ @action = args[:action] if args.key?(:action)
12033
+ @error = args[:error] if args.key?(:error)
12034
+ @output_parameters = args[:output_parameters] if args.key?(:output_parameters)
12035
+ @tool = args[:tool] if args.key?(:tool)
12036
+ end
12037
+ end
12038
+
12039
+ # An error produced by the tool call.
12040
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
12041
+ include Google::Apis::Core::Hashable
12042
+
12043
+ # Optional. The error message of the function.
12044
+ # Corresponds to the JSON property `message`
12045
+ # @return [String]
12046
+ attr_accessor :message
12047
+
12048
+ def initialize(**args)
12049
+ update!(**args)
12050
+ end
12051
+
12052
+ # Update properties of this object
12053
+ def update!(**args)
12054
+ @message = args[:message] if args.key?(:message)
12055
+ end
12056
+ end
12057
+
11925
12058
  # A transition route specifies a intent that can be matched and/or a data
11926
12059
  # condition that can be evaluated during a session. When a specified transition
11927
12060
  # is matched, the following actions are taken in order: * If there is a `
@@ -14788,6 +14921,159 @@ module Google
14788
14921
  end
14789
14922
  end
14790
14923
 
14924
+ # Represents a Knowledge Assist answer.
14925
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswer
14926
+ include Google::Apis::Core::Hashable
14927
+
14928
+ # The name of the answer record. Format: `projects//locations//answer Records/`.
14929
+ # Corresponds to the JSON property `answerRecord`
14930
+ # @return [String]
14931
+ attr_accessor :answer_record
14932
+
14933
+ # Represents a suggested query.
14934
+ # Corresponds to the JSON property `suggestedQuery`
14935
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery]
14936
+ attr_accessor :suggested_query
14937
+
14938
+ # Represents an answer from Knowledge. Currently supports FAQ and Generative
14939
+ # answers.
14940
+ # Corresponds to the JSON property `suggestedQueryAnswer`
14941
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer]
14942
+ attr_accessor :suggested_query_answer
14943
+
14944
+ def initialize(**args)
14945
+ update!(**args)
14946
+ end
14947
+
14948
+ # Update properties of this object
14949
+ def update!(**args)
14950
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
14951
+ @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
14952
+ @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
14953
+ end
14954
+ end
14955
+
14956
+ # Represents an answer from Knowledge. Currently supports FAQ and Generative
14957
+ # answers.
14958
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
14959
+ include Google::Apis::Core::Hashable
14960
+
14961
+ # The piece of text from the `source` that answers this suggested query.
14962
+ # Corresponds to the JSON property `answerText`
14963
+ # @return [String]
14964
+ attr_accessor :answer_text
14965
+
14966
+ # Details about source of FAQ answer.
14967
+ # Corresponds to the JSON property `faqSource`
14968
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
14969
+ attr_accessor :faq_source
14970
+
14971
+ # Details about source of Generative answer.
14972
+ # Corresponds to the JSON property `generativeSource`
14973
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
14974
+ attr_accessor :generative_source
14975
+
14976
+ def initialize(**args)
14977
+ update!(**args)
14978
+ end
14979
+
14980
+ # Update properties of this object
14981
+ def update!(**args)
14982
+ @answer_text = args[:answer_text] if args.key?(:answer_text)
14983
+ @faq_source = args[:faq_source] if args.key?(:faq_source)
14984
+ @generative_source = args[:generative_source] if args.key?(:generative_source)
14985
+ end
14986
+ end
14987
+
14988
+ # Details about source of FAQ answer.
14989
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
14990
+ include Google::Apis::Core::Hashable
14991
+
14992
+ # The corresponding FAQ question.
14993
+ # Corresponds to the JSON property `question`
14994
+ # @return [String]
14995
+ attr_accessor :question
14996
+
14997
+ def initialize(**args)
14998
+ update!(**args)
14999
+ end
15000
+
15001
+ # Update properties of this object
15002
+ def update!(**args)
15003
+ @question = args[:question] if args.key?(:question)
15004
+ end
15005
+ end
15006
+
15007
+ # Details about source of Generative answer.
15008
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
15009
+ include Google::Apis::Core::Hashable
15010
+
15011
+ # All snippets used for this Generative Prediction, with their source URI and
15012
+ # data.
15013
+ # Corresponds to the JSON property `snippets`
15014
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
15015
+ attr_accessor :snippets
15016
+
15017
+ def initialize(**args)
15018
+ update!(**args)
15019
+ end
15020
+
15021
+ # Update properties of this object
15022
+ def update!(**args)
15023
+ @snippets = args[:snippets] if args.key?(:snippets)
15024
+ end
15025
+ end
15026
+
15027
+ # Snippet Source for a Generative Prediction.
15028
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
15029
+ include Google::Apis::Core::Hashable
15030
+
15031
+ # Text taken from that URI.
15032
+ # Corresponds to the JSON property `text`
15033
+ # @return [String]
15034
+ attr_accessor :text
15035
+
15036
+ # Title of the document.
15037
+ # Corresponds to the JSON property `title`
15038
+ # @return [String]
15039
+ attr_accessor :title
15040
+
15041
+ # URI the data is sourced from.
15042
+ # Corresponds to the JSON property `uri`
15043
+ # @return [String]
15044
+ attr_accessor :uri
15045
+
15046
+ def initialize(**args)
15047
+ update!(**args)
15048
+ end
15049
+
15050
+ # Update properties of this object
15051
+ def update!(**args)
15052
+ @text = args[:text] if args.key?(:text)
15053
+ @title = args[:title] if args.key?(:title)
15054
+ @uri = args[:uri] if args.key?(:uri)
15055
+ end
15056
+ end
15057
+
15058
+ # Represents a suggested query.
15059
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
15060
+ include Google::Apis::Core::Hashable
15061
+
15062
+ # Suggested query text.
15063
+ # Corresponds to the JSON property `queryText`
15064
+ # @return [String]
15065
+ attr_accessor :query_text
15066
+
15067
+ def initialize(**args)
15068
+ update!(**args)
15069
+ end
15070
+
15071
+ # Update properties of this object
15072
+ def update!(**args)
15073
+ @query_text = args[:query_text] if args.key?(:query_text)
15074
+ end
15075
+ end
15076
+
14791
15077
  # Metadata in google::longrunning::Operation for Knowledge operations.
14792
15078
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
14793
15079
  include Google::Apis::Core::Hashable
@@ -15388,6 +15674,41 @@ module Google
15388
15674
  end
15389
15675
  end
15390
15676
 
15677
+ # The response message for Participants.SuggestKnowledgeAssist.
15678
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
15679
+ include Google::Apis::Core::Hashable
15680
+
15681
+ # Number of messages prior to and including latest_message to compile the
15682
+ # suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
15683
+ # context_size field in the request if there are fewer messages in the
15684
+ # conversation.
15685
+ # Corresponds to the JSON property `contextSize`
15686
+ # @return [Fixnum]
15687
+ attr_accessor :context_size
15688
+
15689
+ # Represents a Knowledge Assist answer.
15690
+ # Corresponds to the JSON property `knowledgeAssistAnswer`
15691
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswer]
15692
+ attr_accessor :knowledge_assist_answer
15693
+
15694
+ # The name of the latest conversation message used to compile suggestion for.
15695
+ # Format: `projects//locations//conversations//messages/`.
15696
+ # Corresponds to the JSON property `latestMessage`
15697
+ # @return [String]
15698
+ attr_accessor :latest_message
15699
+
15700
+ def initialize(**args)
15701
+ update!(**args)
15702
+ end
15703
+
15704
+ # Update properties of this object
15705
+ def update!(**args)
15706
+ @context_size = args[:context_size] if args.key?(:context_size)
15707
+ @knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
15708
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
15709
+ end
15710
+ end
15711
+
15391
15712
  # The response message for Participants.SuggestSmartReplies.
15392
15713
  class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
15393
15714
  include Google::Apis::Core::Hashable
@@ -15450,6 +15771,11 @@ module Google
15450
15771
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse]
15451
15772
  attr_accessor :suggest_faq_answers_response
15452
15773
 
15774
+ # The response message for Participants.SuggestKnowledgeAssist.
15775
+ # Corresponds to the JSON property `suggestKnowledgeAssistResponse`
15776
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse]
15777
+ attr_accessor :suggest_knowledge_assist_response
15778
+
15453
15779
  # The response message for Participants.SuggestSmartReplies.
15454
15780
  # Corresponds to the JSON property `suggestSmartRepliesResponse`
15455
15781
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse]
@@ -15464,6 +15790,7 @@ module Google
15464
15790
  @error = args[:error] if args.key?(:error)
15465
15791
  @suggest_articles_response = args[:suggest_articles_response] if args.key?(:suggest_articles_response)
15466
15792
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
15793
+ @suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
15467
15794
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
15468
15795
  end
15469
15796
  end
@@ -18068,6 +18395,159 @@ module Google
18068
18395
  end
18069
18396
  end
18070
18397
 
18398
+ # Represents a Knowledge Assist answer.
18399
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
18400
+ include Google::Apis::Core::Hashable
18401
+
18402
+ # The name of the answer record. Format: `projects//locations//answer Records/`.
18403
+ # Corresponds to the JSON property `answerRecord`
18404
+ # @return [String]
18405
+ attr_accessor :answer_record
18406
+
18407
+ # Represents a suggested query.
18408
+ # Corresponds to the JSON property `suggestedQuery`
18409
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery]
18410
+ attr_accessor :suggested_query
18411
+
18412
+ # Represents an answer from Knowledge. Currently supports FAQ and Generative
18413
+ # answers.
18414
+ # Corresponds to the JSON property `suggestedQueryAnswer`
18415
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer]
18416
+ attr_accessor :suggested_query_answer
18417
+
18418
+ def initialize(**args)
18419
+ update!(**args)
18420
+ end
18421
+
18422
+ # Update properties of this object
18423
+ def update!(**args)
18424
+ @answer_record = args[:answer_record] if args.key?(:answer_record)
18425
+ @suggested_query = args[:suggested_query] if args.key?(:suggested_query)
18426
+ @suggested_query_answer = args[:suggested_query_answer] if args.key?(:suggested_query_answer)
18427
+ end
18428
+ end
18429
+
18430
+ # Represents an answer from Knowledge. Currently supports FAQ and Generative
18431
+ # answers.
18432
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
18433
+ include Google::Apis::Core::Hashable
18434
+
18435
+ # The piece of text from the `source` that answers this suggested query.
18436
+ # Corresponds to the JSON property `answerText`
18437
+ # @return [String]
18438
+ attr_accessor :answer_text
18439
+
18440
+ # Details about source of FAQ answer.
18441
+ # Corresponds to the JSON property `faqSource`
18442
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource]
18443
+ attr_accessor :faq_source
18444
+
18445
+ # Details about source of Generative answer.
18446
+ # Corresponds to the JSON property `generativeSource`
18447
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource]
18448
+ attr_accessor :generative_source
18449
+
18450
+ def initialize(**args)
18451
+ update!(**args)
18452
+ end
18453
+
18454
+ # Update properties of this object
18455
+ def update!(**args)
18456
+ @answer_text = args[:answer_text] if args.key?(:answer_text)
18457
+ @faq_source = args[:faq_source] if args.key?(:faq_source)
18458
+ @generative_source = args[:generative_source] if args.key?(:generative_source)
18459
+ end
18460
+ end
18461
+
18462
+ # Details about source of FAQ answer.
18463
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
18464
+ include Google::Apis::Core::Hashable
18465
+
18466
+ # The corresponding FAQ question.
18467
+ # Corresponds to the JSON property `question`
18468
+ # @return [String]
18469
+ attr_accessor :question
18470
+
18471
+ def initialize(**args)
18472
+ update!(**args)
18473
+ end
18474
+
18475
+ # Update properties of this object
18476
+ def update!(**args)
18477
+ @question = args[:question] if args.key?(:question)
18478
+ end
18479
+ end
18480
+
18481
+ # Details about source of Generative answer.
18482
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
18483
+ include Google::Apis::Core::Hashable
18484
+
18485
+ # All snippets used for this Generative Prediction, with their source URI and
18486
+ # data.
18487
+ # Corresponds to the JSON property `snippets`
18488
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet>]
18489
+ attr_accessor :snippets
18490
+
18491
+ def initialize(**args)
18492
+ update!(**args)
18493
+ end
18494
+
18495
+ # Update properties of this object
18496
+ def update!(**args)
18497
+ @snippets = args[:snippets] if args.key?(:snippets)
18498
+ end
18499
+ end
18500
+
18501
+ # Snippet Source for a Generative Prediction.
18502
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
18503
+ include Google::Apis::Core::Hashable
18504
+
18505
+ # Text taken from that URI.
18506
+ # Corresponds to the JSON property `text`
18507
+ # @return [String]
18508
+ attr_accessor :text
18509
+
18510
+ # Title of the document.
18511
+ # Corresponds to the JSON property `title`
18512
+ # @return [String]
18513
+ attr_accessor :title
18514
+
18515
+ # URI the data is sourced from.
18516
+ # Corresponds to the JSON property `uri`
18517
+ # @return [String]
18518
+ attr_accessor :uri
18519
+
18520
+ def initialize(**args)
18521
+ update!(**args)
18522
+ end
18523
+
18524
+ # Update properties of this object
18525
+ def update!(**args)
18526
+ @text = args[:text] if args.key?(:text)
18527
+ @title = args[:title] if args.key?(:title)
18528
+ @uri = args[:uri] if args.key?(:uri)
18529
+ end
18530
+ end
18531
+
18532
+ # Represents a suggested query.
18533
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
18534
+ include Google::Apis::Core::Hashable
18535
+
18536
+ # Suggested query text.
18537
+ # Corresponds to the JSON property `queryText`
18538
+ # @return [String]
18539
+ attr_accessor :query_text
18540
+
18541
+ def initialize(**args)
18542
+ update!(**args)
18543
+ end
18544
+
18545
+ # Update properties of this object
18546
+ def update!(**args)
18547
+ @query_text = args[:query_text] if args.key?(:query_text)
18548
+ end
18549
+ end
18550
+
18071
18551
  # Metadata in google::longrunning::Operation for Knowledge operations.
18072
18552
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
18073
18553
  include Google::Apis::Core::Hashable
@@ -18694,6 +19174,41 @@ module Google
18694
19174
  end
18695
19175
  end
18696
19176
 
19177
+ # The response message for Participants.SuggestKnowledgeAssist.
19178
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
19179
+ include Google::Apis::Core::Hashable
19180
+
19181
+ # Number of messages prior to and including latest_message to compile the
19182
+ # suggestion. It may be smaller than the SuggestKnowledgeAssistRequest.
19183
+ # context_size field in the request if there are fewer messages in the
19184
+ # conversation.
19185
+ # Corresponds to the JSON property `contextSize`
19186
+ # @return [Fixnum]
19187
+ attr_accessor :context_size
19188
+
19189
+ # Represents a Knowledge Assist answer.
19190
+ # Corresponds to the JSON property `knowledgeAssistAnswer`
19191
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer]
19192
+ attr_accessor :knowledge_assist_answer
19193
+
19194
+ # The name of the latest conversation message used to compile suggestion for.
19195
+ # Format: `projects//locations//conversations//messages/`.
19196
+ # Corresponds to the JSON property `latestMessage`
19197
+ # @return [String]
19198
+ attr_accessor :latest_message
19199
+
19200
+ def initialize(**args)
19201
+ update!(**args)
19202
+ end
19203
+
19204
+ # Update properties of this object
19205
+ def update!(**args)
19206
+ @context_size = args[:context_size] if args.key?(:context_size)
19207
+ @knowledge_assist_answer = args[:knowledge_assist_answer] if args.key?(:knowledge_assist_answer)
19208
+ @latest_message = args[:latest_message] if args.key?(:latest_message)
19209
+ end
19210
+ end
19211
+
18697
19212
  # The response message for Participants.SuggestSmartReplies.
18698
19213
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
18699
19214
  include Google::Apis::Core::Hashable
@@ -18766,6 +19281,11 @@ module Google
18766
19281
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse]
18767
19282
  attr_accessor :suggest_faq_answers_response
18768
19283
 
19284
+ # The response message for Participants.SuggestKnowledgeAssist.
19285
+ # Corresponds to the JSON property `suggestKnowledgeAssistResponse`
19286
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse]
19287
+ attr_accessor :suggest_knowledge_assist_response
19288
+
18769
19289
  # The response message for Participants.SuggestSmartReplies.
18770
19290
  # Corresponds to the JSON property `suggestSmartRepliesResponse`
18771
19291
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse]
@@ -18782,6 +19302,7 @@ module Google
18782
19302
  @suggest_dialogflow_assists_response = args[:suggest_dialogflow_assists_response] if args.key?(:suggest_dialogflow_assists_response)
18783
19303
  @suggest_entity_extraction_response = args[:suggest_entity_extraction_response] if args.key?(:suggest_entity_extraction_response)
18784
19304
  @suggest_faq_answers_response = args[:suggest_faq_answers_response] if args.key?(:suggest_faq_answers_response)
19305
+ @suggest_knowledge_assist_response = args[:suggest_knowledge_assist_response] if args.key?(:suggest_knowledge_assist_response)
18785
19306
  @suggest_smart_replies_response = args[:suggest_smart_replies_response] if args.key?(:suggest_smart_replies_response)
18786
19307
  end
18787
19308
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.85.0"
19
+ GEM_VERSION = "0.87.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240417"
25
+ REVISION = "20240603"
26
26
  end
27
27
  end
28
28
  end
@@ -2014,6 +2014,24 @@ module Google
2014
2014
  include Google::Apis::Core::JsonObjectSupport
2015
2015
  end
2016
2016
 
2017
+ class GoogleCloudDialogflowCxV3beta1ToolCall
2018
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2019
+
2020
+ include Google::Apis::Core::JsonObjectSupport
2021
+ end
2022
+
2023
+ class GoogleCloudDialogflowCxV3beta1ToolCallResult
2024
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2025
+
2026
+ include Google::Apis::Core::JsonObjectSupport
2027
+ end
2028
+
2029
+ class GoogleCloudDialogflowCxV3beta1ToolCallResultError
2030
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2031
+
2032
+ include Google::Apis::Core::JsonObjectSupport
2033
+ end
2034
+
2017
2035
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
2018
2036
  class Representation < Google::Apis::Core::JsonRepresentation; end
2019
2037
 
@@ -2458,6 +2476,42 @@ module Google
2458
2476
  include Google::Apis::Core::JsonObjectSupport
2459
2477
  end
2460
2478
 
2479
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswer
2480
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2481
+
2482
+ include Google::Apis::Core::JsonObjectSupport
2483
+ end
2484
+
2485
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswer
2486
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2487
+
2488
+ include Google::Apis::Core::JsonObjectSupport
2489
+ end
2490
+
2491
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerFaqSource
2492
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2493
+
2494
+ include Google::Apis::Core::JsonObjectSupport
2495
+ end
2496
+
2497
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
2498
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2499
+
2500
+ include Google::Apis::Core::JsonObjectSupport
2501
+ end
2502
+
2503
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
2504
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2505
+
2506
+ include Google::Apis::Core::JsonObjectSupport
2507
+ end
2508
+
2509
+ class GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuery
2510
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2511
+
2512
+ include Google::Apis::Core::JsonObjectSupport
2513
+ end
2514
+
2461
2515
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
2462
2516
  class Representation < Google::Apis::Core::JsonRepresentation; end
2463
2517
 
@@ -2536,6 +2590,12 @@ module Google
2536
2590
  include Google::Apis::Core::JsonObjectSupport
2537
2591
  end
2538
2592
 
2593
+ class GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse
2594
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2595
+
2596
+ include Google::Apis::Core::JsonObjectSupport
2597
+ end
2598
+
2539
2599
  class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
2540
2600
  class Representation < Google::Apis::Core::JsonRepresentation; end
2541
2601
 
@@ -2968,6 +3028,42 @@ module Google
2968
3028
  include Google::Apis::Core::JsonObjectSupport
2969
3029
  end
2970
3030
 
3031
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswer
3032
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3033
+
3034
+ include Google::Apis::Core::JsonObjectSupport
3035
+ end
3036
+
3037
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswer
3038
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3039
+
3040
+ include Google::Apis::Core::JsonObjectSupport
3041
+ end
3042
+
3043
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerFaqSource
3044
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3045
+
3046
+ include Google::Apis::Core::JsonObjectSupport
3047
+ end
3048
+
3049
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSource
3050
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3051
+
3052
+ include Google::Apis::Core::JsonObjectSupport
3053
+ end
3054
+
3055
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
3056
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3057
+
3058
+ include Google::Apis::Core::JsonObjectSupport
3059
+ end
3060
+
3061
+ class GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuery
3062
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3063
+
3064
+ include Google::Apis::Core::JsonObjectSupport
3065
+ end
3066
+
2971
3067
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
2972
3068
  class Representation < Google::Apis::Core::JsonRepresentation; end
2973
3069
 
@@ -3046,6 +3142,12 @@ module Google
3046
3142
  include Google::Apis::Core::JsonObjectSupport
3047
3143
  end
3048
3144
 
3145
+ class GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse
3146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3147
+
3148
+ include Google::Apis::Core::JsonObjectSupport
3149
+ end
3150
+
3049
3151
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
3050
3152
  class Representation < Google::Apis::Core::JsonRepresentation; end
3051
3153
 
@@ -3184,7 +3286,9 @@ module Google
3184
3286
  # @private
3185
3287
  class Representation < Google::Apis::Core::JsonRepresentation
3186
3288
  property :enabled, as: 'enabled'
3289
+ property :endpointing_timeout_duration, as: 'endpointingTimeoutDuration'
3187
3290
  property :finish_digit, as: 'finishDigit'
3291
+ property :interdigit_timeout_duration, as: 'interdigitTimeoutDuration'
3188
3292
  property :max_digits, as: 'maxDigits'
3189
3293
  end
3190
3294
  end
@@ -5072,6 +5176,7 @@ module Google
5072
5176
  property :audio_format, as: 'audioFormat'
5073
5177
  property :enable_audio_redaction, as: 'enableAudioRedaction'
5074
5178
  property :gcs_bucket, as: 'gcsBucket'
5179
+ property :store_tts_audio, as: 'storeTtsAudio'
5075
5180
  end
5076
5181
  end
5077
5182
 
@@ -5576,7 +5681,9 @@ module Google
5576
5681
  # @private
5577
5682
  class Representation < Google::Apis::Core::JsonRepresentation
5578
5683
  property :enabled, as: 'enabled'
5684
+ property :endpointing_timeout_duration, as: 'endpointingTimeoutDuration'
5579
5685
  property :finish_digit, as: 'finishDigit'
5686
+ property :interdigit_timeout_duration, as: 'interdigitTimeoutDuration'
5580
5687
  property :max_digits, as: 'maxDigits'
5581
5688
  end
5582
5689
  end
@@ -6211,6 +6318,8 @@ module Google
6211
6318
  property :language_code, as: 'languageCode'
6212
6319
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TextInput::Representation
6213
6320
 
6321
+ property :tool_call_result, as: 'toolCallResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCallResult::Representation
6322
+
6214
6323
  end
6215
6324
  end
6216
6325
 
@@ -6245,6 +6354,8 @@ module Google
6245
6354
 
6246
6355
  property :text, as: 'text', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessageText::Representation
6247
6356
 
6357
+ property :tool_call, as: 'toolCall', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ToolCall::Representation
6358
+
6248
6359
  end
6249
6360
  end
6250
6361
 
@@ -6434,6 +6545,33 @@ module Google
6434
6545
  end
6435
6546
  end
6436
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
+
6437
6575
  class GoogleCloudDialogflowCxV3beta1TransitionRoute
6438
6576
  # @private
6439
6577
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7218,6 +7356,59 @@ module Google
7218
7356
  end
7219
7357
  end
7220
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
+
7221
7412
  class GoogleCloudDialogflowV2KnowledgeOperationMetadata
7222
7413
  # @private
7223
7414
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7361,6 +7552,16 @@ module Google
7361
7552
  end
7362
7553
  end
7363
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
+
7364
7565
  class GoogleCloudDialogflowV2SuggestSmartRepliesResponse
7365
7566
  # @private
7366
7567
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7380,6 +7581,8 @@ module Google
7380
7581
 
7381
7582
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestFaqAnswersResponse::Representation
7382
7583
 
7584
+ property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestKnowledgeAssistResponse::Representation
7585
+
7383
7586
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2SuggestSmartRepliesResponse::Representation
7384
7587
 
7385
7588
  end
@@ -8108,6 +8311,59 @@ module Google
8108
8311
  end
8109
8312
  end
8110
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
+
8111
8367
  class GoogleCloudDialogflowV2beta1KnowledgeOperationMetadata
8112
8368
  # @private
8113
8369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8256,6 +8512,16 @@ module Google
8256
8512
  end
8257
8513
  end
8258
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
+
8259
8525
  class GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse
8260
8526
  # @private
8261
8527
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8279,6 +8545,8 @@ module Google
8279
8545
 
8280
8546
  property :suggest_faq_answers_response, as: 'suggestFaqAnswersResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse::Representation
8281
8547
 
8548
+ property :suggest_knowledge_assist_response, as: 'suggestKnowledgeAssistResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestKnowledgeAssistResponse::Representation
8549
+
8282
8550
  property :suggest_smart_replies_response, as: 'suggestSmartRepliesResponse', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse::Representation
8283
8551
 
8284
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.85.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-04-21 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.14.0
19
+ version: 0.15.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.14.0
29
+ version: 0.15.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.85.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.87.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3
63
63
  post_install_message:
64
64
  rdoc_options: []