google-apis-dialogflow_v3beta1 0.82.0 → 0.83.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: 2a6fec71bc0d0212c9a059e11c56c347b2852d854fcf7d4b11a1c9c8b8375135
4
- data.tar.gz: 8be713e4980583f4c5ccbb49dd9074e355ec8ddcb51d85a84e869bae58cc543b
3
+ metadata.gz: 4a93198c6f5e13067fe42c6c13347a5149683294078d345cffd8d13662874c08
4
+ data.tar.gz: 26826d295bcf866880be1f6590e6ae505a0486d29a4af29677b367cbcd07661f
5
5
  SHA512:
6
- metadata.gz: b67a473f3fdeb0cb17ed28056f4f3d0107e9b9651564fd170f628ea5296d7b196ad3c382e4ebebe72a2bfd90bce4a86cf1a258f56d30858b84ba16c240c85757
7
- data.tar.gz: 3817e01fd1813aa64e68b8595f1187711fe8a8a2b7521fdf6cdc22112b3fd9d18f01f8eb37b0f7bea14d3ba845a4f0b336a0449a20de6be00c354401df70eded
6
+ metadata.gz: 4cb6c1bd81cbf57a1094e6092080854d1db2d639ebfb37f33fac9ac9580196a5e77fddc64f4ac699cc2cb32525d7a369707d371644b51ba09759b2cb51222808
7
+ data.tar.gz: f736b21fbbf8ed807112093599e0734290f25bbf3d8dff227395c82a4ff270c8c5ac8d7659d0ecab2015fd7d4d8727ce95dc84f8eeaa8d267bc24bbc93e54cf9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-dialogflow_v3beta1
2
2
 
3
+ ### v0.83.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240311
6
+
3
7
  ### v0.82.0 (2024-03-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20240305
@@ -3381,6 +3381,12 @@ module Google
3381
3381
  # @return [String]
3382
3382
  attr_accessor :http_method
3383
3383
 
3384
+ # Represents configuration of OAuth client credential flow for 3rd party API
3385
+ # authentication.
3386
+ # Corresponds to the JSON property `oauthConfig`
3387
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig]
3388
+ attr_accessor :oauth_config
3389
+
3384
3390
  # Optional. Maps the values extracted from specific fields of the flexible
3385
3391
  # webhook response into session parameters. - Key: session parameter name -
3386
3392
  # Value: field path in the webhook response
@@ -3404,6 +3410,13 @@ module Google
3404
3410
  # @return [Hash<String,String>]
3405
3411
  attr_accessor :request_headers
3406
3412
 
3413
+ # Optional. Indicate the auth token type generated from the [Diglogflow service
3414
+ # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
3415
+ # agent). The generated token is sent in the Authorization header.
3416
+ # Corresponds to the JSON property `serviceAgentAuth`
3417
+ # @return [String]
3418
+ attr_accessor :service_agent_auth
3419
+
3407
3420
  # Required. The webhook URI for receiving POST requests. It must use https
3408
3421
  # protocol.
3409
3422
  # Corresponds to the JSON property `uri`
@@ -3428,16 +3441,57 @@ module Google
3428
3441
  def update!(**args)
3429
3442
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
3430
3443
  @http_method = args[:http_method] if args.key?(:http_method)
3444
+ @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
3431
3445
  @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
3432
3446
  @password = args[:password] if args.key?(:password)
3433
3447
  @request_body = args[:request_body] if args.key?(:request_body)
3434
3448
  @request_headers = args[:request_headers] if args.key?(:request_headers)
3449
+ @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
3435
3450
  @uri = args[:uri] if args.key?(:uri)
3436
3451
  @username = args[:username] if args.key?(:username)
3437
3452
  @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
3438
3453
  end
3439
3454
  end
3440
3455
 
