google-apis-dialogflow_v3 0.81.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: 7af1ac5670852f563187803cda5ed059f4c009ccd7b955c5e1b14fd1050563f1
4
- data.tar.gz: e8b812dea6b551ac691b630305ff58af50502b1c71e36f76faeb48c0ff865066
3
+ metadata.gz: 66961131e140d8605b502d29d06796c4f358ffc87db5b3ac35ab6ddccde00c0e
4
+ data.tar.gz: 3256029e12eaa7a7f3bd73d75903e85f14a2c03ff6787475fd70a412a694b81d
5
5
  SHA512:
6
- metadata.gz: e3ac72d10bdf11892af285a0e39cb78e4f2df5985b001ae4fb3ebf8b959244c8f1cc47d6b7837d86f026626a9de3af18cd25e6c151916d574cced83af3480031
7
- data.tar.gz: faec3e89151759dbd6c9d0f3c6bebd9f0eb6a3c206f7093d6c3100ffa2d291e4fb0546d3867590e4d29e52b805962c1f074d157b206e888e53aed02da650c031
6
+ metadata.gz: 4b224c87252edc8b46d8761ee54c30c49f6a4fadefbc4913ce09740f948b620ae73c0e43c8cfbb6bab271e20e4b233fdb1cf0bece81f629319ddec9e37679282
7
+ data.tar.gz: 6c4b22532086ace0d805e69c481b6e0dfd46e6f8b703e45dae5171e9a3b492103c176c93c2101e264b5de12d61f40dbf5e3a9ac682db2d68f6d541614985c0d5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-dialogflow_v3
2
2
 
3
+ ### v0.83.0 (2024-03-17)
4
+
5
+ * Regenerated from discovery document revision 20240311
6
+
7
+ ### v0.82.0 (2024-03-10)
8
+
9
+ * Regenerated from discovery document revision 20240305
10
+
3
11
  ### v0.81.0 (2024-02-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20240219
@@ -49,6 +49,11 @@ module Google
49
49
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings]
50
50
  attr_accessor :logging_settings
51
51
 
52
+ # Define behaviors of speech to text detection.
53
+ # Corresponds to the JSON property `speechSettings`
54
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings]
55
+ attr_accessor :speech_settings
56
+
52
57
  def initialize(**args)
53
58
  update!(**args)
54
59
  end
@@ -58,6 +63,7 @@ module Google
58
63
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
59
64
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
60
65
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
66
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
61
67
  end
62
68
  end
63
69
 
@@ -124,6 +130,49 @@ module Google
124
130
  end
125
131
  end
126
132
 
133
+ # Define behaviors of speech to text detection.
134
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
135
+ include Google::Apis::Core::Hashable
136
+
137
+ # Sensitivity of the speech model that detects the end of speech. Scale from 0
138
+ # to 100.
139
+ # Corresponds to the JSON property `endpointerSensitivity`
140
+ # @return [Fixnum]
141
+ attr_accessor :endpointer_sensitivity
142
+
143
+ # Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
144
+ # will be selected for requests from its corresponding language. For more
145
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
146
+ # concept/speech-models).
147
+ # Corresponds to the JSON property `models`
148
+ # @return [Hash<String,String>]
149
+ attr_accessor :models
150
+
151
+ # Timeout before detecting no speech.
152
+ # Corresponds to the JSON property `noSpeechTimeout`
153
+ # @return [String]
154
+ attr_accessor :no_speech_timeout
155
+
156
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
157
+ # timeout value.
158
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
159
+ # @return [Boolean]
160
+ attr_accessor :use_timeout_based_endpointing
161
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
162
+
163
+ def initialize(**args)
164
+ update!(**args)
165
+ end
166
+
167
+ # Update properties of this object
168
+ def update!(**args)
169
+ @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
170
+ @models = args[:models] if args.key?(:models)
171
+ @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
172
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
173
+ end
174
+ end
175
+
127
176
  # Agents are best described as Natural Language Understanding (NLU) modules that
128
177
  # transform user requests into actionable data. You can include agents in your
129
178
  # app, product, or service to determine user intent and respond to the user in a
@@ -213,6 +262,11 @@ module Google
213
262
  # @return [String]
214
263
  attr_accessor :name
215
264
 
265
+ # Settings for end user personalization.
266
+ # Corresponds to the JSON property `personalizationSettings`
267
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings]
268
+ attr_accessor :personalization_settings
269
+
216
270
  # Name of the SecuritySettings reference for the agent. Format: `projects//
217
271
  # locations//securitySettings/`.
218
272
  # Corresponds to the JSON property `securitySettings`
@@ -266,6 +320,7 @@ module Google
266
320
  @git_integration_settings = args[:git_integration_settings] if args.key?(:git_integration_settings)
267
321
  @locked = args[:locked] if args.key?(:locked)
268
322
  @name = args[:name] if args.key?(:name)
323
+ @personalization_settings = args[:personalization_settings] if args.key?(:personalization_settings)
269
324
  @security_settings = args[:security_settings] if args.key?(:security_settings)
270
325
  @speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
271
326
  @start_flow = args[:start_flow] if args.key?(:start_flow)
@@ -380,6 +435,29 @@ module Google
380
435
  end
381
436
  end
382
437
 
