google-apis-dialogflow_v3 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66961131e140d8605b502d29d06796c4f358ffc87db5b3ac35ab6ddccde00c0e
|
4
|
+
data.tar.gz: 3256029e12eaa7a7f3bd73d75903e85f14a2c03ff6787475fd70a412a694b81d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b224c87252edc8b46d8761ee54c30c49f6a4fadefbc4913ce09740f948b620ae73c0e43c8cfbb6bab271e20e4b233fdb1cf0bece81f629319ddec9e37679282
|
7
|
+
data.tar.gz: 6c4b22532086ace0d805e69c481b6e0dfd46e6f8b703e45dae5171e9a3b492103c176c93c2101e264b5de12d61f40dbf5e3a9ac682db2d68f6d541614985c0d5
|
data/CHANGELOG.md
CHANGED
@@ -1230,6 +1230,265 @@ module Google
|
|
1230
1230
|
end
|
1231
1231
|
end
|
1232
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
|
+
|
1233
1492
|
# Metadata for DeleteDocument operation.
|
1234
1493
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
1235
1494
|
include Google::Apis::Core::Hashable
|
@@ -5525,6 +5784,14 @@ module Google
|
|
5525
5784
|
# @return [Hash<String,Object>]
|
5526
5785
|
attr_accessor :payload
|
5527
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
|
+
|
5528
5795
|
# Search configuration for UCS search queries.
|
5529
5796
|
# Corresponds to the JSON property `searchConfig`
|
5530
5797
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig]
|
@@ -5579,6 +5846,7 @@ module Google
|
|
5579
5846
|
@geo_location = args[:geo_location] if args.key?(:geo_location)
|
5580
5847
|
@parameters = args[:parameters] if args.key?(:parameters)
|
5581
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)
|
5582
5850
|
@search_config = args[:search_config] if args.key?(:search_config)
|
5583
5851
|
@session_entity_types = args[:session_entity_types] if args.key?(:session_entity_types)
|
5584
5852
|
@session_ttl = args[:session_ttl] if args.key?(:session_ttl)
|
@@ -5626,6 +5894,14 @@ module Google
|
|
5626
5894
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page]
|
5627
5895
|
attr_accessor :current_page
|
5628
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
|
+
|
5629
5905
|
# The free-form diagnostic info. For example, this field could contain webhook
|
5630
5906
|
# call latency. The fields of this data can change without notice, so you should
|
5631
5907
|
# not write code that depends on its structure. One of the fields is called "
|
@@ -5749,6 +6025,7 @@ module Google
|
|
5749
6025
|
@advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings)
|
5750
6026
|
@allow_answer_feedback = args[:allow_answer_feedback] if args.key?(:allow_answer_feedback)
|
5751
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)
|
5752
6029
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
5753
6030
|
@dtmf = args[:dtmf] if args.key?(:dtmf)
|
5754
6031
|
@intent = args[:intent] if args.key?(:intent)
|
@@ -8000,6 +8277,12 @@ module Google
|
|
8000
8277
|
# @return [String]
|
8001
8278
|
attr_accessor :http_method
|
8002
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
|
+
|
8003
8286
|
# Optional. Maps the values extracted from specific fields of the flexible
|
8004
8287
|
# webhook response into session parameters. - Key: session parameter name -
|
8005
8288
|
# Value: field path in the webhook response
|
@@ -8023,6 +8306,13 @@ module Google
|
|
8023
8306
|
# @return [Hash<String,String>]
|
8024
8307
|
attr_accessor :request_headers
|
8025
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
|
+
|
8026
8316
|
# Required. The webhook URI for receiving POST requests. It must use https
|
8027
8317
|
# protocol.
|
8028
8318
|
# Corresponds to the JSON property `uri`
|
@@ -8047,16 +8337,57 @@ module Google
|
|
8047
8337
|
def update!(**args)
|
8048
8338
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
8049
8339
|
@http_method = args[:http_method] if args.key?(:http_method)
|
8340
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
8050
8341
|
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
8051
8342
|
@password = args[:password] if args.key?(:password)
|
8052
8343
|
@request_body = args[:request_body] if args.key?(:request_body)
|
8053
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)
|
8054
8346
|
@uri = args[:uri] if args.key?(:uri)
|
8055
8347
|
@username = args[:username] if args.key?(:username)
|
8056
8348
|
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
8057
8349
|
end
|
8058
8350
|
end
|
8059
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
|
+
|
8060
8391
|
# The request message for a webhook call. The request is sent as a JSON object
|
8061
8392
|
# and the field names will be presented in camel cases. You may see undocumented
|
8062
8393
|
# fields in an actual request. These fields are used internally by Dialogflow
|
@@ -11737,6 +12068,12 @@ module Google
|
|
11737
12068
|
# @return [String]
|
11738
12069
|
attr_accessor :http_method
|
11739
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
|
+
|
11740
12077
|
# Optional. Maps the values extracted from specific fields of the flexible
|
11741
12078
|
# webhook response into session parameters. - Key: session parameter name -
|
11742
12079
|
# Value: field path in the webhook response
|
@@ -11760,6 +12097,13 @@ module Google
|
|
11760
12097
|
# @return [Hash<String,String>]
|
11761
12098
|
attr_accessor :request_headers
|
11762
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
|
+
|
11763
12107
|
# Required. The webhook URI for receiving POST requests. It must use https
|
11764
12108
|
# protocol.
|
11765
12109
|
# Corresponds to the JSON property `uri`
|
@@ -11784,16 +12128,57 @@ module Google
|
|
11784
12128
|
def update!(**args)
|
11785
12129
|
@allowed_ca_certs = args[:allowed_ca_certs] if args.key?(:allowed_ca_certs)
|
11786
12130
|
@http_method = args[:http_method] if args.key?(:http_method)
|
12131
|
+
@oauth_config = args[:oauth_config] if args.key?(:oauth_config)
|
11787
12132
|
@parameter_mapping = args[:parameter_mapping] if args.key?(:parameter_mapping)
|
11788
12133
|
@password = args[:password] if args.key?(:password)
|
11789
12134
|
@request_body = args[:request_body] if args.key?(:request_body)
|
11790
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)
|
11791
12137
|
@uri = args[:uri] if args.key?(:uri)
|
11792
12138
|
@username = args[:username] if args.key?(:username)
|
11793
12139
|
@webhook_type = args[:webhook_type] if args.key?(:webhook_type)
|
11794
12140
|
end
|
11795
12141
|
end
|
11796
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
|
+
|
11797
12182
|
# The request message for a webhook call. The request is sent as a JSON object
|
11798
12183
|
# and the field names will be presented in camel cases. You may see undocumented
|
11799
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.
|
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 = "
|
25
|
+
REVISION = "20240311"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,54 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
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
|
+
|
229
277
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
230
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
279
|
|
@@ -1342,6 +1390,12 @@ module Google
|
|
1342
1390
|
include Google::Apis::Core::JsonObjectSupport
|
1343
1391
|
end
|
1344
1392
|
|
1393
|
+
class GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig
|
1394
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1395
|
+
|
1396
|
+
include Google::Apis::Core::JsonObjectSupport
|
1397
|
+
end
|
1398
|
+
|
1345
1399
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
1346
1400
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1347
1401
|
|
@@ -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
|
|
@@ -3425,6 +3485,87 @@ module Google
|
|
3425
3485
|
end
|
3426
3486
|
end
|
3427
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
|
+
|
3428
3569
|
class GoogleCloudDialogflowCxV3DeleteDocumentOperationMetadata
|
3429
3570
|
# @private
|
3430
3571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4589,6 +4730,7 @@ module Google
|
|
4589
4730
|
|
4590
4731
|
hash :parameters, as: 'parameters'
|
4591
4732
|
hash :payload, as: 'payload'
|
4733
|
+
property :populate_data_store_connection_signals, as: 'populateDataStoreConnectionSignals'
|
4592
4734
|
property :search_config, as: 'searchConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SearchConfig::Representation
|
4593
4735
|
|
4594
4736
|
collection :session_entity_types, as: 'sessionEntityTypes', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionEntityType::Representation
|
@@ -4607,6 +4749,8 @@ module Google
|
|
4607
4749
|
property :allow_answer_feedback, as: 'allowAnswerFeedback'
|
4608
4750
|
property :current_page, as: 'currentPage', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Page::Representation
|
4609
4751
|
|
4752
|
+
property :data_store_connection_signals, as: 'dataStoreConnectionSignals', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignals::Representation
|
4753
|
+
|
4610
4754
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
4611
4755
|
property :dtmf, as: 'dtmf', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DtmfInput::Representation
|
4612
4756
|
|
@@ -5258,16 +5402,29 @@ module Google
|
|
5258
5402
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5259
5403
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
5260
5404
|
property :http_method, as: 'httpMethod'
|
5405
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig::Representation
|
5406
|
+
|
5261
5407
|
hash :parameter_mapping, as: 'parameterMapping'
|
5262
5408
|
property :password, as: 'password'
|
5263
5409
|
property :request_body, as: 'requestBody'
|
5264
5410
|
hash :request_headers, as: 'requestHeaders'
|
5411
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
5265
5412
|
property :uri, as: 'uri'
|
5266
5413
|
property :username, as: 'username'
|
5267
5414
|
property :webhook_type, as: 'webhookType'
|
5268
5415
|
end
|
5269
5416
|
end
|
5270
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
|
+
|
5271
5428
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
5272
5429
|
# @private
|
5273
5430
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -6285,16 +6442,29 @@ module Google
|
|
6285
6442
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6286
6443
|
collection :allowed_ca_certs, as: 'allowedCaCerts'
|
6287
6444
|
property :http_method, as: 'httpMethod'
|
6445
|
+
property :oauth_config, as: 'oauthConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig::Representation
|
6446
|
+
|
6288
6447
|
hash :parameter_mapping, as: 'parameterMapping'
|
6289
6448
|
property :password, as: 'password'
|
6290
6449
|
property :request_body, as: 'requestBody'
|
6291
6450
|
hash :request_headers, as: 'requestHeaders'
|
6451
|
+
property :service_agent_auth, as: 'serviceAgentAuth'
|
6292
6452
|
property :uri, as: 'uri'
|
6293
6453
|
property :username, as: 'username'
|
6294
6454
|
property :webhook_type, as: 'webhookType'
|
6295
6455
|
end
|
6296
6456
|
end
|
6297
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
|
+
|
6298
6468
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
6299
6469
|
# @private
|
6300
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.
|
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-
|
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.
|
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: []
|