3456
+ # Represents configuration of OAuth client credential flow for 3rd party API
3457
+ # authentication.
3458
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
3459
+ include Google::Apis::Core::Hashable
3460
+
3461
+ # Required. The client ID provided by the 3rd party platform.
3462
+ # Corresponds to the JSON property `clientId`
3463
+ # @return [String]
3464
+ attr_accessor :client_id
3465
+
3466
+ # Required. The client secret provided by the 3rd party platform.
3467
+ # Corresponds to the JSON property `clientSecret`
3468
+ # @return [String]
3469
+ attr_accessor :client_secret
3470
+
3471
+ # Optional. The OAuth scopes to grant.
3472
+ # Corresponds to the JSON property `scopes`
3473
+ # @return [Array<String>]
3474
+ attr_accessor :scopes
3475
+
3476
+ # Required. The token endpoint provided by the 3rd party platform to exchange an
3477
+ # access token.
3478
+ # Corresponds to the JSON property `tokenEndpoint`
3479
+ # @return [String]
3480
+ attr_accessor :token_endpoint
3481
+
3482
+ def initialize(**args)
3483
+ update!(**args)
3484
+ end
3485
+
3486
+ # Update properties of this object
3487
+ def update!(**args)
3488
+ @client_id = args[:client_id] if args.key?(:client_id)
3489
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
3490
+ @scopes = args[:scopes] if args.key?(:scopes)
3491
+ @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
3492
+ end
3493
+ end
3494
+
3441
3495
  # The request message for a webhook call. The request is sent as a JSON object
3442
3496
  # and the field names will be presented in camel cases. You may see undocumented
3443
3497
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -4973,6 +5027,265 @@ module Google
4973
5027
  end
4974
5028
  end
4975
5029
 