438
+ # Settings for end user personalization.
439
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # Optional. Default end user metadata, used when processing DetectIntent
443
+ # requests. Recommended to be filled as a template instead of hard-coded value,
444
+ # for example ` "age": "$session.params.age" `. The data will be merged with the
445
+ # QueryParameters.end_user_metadata in DetectIntentRequest.query_params during
446
+ # query processing.
447
+ # Corresponds to the JSON property `defaultEndUserMetadata`
448
+ # @return [Hash<String,Object>]
449
+ attr_accessor :default_end_user_metadata
450
+
451
+ def initialize(**args)
452
+ update!(**args)
453
+ end
454
+
455
+ # Update properties of this object
456
+ def update!(**args)
457
+ @default_end_user_metadata = args[:default_end_user_metadata] if args.key?(:default_end_user_metadata)
458
+ end
459
+ end
460
+
383
461
  # The response message for Agents.GetAgentValidationResult.
384
462
  class GoogleCloudDialogflowCxV3AgentValidationResult
385
463
  include Google::Apis::Core::Hashable
@@ -1152,6 +1230,265 @@ module Google
1152
1230
  end
1153
1231
  end
1154
1232
 
1233
+ # Data store connection feature output signals. Might be only partially field if
1234
+ # processing stop before the final answer. Reasons for this can be, but are not
1235
+ # limited to: empty UCS search results, positive RAI check outcome, grounding
1236
+ # failure, ...
1237
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignals
1238
+ include Google::Apis::Core::Hashable
1239
+
1240
+ # Optional. The final compiled answer.
1241
+ # Corresponds to the JSON property `answer`
1242
+ # @return [String]
1243
+ attr_accessor :answer
1244
+
1245
+ # Diagnostic info related to the answer generation model call.
1246
+ # Corresponds to the JSON property `answerGenerationModelCallSignals`
1247
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals]
1248
+ attr_accessor :answer_generation_model_call_signals
1249
+
1250
+ # Optional. Answer parts with relevant citations. Concatenation of texts should
1251
+ # add up the `answer` (not counting whitespaces).
1252
+ # Corresponds to the JSON property `answerParts`
1253
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart>]
1254
+ attr_accessor :answer_parts
1255
+
1256
+ # Optional. Snippets cited by the answer generation model from the most to least
1257
+ # relevant.
1258
+ # Corresponds to the JSON property `citedSnippets`
1259
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet>]
1260
+ attr_accessor :cited_snippets
1261
+
1262
+ # Grounding signals.
1263
+ # Corresponds to the JSON property `groundingSignals`
1264
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals]
1265
+ attr_accessor :grounding_signals
1266
+
1267
+ # Diagnostic info related to the rewriter model call.
1268
+ # Corresponds to the JSON property `rewriterModelCallSignals`
1269
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals]
1270
+ attr_accessor :rewriter_model_call_signals
1271
+
1272
+ # Optional. Rewritten string query used for search.
1273
+ # Corresponds to the JSON property `rewrittenQuery`
1274
+ # @return [String]
1275
+ attr_accessor :rewritten_query
1276
+
1277
+ # Safety check results.
1278
+ # Corresponds to the JSON property `safetySignals`
1279
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals]
1280
+ attr_accessor :safety_signals
1281
+
1282
+ # Optional. Search snippets included in the answer generation prompt.
1283
+ # Corresponds to the JSON property `searchSnippets`
1284
+ # @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet>]
1285
+ attr_accessor :search_snippets
1286
+
1287
+ def initialize(**args)
1288
+ update!(**args)
1289
+ end
1290
+
1291
+ # Update properties of this object
1292
+ def update!(**args)
1293
+ @answer = args[:answer] if args.key?(:answer)
1294
+ @answer_generation_model_call_signals = args[:answer_generation_model_call_signals] if args.key?(:answer_generation_model_call_signals)
1295
+ @answer_parts = args[:answer_parts] if args.key?(:answer_parts)
1296
+ @cited_snippets = args[:cited_snippets] if args.key?(:cited_snippets)
1297
+ @grounding_signals = args[:grounding_signals] if args.key?(:grounding_signals)
1298
+ @rewriter_model_call_signals = args[:rewriter_model_call_signals] if args.key?(:rewriter_model_call_signals)
1299
+ @rewritten_query = args[:rewritten_query] if args.key?(:rewritten_query)
1300
+ @safety_signals = args[:safety_signals] if args.key?(:safety_signals)
1301
+ @search_snippets = args[:search_snippets] if args.key?(:search_snippets)
1302
+ end
1303
+ end
1304
+
1305
+ # Diagnostic info related to the answer generation model call.
1306
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
1307
+ include Google::Apis::Core::Hashable
1308
+
1309
+ # Output of the generative model.
1310
+ # Corresponds to the JSON property `modelOutput`
1311
+ # @return [String]
1312
+ attr_accessor :model_output
1313
+
1314
+ # Prompt as sent to the model.
1315
+ # Corresponds to the JSON property `renderedPrompt`
1316
+ # @return [String]
1317
+ attr_accessor :rendered_prompt
1318
+
1319
+ def initialize(**args)
1320
+ update!(**args)
1321
+ end
1322
+
1323
+ # Update properties of this object
1324
+ def update!(**args)
1325
+ @model_output = args[:model_output] if args.key?(:model_output)
1326
+ @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
1327
+ end
1328
+ end
1329
+
1330
+ # Answer part with citation.
1331
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
1332
+ include Google::Apis::Core::Hashable
1333
+
1334
+ # Citations for this answer part. Indices of `search_snippets`.
1335
+ # Corresponds to the JSON property `supportingIndices`
1336
+ # @return [Array<Fixnum>]
1337
+ attr_accessor :supporting_indices
1338
+
1339
+ # Substring of the answer.
1340
+ # Corresponds to the JSON property `text`
1341
+ # @return [String]
1342
+ attr_accessor :text
1343
+
1344
+ def initialize(**args)
1345
+ update!(**args)
1346
+ end
1347
+
1348
+ # Update properties of this object
1349
+ def update!(**args)
1350
+ @supporting_indices = args[:supporting_indices] if args.key?(:supporting_indices)
1351
+ @text = args[:text] if args.key?(:text)
1352
+ end
1353
+ end
1354
+
1355
+ # Snippet cited by the answer generation model.
1356
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
1357
+ include Google::Apis::Core::Hashable
1358
+
1359
+ # Search snippet details.
1360
+ # Corresponds to the JSON property `searchSnippet`
1361
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet]
1362
+ attr_accessor :search_snippet
1363
+
1364
+ # Index of the snippet in `search_snippets` field.
1365
+ # Corresponds to the JSON property `snippetIndex`
1366
+ # @return [Fixnum]
1367
+ attr_accessor :snippet_index
1368
+
1369
+ def initialize(**args)
1370
+ update!(**args)
1371
+ end
1372
+
1373
+ # Update properties of this object
1374
+ def update!(**args)
1375
+ @search_snippet = args[:search_snippet] if args.key?(:search_snippet)
1376
+ @snippet_index = args[:snippet_index] if args.key?(:snippet_index)
1377
+ end
1378
+ end
1379
+
1380
+ # Grounding signals.
1381
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
1382
+ include Google::Apis::Core::Hashable
1383
+
1384
+ # Represents the decision of the grounding check.
1385
+ # Corresponds to the JSON property `decision`
1386
+ # @return [String]
1387
+ attr_accessor :decision
1388
+
1389
+ # Grounding score bucket setting.
1390
+ # Corresponds to the JSON property `score`
1391
+ # @return [String]
1392
+ attr_accessor :score
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @decision = args[:decision] if args.key?(:decision)
1401
+ @score = args[:score] if args.key?(:score)
1402
+ end
1403
+ end
1404
+
1405
+ # Diagnostic info related to the rewriter model call.
1406
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
1407
+ include Google::Apis::Core::Hashable
1408
+
1409
+ # Output of the generative model.
1410
+ # Corresponds to the JSON property `modelOutput`
1411
+ # @return [String]
1412
+ attr_accessor :model_output
1413
+
1414
+ # Prompt as sent to the model.
1415
+ # Corresponds to the JSON property `renderedPrompt`
1416
+ # @return [String]
1417
+ attr_accessor :rendered_prompt
1418
+
1419
+ def initialize(**args)
1420
+ update!(**args)
1421
+ end
1422
+
1423
+ # Update properties of this object
1424
+ def update!(**args)
1425
+ @model_output = args[:model_output] if args.key?(:model_output)
1426
+ @rendered_prompt = args[:rendered_prompt] if args.key?(:rendered_prompt)
1427
+ end
1428
+ end
1429
+
1430
+ # Safety check results.
1431
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
1432
+ include Google::Apis::Core::Hashable
1433
+
1434
+ # Specifies banned phrase match subject.
1435
+ # Corresponds to the JSON property `bannedPhraseMatch`
1436
+ # @return [String]
1437
+ attr_accessor :banned_phrase_match
1438
+
1439
+ # Safety decision.
1440
+ # Corresponds to the JSON property `decision`
1441
+ # @return [String]
1442
+ attr_accessor :decision
1443
+
1444
+ # The matched banned phrase if there was a match.
1445
+ # Corresponds to the JSON property `matchedBannedPhrase`
1446
+ # @return [String]
1447
+ attr_accessor :matched_banned_phrase
1448
+
1449
+ def initialize(**args)
1450
+ update!(**args)
1451
+ end
1452
+
1453
+ # Update properties of this object
1454
+ def update!(**args)
1455
+ @banned_phrase_match = args[:banned_phrase_match] if args.key?(:banned_phrase_match)
1456
+ @decision = args[:decision] if args.key?(:decision)
1457
+ @matched_banned_phrase = args[:matched_banned_phrase] if args.key?(:matched_banned_phrase)
1458
+ end
1459
+ end
1460
+
1461
+ # Search snippet details.
1462
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
1463
+ include Google::Apis::Core::Hashable
1464
+
1465
+ # Title of the enclosing document.
1466
+ # Corresponds to the JSON property `documentTitle`
1467
+ # @return [String]
1468
+ attr_accessor :document_title
1469
+
1470
+ # Uri for the document. Present if specified for the document.
1471
+ # Corresponds to the JSON property `documentUri`
1472
+ # @return [String]
1473
+ attr_accessor :document_uri
1474
+
1475
+ # Text included in the prompt.
1476
+ # Corresponds to the JSON property `text`
1477
+ # @return [String]
1478
+ attr_accessor :text
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @document_title = args[:document_title] if args.key?(:document_title)
1487
+ @document_uri = args[:document_uri] if args.key?(:document_uri)
1488
+ @text = args[:text] if args.key?(:text)
1489
+ end
1490
+ end
1491
+
1155
1492
  # Metadata for DeleteDocument operation.
