google-apis-dialogflow_v3 0.8.0 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/lib/google/apis/dialogflow_v3.rb +1 -1
- data/lib/google/apis/dialogflow_v3/classes.rb +556 -43
- data/lib/google/apis/dialogflow_v3/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3/representations.rb +231 -0
- data/lib/google/apis/dialogflow_v3/service.rb +235 -65
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9bff6b1524079b9c96bb948709032555070d4f97f15fa34459948e5203401f1
|
4
|
+
data.tar.gz: ea42736729f3301c76998f8ec9f688f1e109f98448c60f8ccf862d6f1c0a62e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb9cb87eeec86add25e988019b64fe48c30c4ab9d2391ee7e8d56c5164201f96d448165425d35b1ef1d7aad7e54b0a4f0021a88855af8904dae3ba86cd4d33d
|
7
|
+
data.tar.gz: 158d149e18dc5e013db591934f4300ae313bb2d3e3dce9b462a6171b6776634040d1cdb9ace6ee24501b84cfa9b34b2dea1637457251285b1eeeafa5cc449d90
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.13.0 (2021-05-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210524
|
6
|
+
|
7
|
+
### v0.12.0 (2021-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210517
|
10
|
+
|
11
|
+
### v0.11.0 (2021-05-12)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210510
|
14
|
+
|
15
|
+
### v0.10.0 (2021-04-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210329
|
18
|
+
|
19
|
+
### v0.9.0 (2021-03-23)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210320
|
22
|
+
|
3
23
|
### v0.8.0 (2021-03-16)
|
4
24
|
|
5
25
|
* Regenerated from discovery document revision 20210314
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V3'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# View, manage and query your Dialogflow agents
|
@@ -93,6 +93,12 @@ module Google
|
|
93
93
|
# @return [String]
|
94
94
|
attr_accessor :start_flow
|
95
95
|
|
96
|
+
# The list of all languages supported by the agent (except for the `
|
97
|
+
# default_language_code`).
|
98
|
+
# Corresponds to the JSON property `supportedLanguageCodes`
|
99
|
+
# @return [Array<String>]
|
100
|
+
attr_accessor :supported_language_codes
|
101
|
+
|
96
102
|
# Required. The time zone of the agent from the [time zone database](https://www.
|
97
103
|
# iana.org/time-zones), e.g., America/New_York, Europe/Paris.
|
98
104
|
# Corresponds to the JSON property `timeZone`
|
@@ -115,6 +121,7 @@ module Google
|
|
115
121
|
@security_settings = args[:security_settings] if args.key?(:security_settings)
|
116
122
|
@speech_to_text_settings = args[:speech_to_text_settings] if args.key?(:speech_to_text_settings)
|
117
123
|
@start_flow = args[:start_flow] if args.key?(:start_flow)
|
124
|
+
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
|
118
125
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
119
126
|
end
|
120
127
|
end
|
@@ -303,6 +310,45 @@ module Google
|
|
303
310
|
end
|
304
311
|
end
|
305
312
|
|
313
|
+
# Represents a result from running a test case in an agent environment.
|
314
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
315
|
+
include Google::Apis::Core::Hashable
|
316
|
+
|
317
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
318
|
+
# /agents//environments//continuousTestResults/`.
|
319
|
+
# Corresponds to the JSON property `name`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :name
|
322
|
+
|
323
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
324
|
+
# continuous test run pass or not.
|
325
|
+
# Corresponds to the JSON property `result`
|
326
|
+
# @return [String]
|
327
|
+
attr_accessor :result
|
328
|
+
|
329
|
+
# Time when the continuous testing run starts.
|
330
|
+
# Corresponds to the JSON property `runTime`
|
331
|
+
# @return [String]
|
332
|
+
attr_accessor :run_time
|
333
|
+
|
334
|
+
# A list of individual test case results names in this continuous test run.
|
335
|
+
# Corresponds to the JSON property `testCaseResults`
|
336
|
+
# @return [Array<String>]
|
337
|
+
attr_accessor :test_case_results
|
338
|
+
|
339
|
+
def initialize(**args)
|
340
|
+
update!(**args)
|
341
|
+
end
|
342
|
+
|
343
|
+
# Update properties of this object
|
344
|
+
def update!(**args)
|
345
|
+
@name = args[:name] if args.key?(:name)
|
346
|
+
@result = args[:result] if args.key?(:result)
|
347
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
348
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
306
352
|
# One interaction between a human and virtual agent. The human provides some
|
307
353
|
# input and the virtual agent provides a response.
|
308
354
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
@@ -1166,6 +1212,12 @@ module Google
|
|
1166
1212
|
# @return [String]
|
1167
1213
|
attr_accessor :agent_uri
|
1168
1214
|
|
1215
|
+
# Optional. Environment name. If not set, draft environment is assumed. Format: `
|
1216
|
+
# projects//locations//agents//environments/`.
|
1217
|
+
# Corresponds to the JSON property `environment`
|
1218
|
+
# @return [String]
|
1219
|
+
attr_accessor :environment
|
1220
|
+
|
1169
1221
|
def initialize(**args)
|
1170
1222
|
update!(**args)
|
1171
1223
|
end
|
@@ -1173,6 +1225,7 @@ module Google
|
|
1173
1225
|
# Update properties of this object
|
1174
1226
|
def update!(**args)
|
1175
1227
|
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
1228
|
+
@environment = args[:environment] if args.key?(:environment)
|
1176
1229
|
end
|
1177
1230
|
end
|
1178
1231
|
|
@@ -1203,6 +1256,61 @@ module Google
|
|
1203
1256
|
end
|
1204
1257
|
end
|
1205
1258
|
|
1259
|
+
# The request message for Flows.ExportFlow.
|
1260
|
+
class GoogleCloudDialogflowCxV3ExportFlowRequest
|
1261
|
+
include Google::Apis::Core::Hashable
|
1262
|
+
|
1263
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
1264
|
+
# URI to export the flow to. The format of this URI must be `gs:///`. If left
|
1265
|
+
# unspecified, the serialized flow is returned inline.
|
1266
|
+
# Corresponds to the JSON property `flowUri`
|
1267
|
+
# @return [String]
|
1268
|
+
attr_accessor :flow_uri
|
1269
|
+
|
1270
|
+
# Optional. Whether to export flows referenced by the specified flow.
|
1271
|
+
# Corresponds to the JSON property `includeReferencedFlows`
|
1272
|
+
# @return [Boolean]
|
1273
|
+
attr_accessor :include_referenced_flows
|
1274
|
+
alias_method :include_referenced_flows?, :include_referenced_flows
|
1275
|
+
|
1276
|
+
def initialize(**args)
|
1277
|
+
update!(**args)
|
1278
|
+
end
|
1279
|
+
|
1280
|
+
# Update properties of this object
|
1281
|
+
def update!(**args)
|
1282
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
1283
|
+
@include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# The response message for Flows.ExportFlow.
|
1288
|
+
class GoogleCloudDialogflowCxV3ExportFlowResponse
|
1289
|
+
include Google::Apis::Core::Hashable
|
1290
|
+
|
1291
|
+
# Uncompressed raw byte content for flow.
|
1292
|
+
# Corresponds to the JSON property `flowContent`
|
1293
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1294
|
+
# @return [String]
|
1295
|
+
attr_accessor :flow_content
|
1296
|
+
|
1297
|
+
# The URI to a file containing the exported flow. This field is populated only
|
1298
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
1299
|
+
# Corresponds to the JSON property `flowUri`
|
1300
|
+
# @return [String]
|
1301
|
+
attr_accessor :flow_uri
|
1302
|
+
|
1303
|
+
def initialize(**args)
|
1304
|
+
update!(**args)
|
1305
|
+
end
|
1306
|
+
|
1307
|
+
# Update properties of this object
|
1308
|
+
def update!(**args)
|
1309
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
1310
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
1311
|
+
end
|
1312
|
+
end
|
1313
|
+
|
1206
1314
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
1207
1315
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
1208
1316
|
include Google::Apis::Core::Hashable
|
@@ -1327,6 +1435,15 @@ module Google
|
|
1327
1435
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3NluSettings]
|
1328
1436
|
attr_accessor :nlu_settings
|
1329
1437
|
|
1438
|
+
# A flow's transition route group serve two purposes: * They are responsible for
|
1439
|
+
# matching the user's first utterances in the flow. * They are inherited by
|
1440
|
+
# every page's transition route groups. Transition route groups defined in the
|
1441
|
+
# page have higher priority than those defined in the flow. Format:`projects//
|
1442
|
+
# locations//agents//flows//transitionRouteGroups/`.
|
1443
|
+
# Corresponds to the JSON property `transitionRouteGroups`
|
1444
|
+
# @return [Array<String>]
|
1445
|
+
attr_accessor :transition_route_groups
|
1446
|
+
|
1330
1447
|
# A flow's transition routes serve two purposes: * They are responsible for
|
1331
1448
|
# matching the user's first utterances in the flow. * They are inherited by
|
1332
1449
|
# every page's transition routes and can support use cases such as the user
|
@@ -1351,6 +1468,7 @@ module Google
|
|
1351
1468
|
@event_handlers = args[:event_handlers] if args.key?(:event_handlers)
|
1352
1469
|
@name = args[:name] if args.key?(:name)
|
1353
1470
|
@nlu_settings = args[:nlu_settings] if args.key?(:nlu_settings)
|
1471
|
+
@transition_route_groups = args[:transition_route_groups] if args.key?(:transition_route_groups)
|
1354
1472
|
@transition_routes = args[:transition_routes] if args.key?(:transition_routes)
|
1355
1473
|
end
|
1356
1474
|
end
|
@@ -1822,6 +1940,59 @@ module Google
|
|
1822
1940
|
end
|
1823
1941
|
end
|
1824
1942
|
|
1943
|
+
# The request message for Flows.ImportFlow.
|
1944
|
+
class GoogleCloudDialogflowCxV3ImportFlowRequest
|
1945
|
+
include Google::Apis::Core::Hashable
|
1946
|
+
|
1947
|
+
# Uncompressed raw byte content for flow.
|
1948
|
+
# Corresponds to the JSON property `flowContent`
|
1949
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1950
|
+
# @return [String]
|
1951
|
+
attr_accessor :flow_content
|
1952
|
+
|
1953
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
1954
|
+
# import flow from. The format of this URI must be `gs:///`.
|
1955
|
+
# Corresponds to the JSON property `flowUri`
|
1956
|
+
# @return [String]
|
1957
|
+
attr_accessor :flow_uri
|
1958
|
+
|
1959
|
+
# Flow import mode. If not specified, `KEEP` is assumed.
|
1960
|
+
# Corresponds to the JSON property `importOption`
|
1961
|
+
# @return [String]
|
1962
|
+
attr_accessor :import_option
|
1963
|
+
|
1964
|
+
def initialize(**args)
|
1965
|
+
update!(**args)
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Update properties of this object
|
1969
|
+
def update!(**args)
|
1970
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
1971
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
1972
|
+
@import_option = args[:import_option] if args.key?(:import_option)
|
1973
|
+
end
|
1974
|
+
end
|
1975
|
+
|
1976
|
+
# The response message for Flows.ImportFlow.
|
1977
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
1978
|
+
include Google::Apis::Core::Hashable
|
1979
|
+
|
1980
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
1981
|
+
# flows/`.
|
1982
|
+
# Corresponds to the JSON property `flow`
|
1983
|
+
# @return [String]
|
1984
|
+
attr_accessor :flow
|
1985
|
+
|
1986
|
+
def initialize(**args)
|
1987
|
+
update!(**args)
|
1988
|
+
end
|
1989
|
+
|
1990
|
+
# Update properties of this object
|
1991
|
+
def update!(**args)
|
1992
|
+
@flow = args[:flow] if args.key?(:flow)
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1825
1996
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
1826
1997
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
1827
1998
|
include Google::Apis::Core::Hashable
|
@@ -1972,8 +2143,8 @@ module Google
|
|
1972
2143
|
class GoogleCloudDialogflowCxV3Intent
|
1973
2144
|
include Google::Apis::Core::Hashable
|
1974
2145
|
|
1975
|
-
#
|
1976
|
-
#
|
2146
|
+
# Human readable description for better understanding an intent like its scope,
|
2147
|
+
# content, result etc. Maximum character limit: 140 characters.
|
1977
2148
|
# Corresponds to the JSON property `description`
|
1978
2149
|
# @return [String]
|
1979
2150
|
attr_accessor :description
|
@@ -1993,14 +2164,14 @@ module Google
|
|
1993
2164
|
attr_accessor :is_fallback
|
1994
2165
|
alias_method :is_fallback?, :is_fallback
|
1995
2166
|
|
1996
|
-
#
|
1997
|
-
#
|
1998
|
-
#
|
1999
|
-
#
|
2000
|
-
#
|
2001
|
-
#
|
2002
|
-
#
|
2003
|
-
#
|
2167
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
2168
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
2169
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
2170
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
2171
|
+
# 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
|
2172
|
+
# allowed Dialogflow defined labels include: * sys.head * sys.contextual The
|
2173
|
+
# above labels do not require value. "sys.head" means the intent is a head
|
2174
|
+
# intent. "sys.contextual" means the intent is a contextual intent.
|
2004
2175
|
# Corresponds to the JSON property `labels`
|
2005
2176
|
# @return [Hash<String,String>]
|
2006
2177
|
attr_accessor :labels
|
@@ -2262,6 +2433,32 @@ module Google
|
|
2262
2433
|
end
|
2263
2434
|
end
|
2264
2435
|
|
2436
|
+
# The response message for Environments.ListTestCaseResults.
|
2437
|
+
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
2438
|
+
include Google::Apis::Core::Hashable
|
2439
|
+
|
2440
|
+
# The list of continuous test results.
|
2441
|
+
# Corresponds to the JSON property `continuousTestResults`
|
2442
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult>]
|
2443
|
+
attr_accessor :continuous_test_results
|
2444
|
+
|
2445
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
2446
|
+
# results in the list.
|
2447
|
+
# Corresponds to the JSON property `nextPageToken`
|
2448
|
+
# @return [String]
|
2449
|
+
attr_accessor :next_page_token
|
2450
|
+
|
2451
|
+
def initialize(**args)
|
2452
|
+
update!(**args)
|
2453
|
+
end
|
2454
|
+
|
2455
|
+
# Update properties of this object
|
2456
|
+
def update!(**args)
|
2457
|
+
@continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
|
2458
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2459
|
+
end
|
2460
|
+
end
|
2461
|
+
|
2265
2462
|
# The response message for EntityTypes.ListEntityTypes.
|
2266
2463
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
2267
2464
|
include Google::Apis::Core::Hashable
|
@@ -2620,8 +2817,8 @@ module Google
|
|
2620
2817
|
class GoogleCloudDialogflowCxV3LoadVersionRequest
|
2621
2818
|
include Google::Apis::Core::Hashable
|
2622
2819
|
|
2623
|
-
# This field is used to prevent accidental overwrite of other agent resources
|
2624
|
-
#
|
2820
|
+
# This field is used to prevent accidental overwrite of other agent resources,
|
2821
|
+
# which can potentially impact other flow's behavior. If `
|
2625
2822
|
# allow_override_agent_resources` is false, conflicted agent-level resources
|
2626
2823
|
# will not be overridden (i.e. intents, entities, webhooks).
|
2627
2824
|
# Corresponds to the JSON property `allowOverrideAgentResources`
|
@@ -3158,6 +3355,16 @@ module Google
|
|
3158
3355
|
attr_accessor :analyze_query_text_sentiment
|
3159
3356
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
3160
3357
|
|
3358
|
+
# The unique identifier of the page to override the current page in the session.
|
3359
|
+
# Format: `projects//locations//agents//pages/`. If `current_page` is specified,
|
3360
|
+
# the previous state of the session will be ignored by Dialogflow, including the
|
3361
|
+
# previous page and the previous session parameters. In most cases, current_page
|
3362
|
+
# and parameters should be configured together to direct a session to a specific
|
3363
|
+
# state.
|
3364
|
+
# Corresponds to the JSON property `currentPage`
|
3365
|
+
# @return [String]
|
3366
|
+
attr_accessor :current_page
|
3367
|
+
|
3161
3368
|
# Whether to disable webhook calls for this request.
|
3162
3369
|
# Corresponds to the JSON property `disableWebhook`
|
3163
3370
|
# @return [Boolean]
|
@@ -3166,28 +3373,32 @@ module Google
|
|
3166
3373
|
|
3167
3374
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
3168
3375
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
3169
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
3170
|
-
# within normalized ranges.
|
3376
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
3377
|
+
# must be within normalized ranges.
|
3171
3378
|
# Corresponds to the JSON property `geoLocation`
|
3172
3379
|
# @return [Google::Apis::DialogflowV3::GoogleTypeLatLng]
|
3173
3380
|
attr_accessor :geo_location
|
3174
3381
|
|
3175
3382
|
# Additional parameters to be put into session parameters. To remove a parameter
|
3176
3383
|
# from the session, clients should explicitly set the parameter value to null.
|
3177
|
-
#
|
3178
|
-
#
|
3179
|
-
#
|
3180
|
-
#
|
3181
|
-
#
|
3182
|
-
#
|
3183
|
-
# type
|
3184
|
-
#
|
3384
|
+
# You can reference the session parameters in the agent with the following
|
3385
|
+
# format: $session.params.parameter-id. Depending on your protocol or client
|
3386
|
+
# library language, this is a map, associative array, symbol table, dictionary,
|
3387
|
+
# or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
|
3388
|
+
# type: string - MapKey value: parameter name - MapValue type: - If parameter's
|
3389
|
+
# entity type is a composite entity: map - Else: depending on parameter value
|
3390
|
+
# type, could be one of string, number, boolean, null, list or map - MapValue
|
3391
|
+
# value: - If parameter's entity type is a composite entity: map from composite
|
3392
|
+
# entity property names to property values - Else: parameter value
|
3185
3393
|
# Corresponds to the JSON property `parameters`
|
3186
3394
|
# @return [Hash<String,Object>]
|
3187
3395
|
attr_accessor :parameters
|
3188
3396
|
|
3189
3397
|
# This field can be used to pass custom data into the webhook associated with
|
3190
|
-
# the agent. Arbitrary JSON objects are supported.
|
3398
|
+
# the agent. Arbitrary JSON objects are supported. Some integrations that query
|
3399
|
+
# a Dialogflow agent may provide additional information in the payload. In
|
3400
|
+
# particular, for the Dialogflow Phone Gateway integration, this field has the
|
3401
|
+
# form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
|
3191
3402
|
# Corresponds to the JSON property `payload`
|
3192
3403
|
# @return [Hash<String,Object>]
|
3193
3404
|
attr_accessor :payload
|
@@ -3225,6 +3436,7 @@ module Google
|
|
3225
3436
|
# Update properties of this object
|
3226
3437
|
def update!(**args)
|
3227
3438
|
@analyze_query_text_sentiment = args[:analyze_query_text_sentiment] if args.key?(:analyze_query_text_sentiment)
|
3439
|
+
@current_page = args[:current_page] if args.key?(:current_page)
|
3228
3440
|
@disable_webhook = args[:disable_webhook] if args.key?(:disable_webhook)
|
3229
3441
|
@geo_location = args[:geo_location] if args.key?(:geo_location)
|
3230
3442
|
@parameters = args[:parameters] if args.key?(:parameters)
|
@@ -3761,6 +3973,58 @@ module Google
|
|
3761
3973
|
end
|
3762
3974
|
end
|
3763
3975
|
|
3976
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
3977
|
+
# operation.
|
3978
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
3979
|
+
include Google::Apis::Core::Hashable
|
3980
|
+
|
3981
|
+
# The test errors.
|
3982
|
+
# Corresponds to the JSON property `errors`
|
3983
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError>]
|
3984
|
+
attr_accessor :errors
|
3985
|
+
|
3986
|
+
def initialize(**args)
|
3987
|
+
update!(**args)
|
3988
|
+
end
|
3989
|
+
|
3990
|
+
# Update properties of this object
|
3991
|
+
def update!(**args)
|
3992
|
+
@errors = args[:errors] if args.key?(:errors)
|
3993
|
+
end
|
3994
|
+
end
|
3995
|
+
|
3996
|
+
# The request message for Environments.RunContinuousTest.
|
3997
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestRequest
|
3998
|
+
include Google::Apis::Core::Hashable
|
3999
|
+
|
4000
|
+
def initialize(**args)
|
4001
|
+
update!(**args)
|
4002
|
+
end
|
4003
|
+
|
4004
|
+
# Update properties of this object
|
4005
|
+
def update!(**args)
|
4006
|
+
end
|
4007
|
+
end
|
4008
|
+
|
4009
|
+
# The response message for Environments.RunContinuousTest.
|
4010
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
4011
|
+
include Google::Apis::Core::Hashable
|
4012
|
+
|
4013
|
+
# Represents a result from running a test case in an agent environment.
|
4014
|
+
# Corresponds to the JSON property `continuousTestResult`
|
4015
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult]
|
4016
|
+
attr_accessor :continuous_test_result
|
4017
|
+
|
4018
|
+
def initialize(**args)
|
4019
|
+
update!(**args)
|
4020
|
+
end
|
4021
|
+
|
4022
|
+
# Update properties of this object
|
4023
|
+
def update!(**args)
|
4024
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
4025
|
+
end
|
4026
|
+
end
|
4027
|
+
|
3764
4028
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
3765
4029
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
3766
4030
|
include Google::Apis::Core::Hashable
|
@@ -3844,8 +4108,8 @@ module Google
|
|
3844
4108
|
# @return [Array<String>]
|
3845
4109
|
attr_accessor :purge_data_types
|
3846
4110
|
|
3847
|
-
# Defines
|
3848
|
-
#
|
4111
|
+
# Defines the data for which Dialogflow applies redaction. Dialogflow does not
|
4112
|
+
# redact data that it does not have access to – for example, Cloud logging.
|
3849
4113
|
# Corresponds to the JSON property `redactionScope`
|
3850
4114
|
# @return [String]
|
3851
4115
|
attr_accessor :redaction_scope
|
@@ -3855,10 +4119,12 @@ module Google
|
|
3855
4119
|
# @return [String]
|
3856
4120
|
attr_accessor :redaction_strategy
|
3857
4121
|
|
3858
|
-
# Retains
|
3859
|
-
#
|
3860
|
-
#
|
3861
|
-
#
|
4122
|
+
# Retains data in interaction logging for the specified number of days. This
|
4123
|
+
# does not apply to Cloud logging, which is owned by the user - not Dialogflow.
|
4124
|
+
# User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
|
4125
|
+
# higher than that has no effect. A missing value or setting to 0 also means we
|
4126
|
+
# use Dialogflow's default TTL. Note: Interaction logging is a limited access
|
4127
|
+
# feature. Talk to your Google representative to check availability for you.
|
3862
4128
|
# Corresponds to the JSON property `retentionWindowDays`
|
3863
4129
|
# @return [Fixnum]
|
3864
4130
|
attr_accessor :retention_window_days
|
@@ -4976,6 +5242,12 @@ module Google
|
|
4976
5242
|
# @return [String]
|
4977
5243
|
attr_accessor :name
|
4978
5244
|
|
5245
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
5246
|
+
# service-directory) service.
|
5247
|
+
# Corresponds to the JSON property `serviceDirectory`
|
5248
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]
|
5249
|
+
attr_accessor :service_directory
|
5250
|
+
|
4979
5251
|
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
4980
5252
|
# t receive a response from webhook at the end of the timeout period. Defaults
|
4981
5253
|
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
@@ -4993,6 +5265,7 @@ module Google
|
|
4993
5265
|
@display_name = args[:display_name] if args.key?(:display_name)
|
4994
5266
|
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
4995
5267
|
@name = args[:name] if args.key?(:name)
|
5268
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
4996
5269
|
@timeout = args[:timeout] if args.key?(:timeout)
|
4997
5270
|
end
|
4998
5271
|
end
|
@@ -5035,7 +5308,8 @@ module Google
|
|
5035
5308
|
end
|
5036
5309
|
end
|
5037
5310
|
|
5038
|
-
# The request message for a webhook call.
|
5311
|
+
# The request message for a webhook call. The request is sent as a JSON object
|
5312
|
+
# and the field names will be presented in camel cases.
|
5039
5313
|
class GoogleCloudDialogflowCxV3WebhookRequest
|
5040
5314
|
include Google::Apis::Core::Hashable
|
5041
5315
|
|
@@ -5055,6 +5329,11 @@ module Google
|
|
5055
5329
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
5056
5330
|
attr_accessor :intent_info
|
5057
5331
|
|
5332
|
+
# The language code specified in the original request.
|
5333
|
+
# Corresponds to the JSON property `languageCode`
|
5334
|
+
# @return [String]
|
5335
|
+
attr_accessor :language_code
|
5336
|
+
|
5058
5337
|
# The list of rich message responses to present to the user. Webhook can choose
|
5059
5338
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
5060
5339
|
# Corresponds to the JSON property `messages`
|
@@ -5081,6 +5360,30 @@ module Google
|
|
5081
5360
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3SessionInfo]
|
5082
5361
|
attr_accessor :session_info
|
5083
5362
|
|
5363
|
+
# If natural language text was provided as input, this field will contain a copy
|
5364
|
+
# of the text.
|
5365
|
+
# Corresponds to the JSON property `text`
|
5366
|
+
# @return [String]
|
5367
|
+
attr_accessor :text
|
5368
|
+
|
5369
|
+
# If natural language speech audio was provided as input, this field will
|
5370
|
+
# contain the transcript for the audio.
|
5371
|
+
# Corresponds to the JSON property `transcript`
|
5372
|
+
# @return [String]
|
5373
|
+
attr_accessor :transcript
|
5374
|
+
|
5375
|
+
# If an event was provided as input, this field will contain the name of the
|
5376
|
+
# event.
|
5377
|
+
# Corresponds to the JSON property `triggerEvent`
|
5378
|
+
# @return [String]
|
5379
|
+
attr_accessor :trigger_event
|
5380
|
+
|
5381
|
+
# If an intent was provided as input, this field will contain a copy of the
|
5382
|
+
# intent identifier. Format: `projects//locations//agents//intents/`.
|
5383
|
+
# Corresponds to the JSON property `triggerIntent`
|
5384
|
+
# @return [String]
|
5385
|
+
attr_accessor :trigger_intent
|
5386
|
+
|
5084
5387
|
def initialize(**args)
|
5085
5388
|
update!(**args)
|
5086
5389
|
end
|
@@ -5090,11 +5393,16 @@ module Google
|
|
5090
5393
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
5091
5394
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
5092
5395
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
5396
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5093
5397
|
@messages = args[:messages] if args.key?(:messages)
|
5094
5398
|
@page_info = args[:page_info] if args.key?(:page_info)
|
5095
5399
|
@payload = args[:payload] if args.key?(:payload)
|
5096
5400
|
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
5097
5401
|
@session_info = args[:session_info] if args.key?(:session_info)
|
5402
|
+
@text = args[:text] if args.key?(:text)
|
5403
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
5404
|
+
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
5405
|
+
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
5098
5406
|
end
|
5099
5407
|
end
|
5100
5408
|
|
@@ -5287,6 +5595,35 @@ module Google
|
|
5287
5595
|
end
|
5288
5596
|
end
|
5289
5597
|
|
5598
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
5599
|
+
# service-directory) service.
|
5600
|
+
class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
|
5601
|
+
include Google::Apis::Core::Hashable
|
5602
|
+
|
5603
|
+
# Represents configuration for a generic web service.
|
5604
|
+
# Corresponds to the JSON property `genericWebService`
|
5605
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService]
|
5606
|
+
attr_accessor :generic_web_service
|
5607
|
+
|
5608
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
5609
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
5610
|
+
# Location ID` of the service directory must be the same as the location of the
|
5611
|
+
# agent.
|
5612
|
+
# Corresponds to the JSON property `service`
|
5613
|
+
# @return [String]
|
5614
|
+
attr_accessor :service
|
5615
|
+
|
5616
|
+
def initialize(**args)
|
5617
|
+
update!(**args)
|
5618
|
+
end
|
5619
|
+
|
5620
|
+
# Update properties of this object
|
5621
|
+
def update!(**args)
|
5622
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
5623
|
+
@service = args[:service] if args.key?(:service)
|
5624
|
+
end
|
5625
|
+
end
|
5626
|
+
|
5290
5627
|
# Represents the natural speech audio to be processed.
|
5291
5628
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
5292
5629
|
include Google::Apis::Core::Hashable
|
@@ -5357,6 +5694,45 @@ module Google
|
|
5357
5694
|
end
|
5358
5695
|
end
|
5359
5696
|
|
5697
|
+
# Represents a result from running a test case in an agent environment.
|
5698
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
5699
|
+
include Google::Apis::Core::Hashable
|
5700
|
+
|
5701
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
5702
|
+
# /agents//environments//continuousTestResults/`.
|
5703
|
+
# Corresponds to the JSON property `name`
|
5704
|
+
# @return [String]
|
5705
|
+
attr_accessor :name
|
5706
|
+
|
5707
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
5708
|
+
# continuous test run pass or not.
|
5709
|
+
# Corresponds to the JSON property `result`
|
5710
|
+
# @return [String]
|
5711
|
+
attr_accessor :result
|
5712
|
+
|
5713
|
+
# Time when the continuous testing run starts.
|
5714
|
+
# Corresponds to the JSON property `runTime`
|
5715
|
+
# @return [String]
|
5716
|
+
attr_accessor :run_time
|
5717
|
+
|
5718
|
+
# A list of individual test case results names in this continuous test run.
|
5719
|
+
# Corresponds to the JSON property `testCaseResults`
|
5720
|
+
# @return [Array<String>]
|
5721
|
+
attr_accessor :test_case_results
|
5722
|
+
|
5723
|
+
def initialize(**args)
|
5724
|
+
update!(**args)
|
5725
|
+
end
|
5726
|
+
|
5727
|
+
# Update properties of this object
|
5728
|
+
def update!(**args)
|
5729
|
+
@name = args[:name] if args.key?(:name)
|
5730
|
+
@result = args[:result] if args.key?(:result)
|
5731
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
5732
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
5733
|
+
end
|
5734
|
+
end
|
5735
|
+
|
5360
5736
|
# One interaction between a human and virtual agent. The human provides some
|
5361
5737
|
# input and the virtual agent provides a response.
|
5362
5738
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -5680,6 +6056,33 @@ module Google
|
|
5680
6056
|
end
|
5681
6057
|
end
|
5682
6058
|
|
6059
|
+
# The response message for Flows.ExportFlow.
|
6060
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
6061
|
+
include Google::Apis::Core::Hashable
|
6062
|
+
|
6063
|
+
# Uncompressed raw byte content for flow.
|
6064
|
+
# Corresponds to the JSON property `flowContent`
|
6065
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6066
|
+
# @return [String]
|
6067
|
+
attr_accessor :flow_content
|
6068
|
+
|
6069
|
+
# The URI to a file containing the exported flow. This field is populated only
|
6070
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
6071
|
+
# Corresponds to the JSON property `flowUri`
|
6072
|
+
# @return [String]
|
6073
|
+
attr_accessor :flow_uri
|
6074
|
+
|
6075
|
+
def initialize(**args)
|
6076
|
+
update!(**args)
|
6077
|
+
end
|
6078
|
+
|
6079
|
+
# Update properties of this object
|
6080
|
+
def update!(**args)
|
6081
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
6082
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
6083
|
+
end
|
6084
|
+
end
|
6085
|
+
|
5683
6086
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
5684
6087
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
5685
6088
|
include Google::Apis::Core::Hashable
|
@@ -6078,6 +6481,26 @@ module Google
|
|
6078
6481
|
end
|
6079
6482
|
end
|
6080
6483
|
|
6484
|
+
# The response message for Flows.ImportFlow.
|
6485
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
6486
|
+
include Google::Apis::Core::Hashable
|
6487
|
+
|
6488
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
6489
|
+
# flows/`.
|
6490
|
+
# Corresponds to the JSON property `flow`
|
6491
|
+
# @return [String]
|
6492
|
+
attr_accessor :flow
|
6493
|
+
|
6494
|
+
def initialize(**args)
|
6495
|
+
update!(**args)
|
6496
|
+
end
|
6497
|
+
|
6498
|
+
# Update properties of this object
|
6499
|
+
def update!(**args)
|
6500
|
+
@flow = args[:flow] if args.key?(:flow)
|
6501
|
+
end
|
6502
|
+
end
|
6503
|
+
|
6081
6504
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
6082
6505
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
6083
6506
|
include Google::Apis::Core::Hashable
|
@@ -6201,8 +6624,8 @@ module Google
|
|
6201
6624
|
class GoogleCloudDialogflowCxV3beta1Intent
|
6202
6625
|
include Google::Apis::Core::Hashable
|
6203
6626
|
|
6204
|
-
#
|
6205
|
-
#
|
6627
|
+
# Human readable description for better understanding an intent like its scope,
|
6628
|
+
# content, result etc. Maximum character limit: 140 characters.
|
6206
6629
|
# Corresponds to the JSON property `description`
|
6207
6630
|
# @return [String]
|
6208
6631
|
attr_accessor :description
|
@@ -6222,14 +6645,14 @@ module Google
|
|
6222
6645
|
attr_accessor :is_fallback
|
6223
6646
|
alias_method :is_fallback?, :is_fallback
|
6224
6647
|
|
6225
|
-
#
|
6226
|
-
#
|
6227
|
-
#
|
6228
|
-
#
|
6229
|
-
#
|
6230
|
-
#
|
6231
|
-
#
|
6232
|
-
#
|
6648
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
6649
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
6650
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
6651
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
6652
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
6653
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
6654
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
6655
|
+
# intent. "sys-contextual" means the intent is a contextual intent.
|
6233
6656
|
# Corresponds to the JSON property `labels`
|
6234
6657
|
# @return [Hash<String,String>]
|
6235
6658
|
attr_accessor :labels
|
@@ -6988,6 +7411,45 @@ module Google
|
|
6988
7411
|
end
|
6989
7412
|
end
|
6990
7413
|
|
7414
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
7415
|
+
# operation.
|
7416
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
7417
|
+
include Google::Apis::Core::Hashable
|
7418
|
+
|
7419
|
+
# The test errors.
|
7420
|
+
# Corresponds to the JSON property `errors`
|
7421
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError>]
|
7422
|
+
attr_accessor :errors
|
7423
|
+
|
7424
|
+
def initialize(**args)
|
7425
|
+
update!(**args)
|
7426
|
+
end
|
7427
|
+
|
7428
|
+
# Update properties of this object
|
7429
|
+
def update!(**args)
|
7430
|
+
@errors = args[:errors] if args.key?(:errors)
|
7431
|
+
end
|
7432
|
+
end
|
7433
|
+
|
7434
|
+
# The response message for Environments.RunContinuousTest.
|
7435
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
7436
|
+
include Google::Apis::Core::Hashable
|
7437
|
+
|
7438
|
+
# Represents a result from running a test case in an agent environment.
|
7439
|
+
# Corresponds to the JSON property `continuousTestResult`
|
7440
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
7441
|
+
attr_accessor :continuous_test_result
|
7442
|
+
|
7443
|
+
def initialize(**args)
|
7444
|
+
update!(**args)
|
7445
|
+
end
|
7446
|
+
|
7447
|
+
# Update properties of this object
|
7448
|
+
def update!(**args)
|
7449
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
7450
|
+
end
|
7451
|
+
end
|
7452
|
+
|
6991
7453
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
6992
7454
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6993
7455
|
include Google::Apis::Core::Hashable
|
@@ -7393,7 +7855,8 @@ module Google
|
|
7393
7855
|
end
|
7394
7856
|
end
|
7395
7857
|
|
7396
|
-
# The request message for a webhook call.
|
7858
|
+
# The request message for a webhook call. The request is sent as a JSON object
|
7859
|
+
# and the field names will be presented in camel cases.
|
7397
7860
|
class GoogleCloudDialogflowCxV3beta1WebhookRequest
|
7398
7861
|
include Google::Apis::Core::Hashable
|
7399
7862
|
|
@@ -7413,6 +7876,11 @@ module Google
|
|
7413
7876
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
7414
7877
|
attr_accessor :intent_info
|
7415
7878
|
|
7879
|
+
# The language code specified in the original request.
|
7880
|
+
# Corresponds to the JSON property `languageCode`
|
7881
|
+
# @return [String]
|
7882
|
+
attr_accessor :language_code
|
7883
|
+
|
7416
7884
|
# The list of rich message responses to present to the user. Webhook can choose
|
7417
7885
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
7418
7886
|
# Corresponds to the JSON property `messages`
|
@@ -7439,6 +7907,30 @@ module Google
|
|
7439
7907
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1SessionInfo]
|
7440
7908
|
attr_accessor :session_info
|
7441
7909
|
|
7910
|
+
# If natural language text was provided as input, this field will contain a copy
|
7911
|
+
# of the text.
|
7912
|
+
# Corresponds to the JSON property `text`
|
7913
|
+
# @return [String]
|
7914
|
+
attr_accessor :text
|
7915
|
+
|
7916
|
+
# If natural language speech audio was provided as input, this field will
|
7917
|
+
# contain the transcript for the audio.
|
7918
|
+
# Corresponds to the JSON property `transcript`
|
7919
|
+
# @return [String]
|
7920
|
+
attr_accessor :transcript
|
7921
|
+
|
7922
|
+
# If an event was provided as input, this field will contain the name of the
|
7923
|
+
# event.
|
7924
|
+
# Corresponds to the JSON property `triggerEvent`
|
7925
|
+
# @return [String]
|
7926
|
+
attr_accessor :trigger_event
|
7927
|
+
|
7928
|
+
# If an intent was provided as input, this field will contain a copy of the
|
7929
|
+
# intent identifier. Format: `projects//locations//agents//intents/`.
|
7930
|
+
# Corresponds to the JSON property `triggerIntent`
|
7931
|
+
# @return [String]
|
7932
|
+
attr_accessor :trigger_intent
|
7933
|
+
|
7442
7934
|
def initialize(**args)
|
7443
7935
|
update!(**args)
|
7444
7936
|
end
|
@@ -7448,11 +7940,16 @@ module Google
|
|
7448
7940
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
7449
7941
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
7450
7942
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
7943
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7451
7944
|
@messages = args[:messages] if args.key?(:messages)
|
7452
7945
|
@page_info = args[:page_info] if args.key?(:page_info)
|
7453
7946
|
@payload = args[:payload] if args.key?(:payload)
|
7454
7947
|
@sentiment_analysis_result = args[:sentiment_analysis_result] if args.key?(:sentiment_analysis_result)
|
7455
7948
|
@session_info = args[:session_info] if args.key?(:session_info)
|
7949
|
+
@text = args[:text] if args.key?(:text)
|
7950
|
+
@transcript = args[:transcript] if args.key?(:transcript)
|
7951
|
+
@trigger_event = args[:trigger_event] if args.key?(:trigger_event)
|
7952
|
+
@trigger_intent = args[:trigger_intent] if args.key?(:trigger_intent)
|
7456
7953
|
end
|
7457
7954
|
end
|
7458
7955
|
|
@@ -9542,6 +10039,13 @@ module Google
|
|
9542
10039
|
attr_accessor :all_required_params_present
|
9543
10040
|
alias_method :all_required_params_present?, :all_required_params_present
|
9544
10041
|
|
10042
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
10043
|
+
# filling.
|
10044
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
10045
|
+
# @return [Boolean]
|
10046
|
+
attr_accessor :cancels_slot_filling
|
10047
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
10048
|
+
|
9545
10049
|
# Free-form diagnostic information for the associated detect intent request. The
|
9546
10050
|
# fields of this data can change without notice, so you should not write code
|
9547
10051
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9662,6 +10166,7 @@ module Google
|
|
9662
10166
|
def update!(**args)
|
9663
10167
|
@action = args[:action] if args.key?(:action)
|
9664
10168
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
10169
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9665
10170
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9666
10171
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9667
10172
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12489,6 +12994,13 @@ module Google
|
|
12489
12994
|
attr_accessor :all_required_params_present
|
12490
12995
|
alias_method :all_required_params_present?, :all_required_params_present
|
12491
12996
|
|
12997
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
12998
|
+
# filling.
|
12999
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13000
|
+
# @return [Boolean]
|
13001
|
+
attr_accessor :cancels_slot_filling
|
13002
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13003
|
+
|
12492
13004
|
# Free-form diagnostic information for the associated detect intent request. The
|
12493
13005
|
# fields of this data can change without notice, so you should not write code
|
12494
13006
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12614,6 +13126,7 @@ module Google
|
|
12614
13126
|
def update!(**args)
|
12615
13127
|
@action = args[:action] if args.key?(:action)
|
12616
13128
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13129
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12617
13130
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12618
13131
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12619
13132
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -13343,8 +13856,8 @@ module Google
|
|
13343
13856
|
|
13344
13857
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
13345
13858
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
13346
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
13347
|
-
# within normalized ranges.
|
13859
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
13860
|
+
# must be within normalized ranges.
|
13348
13861
|
class GoogleTypeLatLng
|
13349
13862
|
include Google::Apis::Core::Hashable
|
13350
13863
|
|