5030
+ # Data store connection feature output signals. Might be only partially field if
5031
+ # processing stop before the final answer. Reasons for this can be, but are not
5032
+ # limited to: empty UCS search results, positive RAI check outcome, grounding
5033
+ # failure, ...
5034
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals
5035
+ include Google::Apis::Core::Hashable
5036
+
5037
+ # Optional. The final compiled answer.
5038
+ # Corresponds to the JSON property `answer`
5039
+ # @return [String]
5040
+ attr_accessor :answer
5041
+
5042
+ # Diagnostic info related to the answer generation model call.
5043
+ # Corresponds to the JSON property `answerGenerationModelCallSignals`
5044
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals]
5045
+ attr_accessor :answer_generation_model_call_signals
5046
+
5047
+ # Optional. Answer parts with relevant citations. Concatenation of texts should
5048
+ # add up the `answer` (not counting whitespaces).
5049
+ # Corresponds to the JSON property `answerParts`
5050
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart>]
5051
+ attr_accessor :answer_parts
5052
+
5053
+ # Optional. Snippets cited by the answer generation model from the most to least
5054
+ # relevant.
5055
+ # Corresponds to the JSON property `citedSnippets`
5056
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet>]
5057
+ attr_accessor :cited_snippets
5058
+
5059
+ # Grounding signals.
5060
+ # Corresponds to the JSON property `groundingSignals`
5061
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals]
5062
+ attr_accessor :grounding_signals
5063
+
5064
+ # Diagnostic info related to the rewriter model call.
5065
+ # Corresponds to the JSON property `rewriterModelCallSignals`
5066
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals]
5067
+ attr_accessor :rewriter_model_call_signals
5068
+
5069
+ # Optional. Rewritten string query used for search.
5070
+ # Corresponds to the JSON property `rewrittenQuery`
5071
+ # @return [String]
5072
+ attr_accessor :rewritten_query
5073
+
5074
+ # Safety check results.
5075
+ # Corresponds to the JSON property `safetySignals`
5076
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals]
5077
+ attr_accessor :safety_signals
5078
+
5079
+ # Optional. Search snippets included in the answer generation prompt.
5080
+ # Corresponds to the JSON property `searchSnippets`
5081
+ # @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet>]
5082
+ attr_accessor :search_snippets
5083
+
5084
+ def initialize(**args)
5085
+ update!(**args)
5086
+ end
5087
+
5088
+ # Update properties of this object
5089
+ def update!(**args)
5090
+ @answer = args[:answer] if args.key?(:answer)
5091
+ @answer_generation_model_call_signals = args[:answer_generation_model_call_signals] if args.key?(:answer_generation_model_call_signals)
5092
+ @answer_parts = args[:answer_parts] if args.key?(:answer_parts)
5093
+ @cited_snippets = args[:cited_snippets] if args.key?(:cited_snippets)
5094
+ @grounding_signals = args[:grounding_signals] if args.key?(:grounding_signals)
5095
+ @rewriter_model_call_signals = args[:rewriter_model_call_signals] if args.key?(:rewriter_model_call_signals)
5096
+ @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
5097
+ @safety_signals = args[:safety_signals] if args.key?(:safety_signals)
5098
+ @search_snippets = args[:search_snippets] if args.key?(:search_snippets)
5099
+ end
5100
+ end
5101
+
5102
+ # Diagnostic info related to the answer generation model call.
5103
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
5104
+ include Google::Apis::Core::Hashable
5105
+
5106
+ # Output of the generative model.
5107
+ # Corresponds to the JSON property `modelOutput`
5108
+ # @return [String]
5109
+ attr_accessor :model_output
5110
+
5111
+ # Prompt as sent to the model.
5112
+ # Corresponds to the JSON property `renderedPrompt`
5113
+ # @return [String]
5114
+ attr_accessor :rendered_prompt
5115
+
5116
+ def initialize(**args)
5117
+ update!(**args)
5118
+ end
5119
+
5120
+ # Update properties of this object
5121
+ def update!(**args)
5122
+ @model_output = args[:model_output] if args.key?(:model_output)
5123
+ @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
5124
+ end
5125
+ end
5126
+
5127
+ # Answer part with citation.
5128
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
5129
+ include Google::Apis::Core::Hashable
5130
+
5131
+ # Citations for this answer part. Indices of `search_snippets`.
5132
+ # Corresponds to the JSON property `supportingIndices`
5133
+ # @return [Array<Fixnum>]
5134
+ attr_accessor :supporting_indices
5135
+
5136
+ # Substring of the answer.
5137
+ # Corresponds to the JSON property `text`
5138
+ # @return [String]
5139
+ attr_accessor :text
5140
+
5141
+ def initialize(**args)
5142
+ update!(**args)
5143
+ end
5144
+
5145
+ # Update properties of this object
5146
+ def update!(**args)
5147
+ @supporting_indices = args[:supporting_indices] if args.key?(:supporting_indices)
5148
+ @text = args[:text] if args.key?(:text)
5149
+ end
5150
+ end
5151
+
5152
+ # Snippet cited by the answer generation model.
5153
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
5154
+ include Google::Apis::Core::Hashable
5155
+
5156
+ # Search snippet details.
5157
+ # Corresponds to the JSON property `searchSnippet`
5158
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet]
5159
+ attr_accessor :search_snippet
5160
+
5161
+ # Index of the snippet in `search_snippets` field.
5162
+ # Corresponds to the JSON property `snippetIndex`
5163
+ # @return [Fixnum]
5164
+ attr_accessor :snippet_index
5165
+
5166
+ def initialize(**args)
5167
+ update!(**args)
5168
+ end
5169
+
5170
+ # Update properties of this object
5171
+ def update!(**args)
5172
+ @search_snippet = args[:search_snippet] if args.key?(:search_snippet)
5173
+ @snippet_index = args[:snippet_index] if args.key?(:snippet_index)
5174
+ end
5175
+ end
5176
+
5177
+ # Grounding signals.
5178
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals
5179
+ include Google::Apis::Core::Hashable
5180
+
5181
+ # Represents the decision of the grounding check.
5182
+ # Corresponds to the JSON property `decision`
5183
+ # @return [String]
5184
+ attr_accessor :decision
5185
+
5186
+ # Grounding score bucket setting.
5187
+ # Corresponds to the JSON property `score`
5188
+ # @return [String]
5189
+ attr_accessor :score
5190
+
5191
+ def initialize(**args)
5192
+ update!(**args)
5193
+ end
5194
+
5195
+ # Update properties of this object
5196
+ def update!(**args)
5197
+ @decision = args[:decision] if args.key?(:decision)
5198
+ @score = args[:score] if args.key?(:score)
5199
+ end
5200
+ end
5201
+
5202
+ # Diagnostic info related to the rewriter model call.
5203
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
5204
+ include Google::Apis::Core::Hashable
5205
+
5206
+ # Output of the generative model.
5207
+ # Corresponds to the JSON property `modelOutput`
5208
+ # @return [String]
5209
+ attr_accessor :model_output
5210
+
5211
+ # Prompt as sent to the model.
5212
+ # Corresponds to the JSON property `renderedPrompt`
5213
+ # @return [String]
5214
+ attr_accessor :rendered_prompt
5215
+
5216
+ def initialize(**args)
5217
+ update!(**args)
5218
+ end
5219
+
5220
+ # Update properties of this object
5221
+ def update!(**args)
5222
+ @model_output = args[:model_output] if args.key?(:model_output)
5223
+ @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
5224
+ end
5225
+ end
5226
+
5227
+ # Safety check results.
5228
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals
5229
+ include Google::Apis::Core::Hashable
5230
+
5231
+ # Specifies banned phrase match subject.
5232
+ # Corresponds to the JSON property `bannedPhraseMatch`
5233
+ # @return [String]
5234
+ attr_accessor :banned_phrase_match
5235
+
5236
+ # Safety decision.
5237
+ # Corresponds to the JSON property `decision`
5238
+ # @return [String]
5239
+ attr_accessor :decision
5240
+
5241
+ # The matched banned phrase if there was a match.
5242
+ # Corresponds to the JSON property `matchedBannedPhrase`
5243
+ # @return [String]
5244
+ attr_accessor :matched_banned_phrase
5245
+
5246
+ def initialize(**args)
5247
+ update!(**args)
5248
+ end
5249
+
5250
+ # Update properties of this object
5251
+ def update!(**args)
5252
+ @banned_phrase_match = args[:banned_phrase_match] if args.key?(:banned_phrase_match)
5253
+ @decision = args[:decision] if args.key?(:decision)
5254
+ @matched_banned_phrase = args[:matched_banned_phrase] if args.key?(:matched_banned_phrase)
5255
+ end
5256
+ end
5257
+
5258
+ # Search snippet details.
5259
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
5260
+ include Google::Apis::Core::Hashable
5261
+
5262
+ # Title of the enclosing document.
5263
+ # Corresponds to the JSON property `documentTitle`
5264
+ # @return [String]
5265
+ attr_accessor :document_title
5266
+
5267
+ # Uri for the document. Present if specified for the document.
5268
+ # Corresponds to the JSON property `documentUri`
5269
+ # @return [String]
5270
+ attr_accessor :document_uri
5271
+
5272
+ # Text included in the prompt.
5273
+ # Corresponds to the JSON property `text`
5274
+ # @return [String]
5275
+ attr_accessor :text
5276
+
5277
+ def initialize(**args)
5278
+ update!(**args)
5279
+ end
5280
+
5281
+ # Update properties of this object
5282
+ def update!(**args)
5283
+ @document_title = args[:document_title] if args.key?(:document_title)
5284
+ @document_uri = args[:document_uri] if args.key?(:document_uri)
5285
+ @text = args[:text] if args.key?(:text)
5286
+ end
5287
+ end
5288
+
4976
5289
  # Metadata for DeleteDocument operation.