1156
1493
  class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
1157
1494
  include Google::Apis::Core::Hashable
@@ -5447,6 +5784,14 @@ module Google
5447
5784
  # @return [Hash<String,Object>]
5448
5785
  attr_accessor :payload
5449
5786
 
5787
+ # Optional. If set to true and data stores are involved in serving the request
5788
+ # then DetectIntentResponse.query_result.data_store_connection_signals will be
5789
+ # filled with data that can help evaluations.
5790
+ # Corresponds to the JSON property `populateDataStoreConnectionSignals`
5791
+ # @return [Boolean]
5792
+ attr_accessor :populate_data_store_connection_signals
5793
+ alias_method :populate_data_store_connection_signals?, :populate_data_store_connection_signals
5794
+
5450
5795
  # Search configuration for UCS search queries.
5451
5796
  # Corresponds to the JSON property `searchConfig`
5452
5797
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig]
@@ -5501,6 +5846,7 @@ module Google
5501
5846
  @geo_location = args[:geo_location] if args.key?(:geo_location)
5502
5847
  @parameters = args[:parameters] if args.key?(:parameters)
5503
5848
  @payload = args[:payload] if args.key?(:payload)
5849
+ @populate_data_store_connection_signals = args[:populate_data_store_connection_signals] if args.key?(:populate_data_store_connection_signals)
5504
5850
  @search_config = args[:search_config] if args.key?(:search_config)
