google-apis-dialogflow_v3 0.11.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/dialogflow_v3/classes.rb +300 -30
- data/lib/google/apis/dialogflow_v3/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3/representations.rb +123 -0
- data/lib/google/apis/dialogflow_v3/service.rb +128 -19
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 653e9311107f24d3f694b9013daf92c5fdf41a121732fff0d3b79b8d5b36d646
|
4
|
+
data.tar.gz: fb4d92467ee1e6dad7b6a9ad5bd10f31e4be7bb778f99517436f315e595556f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d22f0f63346ee2146c06bc092008cdd37f2866e773d91cab4dfa08992f4a15b9b64f437418a41a5f76fb9fc8b8fdf2db6e2c8d7e11215dc707e42626590ef517
|
7
|
+
data.tar.gz: d8e13294c6703f8e1de5721e59992bf0708f2bde80fd67b519701c75078bde5b2dacadd71744d371e0543a64abc66311c7e918632d87fcfa8ce48fe26b8f116f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3
|
2
2
|
|
3
|
+
### v0.16.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210618
|
6
|
+
|
7
|
+
### v0.15.0 (2021-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210611
|
10
|
+
|
11
|
+
### v0.14.0 (2021-06-03)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210601
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.13.0 (2021-05-26)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210524
|
19
|
+
|
20
|
+
### v0.12.0 (2021-05-19)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210517
|
23
|
+
|
3
24
|
### v0.11.0 (2021-05-12)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210510
|
@@ -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
|
@@ -310,6 +310,45 @@ module Google
|
|
310
310
|
end
|
311
311
|
end
|
312
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
|
+
|
313
352
|
# One interaction between a human and virtual agent. The human provides some
|
314
353
|
# input and the virtual agent provides a response.
|
315
354
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
@@ -340,6 +379,12 @@ module Google
|
|
340
379
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
341
380
|
include Google::Apis::Core::Hashable
|
342
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
|
+
|
343
388
|
# Parameters that need to be injected into the conversation during intent
|
344
389
|
# detection.
|
345
390
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -367,6 +412,7 @@ module Google
|
|
367
412
|
|
368
413
|
# Update properties of this object
|
369
414
|
def update!(**args)
|
415
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
370
416
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
371
417
|
@input = args[:input] if args.key?(:input)
|
372
418
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -544,6 +590,14 @@ module Google
|
|
544
590
|
class GoogleCloudDialogflowCxV3DetectIntentResponse
|
545
591
|
include Google::Apis::Core::Hashable
|
546
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
|
+
|
547
601
|
# The audio data bytes encoded as specified in the request. Note: The output
|
548
602
|
# audio is generated based on the values of default platform text responses
|
549
603
|
# found in the `query_result.response_messages` field. If multiple default text
|
@@ -573,16 +627,23 @@ module Google
|
|
573
627
|
# @return [String]
|
574
628
|
attr_accessor :response_id
|
575
629
|
|
630
|
+
# Response type.
|
631
|
+
# Corresponds to the JSON property `responseType`
|
632
|
+
# @return [String]
|
633
|
+
attr_accessor :response_type
|
634
|
+
|
576
635
|
def initialize(**args)
|
577
636
|
update!(**args)
|
578
637
|
end
|
579
638
|
|
580
639
|
# Update properties of this object
|
581
640
|
def update!(**args)
|
641
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
582
642
|
@output_audio = args[:output_audio] if args.key?(:output_audio)
|
583
643
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
584
644
|
@query_result = args[:query_result] if args.key?(:query_result)
|
585
645
|
@response_id = args[:response_id] if args.key?(:response_id)
|
646
|
+
@response_type = args[:response_type] if args.key?(:response_type)
|
586
647
|
end
|
587
648
|
end
|
588
649
|
|
@@ -1703,6 +1764,18 @@ module Google
|
|
1703
1764
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage>]
|
1704
1765
|
attr_accessor :messages
|
1705
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
|
+
|
1706
1779
|
# Set parameter values before executing the webhook.
|
1707
1780
|
# Corresponds to the JSON property `setParameterActions`
|
1708
1781
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
@@ -1727,6 +1800,7 @@ module Google
|
|
1727
1800
|
def update!(**args)
|
1728
1801
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
1729
1802
|
@messages = args[:messages] if args.key?(:messages)
|
1803
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
1730
1804
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
1731
1805
|
@tag = args[:tag] if args.key?(:tag)
|
1732
1806
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -2129,9 +2203,9 @@ module Google
|
|
2129
2203
|
# letters, digits and the symbols '-' and '_'. International characters are
|
2130
2204
|
# allowed, including letters from unicase alphabets. Keys must start with a
|
2131
2205
|
# letter. Keys and values can be no longer than 63 characters and no more than
|
2132
|
-
# 128 bytes. Prefix "sys
|
2133
|
-
# allowed Dialogflow defined labels include: * sys
|
2134
|
-
# above labels do not require value. "sys
|
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
|
2135
2209
|
# intent. "sys.contextual" means the intent is a contextual intent.
|
2136
2210
|
# Corresponds to the JSON property `labels`
|
2137
2211
|
# @return [Hash<String,String>]
|
@@ -2394,6 +2468,32 @@ module Google
|
|
2394
2468
|
end
|
2395
2469
|
end
|
2396
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
|
+
|
2397
2497
|
# The response message for EntityTypes.ListEntityTypes.
|
2398
2498
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
2399
2499
|
include Google::Apis::Core::Hashable
|
@@ -3291,11 +3391,11 @@ module Google
|
|
3291
3391
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
3292
3392
|
|
3293
3393
|
# The unique identifier of the page to override the current page in the session.
|
3294
|
-
# Format: `projects//locations//agents//pages/`. If `current_page` is
|
3295
|
-
# the previous state of the session will be ignored by Dialogflow,
|
3296
|
-
# previous page and the previous session parameters. In most cases,
|
3297
|
-
# and parameters should be configured together to direct a session
|
3298
|
-
# 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.
|
3299
3399
|
# Corresponds to the JSON property `currentPage`
|
3300
3400
|
# @return [String]
|
3301
3401
|
attr_accessor :current_page
|
@@ -3316,14 +3416,15 @@ module Google
|
|
3316
3416
|
|
3317
3417
|
# Additional parameters to be put into session parameters. To remove a parameter
|
3318
3418
|
# from the session, clients should explicitly set the parameter value to null.
|
3319
|
-
#
|
3320
|
-
#
|
3321
|
-
#
|
3322
|
-
#
|
3323
|
-
#
|
3324
|
-
#
|
3325
|
-
# type
|
3326
|
-
#
|
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
|
3327
3428
|
# Corresponds to the JSON property `parameters`
|
3328
3429
|
# @return [Hash<String,Object>]
|
3329
3430
|
attr_accessor :parameters
|
@@ -3907,6 +4008,58 @@ module Google
|
|
3907
4008
|
end
|
3908
4009
|
end
|
3909
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
|
+
|
3910
4063
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
3911
4064
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
3912
4065
|
include Google::Apis::Core::Hashable
|
@@ -3971,10 +4124,11 @@ module Google
|
|
3971
4124
|
# @return [String]
|
3972
4125
|
attr_accessor :display_name
|
3973
4126
|
|
3974
|
-
# DLP inspect template name. Use this
|
3975
|
-
# If empty, we use the default DLP
|
3976
|
-
# one of the following formats: `
|
3977
|
-
#
|
4127
|
+
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
4128
|
+
# template to define inspect base settings. If empty, we use the default DLP
|
4129
|
+
# inspect config. The template name will have one of the following formats: `
|
4130
|
+
# projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `
|
4131
|
+
# organizations//inspectTemplates/`
|
3978
4132
|
# Corresponds to the JSON property `inspectTemplate`
|
3979
4133
|
# @return [String]
|
3980
4134
|
attr_accessor :inspect_template
|
@@ -3990,8 +4144,8 @@ module Google
|
|
3990
4144
|
# @return [Array<String>]
|
3991
4145
|
attr_accessor :purge_data_types
|
3992
4146
|
|
3993
|
-
# Defines
|
3994
|
-
#
|
4147
|
+
# Defines the data for which Dialogflow applies redaction. Dialogflow does not
|
4148
|
+
# redact data that it does not have access to – for example, Cloud logging.
|
3995
4149
|
# Corresponds to the JSON property `redactionScope`
|
3996
4150
|
# @return [String]
|
3997
4151
|
attr_accessor :redaction_scope
|
@@ -4001,10 +4155,12 @@ module Google
|
|
4001
4155
|
# @return [String]
|
4002
4156
|
attr_accessor :redaction_strategy
|
4003
4157
|
|
4004
|
-
# Retains
|
4005
|
-
#
|
4006
|
-
#
|
4007
|
-
#
|
4158
|
+
# Retains data in interaction logging for the specified number of days. This
|
4159
|
+
# does not apply to Cloud logging, which is owned by the user - not Dialogflow.
|
4160
|
+
# User must Set a value lower than Dialogflow's default 30d TTL. Setting a value
|
4161
|
+
# higher than that has no effect. A missing value or setting to 0 also means we
|
4162
|
+
# use Dialogflow's default TTL. Note: Interaction logging is a limited access
|
4163
|
+
# feature. Talk to your Google representative to check availability for you.
|
4008
4164
|
# Corresponds to the JSON property `retentionWindowDays`
|
4009
4165
|
# @return [Fixnum]
|
4010
4166
|
attr_accessor :retention_window_days
|
@@ -5574,6 +5730,45 @@ module Google
|
|
5574
5730
|
end
|
5575
5731
|
end
|
5576
5732
|
|
5733
|
+
# Represents a result from running a test case in an agent environment.
|
5734
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
5735
|
+
include Google::Apis::Core::Hashable
|
5736
|
+
|
5737
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
5738
|
+
# /agents//environments//continuousTestResults/`.
|
5739
|
+
# Corresponds to the JSON property `name`
|
5740
|
+
# @return [String]
|
5741
|
+
attr_accessor :name
|
5742
|
+
|
5743
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
5744
|
+
# continuous test run pass or not.
|
5745
|
+
# Corresponds to the JSON property `result`
|
5746
|
+
# @return [String]
|
5747
|
+
attr_accessor :result
|
5748
|
+
|
5749
|
+
# Time when the continuous testing run starts.
|
5750
|
+
# Corresponds to the JSON property `runTime`
|
5751
|
+
# @return [String]
|
5752
|
+
attr_accessor :run_time
|
5753
|
+
|
5754
|
+
# A list of individual test case results names in this continuous test run.
|
5755
|
+
# Corresponds to the JSON property `testCaseResults`
|
5756
|
+
# @return [Array<String>]
|
5757
|
+
attr_accessor :test_case_results
|
5758
|
+
|
5759
|
+
def initialize(**args)
|
5760
|
+
update!(**args)
|
5761
|
+
end
|
5762
|
+
|
5763
|
+
# Update properties of this object
|
5764
|
+
def update!(**args)
|
5765
|
+
@name = args[:name] if args.key?(:name)
|
5766
|
+
@result = args[:result] if args.key?(:result)
|
5767
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
5768
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
5769
|
+
end
|
5770
|
+
end
|
5771
|
+
|
5577
5772
|
# One interaction between a human and virtual agent. The human provides some
|
5578
5773
|
# input and the virtual agent provides a response.
|
5579
5774
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -5604,6 +5799,12 @@ module Google
|
|
5604
5799
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
5605
5800
|
include Google::Apis::Core::Hashable
|
5606
5801
|
|
5802
|
+
# Whether sentiment analysis is enabled.
|
5803
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
5804
|
+
# @return [Boolean]
|
5805
|
+
attr_accessor :enable_sentiment_analysis
|
5806
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
5807
|
+
|
5607
5808
|
# Parameters that need to be injected into the conversation during intent
|
5608
5809
|
# detection.
|
5609
5810
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -5631,6 +5832,7 @@ module Google
|
|
5631
5832
|
|
5632
5833
|
# Update properties of this object
|
5633
5834
|
def update!(**args)
|
5835
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
5634
5836
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
5635
5837
|
@input = args[:input] if args.key?(:input)
|
5636
5838
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -6124,6 +6326,18 @@ module Google
|
|
6124
6326
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
6125
6327
|
attr_accessor :messages
|
6126
6328
|
|
6329
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
6330
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
6331
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
6332
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
6333
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
6334
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
6335
|
+
# webhooks.
|
6336
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
6337
|
+
# @return [Boolean]
|
6338
|
+
attr_accessor :return_partial_responses
|
6339
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
6340
|
+
|
6127
6341
|
# Set parameter values before executing the webhook.
|
6128
6342
|
# Corresponds to the JSON property `setParameterActions`
|
6129
6343
|
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -6148,6 +6362,7 @@ module Google
|
|
6148
6362
|
def update!(**args)
|
6149
6363
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
6150
6364
|
@messages = args[:messages] if args.key?(:messages)
|
6365
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
6151
6366
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
6152
6367
|
@tag = args[:tag] if args.key?(:tag)
|
6153
6368
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -7252,6 +7467,45 @@ module Google
|
|
7252
7467
|
end
|
7253
7468
|
end
|
7254
7469
|
|
7470
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
7471
|
+
# operation.
|
7472
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
7473
|
+
include Google::Apis::Core::Hashable
|
7474
|
+
|
7475
|
+
# The test errors.
|
7476
|
+
# Corresponds to the JSON property `errors`
|
7477
|
+
# @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError>]
|
7478
|
+
attr_accessor :errors
|
7479
|
+
|
7480
|
+
def initialize(**args)
|
7481
|
+
update!(**args)
|
7482
|
+
end
|
7483
|
+
|
7484
|
+
# Update properties of this object
|
7485
|
+
def update!(**args)
|
7486
|
+
@errors = args[:errors] if args.key?(:errors)
|
7487
|
+
end
|
7488
|
+
end
|
7489
|
+
|
7490
|
+
# The response message for Environments.RunContinuousTest.
|
7491
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
7492
|
+
include Google::Apis::Core::Hashable
|
7493
|
+
|
7494
|
+
# Represents a result from running a test case in an agent environment.
|
7495
|
+
# Corresponds to the JSON property `continuousTestResult`
|
7496
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
7497
|
+
attr_accessor :continuous_test_result
|
7498
|
+
|
7499
|
+
def initialize(**args)
|
7500
|
+
update!(**args)
|
7501
|
+
end
|
7502
|
+
|
7503
|
+
# Update properties of this object
|
7504
|
+
def update!(**args)
|
7505
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
7506
|
+
end
|
7507
|
+
end
|
7508
|
+
|
7255
7509
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
7256
7510
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
7257
7511
|
include Google::Apis::Core::Hashable
|
@@ -9841,6 +10095,13 @@ module Google
|
|
9841
10095
|
attr_accessor :all_required_params_present
|
9842
10096
|
alias_method :all_required_params_present?, :all_required_params_present
|
9843
10097
|
|
10098
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
10099
|
+
# filling.
|
10100
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
10101
|
+
# @return [Boolean]
|
10102
|
+
attr_accessor :cancels_slot_filling
|
10103
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
10104
|
+
|
9844
10105
|
# Free-form diagnostic information for the associated detect intent request. The
|
9845
10106
|
# fields of this data can change without notice, so you should not write code
|
9846
10107
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9961,6 +10222,7 @@ module Google
|
|
9961
10222
|
def update!(**args)
|
9962
10223
|
@action = args[:action] if args.key?(:action)
|
9963
10224
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
10225
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9964
10226
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9965
10227
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9966
10228
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12788,6 +13050,13 @@ module Google
|
|
12788
13050
|
attr_accessor :all_required_params_present
|
12789
13051
|
alias_method :all_required_params_present?, :all_required_params_present
|
12790
13052
|
|
13053
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13054
|
+
# filling.
|
13055
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13056
|
+
# @return [Boolean]
|
13057
|
+
attr_accessor :cancels_slot_filling
|
13058
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13059
|
+
|
12791
13060
|
# Free-form diagnostic information for the associated detect intent request. The
|
12792
13061
|
# fields of this data can change without notice, so you should not write code
|
12793
13062
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12913,6 +13182,7 @@ module Google
|
|
12913
13182
|
def update!(**args)
|
12914
13183
|
@action = args[:action] if args.key?(:action)
|
12915
13184
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13185
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12916
13186
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12917
13187
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12918
13188
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3
|
18
18
|
# Version of the google-apis-dialogflow_v3 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -418,6 +424,12 @@ module Google
|
|
418
424
|
include Google::Apis::Core::JsonObjectSupport
|
419
425
|
end
|
420
426
|
|
427
|
+
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
428
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
429
|
+
|
430
|
+
include Google::Apis::Core::JsonObjectSupport
|
431
|
+
end
|
432
|
+
|
421
433
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
422
434
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
423
435
|
|
@@ -652,6 +664,24 @@ module Google
|
|
652
664
|
include Google::Apis::Core::JsonObjectSupport
|
653
665
|
end
|
654
666
|
|
667
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
|
+
|
670
|
+
include Google::Apis::Core::JsonObjectSupport
|
671
|
+
end
|
672
|
+
|
673
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestRequest
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
679
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
655
685
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
656
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
687
|
|
@@ -946,6 +976,12 @@ module Google
|
|
946
976
|
include Google::Apis::Core::JsonObjectSupport
|
947
977
|
end
|
948
978
|
|
979
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
949
985
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
950
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
951
987
|
|
@@ -1234,6 +1270,18 @@ module Google
|
|
1234
1270
|
include Google::Apis::Core::JsonObjectSupport
|
1235
1271
|
end
|
1236
1272
|
|
1273
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
1274
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1275
|
+
|
1276
|
+
include Google::Apis::Core::JsonObjectSupport
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
1280
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1281
|
+
|
1282
|
+
include Google::Apis::Core::JsonObjectSupport
|
1283
|
+
end
|
1284
|
+
|
1237
1285
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
1238
1286
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1239
1287
|
|
@@ -2311,6 +2359,16 @@ module Google
|
|
2311
2359
|
end
|
2312
2360
|
end
|
2313
2361
|
|
2362
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
2363
|
+
# @private
|
2364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2365
|
+
property :name, as: 'name'
|
2366
|
+
property :result, as: 'result'
|
2367
|
+
property :run_time, as: 'runTime'
|
2368
|
+
collection :test_case_results, as: 'testCaseResults'
|
2369
|
+
end
|
2370
|
+
end
|
2371
|
+
|
2314
2372
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
2315
2373
|
# @private
|
2316
2374
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2324,6 +2382,7 @@ module Google
|
|
2324
2382
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
2325
2383
|
# @private
|
2326
2384
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2385
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2327
2386
|
hash :injected_parameters, as: 'injectedParameters'
|
2328
2387
|
property :input, as: 'input', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput::Representation
|
2329
2388
|
|
@@ -2387,12 +2446,14 @@ module Google
|
|
2387
2446
|
class GoogleCloudDialogflowCxV3DetectIntentResponse
|
2388
2447
|
# @private
|
2389
2448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2449
|
+
property :allow_cancellation, as: 'allowCancellation'
|
2390
2450
|
property :output_audio, :base64 => true, as: 'outputAudio'
|
2391
2451
|
property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig::Representation
|
2392
2452
|
|
2393
2453
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryResult::Representation
|
2394
2454
|
|
2395
2455
|
property :response_id, as: 'responseId'
|
2456
|
+
property :response_type, as: 'responseType'
|
2396
2457
|
end
|
2397
2458
|
end
|
2398
2459
|
|
@@ -2688,6 +2749,7 @@ module Google
|
|
2688
2749
|
|
2689
2750
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2690
2751
|
|
2752
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2691
2753
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2692
2754
|
|
2693
2755
|
property :tag, as: 'tag'
|
@@ -2882,6 +2944,15 @@ module Google
|
|
2882
2944
|
end
|
2883
2945
|
end
|
2884
2946
|
|
2947
|
+
class GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
2948
|
+
# @private
|
2949
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2950
|
+
collection :continuous_test_results, as: 'continuousTestResults', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
|
2951
|
+
|
2952
|
+
property :next_page_token, as: 'nextPageToken'
|
2953
|
+
end
|
2954
|
+
end
|
2955
|
+
|
2885
2956
|
class GoogleCloudDialogflowCxV3ListEntityTypesResponse
|
2886
2957
|
# @private
|
2887
2958
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3285,6 +3356,28 @@ module Google
|
|
3285
3356
|
end
|
3286
3357
|
end
|
3287
3358
|
|
3359
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
3360
|
+
# @private
|
3361
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3362
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TestError::Representation
|
3363
|
+
|
3364
|
+
end
|
3365
|
+
end
|
3366
|
+
|
3367
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestRequest
|
3368
|
+
# @private
|
3369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3370
|
+
end
|
3371
|
+
end
|
3372
|
+
|
3373
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
3374
|
+
# @private
|
3375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3376
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
|
3377
|
+
|
3378
|
+
end
|
3379
|
+
end
|
3380
|
+
|
3288
3381
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
3289
3382
|
# @private
|
3290
3383
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3763,6 +3856,16 @@ module Google
|
|
3763
3856
|
end
|
3764
3857
|
end
|
3765
3858
|
|
3859
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
3860
|
+
# @private
|
3861
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3862
|
+
property :name, as: 'name'
|
3863
|
+
property :result, as: 'result'
|
3864
|
+
property :run_time, as: 'runTime'
|
3865
|
+
collection :test_case_results, as: 'testCaseResults'
|
3866
|
+
end
|
3867
|
+
end
|
3868
|
+
|
3766
3869
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
3767
3870
|
# @private
|
3768
3871
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3776,6 +3879,7 @@ module Google
|
|
3776
3879
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
3777
3880
|
# @private
|
3778
3881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3882
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
3779
3883
|
hash :injected_parameters, as: 'injectedParameters'
|
3780
3884
|
property :input, as: 'input', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
|
3781
3885
|
|
@@ -3920,6 +4024,7 @@ module Google
|
|
3920
4024
|
|
3921
4025
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
3922
4026
|
|
4027
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
3923
4028
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
3924
4029
|
|
3925
4030
|
property :tag, as: 'tag'
|
@@ -4224,6 +4329,22 @@ module Google
|
|
4224
4329
|
end
|
4225
4330
|
end
|
4226
4331
|
|
4332
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
4333
|
+
# @private
|
4334
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4335
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
4336
|
+
|
4337
|
+
end
|
4338
|
+
end
|
4339
|
+
|
4340
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
4341
|
+
# @private
|
4342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4343
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
4344
|
+
|
4345
|
+
end
|
4346
|
+
end
|
4347
|
+
|
4227
4348
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
4228
4349
|
# @private
|
4229
4350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4945,6 +5066,7 @@ module Google
|
|
4945
5066
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4946
5067
|
property :action, as: 'action'
|
4947
5068
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
5069
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
4948
5070
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
4949
5071
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentMessage::Representation
|
4950
5072
|
|
@@ -5740,6 +5862,7 @@ module Google
|
|
5740
5862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5741
5863
|
property :action, as: 'action'
|
5742
5864
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
5865
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
5743
5866
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
5744
5867
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
5745
5868
|
|
@@ -50,7 +50,9 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Creates an agent in the specified location.
|
53
|
+
# Creates an agent in the specified location. Note: You should always train
|
54
|
+
# flows prior to sending them queries. See the [training documentation](https://
|
55
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
54
56
|
# @param [String] parent
|
55
57
|
# Required. The location to create a agent for. Format: `projects//locations/`.
|
56
58
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Agent] google_cloud_dialogflow_cx_v3_agent_object
|
@@ -250,7 +252,9 @@ module Google
|
|
250
252
|
execute_or_queue_command(command, &block)
|
251
253
|
end
|
252
254
|
|
253
|
-
# Updates the specified agent.
|
255
|
+
# Updates the specified agent. Note: You should always train flows prior to
|
256
|
+
# sending them queries. See the [training documentation](https://cloud.google.
|
257
|
+
# com/dialogflow/cx/docs/concept/training).
|
254
258
|
# @param [String] name
|
255
259
|
# The unique identifier of the agent. Required for the Agents.UpdateAgent method.
|
256
260
|
# Agents.CreateAgent populates the name automatically. Format: `projects//
|
@@ -291,7 +295,9 @@ module Google
|
|
291
295
|
|
292
296
|
# Restores the specified agent from a binary file. Replaces the current agent
|
293
297
|
# with a new one. Note that all existing resources in agent (e.g. intents,
|
294
|
-
# entity types, flows) will be removed.
|
298
|
+
# entity types, flows) will be removed. Note: You should always train flows
|
299
|
+
# prior to sending them queries. See the [training documentation](https://cloud.
|
300
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
295
301
|
# @param [String] name
|
296
302
|
# Required. The name of the agent to restore into. Format: `projects//locations//
|
297
303
|
# agents/`.
|
@@ -360,7 +366,9 @@ module Google
|
|
360
366
|
execute_or_queue_command(command, &block)
|
361
367
|
end
|
362
368
|
|
363
|
-
# Creates an entity type in the specified agent.
|
369
|
+
# Creates an entity type in the specified agent. Note: You should always train a
|
370
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
371
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
364
372
|
# @param [String] parent
|
365
373
|
# Required. The agent to create a entity type for. Format: `projects//locations//
|
366
374
|
# agents/`.
|
@@ -401,7 +409,9 @@ module Google
|
|
401
409
|
execute_or_queue_command(command, &block)
|
402
410
|
end
|
403
411
|
|
404
|
-
# Deletes the specified entity type.
|
412
|
+
# Deletes the specified entity type. Note: You should always train a flow prior
|
413
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
414
|
+
# com/dialogflow/cx/docs/concept/training).
|
405
415
|
# @param [String] name
|
406
416
|
# Required. The name of the entity type to delete. Format: `projects//locations//
|
407
417
|
# agents//entityTypes/`.
|
@@ -525,7 +535,9 @@ module Google
|
|
525
535
|
execute_or_queue_command(command, &block)
|
526
536
|
end
|
527
537
|
|
528
|
-
# Updates the specified entity type.
|
538
|
+
# Updates the specified entity type. Note: You should always train a flow prior
|
539
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
540
|
+
# com/dialogflow/cx/docs/concept/training).
|
529
541
|
# @param [String] name
|
530
542
|
# The unique identifier of the entity type. Required for EntityTypes.
|
531
543
|
# UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.
|
@@ -778,6 +790,77 @@ module Google
|
|
778
790
|
execute_or_queue_command(command, &block)
|
779
791
|
end
|
780
792
|
|
793
|
+
# Kicks off a continuous test under the specified Environment.
|
794
|
+
# @param [String] environment
|
795
|
+
# Required. Format: `projects//locations//agents//environments/`.
|
796
|
+
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunContinuousTestRequest] google_cloud_dialogflow_cx_v3_run_continuous_test_request_object
|
797
|
+
# @param [String] fields
|
798
|
+
# Selector specifying which fields to include in a partial response.
|
799
|
+
# @param [String] quota_user
|
800
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
801
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
802
|
+
# @param [Google::Apis::RequestOptions] options
|
803
|
+
# Request-specific options
|
804
|
+
#
|
805
|
+
# @yield [result, err] Result & error if block supplied
|
806
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleLongrunningOperation] parsed result object
|
807
|
+
# @yieldparam err [StandardError] error object if request failed
|
808
|
+
#
|
809
|
+
# @return [Google::Apis::DialogflowV3::GoogleLongrunningOperation]
|
810
|
+
#
|
811
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
812
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
|
+
def run_project_location_agent_environment_continuous_test(environment, google_cloud_dialogflow_cx_v3_run_continuous_test_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
815
|
+
command = make_simple_command(:post, 'v3/{+environment}:runContinuousTest', options)
|
816
|
+
command.request_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3RunContinuousTestRequest::Representation
|
817
|
+
command.request_object = google_cloud_dialogflow_cx_v3_run_continuous_test_request_object
|
818
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleLongrunningOperation::Representation
|
819
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleLongrunningOperation
|
820
|
+
command.params['environment'] = environment unless environment.nil?
|
821
|
+
command.query['fields'] = fields unless fields.nil?
|
822
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
823
|
+
execute_or_queue_command(command, &block)
|
824
|
+
end
|
825
|
+
|
826
|
+
# Fetches a list of continuous test results for a given environment.
|
827
|
+
# @param [String] parent
|
828
|
+
# Required. The environment to list results for. Format: `projects//locations//
|
829
|
+
# agents// environments/`.
|
830
|
+
# @param [Fixnum] page_size
|
831
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
832
|
+
# most 1000.
|
833
|
+
# @param [String] page_token
|
834
|
+
# The next_page_token value returned from a previous list request.
|
835
|
+
# @param [String] fields
|
836
|
+
# Selector specifying which fields to include in a partial response.
|
837
|
+
# @param [String] quota_user
|
838
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
839
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
840
|
+
# @param [Google::Apis::RequestOptions] options
|
841
|
+
# Request-specific options
|
842
|
+
#
|
843
|
+
# @yield [result, err] Result & error if block supplied
|
844
|
+
# @yieldparam result [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse] parsed result object
|
845
|
+
# @yieldparam err [StandardError] error object if request failed
|
846
|
+
#
|
847
|
+
# @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse]
|
848
|
+
#
|
849
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
850
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
851
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
852
|
+
def list_project_location_agent_environment_continuous_test_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
853
|
+
command = make_simple_command(:get, 'v3/{+parent}/continuousTestResults', options)
|
854
|
+
command.response_representation = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse::Representation
|
855
|
+
command.response_class = Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ListContinuousTestResultsResponse
|
856
|
+
command.params['parent'] = parent unless parent.nil?
|
857
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
858
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
859
|
+
command.query['fields'] = fields unless fields.nil?
|
860
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
861
|
+
execute_or_queue_command(command, &block)
|
862
|
+
end
|
863
|
+
|
781
864
|
# Creates an Experiment in the specified Environment.
|
782
865
|
# @param [String] parent
|
783
866
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
@@ -1328,7 +1411,9 @@ module Google
|
|
1328
1411
|
execute_or_queue_command(command, &block)
|
1329
1412
|
end
|
1330
1413
|
|
1331
|
-
# Creates a flow in the specified agent.
|
1414
|
+
# Creates a flow in the specified agent. Note: You should always train a flow
|
1415
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1416
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
1332
1417
|
# @param [String] parent
|
1333
1418
|
# Required. The agent to create a flow for. Format: `projects//locations//agents/
|
1334
1419
|
# `.
|
@@ -1521,7 +1606,9 @@ module Google
|
|
1521
1606
|
execute_or_queue_command(command, &block)
|
1522
1607
|
end
|
1523
1608
|
|
1524
|
-
# Imports the specified flow to the specified agent from a binary file.
|
1609
|
+
# Imports the specified flow to the specified agent from a binary file. Note:
|
1610
|
+
# You should always train a flow prior to sending it queries. See the [training
|
1611
|
+
# documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1525
1612
|
# @param [String] parent
|
1526
1613
|
# Required. The agent to import the flow into. Format: `projects//locations//
|
1527
1614
|
# agents/`.
|
@@ -1603,7 +1690,9 @@ module Google
|
|
1603
1690
|
execute_or_queue_command(command, &block)
|
1604
1691
|
end
|
1605
1692
|
|
1606
|
-
# Updates the specified flow.
|
1693
|
+
# Updates the specified flow. Note: You should always train a flow prior to
|
1694
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1695
|
+
# dialogflow/cx/docs/concept/training).
|
1607
1696
|
# @param [String] name
|
1608
1697
|
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
1609
1698
|
# `.
|
@@ -1651,7 +1740,9 @@ module Google
|
|
1651
1740
|
end
|
1652
1741
|
|
1653
1742
|
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1654
|
-
# trained.
|
1743
|
+
# trained. Note: You should always train a flow prior to sending it queries. See
|
1744
|
+
# the [training documentation](https://cloud.google.com/dialogflow/cx/docs/
|
1745
|
+
# concept/training).
|
1655
1746
|
# @param [String] name
|
1656
1747
|
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1657
1748
|
# @param [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3TrainFlowRequest] google_cloud_dialogflow_cx_v3_train_flow_request_object
|
@@ -1719,7 +1810,9 @@ module Google
|
|
1719
1810
|
execute_or_queue_command(command, &block)
|
1720
1811
|
end
|
1721
1812
|
|
1722
|
-
# Creates a page in the specified flow.
|
1813
|
+
# Creates a page in the specified flow. Note: You should always train a flow
|
1814
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1815
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
1723
1816
|
# @param [String] parent
|
1724
1817
|
# Required. The flow to create a page for. Format: `projects//locations//agents//
|
1725
1818
|
# flows/`.
|
@@ -1768,7 +1861,9 @@ module Google
|
|
1768
1861
|
execute_or_queue_command(command, &block)
|
1769
1862
|
end
|
1770
1863
|
|
1771
|
-
# Deletes the specified page.
|
1864
|
+
# Deletes the specified page. Note: You should always train a flow prior to
|
1865
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1866
|
+
# dialogflow/cx/docs/concept/training).
|
1772
1867
|
# @param [String] name
|
1773
1868
|
# Required. The name of the page to delete. Format: `projects//locations//agents/
|
1774
1869
|
# /Flows//pages/`.
|
@@ -1906,7 +2001,9 @@ module Google
|
|
1906
2001
|
execute_or_queue_command(command, &block)
|
1907
2002
|
end
|
1908
2003
|
|
1909
|
-
# Updates the specified page.
|
2004
|
+
# Updates the specified page. Note: You should always train a flow prior to
|
2005
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
2006
|
+
# dialogflow/cx/docs/concept/training).
|
1910
2007
|
# @param [String] name
|
1911
2008
|
# The unique identifier of the page. Required for the Pages.UpdatePage method.
|
1912
2009
|
# Pages.CreatePage populates the name automatically. Format: `projects//
|
@@ -1960,7 +2057,9 @@ module Google
|
|
1960
2057
|
execute_or_queue_command(command, &block)
|
1961
2058
|
end
|
1962
2059
|
|
1963
|
-
# Creates an TransitionRouteGroup in the specified flow.
|
2060
|
+
# Creates an TransitionRouteGroup in the specified flow. Note: You should always
|
2061
|
+
# train a flow prior to sending it queries. See the [training documentation](
|
2062
|
+
# https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1964
2063
|
# @param [String] parent
|
1965
2064
|
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
1966
2065
|
# locations//agents//flows/`.
|
@@ -2002,7 +2101,9 @@ module Google
|
|
2002
2101
|
execute_or_queue_command(command, &block)
|
2003
2102
|
end
|
2004
2103
|
|
2005
|
-
# Deletes the specified TransitionRouteGroup.
|
2104
|
+
# Deletes the specified TransitionRouteGroup. Note: You should always train a
|
2105
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
2106
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
2006
2107
|
# @param [String] name
|
2007
2108
|
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
2008
2109
|
# locations//agents//flows//transitionRouteGroups/`.
|
@@ -2127,7 +2228,9 @@ module Google
|
|
2127
2228
|
execute_or_queue_command(command, &block)
|
2128
2229
|
end
|
2129
2230
|
|
2130
|
-
# Updates the specified TransitionRouteGroup.
|
2231
|
+
# Updates the specified TransitionRouteGroup. Note: You should always train a
|
2232
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
2233
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
2131
2234
|
# @param [String] name
|
2132
2235
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
2133
2236
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
@@ -2379,7 +2482,9 @@ module Google
|
|
2379
2482
|
execute_or_queue_command(command, &block)
|
2380
2483
|
end
|
2381
2484
|
|
2382
|
-
# Creates an intent in the specified agent.
|
2485
|
+
# Creates an intent in the specified agent. Note: You should always train a flow
|
2486
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
2487
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
2383
2488
|
# @param [String] parent
|
2384
2489
|
# Required. The agent to create an intent for. Format: `projects//locations//
|
2385
2490
|
# agents/`.
|
@@ -2420,7 +2525,9 @@ module Google
|
|
2420
2525
|
execute_or_queue_command(command, &block)
|
2421
2526
|
end
|
2422
2527
|
|
2423
|
-
# Deletes the specified intent.
|
2528
|
+
# Deletes the specified intent. Note: You should always train a flow prior to
|
2529
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
2530
|
+
# dialogflow/cx/docs/concept/training).
|
2424
2531
|
# @param [String] name
|
2425
2532
|
# Required. The name of the intent to delete. Format: `projects//locations//
|
2426
2533
|
# agents//intents/`.
|
@@ -2537,7 +2644,9 @@ module Google
|
|
2537
2644
|
execute_or_queue_command(command, &block)
|
2538
2645
|
end
|
2539
2646
|
|
2540
|
-
# Updates the specified intent.
|
2647
|
+
# Updates the specified intent. Note: You should always train a flow prior to
|
2648
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
2649
|
+
# dialogflow/cx/docs/concept/training).
|
2541
2650
|
# @param [String] name
|
2542
2651
|
# The unique identifier of the intent. Required for the Intents.UpdateIntent
|
2543
2652
|
# method. Intents.CreateIntent populates the name automatically. Format: `
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.3'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.3'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for Dialogflow API V3. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3/v0.16.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|