4977
5290
  class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
4978
5291
  include Google::Apis::Core::Hashable
@@ -9269,6 +9582,14 @@ module Google
9269
9582
  # @return [Hash<String,Object>]
9270
9583
  attr_accessor :payload
9271
9584
 
9585
+ # Optional. If set to true and data stores are involved in serving the request
9586
+ # then DetectIntentResponse.query_result.data_store_connection_signals will be
9587
+ # filled with data that can help evaluations.
9588
+ # Corresponds to the JSON property `populateDataStoreConnectionSignals`
9589
+ # @return [Boolean]
9590
+ attr_accessor :populate_data_store_connection_signals
9591
+ alias_method :populate_data_store_connection_signals?, :populate_data_store_connection_signals
9592
+
9272
9593
  # Search configuration for UCS search queries.
9273
9594
  # Corresponds to the JSON property `searchConfig`
9274
9595
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig]
@@ -9323,6 +9644,7 @@ module Google
9323
9644
  @geo_location = args[:geo_location] if args.key?(:geo_location)
9324
9645
  @parameters = args[:parameters] if args.key?(:parameters)
9325
9646
  @payload = args[:payload] if args.key?(:payload)
9647
+ @populate_data_store_connection_signals = args[:populate_data_store_connection_signals] if args.key?(:populate_data_store_connection_signals)
9326
9648
  @search_config = args[:search_config] if args.key?(:search_config)