5505
5851
  @session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
5506
5852
  @session_ttl = args[:session_ttl] if args.key?(:session_ttl)
@@ -5548,6 +5894,14 @@ module Google
5548
5894
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page]
5549
5895
  attr_accessor :current_page
5550
5896
 
5897
+ # Data store connection feature output signals. Might be only partially field if
5898
+ # processing stop before the final answer. Reasons for this can be, but are not
5899
+ # limited to: empty UCS search results, positive RAI check outcome, grounding
5900
+ # failure, ...
5901
+ # Corresponds to the JSON property `dataStoreConnectionSignals`
5902
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals]
5903
+ attr_accessor :data_store_connection_signals
5904
+
5551
5905
  # The free-form diagnostic info. For example, this field could contain webhook
5552
5906
  # call latency. The fields of this data can change without notice, so you should
5553
5907
  # not write code that depends on its structure. One of the fields is called "
@@ -5671,6 +6025,7 @@ module Google
5671
6025
  @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
5672
6026
  @allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
5673
6027
  @current_page = args[:current_page] if args.key?(:current_page)
6028
+ @data_store_connection_signals = args[:data_store_connection_signals] if args.key?(:data_store_connection_signals)
5674
6029
  @diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
5675
6030
  @dtmf = args[:dtmf] if args.key?(:dtmf)
5676
6031
  @intent = args[:intent] if args.key?(:intent)
@@ -6524,7 +6879,10 @@ module Google
6524
6879
  # Retains the data for the specified number of days. User must set a value lower
6525
6880
  # than Dialogflow's default 365d TTL (30 days for Agent Assist traffic), higher
6526
6881
  # value will be ignored and use default. Setting a value higher than that has no
6527
- # effect. A missing value or setting to 0 also means we use default TTL.
6882
+ # effect. A missing value or setting to 0 also means we use default TTL. When
6883
+ # data retention configuration is changed, it only applies to the data created
6884
+ # after the change; the TTL of existing data created before the change stays
6885
+ # intact.
6528
6886
  # Corresponds to the JSON property `retentionWindowDays`
6529
6887
  # @return [Fixnum]
6530
6888
  attr_accessor :retention_window_days
@@ -6563,7 +6921,8 @@ module Google
6563
6921
  # @return [String]
6564
6922
  attr_accessor :audio_format
6565
6923
 
6566
- # Enable audio redaction if it is true.
6924
+ # Enable audio redaction if it is true. Note that this only redacts end-user
6925
+ # audio data; Synthesised audio from the virtual agent is not redacted.
6567
6926
  # Corresponds to the JSON property `enableAudioRedaction`
6568
6927
  # @return [Boolean]
6569
6928
  attr_accessor :enable_audio_redaction
@@ -7918,6 +8277,12 @@ module Google
7918
8277
  # @return [String]
7919
8278
  attr_accessor :http_method
7920
8279
 
8280
+ # Represents configuration of OAuth client credential flow for 3rd party API
8281
+ # authentication.
8282
+ # Corresponds to the JSON property `oauthConfig`
8283
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig]
8284
+ attr_accessor :oauth_config
8285
+
7921
8286
  # Optional. Maps the values extracted from specific fields of the flexible
7922
8287
  # webhook response into session parameters. - Key: session parameter name -
7923
8288
  # Value: field path in the webhook response
@@ -7941,6 +8306,13 @@ module Google
7941
8306
  # @return [Hash<String,String>]
7942
8307
  attr_accessor :request_headers
7943
8308
 
8309
+ # Optional. Indicate the auth token type generated from the [Diglogflow service
8310
+ # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
8311
+ # agent). The generated token is sent in the Authorization header.
8312
+ # Corresponds to the JSON property `serviceAgentAuth`
8313
+ # @return [String]
8314
+ attr_accessor :service_agent_auth
8315
+
7944
8316
  # Required. The webhook URI for receiving POST requests. It must use https
7945
8317
  # protocol.
7946
8318
  # Corresponds to the JSON property `uri`
