google-apis-dialogflow_v3 0.10.0 → 0.15.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5c6c2c42d08935c9242242531f2afa46d29666f19b8b15b9d3a7ea99a9267dff
|
4
|
+
data.tar.gz: f32a5f8dc0d115df09d2eaa05af6907ffc96c19f0f5bbbfe59b0c51c708b7406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bfd2fc490f0a58def7da2e7503ca42a2553974d415b0ce94ddd08ef4f1179d9ff4e1643e10e236002f3ac034bd511e5548bc3e83e5f32f96c0b192caa520f18
|
7
|
+
data.tar.gz: f2cb9c88c279b7194b5736ce81af94ce20285ce1dd299cdaaa1f4422a515502b722dcd72f17505af3eb1ae0a96ef2deee0283b094eca264a86dd78265c76dfd8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.15.0 (2021-06-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210611
|
6
|
+
|
7
|
+
### v0.14.0 (2021-06-03)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210601
|
10
|
+
* Regenerated using generator version 0.3.0
|
11
|
+
|
12
|
+
### v0.13.0 (2021-05-26)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210524
|
15
|
+
|
16
|
+
### v0.12.0 (2021-05-19)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210517
|
19
|
+
|
20
|
+
### v0.11.0 (2021-05-12)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210510
|
23
|
+
|
3
24
|
### v0.10.0 (2021-04-01)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210329
|
@@ -37,10 +37,10 @@ module Google
|
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :avatar_uri
|
39
39
|
|
40
|
-
# Immutable. The default language of the agent as a language tag. See [
|
41
|
-
# Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
42
|
-
# list of the currently supported language codes. This field
|
43
|
-
# the Agents.UpdateAgent method.
|
40
|
+
# Required. Immutable. The default language of the agent as a language tag. See [
|
41
|
+
# Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
42
|
+
# language) for a list of the currently supported language codes. This field
|
43
|
+
# cannot be set by the Agents.UpdateAgent method.
|
44
44
|
# Corresponds to the JSON property `defaultLanguageCode`
|
45
45
|
# @return [String]
|
46
46
|
attr_accessor :default_language_code
|
@@ -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
|
@@ -333,6 +379,12 @@ module Google
|
|
333
379
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
334
380
|
include Google::Apis::Core::Hashable
|
335
381
|
|
382
|
+
# Whether sentiment analysis is enabled.
|
383
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
384
|
+
# @return [Boolean]
|
385
|
+
attr_accessor :enable_sentiment_analysis
|
386
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
387
|
+
|
336
388
|
# Parameters that need to be injected into the conversation during intent
|
337
389
|
# detection.
|
338
390
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -360,6 +412,7 @@ module Google
|
|
360
412
|
|
361
413
|
# Update properties of this object
|
362
414
|
def update!(**args)
|
415
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
363
416
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
364
417
|
@input = args[:input] if args.key?(:input)
|
365
418
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -537,6 +590,14 @@ module Google
|
|
537
590
|
class GoogleCloudDialogflowCxV3DetectIntentResponse
|
538
591
|
include Google::Apis::Core::Hashable
|
539
592
|
|
593
|
+
# Indicates whether the partial response can be cancelled when a later response
|
594
|
+
# arrives. e.g. if the agent specified some music as partial response, it can be
|
595
|
+
# cancelled.
|
596
|
+
# Corresponds to the JSON property `allowCancellation`
|
597
|
+
# @return [Boolean]
|
598
|
+
attr_accessor :allow_cancellation
|
599
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
600
|
+
|
540
601
|
# The audio data bytes encoded as specified in the request. Note: The output
|
541
602
|
# audio is generated based on the values of default platform text responses
|
542
603
|
# found in the `query_result.response_messages` field. If multiple default text
|
@@ -566,16 +627,23 @@ module Google
|
|
566
627
|
# @return [String]
|
567
628
|
attr_accessor :response_id
|
568
629
|
|
630
|
+
# Response type.
|
631
|
+
# Corresponds to the JSON property `responseType`
|
632
|
+
# @return [String]
|
633
|
+
attr_accessor :response_type
|
634
|
+
|
569
635
|
def initialize(**args)
|
570
636
|
update!(**args)
|
571
637
|
end
|
572
638
|
|
573
639
|
# Update properties of this object
|
574
640
|
def update!(**args)
|
641
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
575
642
|
@output_audio = args[:output_audio] if args.key?(:output_audio)
|
576
643
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
577
644
|
@query_result = args[:query_result] if args.key?(:query_result)
|
578
645
|
@response_id = args[:response_id] if args.key?(:response_id)
|
646
|
+
@response_type = args[:response_type] if args.key?(:response_type)
|
579
647
|
end
|
580
648
|
end
|
581
649
|
|
@@ -1166,6 +1234,12 @@ module Google
|
|
1166
1234
|
# @return [String]
|
1167
1235
|
attr_accessor :agent_uri
|
1168
1236
|
|
1237
|
+
# Optional. Environment name. If not set, draft environment is assumed. Format: `
|
1238
|
+
# projects//locations//agents//environments/`.
|
1239
|
+
# Corresponds to the JSON property `environment`
|
1240
|
+
# @return [String]
|
1241
|
+
attr_accessor :environment
|
1242
|
+
|
1169
1243
|
def initialize(**args)
|
1170
1244
|
update!(**args)
|
1171
1245
|
end
|
@@ -1173,6 +1247,7 @@ module Google
|
|
1173
1247
|
# Update properties of this object
|
1174
1248
|
def update!(**args)
|
1175
1249
|
@agent_uri = args[:agent_uri] if args.key?(:agent_uri)
|
1250
|
+
@environment = args[:environment] if args.key?(:environment)
|
1176
1251
|
end
|
1177
1252
|
end
|
1178
1253
|
|
@@ -1203,6 +1278,61 @@ module Google
|
|
1203
1278
|
end
|
1204
1279
|
end
|
1205
1280
|
|
1281
|
+
# The request message for Flows.ExportFlow.
|
1282
|
+
class GoogleCloudDialogflowCxV3ExportFlowRequest
|
1283
|
+
include Google::Apis::Core::Hashable
|
1284
|
+
|
1285
|
+
# Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/)
|
1286
|
+
# URI to export the flow to. The format of this URI must be `gs:///`. If left
|
1287
|
+
# unspecified, the serialized flow is returned inline.
|
1288
|
+
# Corresponds to the JSON property `flowUri`
|
1289
|
+
# @return [String]
|
1290
|
+
attr_accessor :flow_uri
|
1291
|
+
|
1292
|
+
# Optional. Whether to export flows referenced by the specified flow.
|
1293
|
+
# Corresponds to the JSON property `includeReferencedFlows`
|
1294
|
+
# @return [Boolean]
|
1295
|
+
attr_accessor :include_referenced_flows
|
1296
|
+
alias_method :include_referenced_flows?, :include_referenced_flows
|
1297
|
+
|
1298
|
+
def initialize(**args)
|
1299
|
+
update!(**args)
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# Update properties of this object
|
1303
|
+
def update!(**args)
|
1304
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
1305
|
+
@include_referenced_flows = args[:include_referenced_flows] if args.key?(:include_referenced_flows)
|
1306
|
+
end
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
# The response message for Flows.ExportFlow.
|
1310
|
+
class GoogleCloudDialogflowCxV3ExportFlowResponse
|
1311
|
+
include Google::Apis::Core::Hashable
|
1312
|
+
|
1313
|
+
# Uncompressed raw byte content for flow.
|
1314
|
+
# Corresponds to the JSON property `flowContent`
|
1315
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1316
|
+
# @return [String]
|
1317
|
+
attr_accessor :flow_content
|
1318
|
+
|
1319
|
+
# The URI to a file containing the exported flow. This field is populated only
|
1320
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
1321
|
+
# Corresponds to the JSON property `flowUri`
|
1322
|
+
# @return [String]
|
1323
|
+
attr_accessor :flow_uri
|
1324
|
+
|
1325
|
+
def initialize(**args)
|
1326
|
+
update!(**args)
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# Update properties of this object
|
1330
|
+
def update!(**args)
|
1331
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
1332
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
1333
|
+
end
|
1334
|
+
end
|
1335
|
+
|
1206
1336
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
1207
1337
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
1208
1338
|
include Google::Apis::Core::Hashable
|
@@ -1634,6 +1764,18 @@ module Google
|
|
1634
1764
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>]
|
1635
1765
|
attr_accessor :messages
|
1636
1766
|
|
1767
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
1768
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
1769
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
1770
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
1771
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
1772
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
1773
|
+
# webhooks.
|
1774
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
1775
|
+
# @return [Boolean]
|
1776
|
+
attr_accessor :return_partial_responses
|
1777
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
1778
|
+
|
1637
1779
|
# Set parameter values before executing the webhook.
|
1638
1780
|
# Corresponds to the JSON property `setParameterActions`
|
1639
1781
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
@@ -1658,6 +1800,7 @@ module Google
|
|
1658
1800
|
def update!(**args)
|
1659
1801
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
1660
1802
|
@messages = args[:messages] if args.key?(:messages)
|
1803
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
1661
1804
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
1662
1805
|
@tag = args[:tag] if args.key?(:tag)
|
1663
1806
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -1832,6 +1975,59 @@ module Google
|
|
1832
1975
|
end
|
1833
1976
|
end
|
1834
1977
|
|
1978
|
+
# The request message for Flows.ImportFlow.
|
1979
|
+
class GoogleCloudDialogflowCxV3ImportFlowRequest
|
1980
|
+
include Google::Apis::Core::Hashable
|
1981
|
+
|
1982
|
+
# Uncompressed raw byte content for flow.
|
1983
|
+
# Corresponds to the JSON property `flowContent`
|
1984
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1985
|
+
# @return [String]
|
1986
|
+
attr_accessor :flow_content
|
1987
|
+
|
1988
|
+
# The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
|
1989
|
+
# import flow from. The format of this URI must be `gs:///`.
|
1990
|
+
# Corresponds to the JSON property `flowUri`
|
1991
|
+
# @return [String]
|
1992
|
+
attr_accessor :flow_uri
|
1993
|
+
|
1994
|
+
# Flow import mode. If not specified, `KEEP` is assumed.
|
1995
|
+
# Corresponds to the JSON property `importOption`
|
1996
|
+
# @return [String]
|
1997
|
+
attr_accessor :import_option
|
1998
|
+
|
1999
|
+
def initialize(**args)
|
2000
|
+
update!(**args)
|
2001
|
+
end
|
2002
|
+
|
2003
|
+
# Update properties of this object
|
2004
|
+
def update!(**args)
|
2005
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
2006
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
2007
|
+
@import_option = args[:import_option] if args.key?(:import_option)
|
2008
|
+
end
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
# The response message for Flows.ImportFlow.
|
2012
|
+
class GoogleCloudDialogflowCxV3ImportFlowResponse
|
2013
|
+
include Google::Apis::Core::Hashable
|
2014
|
+
|
2015
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
2016
|
+
# flows/`.
|
2017
|
+
# Corresponds to the JSON property `flow`
|
2018
|
+
# @return [String]
|
2019
|
+
attr_accessor :flow
|
2020
|
+
|
2021
|
+
def initialize(**args)
|
2022
|
+
update!(**args)
|
2023
|
+
end
|
2024
|
+
|
2025
|
+
# Update properties of this object
|
2026
|
+
def update!(**args)
|
2027
|
+
@flow = args[:flow] if args.key?(:flow)
|
2028
|
+
end
|
2029
|
+
end
|
2030
|
+
|
1835
2031
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
1836
2032
|
class GoogleCloudDialogflowCxV3ImportTestCasesMetadata
|
1837
2033
|
include Google::Apis::Core::Hashable
|
@@ -1982,8 +2178,8 @@ module Google
|
|
1982
2178
|
class GoogleCloudDialogflowCxV3Intent
|
1983
2179
|
include Google::Apis::Core::Hashable
|
1984
2180
|
|
1985
|
-
#
|
1986
|
-
#
|
2181
|
+
# Human readable description for better understanding an intent like its scope,
|
2182
|
+
# content, result etc. Maximum character limit: 140 characters.
|
1987
2183
|
# Corresponds to the JSON property `description`
|
1988
2184
|
# @return [String]
|
1989
2185
|
attr_accessor :description
|
@@ -2003,14 +2199,14 @@ module Google
|
|
2003
2199
|
attr_accessor :is_fallback
|
2004
2200
|
alias_method :is_fallback?, :is_fallback
|
2005
2201
|
|
2006
|
-
#
|
2007
|
-
#
|
2008
|
-
#
|
2009
|
-
#
|
2010
|
-
#
|
2011
|
-
#
|
2012
|
-
#
|
2013
|
-
#
|
2202
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
2203
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
2204
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
2205
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
2206
|
+
# 128 bytes. Prefix "sys." is reserved for Dialogflow defined labels. Currently
|
2207
|
+
# allowed Dialogflow defined labels include: * sys.head * sys.contextual The
|
2208
|
+
# above labels do not require value. "sys.head" means the intent is a head
|
2209
|
+
# intent. "sys.contextual" means the intent is a contextual intent.
|
2014
2210
|
# Corresponds to the JSON property `labels`
|
2015
2211
|
# @return [Hash<String,String>]
|
2016
2212
|
attr_accessor :labels
|
@@ -2272,6 +2468,32 @@ module Google
|
|
2272
2468
|
end
|
2273
2469
|
end
|
2274
2470
|
|
2471
|
+
# The response message for Environments.ListTestCaseResults.
|
2472
|
+
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
2473
|
+
include Google::Apis::Core::Hashable
|
2474
|
+
|
2475
|
+
# The list of continuous test results.
|
2476
|
+
# Corresponds to the JSON property `continuousTestResults`
|
2477
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult>]
|
2478
|
+
attr_accessor :continuous_test_results
|
2479
|
+
|
2480
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
2481
|
+
# results in the list.
|
2482
|
+
# Corresponds to the JSON property `nextPageToken`
|
2483
|
+
# @return [String]
|
2484
|
+
attr_accessor :next_page_token
|
2485
|
+
|
2486
|
+
def initialize(**args)
|
2487
|
+
update!(**args)
|
2488
|
+
end
|
2489
|
+
|
2490
|
+
# Update properties of this object
|
2491
|
+
def update!(**args)
|
2492
|
+
@continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
|
2493
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2494
|
+
end
|
2495
|
+
end
|
2496
|
+
|
2275
2497
|
# The response message for EntityTypes.ListEntityTypes.
|
2276
2498
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
2277
2499
|
include Google::Apis::Core::Hashable
|
@@ -2630,8 +2852,8 @@ module Google
|
|
2630
2852
|
class GoogleCloudDialogflowCxV3LoadVersionRequest
|
2631
2853
|
include Google::Apis::Core::Hashable
|
2632
2854
|
|
2633
|
-
# This field is used to prevent accidental overwrite of other agent resources
|
2634
|
-
#
|
2855
|
+
# This field is used to prevent accidental overwrite of other agent resources,
|
2856
|
+
# which can potentially impact other flow's behavior. If `
|
2635
2857
|
# allow_override_agent_resources` is false, conflicted agent-level resources
|
2636
2858
|
# will not be overridden (i.e. intents, entities, webhooks).
|
2637
2859
|
# Corresponds to the JSON property `allowOverrideAgentResources`
|
@@ -3169,11 +3391,11 @@ module Google
|
|
3169
3391
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
3170
3392
|
|
3171
3393
|
# The unique identifier of the page to override the current page in the session.
|
3172
|
-
# Format: `projects//locations//agents//pages/`. If `current_page` is
|
3173
|
-
# the previous state of the session will be ignored by Dialogflow,
|
3174
|
-
# previous page and the previous session parameters. In most cases,
|
3175
|
-
# and parameters should be configured together to direct a session
|
3176
|
-
# state.
|
3394
|
+
# Format: `projects//locations//agents//flows//pages/`. If `current_page` is
|
3395
|
+
# specified, the previous state of the session will be ignored by Dialogflow,
|
3396
|
+
# including the previous page and the previous session parameters. In most cases,
|
3397
|
+
# current_page and parameters should be configured together to direct a session
|
3398
|
+
# to a specific state.
|
3177
3399
|
# Corresponds to the JSON property `currentPage`
|
3178
3400
|
# @return [String]
|
3179
3401
|
attr_accessor :current_page
|
@@ -3186,28 +3408,32 @@ module Google
|
|
3186
3408
|
|
3187
3409
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
3188
3410
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
3189
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
3190
|
-
# within normalized ranges.
|
3411
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
3412
|
+
# must be within normalized ranges.
|
3191
3413
|
# Corresponds to the JSON property `geoLocation`
|
3192
3414
|
# @return [Google::Apis::DialogflowV3::GoogleTypeLatLng]
|
3193
3415
|
attr_accessor :geo_location
|
3194
3416
|
|
3195
3417
|
# Additional parameters to be put into session parameters. To remove a parameter
|
3196
3418
|
# from the session, clients should explicitly set the parameter value to null.
|
3197
|
-
#
|
3198
|
-
#
|
3199
|
-
#
|
3200
|
-
#
|
3201
|
-
#
|
3202
|
-
#
|
3203
|
-
# type
|
3204
|
-
#
|
3419
|
+
# You can reference the session parameters in the agent with the following
|
3420
|
+
# format: $session.params.parameter-id. Depending on your protocol or client
|
3421
|
+
# library language, this is a map, associative array, symbol table, dictionary,
|
3422
|
+
# or JSON object composed of a collection of (MapKey, MapValue) pairs: - MapKey
|
3423
|
+
# type: string - MapKey value: parameter name - MapValue type: - If parameter's
|
3424
|
+
# entity type is a composite entity: map - Else: depending on parameter value
|
3425
|
+
# type, could be one of string, number, boolean, null, list or map - MapValue
|
3426
|
+
# value: - If parameter's entity type is a composite entity: map from composite
|
3427
|
+
# entity property names to property values - Else: parameter value
|
3205
3428
|
# Corresponds to the JSON property `parameters`
|
3206
3429
|
# @return [Hash<String,Object>]
|
3207
3430
|
attr_accessor :parameters
|
3208
3431
|
|
3209
3432
|
# This field can be used to pass custom data into the webhook associated with
|
3210
|
-
# the agent. Arbitrary JSON objects are supported.
|
3433
|
+
# the agent. Arbitrary JSON objects are supported. Some integrations that query
|
3434
|
+
# a Dialogflow agent may provide additional information in the payload. In
|
3435
|
+
# particular, for the Dialogflow Phone Gateway integration, this field has the
|
3436
|
+
# form: ``` ` "telephony": ` "caller_id": "+18558363987" ` ` ```
|
3211
3437
|
# Corresponds to the JSON property `payload`
|
3212
3438
|
# @return [Hash<String,Object>]
|
3213
3439
|
attr_accessor :payload
|
@@ -3782,6 +4008,58 @@ module Google
|
|
3782
4008
|
end
|
3783
4009
|
end
|
3784
4010
|
|
4011
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
4012
|
+
# operation.
|
4013
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
4014
|
+
include Google::Apis::Core::Hashable
|
4015
|
+
|
4016
|
+
# The test errors.
|
4017
|
+
# Corresponds to the JSON property `errors`
|
4018
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError>]
|
4019
|
+
attr_accessor :errors
|
4020
|
+
|
4021
|
+
def initialize(**args)
|
4022
|
+
update!(**args)
|
4023
|
+
end
|
4024
|
+
|
4025
|
+
# Update properties of this object
|
4026
|
+
def update!(**args)
|
4027
|
+
@errors = args[:errors] if args.key?(:errors)
|
4028
|
+
end
|
4029
|
+
end
|
4030
|
+
|
4031
|
+
# The request message for Environments.RunContinuousTest.
|
4032
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestRequest
|
4033
|
+
include Google::Apis::Core::Hashable
|
4034
|
+
|
4035
|
+
def initialize(**args)
|
4036
|
+
update!(**args)
|
4037
|
+
end
|
4038
|
+
|
4039
|
+
# Update properties of this object
|
4040
|
+
def update!(**args)
|
4041
|
+
end
|
4042
|
+
end
|
4043
|
+
|
4044
|
+
# The response message for Environments.RunContinuousTest.
|
4045
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
4046
|
+
include Google::Apis::Core::Hashable
|
4047
|
+
|
4048
|
+
# Represents a result from running a test case in an agent environment.
|
4049
|
+
# Corresponds to the JSON property `continuousTestResult`
|
4050
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult]
|
4051
|
+
attr_accessor :continuous_test_result
|
4052
|
+
|
4053
|
+
def initialize(**args)
|
4054
|
+
update!(**args)
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
# Update properties of this object
|
4058
|
+
def update!(**args)
|
4059
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
4060
|
+
end
|
4061
|
+
end
|
4062
|
+
|
3785
4063
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
3786
4064
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
3787
4065
|
include Google::Apis::Core::Hashable
|
@@ -3848,8 +4126,8 @@ module Google
|
|
3848
4126
|
|
3849
4127
|
# DLP inspect template name. Use this template to define inspect base settings.
|
3850
4128
|
# If empty, we use the default DLP inspect config. The template name will have
|
3851
|
-
# one of the following formats: `projects
|
3852
|
-
#
|
4129
|
+
# one of the following formats: `projects//inspectTemplates/` OR `projects//
|
4130
|
+
# locations//inspectTemplates/` OR `organizations//inspectTemplates/`
|
3853
4131
|
# Corresponds to the JSON property `inspectTemplate`
|
3854
4132
|
# @return [String]
|
3855
4133
|
attr_accessor :inspect_template
|
@@ -3865,8 +4143,8 @@ module Google
|
|
3865
4143
|
# @return [Array<String>]
|
3866
4144
|
attr_accessor :purge_data_types
|
3867
4145
|
|
3868
|
-
# Defines
|
3869
|
-
#
|
4146
|
+
# Defines the data for which Dialogflow applies redaction. Dialogflow does not
|
4147
|
+
# redact data that it does not have access to – for example, Cloud logging.
|
3870
4148
|
# Corresponds to the JSON property `redactionScope`
|
3871
4149
|
# @return [String]
|
3872
4150
|
attr_accessor :redaction_scope
|
@@ -3876,10 +4154,12 @@ module Google
|
|
3876
4154
|
# @return [String]
|
3877
4155
|
attr_accessor :redaction_strategy
|
3878
4156
|
|
3879
|
-
# Retains
|
3880
|
-
#
|
3881
|
-
#
|
3882
|
-
#
|
4157
|
+
# Retains data in interaction logging for the specified number of days. This
|
4158
|
+
# does not apply to Cloud logging, which is owned by the user - not Dialogflow.
|
4159
|
+
# User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
|
4160
|
+
# higher than that has no effect. A missing value or setting to 0 also means we
|
4161
|
+
# use Dialogflow's default TTL. Note: Interaction logging is a limited access
|
4162
|
+
# feature. Talk to your Google representative to check availability for you.
|
3883
4163
|
# Corresponds to the JSON property `retentionWindowDays`
|
3884
4164
|
# @return [Fixnum]
|
3885
4165
|
attr_accessor :retention_window_days
|
@@ -4997,6 +5277,12 @@ module Google
|
|
4997
5277
|
# @return [String]
|
4998
5278
|
attr_accessor :name
|
4999
5279
|
|
5280
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
5281
|
+
# service-directory) service.
|
5282
|
+
# Corresponds to the JSON property `serviceDirectory`
|
5283
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig]
|
5284
|
+
attr_accessor :service_directory
|
5285
|
+
|
5000
5286
|
# Webhook execution timeout. Execution is considered failed if Dialogflow doesn'
|
5001
5287
|
# t receive a response from webhook at the end of the timeout period. Defaults
|
5002
5288
|
# to 5 seconds, maximum allowed timeout is 30 seconds.
|
@@ -5014,6 +5300,7 @@ module Google
|
|
5014
5300
|
@display_name = args[:display_name] if args.key?(:display_name)
|
5015
5301
|
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
5016
5302
|
@name = args[:name] if args.key?(:name)
|
5303
|
+
@service_directory = args[:service_directory] if args.key?(:service_directory)
|
5017
5304
|
@timeout = args[:timeout] if args.key?(:timeout)
|
5018
5305
|
end
|
5019
5306
|
end
|
@@ -5077,6 +5364,11 @@ module Google
|
|
5077
5364
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookRequestIntentInfo]
|
5078
5365
|
attr_accessor :intent_info
|
5079
5366
|
|
5367
|
+
# The language code specified in the original request.
|
5368
|
+
# Corresponds to the JSON property `languageCode`
|
5369
|
+
# @return [String]
|
5370
|
+
attr_accessor :language_code
|
5371
|
+
|
5080
5372
|
# The list of rich message responses to present to the user. Webhook can choose
|
5081
5373
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
5082
5374
|
# Corresponds to the JSON property `messages`
|
@@ -5136,6 +5428,7 @@ module Google
|
|
5136
5428
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
5137
5429
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
5138
5430
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
5431
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
5139
5432
|
@messages = args[:messages] if args.key?(:messages)
|
5140
5433
|
@page_info = args[:page_info] if args.key?(:page_info)
|
5141
5434
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -5337,6 +5630,35 @@ module Google
|
|
5337
5630
|
end
|
5338
5631
|
end
|
5339
5632
|
|
5633
|
+
# Represents configuration for a [Service Directory](https://cloud.google.com/
|
5634
|
+
# service-directory) service.
|
5635
|
+
class GoogleCloudDialogflowCxV3WebhookServiceDirectoryConfig
|
5636
|
+
include Google::Apis::Core::Hashable
|
5637
|
+
|
5638
|
+
# Represents configuration for a generic web service.
|
5639
|
+
# Corresponds to the JSON property `genericWebService`
|
5640
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebService]
|
5641
|
+
attr_accessor :generic_web_service
|
5642
|
+
|
5643
|
+
# Required. The name of [Service Directory](https://cloud.google.com/service-
|
5644
|
+
# directory) service. Format: `projects//locations//namespaces//services/`. `
|
5645
|
+
# Location ID` of the service directory must be the same as the location of the
|
5646
|
+
# agent.
|
5647
|
+
# Corresponds to the JSON property `service`
|
5648
|
+
# @return [String]
|
5649
|
+
attr_accessor :service
|
5650
|
+
|
5651
|
+
def initialize(**args)
|
5652
|
+
update!(**args)
|
5653
|
+
end
|
5654
|
+
|
5655
|
+
# Update properties of this object
|
5656
|
+
def update!(**args)
|
5657
|
+
@generic_web_service = args[:generic_web_service] if args.key?(:generic_web_service)
|
5658
|
+
@service = args[:service] if args.key?(:service)
|
5659
|
+
end
|
5660
|
+
end
|
5661
|
+
|
5340
5662
|
# Represents the natural speech audio to be processed.
|
5341
5663
|
class GoogleCloudDialogflowCxV3beta1AudioInput
|
5342
5664
|
include Google::Apis::Core::Hashable
|
@@ -5407,6 +5729,45 @@ module Google
|
|
5407
5729
|
end
|
5408
5730
|
end
|
5409
5731
|
|
5732
|
+
# Represents a result from running a test case in an agent environment.
|
5733
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
5734
|
+
include Google::Apis::Core::Hashable
|
5735
|
+
|
5736
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
5737
|
+
# /agents//environments//continuousTestResults/`.
|
5738
|
+
# Corresponds to the JSON property `name`
|
5739
|
+
# @return [String]
|
5740
|
+
attr_accessor :name
|
5741
|
+
|
5742
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
5743
|
+
# continuous test run pass or not.
|
5744
|
+
# Corresponds to the JSON property `result`
|
5745
|
+
# @return [String]
|
5746
|
+
attr_accessor :result
|
5747
|
+
|
5748
|
+
# Time when the continuous testing run starts.
|
5749
|
+
# Corresponds to the JSON property `runTime`
|
5750
|
+
# @return [String]
|
5751
|
+
attr_accessor :run_time
|
5752
|
+
|
5753
|
+
# A list of individual test case results names in this continuous test run.
|
5754
|
+
# Corresponds to the JSON property `testCaseResults`
|
5755
|
+
# @return [Array<String>]
|
5756
|
+
attr_accessor :test_case_results
|
5757
|
+
|
5758
|
+
def initialize(**args)
|
5759
|
+
update!(**args)
|
5760
|
+
end
|
5761
|
+
|
5762
|
+
# Update properties of this object
|
5763
|
+
def update!(**args)
|
5764
|
+
@name = args[:name] if args.key?(:name)
|
5765
|
+
@result = args[:result] if args.key?(:result)
|
5766
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
5767
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
5768
|
+
end
|
5769
|
+
end
|
5770
|
+
|
5410
5771
|
# One interaction between a human and virtual agent. The human provides some
|
5411
5772
|
# input and the virtual agent provides a response.
|
5412
5773
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -5437,6 +5798,12 @@ module Google
|
|
5437
5798
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
5438
5799
|
include Google::Apis::Core::Hashable
|
5439
5800
|
|
5801
|
+
# Whether sentiment analysis is enabled.
|
5802
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
5803
|
+
# @return [Boolean]
|
5804
|
+
attr_accessor :enable_sentiment_analysis
|
5805
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
5806
|
+
|
5440
5807
|
# Parameters that need to be injected into the conversation during intent
|
5441
5808
|
# detection.
|
5442
5809
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -5464,6 +5831,7 @@ module Google
|
|
5464
5831
|
|
5465
5832
|
# Update properties of this object
|
5466
5833
|
def update!(**args)
|
5834
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
5467
5835
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
5468
5836
|
@input = args[:input] if args.key?(:input)
|
5469
5837
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -5730,6 +6098,33 @@ module Google
|
|
5730
6098
|
end
|
5731
6099
|
end
|
5732
6100
|
|
6101
|
+
# The response message for Flows.ExportFlow.
|
6102
|
+
class GoogleCloudDialogflowCxV3beta1ExportFlowResponse
|
6103
|
+
include Google::Apis::Core::Hashable
|
6104
|
+
|
6105
|
+
# Uncompressed raw byte content for flow.
|
6106
|
+
# Corresponds to the JSON property `flowContent`
|
6107
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6108
|
+
# @return [String]
|
6109
|
+
attr_accessor :flow_content
|
6110
|
+
|
6111
|
+
# The URI to a file containing the exported flow. This field is populated only
|
6112
|
+
# if `flow_uri` is specified in ExportFlowRequest.
|
6113
|
+
# Corresponds to the JSON property `flowUri`
|
6114
|
+
# @return [String]
|
6115
|
+
attr_accessor :flow_uri
|
6116
|
+
|
6117
|
+
def initialize(**args)
|
6118
|
+
update!(**args)
|
6119
|
+
end
|
6120
|
+
|
6121
|
+
# Update properties of this object
|
6122
|
+
def update!(**args)
|
6123
|
+
@flow_content = args[:flow_content] if args.key?(:flow_content)
|
6124
|
+
@flow_uri = args[:flow_uri] if args.key?(:flow_uri)
|
6125
|
+
end
|
6126
|
+
end
|
6127
|
+
|
5733
6128
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
5734
6129
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
5735
6130
|
include Google::Apis::Core::Hashable
|
@@ -5930,6 +6325,18 @@ module Google
|
|
5930
6325
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
5931
6326
|
attr_accessor :messages
|
5932
6327
|
|
6328
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
6329
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
6330
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
6331
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
6332
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
6333
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
6334
|
+
# webhooks.
|
6335
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
6336
|
+
# @return [Boolean]
|
6337
|
+
attr_accessor :return_partial_responses
|
6338
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
6339
|
+
|
5933
6340
|
# Set parameter values before executing the webhook.
|
5934
6341
|
# Corresponds to the JSON property `setParameterActions`
|
5935
6342
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -5954,6 +6361,7 @@ module Google
|
|
5954
6361
|
def update!(**args)
|
5955
6362
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
5956
6363
|
@messages = args[:messages] if args.key?(:messages)
|
6364
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
5957
6365
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
5958
6366
|
@tag = args[:tag] if args.key?(:tag)
|
5959
6367
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -6128,6 +6536,26 @@ module Google
|
|
6128
6536
|
end
|
6129
6537
|
end
|
6130
6538
|
|
6539
|
+
# The response message for Flows.ImportFlow.
|
6540
|
+
class GoogleCloudDialogflowCxV3beta1ImportFlowResponse
|
6541
|
+
include Google::Apis::Core::Hashable
|
6542
|
+
|
6543
|
+
# The unique identifier of the new flow. Format: `projects//locations//agents//
|
6544
|
+
# flows/`.
|
6545
|
+
# Corresponds to the JSON property `flow`
|
6546
|
+
# @return [String]
|
6547
|
+
attr_accessor :flow
|
6548
|
+
|
6549
|
+
def initialize(**args)
|
6550
|
+
update!(**args)
|
6551
|
+
end
|
6552
|
+
|
6553
|
+
# Update properties of this object
|
6554
|
+
def update!(**args)
|
6555
|
+
@flow = args[:flow] if args.key?(:flow)
|
6556
|
+
end
|
6557
|
+
end
|
6558
|
+
|
6131
6559
|
# Metadata returned for the TestCases.ImportTestCases long running operation.
|
6132
6560
|
class GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata
|
6133
6561
|
include Google::Apis::Core::Hashable
|
@@ -6251,8 +6679,8 @@ module Google
|
|
6251
6679
|
class GoogleCloudDialogflowCxV3beta1Intent
|
6252
6680
|
include Google::Apis::Core::Hashable
|
6253
6681
|
|
6254
|
-
#
|
6255
|
-
#
|
6682
|
+
# Human readable description for better understanding an intent like its scope,
|
6683
|
+
# content, result etc. Maximum character limit: 140 characters.
|
6256
6684
|
# Corresponds to the JSON property `description`
|
6257
6685
|
# @return [String]
|
6258
6686
|
attr_accessor :description
|
@@ -6272,14 +6700,14 @@ module Google
|
|
6272
6700
|
attr_accessor :is_fallback
|
6273
6701
|
alias_method :is_fallback?, :is_fallback
|
6274
6702
|
|
6275
|
-
#
|
6276
|
-
#
|
6277
|
-
#
|
6278
|
-
#
|
6279
|
-
#
|
6280
|
-
#
|
6281
|
-
#
|
6282
|
-
#
|
6703
|
+
# The key/value metadata to label an intent. Labels can contain lowercase
|
6704
|
+
# letters, digits and the symbols '-' and '_'. International characters are
|
6705
|
+
# allowed, including letters from unicase alphabets. Keys must start with a
|
6706
|
+
# letter. Keys and values can be no longer than 63 characters and no more than
|
6707
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
6708
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
6709
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
6710
|
+
# intent. "sys-contextual" means the intent is a contextual intent.
|
6283
6711
|
# Corresponds to the JSON property `labels`
|
6284
6712
|
# @return [Hash<String,String>]
|
6285
6713
|
attr_accessor :labels
|
@@ -7038,6 +7466,45 @@ module Google
|
|
7038
7466
|
end
|
7039
7467
|
end
|
7040
7468
|
|
7469
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
7470
|
+
# operation.
|
7471
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
7472
|
+
include Google::Apis::Core::Hashable
|
7473
|
+
|
7474
|
+
# The test errors.
|
7475
|
+
# Corresponds to the JSON property `errors`
|
7476
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError>]
|
7477
|
+
attr_accessor :errors
|
7478
|
+
|
7479
|
+
def initialize(**args)
|
7480
|
+
update!(**args)
|
7481
|
+
end
|
7482
|
+
|
7483
|
+
# Update properties of this object
|
7484
|
+
def update!(**args)
|
7485
|
+
@errors = args[:errors] if args.key?(:errors)
|
7486
|
+
end
|
7487
|
+
end
|
7488
|
+
|
7489
|
+
# The response message for Environments.RunContinuousTest.
|
7490
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
7491
|
+
include Google::Apis::Core::Hashable
|
7492
|
+
|
7493
|
+
# Represents a result from running a test case in an agent environment.
|
7494
|
+
# Corresponds to the JSON property `continuousTestResult`
|
7495
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
7496
|
+
attr_accessor :continuous_test_result
|
7497
|
+
|
7498
|
+
def initialize(**args)
|
7499
|
+
update!(**args)
|
7500
|
+
end
|
7501
|
+
|
7502
|
+
# Update properties of this object
|
7503
|
+
def update!(**args)
|
7504
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
7505
|
+
end
|
7506
|
+
end
|
7507
|
+
|
7041
7508
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
7042
7509
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
7043
7510
|
include Google::Apis::Core::Hashable
|
@@ -7464,6 +7931,11 @@ module Google
|
|
7464
7931
|
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo]
|
7465
7932
|
attr_accessor :intent_info
|
7466
7933
|
|
7934
|
+
# The language code specified in the original request.
|
7935
|
+
# Corresponds to the JSON property `languageCode`
|
7936
|
+
# @return [String]
|
7937
|
+
attr_accessor :language_code
|
7938
|
+
|
7467
7939
|
# The list of rich message responses to present to the user. Webhook can choose
|
7468
7940
|
# to append or replace this list in WebhookResponse.fulfillment_response;
|
7469
7941
|
# Corresponds to the JSON property `messages`
|
@@ -7523,6 +7995,7 @@ module Google
|
|
7523
7995
|
@detect_intent_response_id = args[:detect_intent_response_id] if args.key?(:detect_intent_response_id)
|
7524
7996
|
@fulfillment_info = args[:fulfillment_info] if args.key?(:fulfillment_info)
|
7525
7997
|
@intent_info = args[:intent_info] if args.key?(:intent_info)
|
7998
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
7526
7999
|
@messages = args[:messages] if args.key?(:messages)
|
7527
8000
|
@page_info = args[:page_info] if args.key?(:page_info)
|
7528
8001
|
@payload = args[:payload] if args.key?(:payload)
|
@@ -9621,6 +10094,13 @@ module Google
|
|
9621
10094
|
attr_accessor :all_required_params_present
|
9622
10095
|
alias_method :all_required_params_present?, :all_required_params_present
|
9623
10096
|
|
10097
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
10098
|
+
# filling.
|
10099
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
10100
|
+
# @return [Boolean]
|
10101
|
+
attr_accessor :cancels_slot_filling
|
10102
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
10103
|
+
|
9624
10104
|
# Free-form diagnostic information for the associated detect intent request. The
|
9625
10105
|
# fields of this data can change without notice, so you should not write code
|
9626
10106
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9741,6 +10221,7 @@ module Google
|
|
9741
10221
|
def update!(**args)
|
9742
10222
|
@action = args[:action] if args.key?(:action)
|
9743
10223
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
10224
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9744
10225
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9745
10226
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9746
10227
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12568,6 +13049,13 @@ module Google
|
|
12568
13049
|
attr_accessor :all_required_params_present
|
12569
13050
|
alias_method :all_required_params_present?, :all_required_params_present
|
12570
13051
|
|
13052
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13053
|
+
# filling.
|
13054
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13055
|
+
# @return [Boolean]
|
13056
|
+
attr_accessor :cancels_slot_filling
|
13057
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13058
|
+
|
12571
13059
|
# Free-form diagnostic information for the associated detect intent request. The
|
12572
13060
|
# fields of this data can change without notice, so you should not write code
|
12573
13061
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12693,6 +13181,7 @@ module Google
|
|
12693
13181
|
def update!(**args)
|
12694
13182
|
@action = args[:action] if args.key?(:action)
|
12695
13183
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13184
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12696
13185
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12697
13186
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12698
13187
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -13422,8 +13911,8 @@ module Google
|
|
13422
13911
|
|
13423
13912
|
# An object that represents a latitude/longitude pair. This is expressed as a
|
13424
13913
|
# pair of doubles to represent degrees latitude and degrees longitude. Unless
|
13425
|
-
# specified otherwise, this must conform to the WGS84 standard. Values
|
13426
|
-
# within normalized ranges.
|
13914
|
+
# specified otherwise, this object must conform to the WGS84 standard. Values
|
13915
|
+
# must be within normalized ranges.
|
13427
13916
|
class GoogleTypeLatLng
|
13428
13917
|
include Google::Apis::Core::Hashable
|
13429
13918
|
|