9327
9649
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
9328
9650
  @session_ttl = args[:session_ttl] if args.key?(:session_ttl)
@@ -9370,6 +9692,14 @@ module Google
9370
9692
  # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page]
9371
9693
  attr_accessor :current_page
9372
9694
 
9695
+ # Data store connection feature output signals. Might be only partially field if
9696
+ # processing stop before the final answer. Reasons for this can be, but are not
9697
+ # limited to: empty UCS search results, positive RAI check outcome, grounding
9698
+ # failure, ...
9699
+ # Corresponds to the JSON property `dataStoreConnectionSignals`
9700
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals]
9701
+ attr_accessor :data_store_connection_signals
9702
+
9373
9703
  # The free-form diagnostic info. For example, this field could contain webhook
9374
9704
  # call latency. The fields of this data can change without notice, so you should
9375
9705
  # not write code that depends on its structure. One of the fields is called "
@@ -9513,6 +9843,7 @@ module Google
9513
9843
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
9514
9844
  @allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
9515
9845
  @current_page = args[:current_page] if args.key?(:current_page)
9846
+ @data_store_connection_signals = args[:data_store_connection_signals] if args.key?(:data_store_connection_signals)
9516
9847
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
9517
9848
  @dtmf = args[:dtmf] if args.key?(:dtmf)
9518
9849
  @intent = args[:intent] if args.key?(:intent)
@@ -11764,6 +12095,12 @@ module Google
11764
12095
  # @return [String]
11765
12096
  attr_accessor :http_method
11766
12097
 
12098
+ # Represents configuration of OAuth client credential flow for 3rd party API
12099
+ # authentication.
12100
+ # Corresponds to the JSON property `oauthConfig`
12101
+ # @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig]
12102
+ attr_accessor :oauth_config
12103
+
11767
12104
  # Optional. Maps the values extracted from specific fields of the flexible
11768
12105
  # webhook response into session parameters. - Key: session parameter name -
11769
12106
  # Value: field path in the webhook response
@@ -11787,6 +12124,13 @@ module Google
11787
12124
  # @return [Hash<String,String>]
11788
12125
  attr_accessor :request_headers
11789
12126
 
12127
+ # Optional. Indicate the auth token type generated from the [Diglogflow service
12128
+ # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
12129
+ # agent). The generated token is sent in the Authorization header.
12130
+ # Corresponds to the JSON property `serviceAgentAuth`
12131
+ # @return [String]
12132
+ attr_accessor :service_agent_auth
12133
+
11790
12134
  # Required. The webhook URI for receiving POST requests. It must use https
11791
12135
  # protocol.
11792
12136
  # Corresponds to the JSON property `uri`
@@ -11811,16 +12155,57 @@ module Google
11811
12155
  def update!(**args)
11812
12156
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
11813
12157
  @http_method = args[:http_method] if args.key?(:http_method)