@@ -7965,16 +8337,57 @@ module Google
7965
8337
  def update!(**args)
7966
8338
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
7967
8339
  @http_method = args[:http_method] if args.key?(:http_method)
8340
+ @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
7968
8341
  @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
7969
8342
  @password = args[:password] if args.key?(:password)
7970
8343
  @request_body = args[:request_body] if args.key?(:request_body)
7971
8344
  @request_headers = args[:request_headers] if args.key?(:request_headers)
8345
+ @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
7972
8346
  @uri = args[:uri] if args.key?(:uri)
7973
8347
  @username = args[:username] if args.key?(:username)
7974
8348
  @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
7975
8349
  end
7976
8350
  end
7977
8351
 
8352
+ # Represents configuration of OAuth client credential flow for 3rd party API
8353
+ # authentication.
8354
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
8355
+ include Google::Apis::Core::Hashable
8356
+
8357
+ # Required. The client ID provided by the 3rd party platform.
8358
+ # Corresponds to the JSON property `clientId`
8359
+ # @return [String]
8360
+ attr_accessor :client_id
8361
+
8362
+ # Required. The client secret provided by the 3rd party platform.
8363
+ # Corresponds to the JSON property `clientSecret`
8364
+ # @return [String]
8365
+ attr_accessor :client_secret
8366
+
8367
+ # Optional. The OAuth scopes to grant.
8368
+ # Corresponds to the JSON property `scopes`
8369
+ # @return [Array<String>]
8370
+ attr_accessor :scopes
8371
+
8372
+ # Required. The token endpoint provided by the 3rd party platform to exchange an
8373
+ # access token.
8374
+ # Corresponds to the JSON property `tokenEndpoint`
8375
+ # @return [String]
8376
+ attr_accessor :token_endpoint
8377
+
8378
+ def initialize(**args)
8379
+ update!(**args)
8380
+ end
8381
+
8382
+ # Update properties of this object
8383
+ def update!(**args)
8384
+ @client_id = args[:client_id] if args.key?(:client_id)
8385
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
8386
+ @scopes = args[:scopes] if args.key?(:scopes)
8387
+ @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
8388
+ end
8389
+ end
8390
+
7978
8391
  # The request message for a webhook call. The request is sent as a JSON object
7979
8392
  # and the field names will be presented in camel cases. You may see undocumented
7980
8393
  # fields in an actual request. These fields are used internally by Dialogflow
@@ -8329,6 +8742,11 @@ module Google
8329
8742
  # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings]
8330
8743
  attr_accessor :logging_settings
8331
8744
 
8745
+ # Define behaviors of speech to text detection.
8746
+ # Corresponds to the JSON property `speechSettings`
8747
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings]
8748
+ attr_accessor :speech_settings
8749
+
8332
8750
  def initialize(**args)
8333
8751
  update!(**args)
8334
8752
  end
@@ -8338,6 +8756,7 @@ module Google
8338
8756
  @audio_export_gcs_destination = args[:audio_export_gcs_destination] if args.key?(:audio_export_gcs_destination)
8339
8757
  @dtmf_settings = args[:dtmf_settings] if args.key?(:dtmf_settings)
8340
8758
  @logging_settings = args[:logging_settings] if args.key?(:logging_settings)
8759
+ @speech_settings = args[:speech_settings] if args.key?(:speech_settings)
8341
8760
  end
8342
8761
  end
8343
8762
 
@@ -8404,6 +8823,49 @@ module Google
8404
8823
  end
8405
8824
  end
8406
8825
 
8826
+ # Define behaviors of speech to text detection.
8827
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
8828
+ include Google::Apis::Core::Hashable
8829
+
8830
+ # Sensitivity of the speech model that detects the end of speech. Scale from 0
8831
+ # to 100.
8832
+ # Corresponds to the JSON property `endpointerSensitivity`
8833
+ # @return [Fixnum]
8834
+ attr_accessor :endpointer_sensitivity
8835
+
8836
+ # Mapping from language to Speech-to-Text model. The mapped Speech-to-Text model
8837
+ # will be selected for requests from its corresponding language. For more
8838
+ # information, see [Speech models](https://cloud.google.com/dialogflow/cx/docs/
8839
+ # concept/speech-models).
8840
+ # Corresponds to the JSON property `models`
8841
+ # @return [Hash<String,String>]
8842
+ attr_accessor :models
8843
+
8844
+ # Timeout before detecting no speech.
8845
+ # Corresponds to the JSON property `noSpeechTimeout`
8846
+ # @return [String]
8847
+ attr_accessor :no_speech_timeout
8848
+
8849
+ # Use timeout based endpointing, interpreting endpointer sensitivy as seconds of
8850
+ # timeout value.
8851
+ # Corresponds to the JSON property `useTimeoutBasedEndpointing`
8852
+ # @return [Boolean]
8853
+ attr_accessor :use_timeout_based_endpointing
8854
+ alias_method :use_timeout_based_endpointing?, :use_timeout_based_endpointing
8855
+
8856
+ def initialize(**args)
8857
+ update!(**args)
8858
+ end
8859
+
8860
+ # Update properties of this object
8861
+ def update!(**args)
8862
+ @endpointer_sensitivity = args[:endpointer_sensitivity] if args.key?(:endpointer_sensitivity)
8863
+ @models = args[:models] if args.key?(:models)
8864
+ @no_speech_timeout = args[:no_speech_timeout] if args.key?(:no_speech_timeout)
8865
+ @use_timeout_based_endpointing = args[:use_timeout_based_endpointing] if args.key?(:use_timeout_based_endpointing)
8866
+ end
8867
+ end
8868
+
8407
8869
  # Represents the natural speech audio to be processed.
