google-apis-dialogflow_v3beta1 0.12.0 → 0.13.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 +4 -0
- data/lib/google/apis/dialogflow_v3beta1/classes.rb +211 -0
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +117 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +71 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bda685a5d2e1a939a5340e70f0f2af24a342df1e89cfecfc945167e0302e8c18
|
4
|
+
data.tar.gz: f7d5388ec1d70364bf203730c9946bdc86b69671973a935b16f5ccb7c40460a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47b96d9dc2322ae4df9291e02c63ea9e03db942f64514b877d245c862f6252c4471fa101f3bf9b17454f4b931c5cddb8b6a7a3fbc8ce148b90bfe9c52ef0cf43
|
7
|
+
data.tar.gz: 3c44e8d9199d80e94925042f67b6ca9713ff9eedc3246f636a0b9f7b4edf70504a0666ec6a9f6e657e8a01fdead4acf3e64d8d919fb91fed4992fee44eaa53e1
|
data/CHANGELOG.md
CHANGED
@@ -92,6 +92,45 @@ module Google
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
# Represents a result from running a test case in an agent environment.
|
96
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
97
|
+
include Google::Apis::Core::Hashable
|
98
|
+
|
99
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
100
|
+
# /agents//environments//continuousTestResults/`.
|
101
|
+
# Corresponds to the JSON property `name`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :name
|
104
|
+
|
105
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
106
|
+
# continuous test run pass or not.
|
107
|
+
# Corresponds to the JSON property `result`
|
108
|
+
# @return [String]
|
109
|
+
attr_accessor :result
|
110
|
+
|
111
|
+
# Time when the continuous testing run starts.
|
112
|
+
# Corresponds to the JSON property `runTime`
|
113
|
+
# @return [String]
|
114
|
+
attr_accessor :run_time
|
115
|
+
|
116
|
+
# A list of individual test case results names in this continuous test run.
|
117
|
+
# Corresponds to the JSON property `testCaseResults`
|
118
|
+
# @return [Array<String>]
|
119
|
+
attr_accessor :test_case_results
|
120
|
+
|
121
|
+
def initialize(**args)
|
122
|
+
update!(**args)
|
123
|
+
end
|
124
|
+
|
125
|
+
# Update properties of this object
|
126
|
+
def update!(**args)
|
127
|
+
@name = args[:name] if args.key?(:name)
|
128
|
+
@result = args[:result] if args.key?(:result)
|
129
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
130
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
95
134
|
# One interaction between a human and virtual agent. The human provides some
|
96
135
|
# input and the virtual agent provides a response.
|
97
136
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
@@ -1770,6 +1809,45 @@ module Google
|
|
1770
1809
|
end
|
1771
1810
|
end
|
1772
1811
|
|
1812
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
1813
|
+
# operation.
|
1814
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
1815
|
+
include Google::Apis::Core::Hashable
|
1816
|
+
|
1817
|
+
# The test errors.
|
1818
|
+
# Corresponds to the JSON property `errors`
|
1819
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError>]
|
1820
|
+
attr_accessor :errors
|
1821
|
+
|
1822
|
+
def initialize(**args)
|
1823
|
+
update!(**args)
|
1824
|
+
end
|
1825
|
+
|
1826
|
+
# Update properties of this object
|
1827
|
+
def update!(**args)
|
1828
|
+
@errors = args[:errors] if args.key?(:errors)
|
1829
|
+
end
|
1830
|
+
end
|
1831
|
+
|
1832
|
+
# The response message for Environments.RunContinuousTest.
|
1833
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
1834
|
+
include Google::Apis::Core::Hashable
|
1835
|
+
|
1836
|
+
# Represents a result from running a test case in an agent environment.
|
1837
|
+
# Corresponds to the JSON property `continuousTestResult`
|
1838
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult]
|
1839
|
+
attr_accessor :continuous_test_result
|
1840
|
+
|
1841
|
+
def initialize(**args)
|
1842
|
+
update!(**args)
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
# Update properties of this object
|
1846
|
+
def update!(**args)
|
1847
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
1848
|
+
end
|
1849
|
+
end
|
1850
|
+
|
1773
1851
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1774
1852
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1775
1853
|
include Google::Apis::Core::Hashable
|
@@ -2750,6 +2828,45 @@ module Google
|
|
2750
2828
|
end
|
2751
2829
|
end
|
2752
2830
|
|
2831
|
+
# Represents a result from running a test case in an agent environment.
|
2832
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2833
|
+
include Google::Apis::Core::Hashable
|
2834
|
+
|
2835
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
2836
|
+
# /agents//environments//continuousTestResults/`.
|
2837
|
+
# Corresponds to the JSON property `name`
|
2838
|
+
# @return [String]
|
2839
|
+
attr_accessor :name
|
2840
|
+
|
2841
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
2842
|
+
# continuous test run pass or not.
|
2843
|
+
# Corresponds to the JSON property `result`
|
2844
|
+
# @return [String]
|
2845
|
+
attr_accessor :result
|
2846
|
+
|
2847
|
+
# Time when the continuous testing run starts.
|
2848
|
+
# Corresponds to the JSON property `runTime`
|
2849
|
+
# @return [String]
|
2850
|
+
attr_accessor :run_time
|
2851
|
+
|
2852
|
+
# A list of individual test case results names in this continuous test run.
|
2853
|
+
# Corresponds to the JSON property `testCaseResults`
|
2854
|
+
# @return [Array<String>]
|
2855
|
+
attr_accessor :test_case_results
|
2856
|
+
|
2857
|
+
def initialize(**args)
|
2858
|
+
update!(**args)
|
2859
|
+
end
|
2860
|
+
|
2861
|
+
# Update properties of this object
|
2862
|
+
def update!(**args)
|
2863
|
+
@name = args[:name] if args.key?(:name)
|
2864
|
+
@result = args[:result] if args.key?(:result)
|
2865
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
2866
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
|
2753
2870
|
# One interaction between a human and virtual agent. The human provides some
|
2754
2871
|
# input and the virtual agent provides a response.
|
2755
2872
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -4834,6 +4951,32 @@ module Google
|
|
4834
4951
|
end
|
4835
4952
|
end
|
4836
4953
|
|
4954
|
+
# The response message for Environments.ListTestCaseResults.
|
4955
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
4956
|
+
include Google::Apis::Core::Hashable
|
4957
|
+
|
4958
|
+
# The list of continuous test results.
|
4959
|
+
# Corresponds to the JSON property `continuousTestResults`
|
4960
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult>]
|
4961
|
+
attr_accessor :continuous_test_results
|
4962
|
+
|
4963
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
4964
|
+
# results in the list.
|
4965
|
+
# Corresponds to the JSON property `nextPageToken`
|
4966
|
+
# @return [String]
|
4967
|
+
attr_accessor :next_page_token
|
4968
|
+
|
4969
|
+
def initialize(**args)
|
4970
|
+
update!(**args)
|
4971
|
+
end
|
4972
|
+
|
4973
|
+
# Update properties of this object
|
4974
|
+
def update!(**args)
|
4975
|
+
@continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
|
4976
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
4977
|
+
end
|
4978
|
+
end
|
4979
|
+
|
4837
4980
|
# The response message for EntityTypes.ListEntityTypes.
|
4838
4981
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
4839
4982
|
include Google::Apis::Core::Hashable
|
@@ -6348,6 +6491,58 @@ module Google
|
|
6348
6491
|
end
|
6349
6492
|
end
|
6350
6493
|
|
6494
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
6495
|
+
# operation.
|
6496
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
6497
|
+
include Google::Apis::Core::Hashable
|
6498
|
+
|
6499
|
+
# The test errors.
|
6500
|
+
# Corresponds to the JSON property `errors`
|
6501
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
6502
|
+
attr_accessor :errors
|
6503
|
+
|
6504
|
+
def initialize(**args)
|
6505
|
+
update!(**args)
|
6506
|
+
end
|
6507
|
+
|
6508
|
+
# Update properties of this object
|
6509
|
+
def update!(**args)
|
6510
|
+
@errors = args[:errors] if args.key?(:errors)
|
6511
|
+
end
|
6512
|
+
end
|
6513
|
+
|
6514
|
+
# The request message for Environments.RunContinuousTest.
|
6515
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
6516
|
+
include Google::Apis::Core::Hashable
|
6517
|
+
|
6518
|
+
def initialize(**args)
|
6519
|
+
update!(**args)
|
6520
|
+
end
|
6521
|
+
|
6522
|
+
# Update properties of this object
|
6523
|
+
def update!(**args)
|
6524
|
+
end
|
6525
|
+
end
|
6526
|
+
|
6527
|
+
# The response message for Environments.RunContinuousTest.
|
6528
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
6529
|
+
include Google::Apis::Core::Hashable
|
6530
|
+
|
6531
|
+
# Represents a result from running a test case in an agent environment.
|
6532
|
+
# Corresponds to the JSON property `continuousTestResult`
|
6533
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
6534
|
+
attr_accessor :continuous_test_result
|
6535
|
+
|
6536
|
+
def initialize(**args)
|
6537
|
+
update!(**args)
|
6538
|
+
end
|
6539
|
+
|
6540
|
+
# Update properties of this object
|
6541
|
+
def update!(**args)
|
6542
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
6543
|
+
end
|
6544
|
+
end
|
6545
|
+
|
6351
6546
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
6352
6547
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6353
6548
|
include Google::Apis::Core::Hashable
|
@@ -9844,6 +10039,13 @@ module Google
|
|
9844
10039
|
attr_accessor :all_required_params_present
|
9845
10040
|
alias_method :all_required_params_present?, :all_required_params_present
|
9846
10041
|
|
10042
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
10043
|
+
# filling.
|
10044
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
10045
|
+
# @return [Boolean]
|
10046
|
+
attr_accessor :cancels_slot_filling
|
10047
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
10048
|
+
|
9847
10049
|
# Free-form diagnostic information for the associated detect intent request. The
|
9848
10050
|
# fields of this data can change without notice, so you should not write code
|
9849
10051
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9964,6 +10166,7 @@ module Google
|
|
9964
10166
|
def update!(**args)
|
9965
10167
|
@action = args[:action] if args.key?(:action)
|
9966
10168
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
10169
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9967
10170
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9968
10171
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9969
10172
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12791,6 +12994,13 @@ module Google
|
|
12791
12994
|
attr_accessor :all_required_params_present
|
12792
12995
|
alias_method :all_required_params_present?, :all_required_params_present
|
12793
12996
|
|
12997
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
12998
|
+
# filling.
|
12999
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13000
|
+
# @return [Boolean]
|
13001
|
+
attr_accessor :cancels_slot_filling
|
13002
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13003
|
+
|
12794
13004
|
# Free-form diagnostic information for the associated detect intent request. The
|
12795
13005
|
# fields of this data can change without notice, so you should not write code
|
12796
13006
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12916,6 +13126,7 @@ module Google
|
|
12916
13126
|
def update!(**args)
|
12917
13127
|
@action = args[:action] if args.key?(:action)
|
12918
13128
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13129
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12919
13130
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12920
13131
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12921
13132
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV3beta1
|
18
18
|
# Version of the google-apis-dialogflow_v3beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.13.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210524"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -328,6 +334,18 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
331
349
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
332
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
351
|
|
@@ -490,6 +508,12 @@ module Google
|
|
490
508
|
include Google::Apis::Core::JsonObjectSupport
|
491
509
|
end
|
492
510
|
|
511
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
513
|
+
|
514
|
+
include Google::Apis::Core::JsonObjectSupport
|
515
|
+
end
|
516
|
+
|
493
517
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
494
518
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
519
|
|
@@ -838,6 +862,12 @@ module Google
|
|
838
862
|
include Google::Apis::Core::JsonObjectSupport
|
839
863
|
end
|
840
864
|
|
865
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
841
871
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
842
872
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
843
873
|
|
@@ -1072,6 +1102,24 @@ module Google
|
|
1072
1102
|
include Google::Apis::Core::JsonObjectSupport
|
1073
1103
|
end
|
1074
1104
|
|
1105
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
1106
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1107
|
+
|
1108
|
+
include Google::Apis::Core::JsonObjectSupport
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
1112
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1113
|
+
|
1114
|
+
include Google::Apis::Core::JsonObjectSupport
|
1115
|
+
end
|
1116
|
+
|
1117
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
1118
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1119
|
+
|
1120
|
+
include Google::Apis::Core::JsonObjectSupport
|
1121
|
+
end
|
1122
|
+
|
1075
1123
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
1076
1124
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1077
1125
|
|
@@ -2255,6 +2303,16 @@ module Google
|
|
2255
2303
|
end
|
2256
2304
|
end
|
2257
2305
|
|
2306
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
2307
|
+
# @private
|
2308
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2309
|
+
property :name, as: 'name'
|
2310
|
+
property :result, as: 'result'
|
2311
|
+
property :run_time, as: 'runTime'
|
2312
|
+
collection :test_case_results, as: 'testCaseResults'
|
2313
|
+
end
|
2314
|
+
end
|
2315
|
+
|
2258
2316
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
2259
2317
|
# @private
|
2260
2318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2716,6 +2774,22 @@ module Google
|
|
2716
2774
|
end
|
2717
2775
|
end
|
2718
2776
|
|
2777
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
2778
|
+
# @private
|
2779
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2780
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError::Representation
|
2781
|
+
|
2782
|
+
end
|
2783
|
+
end
|
2784
|
+
|
2785
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
2786
|
+
# @private
|
2787
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2788
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
|
2789
|
+
|
2790
|
+
end
|
2791
|
+
end
|
2792
|
+
|
2719
2793
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
2720
2794
|
# @private
|
2721
2795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2995,6 +3069,16 @@ module Google
|
|
2995
3069
|
end
|
2996
3070
|
end
|
2997
3071
|
|
3072
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
3073
|
+
# @private
|
3074
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3075
|
+
property :name, as: 'name'
|
3076
|
+
property :result, as: 'result'
|
3077
|
+
property :run_time, as: 'runTime'
|
3078
|
+
collection :test_case_results, as: 'testCaseResults'
|
3079
|
+
end
|
3080
|
+
end
|
3081
|
+
|
2998
3082
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
2999
3083
|
# @private
|
3000
3084
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3566,6 +3650,15 @@ module Google
|
|
3566
3650
|
end
|
3567
3651
|
end
|
3568
3652
|
|
3653
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
3654
|
+
# @private
|
3655
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3656
|
+
collection :continuous_test_results, as: 'continuousTestResults', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
3657
|
+
|
3658
|
+
property :next_page_token, as: 'nextPageToken'
|
3659
|
+
end
|
3660
|
+
end
|
3661
|
+
|
3569
3662
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
3570
3663
|
# @private
|
3571
3664
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3969,6 +4062,28 @@ module Google
|
|
3969
4062
|
end
|
3970
4063
|
end
|
3971
4064
|
|
4065
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
4066
|
+
# @private
|
4067
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4068
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
4069
|
+
|
4070
|
+
end
|
4071
|
+
end
|
4072
|
+
|
4073
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
4074
|
+
# @private
|
4075
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4076
|
+
end
|
4077
|
+
end
|
4078
|
+
|
4079
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
4080
|
+
# @private
|
4081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4082
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
4083
|
+
|
4084
|
+
end
|
4085
|
+
end
|
4086
|
+
|
3972
4087
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
3973
4088
|
# @private
|
3974
4089
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4945,6 +5060,7 @@ module Google
|
|
4945
5060
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4946
5061
|
property :action, as: 'action'
|
4947
5062
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
5063
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
4948
5064
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
4949
5065
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage::Representation
|
4950
5066
|
|
@@ -5740,6 +5856,7 @@ module Google
|
|
5740
5856
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5741
5857
|
property :action, as: 'action'
|
5742
5858
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
5859
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
5743
5860
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
5744
5861
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
5745
5862
|
|
@@ -778,6 +778,77 @@ module Google
|
|
778
778
|
execute_or_queue_command(command, &block)
|
779
779
|
end
|
780
780
|
|
781
|
+
# Kicks off a continuous test under the specified Environment.
|
782
|
+
# @param [String] environment
|
783
|
+
# Required. Format: `projects//locations//agents//environments/`.
|
784
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest] google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
|
785
|
+
# @param [String] fields
|
786
|
+
# Selector specifying which fields to include in a partial response.
|
787
|
+
# @param [String] quota_user
|
788
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
789
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
790
|
+
# @param [Google::Apis::RequestOptions] options
|
791
|
+
# Request-specific options
|
792
|
+
#
|
793
|
+
# @yield [result, err] Result & error if block supplied
|
794
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
795
|
+
# @yieldparam err [StandardError] error object if request failed
|
796
|
+
#
|
797
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
798
|
+
#
|
799
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
800
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
801
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
802
|
+
def run_project_location_agent_environment_continuous_test(environment, google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
803
|
+
command = make_simple_command(:post, 'v3beta1/{+environment}:runContinuousTest', options)
|
804
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest::Representation
|
805
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
|
806
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
807
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
808
|
+
command.params['environment'] = environment unless environment.nil?
|
809
|
+
command.query['fields'] = fields unless fields.nil?
|
810
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
811
|
+
execute_or_queue_command(command, &block)
|
812
|
+
end
|
813
|
+
|
814
|
+
# Fetches a list of continuous test results for a given environment.
|
815
|
+
# @param [String] parent
|
816
|
+
# Required. The environment to list results for. Format: `projects//locations//
|
817
|
+
# agents// environments/`.
|
818
|
+
# @param [Fixnum] page_size
|
819
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
820
|
+
# most 1000.
|
821
|
+
# @param [String] page_token
|
822
|
+
# The next_page_token value returned from a previous list request.
|
823
|
+
# @param [String] fields
|
824
|
+
# Selector specifying which fields to include in a partial response.
|
825
|
+
# @param [String] quota_user
|
826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
828
|
+
# @param [Google::Apis::RequestOptions] options
|
829
|
+
# Request-specific options
|
830
|
+
#
|
831
|
+
# @yield [result, err] Result & error if block supplied
|
832
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse] parsed result object
|
833
|
+
# @yieldparam err [StandardError] error object if request failed
|
834
|
+
#
|
835
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse]
|
836
|
+
#
|
837
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
838
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
839
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
840
|
+
def list_project_location_agent_environment_continuous_test_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
841
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/continuousTestResults', options)
|
842
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse::Representation
|
843
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
844
|
+
command.params['parent'] = parent unless parent.nil?
|
845
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
846
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
847
|
+
command.query['fields'] = fields unless fields.nil?
|
848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
849
|
+
execute_or_queue_command(command, &block)
|
850
|
+
end
|
851
|
+
|
781
852
|
# Creates an Experiment in the specified Environment.
|
782
853
|
# @param [String] parent
|
783
854
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.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-05-
|
11
|
+
date: 2021-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.13.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|