12158
+ @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
11814
12159
  @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
11815
12160
  @password = args[:password] if args.key?(:password)
11816
12161
  @request_body = args[:request_body] if args.key?(:request_body)
11817
12162
  @request_headers = args[:request_headers] if args.key?(:request_headers)
12163
+ @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
11818
12164
  @uri = args[:uri] if args.key?(:uri)
11819
12165
  @username = args[:username] if args.key?(:username)
11820
12166
  @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
11821
12167
  end
11822
12168
  end
11823
12169
 
12170
+ # Represents configuration of OAuth client credential flow for 3rd party API
12171
+ # authentication.
12172
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
12173
+ include Google::Apis::Core::Hashable
12174
+
12175
+ # Required. The client ID provided by the 3rd party platform.
12176
+ # Corresponds to the JSON property `clientId`
12177
+ # @return [String]
12178
+ attr_accessor :client_id
12179
+
12180
+ # Required. The client secret provided by the 3rd party platform.
12181
+ # Corresponds to the JSON property `clientSecret`
12182
+ # @return [String]
12183
+ attr_accessor :client_secret
12184
+
12185
+ # Optional. The OAuth scopes to grant.
12186
+ # Corresponds to the JSON property `scopes`
12187
+ # @return [Array<String>]
12188
+ attr_accessor :scopes
12189
+
12190
+ # Required. The token endpoint provided by the 3rd party platform to exchange an
12191
+ # access token.
12192
+ # Corresponds to the JSON property `tokenEndpoint`
12193
+ # @return [String]
12194
+ attr_accessor :token_endpoint
12195
+
12196
+ def initialize(**args)
12197
+ update!(**args)
12198
+ end
12199
+
12200
+ # Update properties of this object
12201
+ def update!(**args)
12202
+ @client_id = args[:client_id] if args.key?(:client_id)
12203
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
12204
+ @scopes = args[:scopes] if args.key?(:scopes)
12205
+ @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
12206
+ end
12207
+ end
12208
+
11824
12209
  # The request message for a webhook call. The request is sent as a JSON object
11825
12210
  # and the field names will be presented in camel cases. You may see undocumented
11826
12211
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DialogflowV3beta1
18
18
  # Version of the google-apis-dialogflow_v3beta1 gem
19
- GEM_VERSION = "0.82.0"
19
+ GEM_VERSION = "0.83.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240305"
25
+ REVISION = "20240311"
26
26
  end
27
27
  end
28
28
  end
@@ -604,6 +604,12 @@ module Google
604
604
  include Google::Apis::Core::JsonObjectSupport
605
605
  end
606
606
 
607
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
607
613
  class GoogleCloudDialogflowCxV3WebhookRequest
608
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
615
 
@@ -856,6 +862,54 @@ module Google
856
862
  include Google::Apis::Core::JsonObjectSupport
857
863
  end
858
864
 
865
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals
866
+ class Representation < Google::Apis::Core::JsonRepresentation; end
867
+
868
+ include Google::Apis::Core::JsonObjectSupport
869
+ end
870
+
871
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
872
+ class Representation < Google::Apis::Core::JsonRepresentation; end
873
+
874
+ include Google::Apis::Core::JsonObjectSupport
875
+ end
876
+
877
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
879
+
880
+ include Google::Apis::Core::JsonObjectSupport
881
+ end
882
+
883
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
885
+
886
+ include Google::Apis::Core::JsonObjectSupport
887
+ end
888
+
889
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals
890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
891
+
892
+ include Google::Apis::Core::JsonObjectSupport
893
+ end
894
+
895
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
896
+ class Representation < Google::Apis::Core::JsonRepresentation; end
897
+
898
+ include Google::Apis::Core::JsonObjectSupport
899
+ end
900
+
901
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals
902
+ class Representation < Google::Apis::Core::JsonRepresentation; end
903
+
904
+ include Google::Apis::Core::JsonObjectSupport
905
+ end
906
+
907
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
908
+ class Representation < Google::Apis::Core::JsonRepresentation; end
909
+
910
+ include Google::Apis::Core::JsonObjectSupport
911
+ end
912
+
859
913
  class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