8408
8870
  class GoogleCloudDialogflowCxV3beta1AudioInput
8409
8871
  include Google::Apis::Core::Hashable
@@ -11606,6 +12068,12 @@ module Google
11606
12068
  # @return [String]
11607
12069
  attr_accessor :http_method
11608
12070
 
12071
+ # Represents configuration of OAuth client credential flow for 3rd party API
12072
+ # authentication.
12073
+ # Corresponds to the JSON property `oauthConfig`
12074
+ # @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig]
12075
+ attr_accessor :oauth_config
12076
+
11609
12077
  # Optional. Maps the values extracted from specific fields of the flexible
11610
12078
  # webhook response into session parameters. - Key: session parameter name -
11611
12079
  # Value: field path in the webhook response
@@ -11629,6 +12097,13 @@ module Google
11629
12097
  # @return [Hash<String,String>]
11630
12098
  attr_accessor :request_headers
11631
12099
 
12100
+ # Optional. Indicate the auth token type generated from the [Diglogflow service
12101
+ # agent](https://cloud.google.com/iam/docs/service-agents#dialogflow-service-
12102
+ # agent). The generated token is sent in the Authorization header.
12103
+ # Corresponds to the JSON property `serviceAgentAuth`
12104
+ # @return [String]
12105
+ attr_accessor :service_agent_auth
12106
+
11632
12107
  # Required. The webhook URI for receiving POST requests. It must use https
11633
12108
  # protocol.
11634
12109
  # Corresponds to the JSON property `uri`
@@ -11653,16 +12128,57 @@ module Google
11653
12128
  def update!(**args)
11654
12129
  @allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
11655
12130
  @http_method = args[:http_method] if args.key?(:http_method)
12131
+ @oauth_config = args[:oauth_config] if args.key?(:oauth_config)
11656
12132
  @parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
11657
12133
  @password = args[:password] if args.key?(:password)
11658
12134
  @request_body = args[:request_body] if args.key?(:request_body)
11659
12135
  @request_headers = args[:request_headers] if args.key?(:request_headers)
12136
+ @service_agent_auth = args[:service_agent_auth] if args.key?(:service_agent_auth)
11660
12137
  @uri = args[:uri] if args.key?(:uri)
11661
12138
  @username = args[:username] if args.key?(:username)
11662
12139
  @webhook_type = args[:webhook_type] if args.key?(:webhook_type)
11663
12140
  end
11664
12141
  end
11665
12142
 
12143
+ # Represents configuration of OAuth client credential flow for 3rd party API
12144
+ # authentication.
12145
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
12146
+ include Google::Apis::Core::Hashable
12147
+
12148
+ # Required. The client ID provided by the 3rd party platform.
12149
+ # Corresponds to the JSON property `clientId`
12150
+ # @return [String]
12151
+ attr_accessor :client_id
12152
+
12153
+ # Required. The client secret provided by the 3rd party platform.
12154
+ # Corresponds to the JSON property `clientSecret`
12155
+ # @return [String]
12156
+ attr_accessor :client_secret
12157
+
12158
+ # Optional. The OAuth scopes to grant.
12159
+ # Corresponds to the JSON property `scopes`
12160
+ # @return [Array<String>]
12161
+ attr_accessor :scopes
12162
+
12163
+ # Required. The token endpoint provided by the 3rd party platform to exchange an
12164
+ # access token.
12165
+ # Corresponds to the JSON property `tokenEndpoint`
12166
+ # @return [String]
12167
+ attr_accessor :token_endpoint
12168
+
12169
+ def initialize(**args)
12170
+ update!(**args)
12171
+ end
12172
+
12173
+ # Update properties of this object
12174
+ def update!(**args)
12175
+ @client_id = args[:client_id] if args.key?(:client_id)
12176
+ @client_secret = args[:client_secret] if args.key?(:client_secret)
12177
+ @scopes = args[:scopes] if args.key?(:scopes)
12178
+ @token_endpoint = args[:token_endpoint] if args.key?(:token_endpoint)
12179
+ end
12180
+ end
12181
+
11666
12182
  # The request message for a webhook call. The request is sent as a JSON object
11667
12183
  # and the field names will be presented in camel cases. You may see undocumented
11668
12184
  # 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 DialogflowV3
18
18
  # Version of the google-apis-dialogflow_v3 gem
19
- GEM_VERSION = "0.81.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 = "20240219"
25
+ REVISION = "20240311"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class GoogleCloudDialogflowCxV3Agent
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -70,6 +76,12 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
73
85
  class GoogleCloudDialogflowCxV3AgentValidationResult
74
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
87
 
@@ -214,6 +226,54 @@ module Google
214
226
  include Google::Apis::Core::JsonObjectSupport
215
227
  end
216
228
 
229
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignals
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
217
277
  class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
218
278
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
279
 
@@ -1330,6 +1390,12 @@ module Google
1330
1390
  include Google::Apis::Core::JsonObjectSupport
1331
1391
  end
1332
1392
 
1393
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
1394
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1395
+
1396
+ include Google::Apis::Core::JsonObjectSupport
1397
+ end
1398
+
1333
1399
  class GoogleCloudDialogflowCxV3WebhookRequest