860
914
  class Representation < Google::Apis::Core::JsonRepresentation; end
861
915
 
@@ -1972,6 +2026,12 @@ module Google
1972
2026
  include Google::Apis::Core::JsonObjectSupport
1973
2027
  end
1974
2028
 
2029
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
2030
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2031
+
2032
+ include Google::Apis::Core::JsonObjectSupport
2033
+ end
2034
+
1975
2035
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
1976
2036
  class Representation < Google::Apis::Core::JsonRepresentation; end
1977
2037
 
@@ -4013,16 +4073,29 @@ module Google
4013
4073
  class Representation < Google::Apis::Core::JsonRepresentation
4014
4074
  collection :allowed_ca_certs, as: 'allowedCaCerts'
4015
4075
  property :http_method, as: 'httpMethod'
4076
+ property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig::Representation
4077
+
4016
4078
  hash :parameter_mapping, as: 'parameterMapping'
4017
4079
  property :password, as: 'password'
4018
4080
  property :request_body, as: 'requestBody'
4019
4081
  hash :request_headers, as: 'requestHeaders'
4082
+ property :service_agent_auth, as: 'serviceAgentAuth'
4020
4083
  property :uri, as: 'uri'
4021
4084
  property :username, as: 'username'
4022
4085
  property :webhook_type, as: 'webhookType'
4023
4086
  end
4024
4087
  end
4025
4088
 
4089
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
4090
+ # @private
4091
+ class Representation < Google::Apis::Core::JsonRepresentation
4092
+ property :client_id, as: 'clientId'
4093
+ property :client_secret, as: 'clientSecret'
4094
+ collection :scopes, as: 'scopes'
4095
+ property :token_endpoint, as: 'tokenEndpoint'
4096
+ end
4097
+ end
4098
+
4026
4099
  class GoogleCloudDialogflowCxV3WebhookRequest
4027
4100
  # @private
4028
4101
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4453,6 +4526,87 @@ module Google
4453
4526
  end
4454
4527
  end
4455
4528
 
4529
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals
4530
+ # @private
4531
+ class Representation < Google::Apis::Core::JsonRepresentation
4532
+ property :answer, as: 'answer'
4533
+ property :answer_generation_model_call_signals, as: 'answerGenerationModelCallSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals::Representation
4534
+
4535
+ collection :answer_parts, as: 'answerParts', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart::Representation
4536
+
4537
+ collection :cited_snippets, as: 'citedSnippets', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet::Representation
4538
+
4539
+ property :grounding_signals, as: 'groundingSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals::Representation
4540
+
4541
+ property :rewriter_model_call_signals, as: 'rewriterModelCallSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals::Representation
4542
+
4543
+ property :rewritten_query, as: 'rewrittenQuery'
4544
+ property :safety_signals, as: 'safetySignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals::Representation
4545
+
4546
+ collection :search_snippets, as: 'searchSnippets', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet::Representation
4547
+
4548
+ end
4549
+ end
4550
+
4551
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerGenerationModelCallSignals
4552
+ # @private
4553
+ class Representation < Google::Apis::Core::JsonRepresentation
4554
+ property :model_output, as: 'modelOutput'
4555
+ property :rendered_prompt, as: 'renderedPrompt'
4556
+ end
4557
+ end
4558
+
4559
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
4560
+ # @private
4561
+ class Representation < Google::Apis::Core::JsonRepresentation
4562
+ collection :supporting_indices, as: 'supportingIndices'
4563
+ property :text, as: 'text'
4564
+ end
4565
+ end
4566
+
4567
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
4568
+ # @private
4569
+ class Representation < Google::Apis::Core::JsonRepresentation
4570
+ property :search_snippet, as: 'searchSnippet', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet::Representation
4571
+
4572
+ property :snippet_index, as: 'snippetIndex'
4573
+ end
4574
+ end
4575
+
4576
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsGroundingSignals
4577
+ # @private
4578
+ class Representation < Google::Apis::Core::JsonRepresentation
4579
+ property :decision, as: 'decision'
4580
+ property :score, as: 'score'
4581
+ end
4582
+ end
4583
+
4584
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsRewriterModelCallSignals
4585
+ # @private
4586
+ class Representation < Google::Apis::Core::JsonRepresentation
4587
+ property :model_output, as: 'modelOutput'
4588
+ property :rendered_prompt, as: 'renderedPrompt'
4589
+ end
4590
+ end
4591
+
4592
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSafetySignals
4593
+ # @private
4594
+ class Representation < Google::Apis::Core::JsonRepresentation
4595
+ property :banned_phrase_match, as: 'bannedPhraseMatch'
4596
+ property :decision, as: 'decision'
4597
+ property :matched_banned_phrase, as: 'matchedBannedPhrase'
4598
+ end
4599
+ end
4600
+
4601
+ class GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
4602
+ # @private
4603
+ class Representation < Google::Apis::Core::JsonRepresentation
4604
+ property :document_title, as: 'documentTitle'
4605
+ property :document_uri, as: 'documentUri'
4606
+ property :text, as: 'text'
4607
+ end
4608
+ end
4609
+
4456
4610
  class GoogleCloudDialogflowCxV3beta1DeleteDocumentOperationMetadata