1334
1400
  class Representation < Google::Apis::Core::JsonRepresentation; end
1335
1401
 
@@ -1396,6 +1462,12 @@ module Google
1396
1462
  include Google::Apis::Core::JsonObjectSupport
1397
1463
  end
1398
1464
 
1465
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
1466
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1467
+
1468
+ include Google::Apis::Core::JsonObjectSupport
1469
+ end
1470
+
1399
1471
  class GoogleCloudDialogflowCxV3beta1AudioInput
1400
1472
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1473
 
@@ -1954,6 +2026,12 @@ module Google
1954
2026
  include Google::Apis::Core::JsonObjectSupport
1955
2027
  end
1956
2028
 
2029
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
2030
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2031
+
2032
+ include Google::Apis::Core::JsonObjectSupport
2033
+ end
2034
+
1957
2035
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
1958
2036
  class Representation < Google::Apis::Core::JsonRepresentation; end
1959
2037
 
@@ -3079,6 +3157,8 @@ module Google
3079
3157
 
3080
3158
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings::Representation
3081
3159
 
3160
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings::Representation
3161
+
3082
3162
  end
3083
3163
  end
3084
3164
 
@@ -3099,6 +3179,16 @@ module Google
3099
3179
  end
3100
3180
  end
3101
3181
 
3182
+ class GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings
3183
+ # @private
3184
+ class Representation < Google::Apis::Core::JsonRepresentation
3185
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
3186
+ hash :models, as: 'models'
3187
+ property :no_speech_timeout, as: 'noSpeechTimeout'
3188
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
3189
+ end
3190
+ end
3191
+
3102
3192
  class GoogleCloudDialogflowCxV3Agent
3103
3193
  # @private
3104
3194
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3118,6 +3208,8 @@ module Google
3118
3208
 
3119
3209
  property :locked, as: 'locked'
3120
3210
  property :name, as: 'name'
3211
+ property :personalization_settings, as: 'personalizationSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentPersonalizationSettings::Representation
3212
+
3121
3213
  property :security_settings, as: 'securitySettings'
3122
3214
  property :speech_to_text_settings, as: 'speechToTextSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SpeechToTextSettings::Representation
3123
3215
 
@@ -3162,6 +3254,13 @@ module Google
3162
3254
  end
3163
3255
  end
3164
3256
 
3257
+ class GoogleCloudDialogflowCxV3AgentPersonalizationSettings
3258
+ # @private
3259
+ class Representation < Google::Apis::Core::JsonRepresentation
3260
+ hash :default_end_user_metadata, as: 'defaultEndUserMetadata'
3261
+ end
3262
+ end
3263
+
3165
3264
  class GoogleCloudDialogflowCxV3AgentValidationResult
3166
3265
  # @private
3167
3266
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3386,6 +3485,87 @@ module Google
3386
3485
  end
3387
3486
  end
3388
3487
 
3488
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignals
3489
+ # @private
3490
+ class Representation < Google::Apis::Core::JsonRepresentation
3491
+ property :answer, as: 'answer'
3492
+ property :answer_generation_model_call_signals, as: 'answerGenerationModelCallSignals', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals::Representation
3493
+
3494
+ collection :answer_parts, as: 'answerParts', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart::Representation
3495
+
3496
+ collection :cited_snippets, as: 'citedSnippets', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet::Representation
3497
+
3498
+ property :grounding_signals, as: 'groundingSignals', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals::Representation
3499
+
3500
+ property :rewriter_model_call_signals, as: 'rewriterModelCallSignals', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals::Representation
3501
+
3502
+ property :rewritten_query, as: 'rewrittenQuery'
3503
+ property :safety_signals, as: 'safetySignals', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals::Representation
3504
+
3505
+ collection :search_snippets, as: 'searchSnippets', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet::Representation
3506
+
3507
+ end
3508
+ end
3509
+
3510
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals
3511
+ # @private
3512
+ class Representation < Google::Apis::Core::JsonRepresentation
3513
+ property :model_output, as: 'modelOutput'
3514
+ property :rendered_prompt, as: 'renderedPrompt'
3515
+ end
3516
+ end
3517
+
3518
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
3519
+ # @private
3520
+ class Representation < Google::Apis::Core::JsonRepresentation
3521
+ collection :supporting_indices, as: 'supportingIndices'
3522
+ property :text, as: 'text'
3523
+ end
3524
+ end
3525
+
3526
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
3527
+ # @private
3528
+ class Representation < Google::Apis::Core::JsonRepresentation
3529
+ property :search_snippet, as: 'searchSnippet', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet::Representation
3530
+
3531
+ property :snippet_index, as: 'snippetIndex'
3532
+ end
3533
+ end
3534
+
3535
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals
3536
+ # @private
3537
+ class Representation < Google::Apis::Core::JsonRepresentation
3538
+ property :decision, as: 'decision'
3539
+ property :score, as: 'score'
3540
+ end
3541
+ end
3542
+
3543
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals
3544
+ # @private
3545
+ class Representation < Google::Apis::Core::JsonRepresentation
3546
+ property :model_output, as: 'modelOutput'
3547
+ property :rendered_prompt, as: 'renderedPrompt'
3548
+ end
3549
+ end
3550
+
3551
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals
3552
+ # @private
3553
+ class Representation < Google::Apis::Core::JsonRepresentation
3554
+ property :banned_phrase_match, as: 'bannedPhraseMatch'
3555
+ property :decision, as: 'decision'
3556
+ property :matched_banned_phrase, as: 'matchedBannedPhrase'
3557
+ end
3558
+ end
3559
+
3560
+ class GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
3561
+ # @private
3562
+ class Representation < Google::Apis::Core::JsonRepresentation
3563
+ property :document_title, as: 'documentTitle'
3564
+ property :document_uri, as: 'documentUri'
3565
+ property :text, as: 'text'
3566
+ end
3567
+ end
3568
+
3389
3569
  class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
3390
3570
  # @private
3391
3571
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -4550,6 +4730,7 @@ module Google
4550
4730
 
4551
4731
  hash :parameters, as: 'parameters'
4552
4732
  hash :payload, as: 'payload'
4733
+ property :populate_data_store_connection_signals, as: 'populateDataStoreConnectionSignals'
4553
4734
  property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig::Representation
4554
4735
 
4555
4736
  collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType::Representation
@@ -4568,6 +4749,8 @@ module Google
4568
4749
  property :allow_answer_feedback, as: 'allowAnswerFeedback'
4569
4750
  property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
4570
4751
 
4752
+ property :data_store_connection_signals, as: 'dataStoreConnectionSignals', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals::Representation
4753
+
4571
4754
  hash :diagnostic_info, as: 'diagnosticInfo'
4572
4755
  property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput::Representation
4573
4756
 
@@ -5219,16 +5402,29 @@ module Google
5219
5402
  class Representation < Google::Apis::Core::JsonRepresentation
5220
5403
  collection :allowed_ca_certs, as: 'allowedCaCerts'
5221
5404
  property :http_method, as: 'httpMethod'
5405
+ property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig::Representation
5406
+
5222
5407
  hash :parameter_mapping, as: 'parameterMapping'
5223
5408
  property :password, as: 'password'
5224
5409
  property :request_body, as: 'requestBody'
5225
5410
  hash :request_headers, as: 'requestHeaders'
5411
+ property :service_agent_auth, as: 'serviceAgentAuth'
5226
5412
  property :uri, as: 'uri'
5227
5413
  property :username, as: 'username'
5228
5414
  property :webhook_type, as: 'webhookType'
5229
5415
  end
5230
5416
  end
5231
5417
 
5418
+ class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
5419
+ # @private
5420
+ class Representation < Google::Apis::Core::JsonRepresentation
5421
+ property :client_id, as: 'clientId'
5422
+ property :client_secret, as: 'clientSecret'
5423
+ collection :scopes, as: 'scopes'
5424
+ property :token_endpoint, as: 'tokenEndpoint'
5425
+ end
5426
+ end
5427
+
5232
5428
  class GoogleCloudDialogflowCxV3WebhookRequest
5233
5429
  # @private
5234
5430
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -5331,6 +5527,8 @@ module Google
5331
5527
 
5332
5528
  property :logging_settings, as: 'loggingSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings::Representation
5333
5529
 
5530
+ property :speech_settings, as: 'speechSettings', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings::Representation
5531
+
5334
5532
  end
5335
5533
  end
5336
5534
 
@@ -5351,6 +5549,16 @@ module Google
5351
5549
  end
5352
5550
  end
5353
5551
 
5552
+ class GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings
5553
+ # @private
5554
+ class Representation < Google::Apis::Core::JsonRepresentation
5555
+ property :endpointer_sensitivity, as: 'endpointerSensitivity'
5556
+ hash :models, as: 'models'
5557
+ property :no_speech_timeout, as: 'noSpeechTimeout'
5558
+ property :use_timeout_based_endpointing, as: 'useTimeoutBasedEndpointing'
5559
+ end
5560
+ end
5561
+
5354
5562
  class GoogleCloudDialogflowCxV3beta1AudioInput
5355
5563
  # @private
5356
5564
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -6234,16 +6442,29 @@ module Google
6234
6442
  class Representation < Google::Apis::Core::JsonRepresentation
6235
6443
  collection :allowed_ca_certs, as: 'allowedCaCerts'
6236
6444
  property :http_method, as: 'httpMethod'
6445
+ property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig::Representation
6446
+
6237
6447
  hash :parameter_mapping, as: 'parameterMapping'
6238
6448
  property :password, as: 'password'
6239
6449
  property :request_body, as: 'requestBody'
6240
6450
  hash :request_headers, as: 'requestHeaders'
6451
+ property :service_agent_auth, as: 'serviceAgentAuth'
6241
6452
  property :uri, as: 'uri'
6242
6453
  property :username, as: 'username'
6243
6454
  property :webhook_type, as: 'webhookType'
6244
6455
  end
6245
6456
  end
6246
6457
 
6458
+ class GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig
6459
+ # @private
6460
+ class Representation < Google::Apis::Core::JsonRepresentation
6461
+ property :client_id, as: 'clientId'
6462
+ property :client_secret, as: 'clientSecret'
6463
+ collection :scopes, as: 'scopes'
6464
+ property :token_endpoint, as: 'tokenEndpoint'
6465
+ end
6466
+ end
6467
+
6247
6468
  class GoogleCloudDialogflowCxV3beta1WebhookRequest
6248
6469
  # @private
6249
6470
  class Representation < Google::Apis::Core::JsonRepresentation
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.81.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-02-25 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_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.81.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.83.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: []