4457
4611
  # @private
4458
4612
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5617,6 +5771,7 @@ module Google
5617
5771
 
5618
5772
  hash :parameters, as: 'parameters'
5619
5773
  hash :payload, as: 'payload'
5774
+ property :populate_data_store_connection_signals, as: 'populateDataStoreConnectionSignals'
5620
5775
  property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SearchConfig::Representation
5621
5776
 
5622
5777
  collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1SessionEntityType::Representation
@@ -5635,6 +5790,8 @@ module Google
5635
5790
  property :allow_answer_feedback, as: 'allowAnswerFeedback'
5636
5791
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Page::Representation
5637
5792
 
5793
+ property :data_store_connection_signals, as: 'dataStoreConnectionSignals', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignals::Representation
5794
+
5638
5795
  hash :diagnostic_info, as: 'diagnosticInfo'
5639
5796
  property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DtmfInput::Representation
5640
5797
 
@@ -6289,16 +6446,29 @@ module Google
6289
6446
  class Representation < Google::Apis::Core::JsonRepresentation
6290
6447
  collection :allowed_ca_certs, as: 'allowedCaCerts'
6291
6448
  property :http_method, as: 'httpMethod'
6449
+ property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig::Representation
6450
+
6292
6451
  hash :parameter_mapping, as: 'parameterMapping'
6293
6452
  property :password, as: 'password'
6294
6453
  property :request_body, as: 'requestBody'
6295
6454
  hash :request_headers, as: 'requestHeaders'
6455
+ property :service_agent_auth, as: 'serviceAgentAuth'
6296
6456
  property :uri, as: 'uri'
6297
6457
  property :username, as: 'username'
6298
6458
  property :webhook_type, as: 'webhookType'
6299
6459
  end
6300
6460
  end
6301
6461
 
6462
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
6463
+ # @private
6464
+ class Representation < Google::Apis::Core::JsonRepresentation
6465
+ property :client_id, as: 'clientId'
6466
+ property :client_secret, as: 'clientSecret'
6467
+ collection :scopes, as: 'scopes'
6468
+ property :token_endpoint, as: 'tokenEndpoint'
6469
+ end
6470
+ end
6471
+
6302
6472
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
6303
6473
  # @private
6304
6474
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-dialogflow_v3beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.82.0
4
+ version: 0.83.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-03-10 00:00:00.000000000 Z
11
+ date: 2024-03-17 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_v3beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.82.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.83.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-dialogflow_v3beta1
63
63
  post_install_message:
64
64
  rdoc_options: []