google-apis-dialogflow_v3beta1 0.12.0 → 0.17.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_v3beta1/classes.rb +283 -16
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +123 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +116 -15
- 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: 4f21f0e24051424edbae3b6d5df6e0e5a6e2e194c7f159ae195591c6049e1bf0
|
4
|
+
data.tar.gz: 722c9e205f951d000a2ce5a82cdb5cd4ff2b25eafe07343328dee7a3c0754d5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8def051ce3b0e6357a10047b0e44da9a384f1033ca7673efc2b5d97fe18f3ba8a2eb4c1a4ae875397ffad586cbb79dc08368b6c256aa96811ba2655bf5ee42c7
|
7
|
+
data.tar.gz: aef7d81ca049f8c039f45483041eb7b0be35772e8bc34454ebd76c8d93d499a0eafc55670ed127fc26eb1a0db400f5f845a8031fc75ee9e8fdce42c6d4fa6e1e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.16.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210618
|
10
|
+
|
11
|
+
### v0.15.0 (2021-06-16)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210611
|
14
|
+
|
15
|
+
### v0.14.0 (2021-06-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210601
|
18
|
+
* Regenerated using generator version 0.3.0
|
19
|
+
|
20
|
+
### v0.13.0 (2021-05-26)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210524
|
23
|
+
|
3
24
|
### v0.12.0 (2021-05-19)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210517
|
@@ -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
|
@@ -122,6 +161,12 @@ module Google
|
|
122
161
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
123
162
|
include Google::Apis::Core::Hashable
|
124
163
|
|
164
|
+
# Whether sentiment analysis is enabled.
|
165
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
166
|
+
# @return [Boolean]
|
167
|
+
attr_accessor :enable_sentiment_analysis
|
168
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
169
|
+
|
125
170
|
# Parameters that need to be injected into the conversation during intent
|
126
171
|
# detection.
|
127
172
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -149,6 +194,7 @@ module Google
|
|
149
194
|
|
150
195
|
# Update properties of this object
|
151
196
|
def update!(**args)
|
197
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
152
198
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
153
199
|
@input = args[:input] if args.key?(:input)
|
154
200
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -642,6 +688,18 @@ module Google
|
|
642
688
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
|
643
689
|
attr_accessor :messages
|
644
690
|
|
691
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
692
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
693
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
694
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
695
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
696
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
697
|
+
# webhooks.
|
698
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
699
|
+
# @return [Boolean]
|
700
|
+
attr_accessor :return_partial_responses
|
701
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
702
|
+
|
645
703
|
# Set parameter values before executing the webhook.
|
646
704
|
# Corresponds to the JSON property `setParameterActions`
|
647
705
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
@@ -666,6 +724,7 @@ module Google
|
|
666
724
|
def update!(**args)
|
667
725
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
668
726
|
@messages = args[:messages] if args.key?(:messages)
|
727
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
669
728
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
670
729
|
@tag = args[:tag] if args.key?(:tag)
|
671
730
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -1008,9 +1067,9 @@ module Google
|
|
1008
1067
|
# letters, digits and the symbols '-' and '_'. International characters are
|
1009
1068
|
# allowed, including letters from unicase alphabets. Keys must start with a
|
1010
1069
|
# letter. Keys and values can be no longer than 63 characters and no more than
|
1011
|
-
# 128 bytes. Prefix "sys
|
1012
|
-
# allowed Dialogflow defined labels include: * sys
|
1013
|
-
# above labels do not require value. "sys
|
1070
|
+
# 128 bytes. Prefix "sys-" is reserved for Dialogflow defined labels. Currently
|
1071
|
+
# allowed Dialogflow defined labels include: * sys-head * sys-contextual The
|
1072
|
+
# above labels do not require value. "sys-head" means the intent is a head
|
1014
1073
|
# intent. "sys.contextual" means the intent is a contextual intent.
|
1015
1074
|
# Corresponds to the JSON property `labels`
|
1016
1075
|
# @return [Hash<String,String>]
|
@@ -1770,6 +1829,45 @@ module Google
|
|
1770
1829
|
end
|
1771
1830
|
end
|
1772
1831
|
|
1832
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
1833
|
+
# operation.
|
1834
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
1835
|
+
include Google::Apis::Core::Hashable
|
1836
|
+
|
1837
|
+
# The test errors.
|
1838
|
+
# Corresponds to the JSON property `errors`
|
1839
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError>]
|
1840
|
+
attr_accessor :errors
|
1841
|
+
|
1842
|
+
def initialize(**args)
|
1843
|
+
update!(**args)
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Update properties of this object
|
1847
|
+
def update!(**args)
|
1848
|
+
@errors = args[:errors] if args.key?(:errors)
|
1849
|
+
end
|
1850
|
+
end
|
1851
|
+
|
1852
|
+
# The response message for Environments.RunContinuousTest.
|
1853
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
1854
|
+
include Google::Apis::Core::Hashable
|
1855
|
+
|
1856
|
+
# Represents a result from running a test case in an agent environment.
|
1857
|
+
# Corresponds to the JSON property `continuousTestResult`
|
1858
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult]
|
1859
|
+
attr_accessor :continuous_test_result
|
1860
|
+
|
1861
|
+
def initialize(**args)
|
1862
|
+
update!(**args)
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# Update properties of this object
|
1866
|
+
def update!(**args)
|
1867
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
1868
|
+
end
|
1869
|
+
end
|
1870
|
+
|
1773
1871
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1774
1872
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1775
1873
|
include Google::Apis::Core::Hashable
|
@@ -2477,10 +2575,10 @@ module Google
|
|
2477
2575
|
# @return [String]
|
2478
2576
|
attr_accessor :avatar_uri
|
2479
2577
|
|
2480
|
-
# Immutable. The default language of the agent as a language tag. See [
|
2481
|
-
# Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
2482
|
-
# list of the currently supported language codes. This field
|
2483
|
-
# the Agents.UpdateAgent method.
|
2578
|
+
# Required. Immutable. The default language of the agent as a language tag. See [
|
2579
|
+
# Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
2580
|
+
# language) for a list of the currently supported language codes. This field
|
2581
|
+
# cannot be set by the Agents.UpdateAgent method.
|
2484
2582
|
# Corresponds to the JSON property `defaultLanguageCode`
|
2485
2583
|
# @return [String]
|
2486
2584
|
attr_accessor :default_language_code
|
@@ -2750,6 +2848,45 @@ module Google
|
|
2750
2848
|
end
|
2751
2849
|
end
|
2752
2850
|
|
2851
|
+
# Represents a result from running a test case in an agent environment.
|
2852
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2853
|
+
include Google::Apis::Core::Hashable
|
2854
|
+
|
2855
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
2856
|
+
# /agents//environments//continuousTestResults/`.
|
2857
|
+
# Corresponds to the JSON property `name`
|
2858
|
+
# @return [String]
|
2859
|
+
attr_accessor :name
|
2860
|
+
|
2861
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
2862
|
+
# continuous test run pass or not.
|
2863
|
+
# Corresponds to the JSON property `result`
|
2864
|
+
# @return [String]
|
2865
|
+
attr_accessor :result
|
2866
|
+
|
2867
|
+
# Time when the continuous testing run starts.
|
2868
|
+
# Corresponds to the JSON property `runTime`
|
2869
|
+
# @return [String]
|
2870
|
+
attr_accessor :run_time
|
2871
|
+
|
2872
|
+
# A list of individual test case results names in this continuous test run.
|
2873
|
+
# Corresponds to the JSON property `testCaseResults`
|
2874
|
+
# @return [Array<String>]
|
2875
|
+
attr_accessor :test_case_results
|
2876
|
+
|
2877
|
+
def initialize(**args)
|
2878
|
+
update!(**args)
|
2879
|
+
end
|
2880
|
+
|
2881
|
+
# Update properties of this object
|
2882
|
+
def update!(**args)
|
2883
|
+
@name = args[:name] if args.key?(:name)
|
2884
|
+
@result = args[:result] if args.key?(:result)
|
2885
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
2886
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
2887
|
+
end
|
2888
|
+
end
|
2889
|
+
|
2753
2890
|
# One interaction between a human and virtual agent. The human provides some
|
2754
2891
|
# input and the virtual agent provides a response.
|
2755
2892
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -2780,6 +2917,12 @@ module Google
|
|
2780
2917
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2781
2918
|
include Google::Apis::Core::Hashable
|
2782
2919
|
|
2920
|
+
# Whether sentiment analysis is enabled.
|
2921
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
2922
|
+
# @return [Boolean]
|
2923
|
+
attr_accessor :enable_sentiment_analysis
|
2924
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
2925
|
+
|
2783
2926
|
# Parameters that need to be injected into the conversation during intent
|
2784
2927
|
# detection.
|
2785
2928
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2807,6 +2950,7 @@ module Google
|
|
2807
2950
|
|
2808
2951
|
# Update properties of this object
|
2809
2952
|
def update!(**args)
|
2953
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2810
2954
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2811
2955
|
@input = args[:input] if args.key?(:input)
|
2812
2956
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -2984,6 +3128,14 @@ module Google
|
|
2984
3128
|
class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
2985
3129
|
include Google::Apis::Core::Hashable
|
2986
3130
|
|
3131
|
+
# Indicates whether the partial response can be cancelled when a later response
|
3132
|
+
# arrives. e.g. if the agent specified some music as partial response, it can be
|
3133
|
+
# cancelled.
|
3134
|
+
# Corresponds to the JSON property `allowCancellation`
|
3135
|
+
# @return [Boolean]
|
3136
|
+
attr_accessor :allow_cancellation
|
3137
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
3138
|
+
|
2987
3139
|
# The audio data bytes encoded as specified in the request. Note: The output
|
2988
3140
|
# audio is generated based on the values of default platform text responses
|
2989
3141
|
# found in the `query_result.response_messages` field. If multiple default text
|
@@ -3013,16 +3165,23 @@ module Google
|
|
3013
3165
|
# @return [String]
|
3014
3166
|
attr_accessor :response_id
|
3015
3167
|
|
3168
|
+
# Response type.
|
3169
|
+
# Corresponds to the JSON property `responseType`
|
3170
|
+
# @return [String]
|
3171
|
+
attr_accessor :response_type
|
3172
|
+
|
3016
3173
|
def initialize(**args)
|
3017
3174
|
update!(**args)
|
3018
3175
|
end
|
3019
3176
|
|
3020
3177
|
# Update properties of this object
|
3021
3178
|
def update!(**args)
|
3179
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
3022
3180
|
@output_audio = args[:output_audio] if args.key?(:output_audio)
|
3023
3181
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
3024
3182
|
@query_result = args[:query_result] if args.key?(:query_result)
|
3025
3183
|
@response_id = args[:response_id] if args.key?(:response_id)
|
3184
|
+
@response_type = args[:response_type] if args.key?(:response_type)
|
3026
3185
|
end
|
3027
3186
|
end
|
3028
3187
|
|
@@ -4143,6 +4302,18 @@ module Google
|
|
4143
4302
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
4144
4303
|
attr_accessor :messages
|
4145
4304
|
|
4305
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
4306
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
4307
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
4308
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
4309
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
4310
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
4311
|
+
# webhooks.
|
4312
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
4313
|
+
# @return [Boolean]
|
4314
|
+
attr_accessor :return_partial_responses
|
4315
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
4316
|
+
|
4146
4317
|
# Set parameter values before executing the webhook.
|
4147
4318
|
# Corresponds to the JSON property `setParameterActions`
|
4148
4319
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -4167,6 +4338,7 @@ module Google
|
|
4167
4338
|
def update!(**args)
|
4168
4339
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
4169
4340
|
@messages = args[:messages] if args.key?(:messages)
|
4341
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
4170
4342
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
4171
4343
|
@tag = args[:tag] if args.key?(:tag)
|
4172
4344
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -4834,6 +5006,32 @@ module Google
|
|
4834
5006
|
end
|
4835
5007
|
end
|
4836
5008
|
|
5009
|
+
# The response message for Environments.ListTestCaseResults.
|
5010
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
5011
|
+
include Google::Apis::Core::Hashable
|
5012
|
+
|
5013
|
+
# The list of continuous test results.
|
5014
|
+
# Corresponds to the JSON property `continuousTestResults`
|
5015
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult>]
|
5016
|
+
attr_accessor :continuous_test_results
|
5017
|
+
|
5018
|
+
# Token to retrieve the next page of results, or empty if there are no more
|
5019
|
+
# results in the list.
|
5020
|
+
# Corresponds to the JSON property `nextPageToken`
|
5021
|
+
# @return [String]
|
5022
|
+
attr_accessor :next_page_token
|
5023
|
+
|
5024
|
+
def initialize(**args)
|
5025
|
+
update!(**args)
|
5026
|
+
end
|
5027
|
+
|
5028
|
+
# Update properties of this object
|
5029
|
+
def update!(**args)
|
5030
|
+
@continuous_test_results = args[:continuous_test_results] if args.key?(:continuous_test_results)
|
5031
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
5032
|
+
end
|
5033
|
+
end
|
5034
|
+
|
4837
5035
|
# The response message for EntityTypes.ListEntityTypes.
|
4838
5036
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
4839
5037
|
include Google::Apis::Core::Hashable
|
@@ -5731,11 +5929,11 @@ module Google
|
|
5731
5929
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
5732
5930
|
|
5733
5931
|
# The unique identifier of the page to override the current page in the session.
|
5734
|
-
# Format: `projects//locations//agents//pages/`. If `current_page` is
|
5735
|
-
# the previous state of the session will be ignored by Dialogflow,
|
5736
|
-
# previous page and the previous session parameters. In most cases,
|
5737
|
-
# and parameters should be configured together to direct a session
|
5738
|
-
# state.
|
5932
|
+
# Format: `projects//locations//agents//flows//pages/`. If `current_page` is
|
5933
|
+
# specified, the previous state of the session will be ignored by Dialogflow,
|
5934
|
+
# including the previous page and the previous session parameters. In most cases,
|
5935
|
+
# current_page and parameters should be configured together to direct a session
|
5936
|
+
# to a specific state.
|
5739
5937
|
# Corresponds to the JSON property `currentPage`
|
5740
5938
|
# @return [String]
|
5741
5939
|
attr_accessor :current_page
|
@@ -6348,6 +6546,58 @@ module Google
|
|
6348
6546
|
end
|
6349
6547
|
end
|
6350
6548
|
|
6549
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
6550
|
+
# operation.
|
6551
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
6552
|
+
include Google::Apis::Core::Hashable
|
6553
|
+
|
6554
|
+
# The test errors.
|
6555
|
+
# Corresponds to the JSON property `errors`
|
6556
|
+
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError>]
|
6557
|
+
attr_accessor :errors
|
6558
|
+
|
6559
|
+
def initialize(**args)
|
6560
|
+
update!(**args)
|
6561
|
+
end
|
6562
|
+
|
6563
|
+
# Update properties of this object
|
6564
|
+
def update!(**args)
|
6565
|
+
@errors = args[:errors] if args.key?(:errors)
|
6566
|
+
end
|
6567
|
+
end
|
6568
|
+
|
6569
|
+
# The request message for Environments.RunContinuousTest.
|
6570
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
6571
|
+
include Google::Apis::Core::Hashable
|
6572
|
+
|
6573
|
+
def initialize(**args)
|
6574
|
+
update!(**args)
|
6575
|
+
end
|
6576
|
+
|
6577
|
+
# Update properties of this object
|
6578
|
+
def update!(**args)
|
6579
|
+
end
|
6580
|
+
end
|
6581
|
+
|
6582
|
+
# The response message for Environments.RunContinuousTest.
|
6583
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
6584
|
+
include Google::Apis::Core::Hashable
|
6585
|
+
|
6586
|
+
# Represents a result from running a test case in an agent environment.
|
6587
|
+
# Corresponds to the JSON property `continuousTestResult`
|
6588
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
6589
|
+
attr_accessor :continuous_test_result
|
6590
|
+
|
6591
|
+
def initialize(**args)
|
6592
|
+
update!(**args)
|
6593
|
+
end
|
6594
|
+
|
6595
|
+
# Update properties of this object
|
6596
|
+
def update!(**args)
|
6597
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
6598
|
+
end
|
6599
|
+
end
|
6600
|
+
|
6351
6601
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
6352
6602
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
6353
6603
|
include Google::Apis::Core::Hashable
|
@@ -6412,10 +6662,11 @@ module Google
|
|
6412
6662
|
# @return [String]
|
6413
6663
|
attr_accessor :display_name
|
6414
6664
|
|
6415
|
-
# DLP inspect template name. Use this
|
6416
|
-
# If empty, we use the default DLP
|
6417
|
-
# one of the following formats: `
|
6418
|
-
#
|
6665
|
+
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
6666
|
+
# template to define inspect base settings. If empty, we use the default DLP
|
6667
|
+
# inspect config. The template name will have one of the following formats: `
|
6668
|
+
# projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `
|
6669
|
+
# organizations//inspectTemplates/`
|
6419
6670
|
# Corresponds to the JSON property `inspectTemplate`
|
6420
6671
|
# @return [String]
|
6421
6672
|
attr_accessor :inspect_template
|
@@ -9844,6 +10095,13 @@ module Google
|
|
9844
10095
|
attr_accessor :all_required_params_present
|
9845
10096
|
alias_method :all_required_params_present?, :all_required_params_present
|
9846
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
|
+
|
9847
10105
|
# Free-form diagnostic information for the associated detect intent request. The
|
9848
10106
|
# fields of this data can change without notice, so you should not write code
|
9849
10107
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9964,6 +10222,7 @@ module Google
|
|
9964
10222
|
def update!(**args)
|
9965
10223
|
@action = args[:action] if args.key?(:action)
|
9966
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)
|
9967
10226
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9968
10227
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9969
10228
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12791,6 +13050,13 @@ module Google
|
|
12791
13050
|
attr_accessor :all_required_params_present
|
12792
13051
|
alias_method :all_required_params_present?, :all_required_params_present
|
12793
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
|
+
|
12794
13060
|
# Free-form diagnostic information for the associated detect intent request. The
|
12795
13061
|
# fields of this data can change without notice, so you should not write code
|
12796
13062
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12916,6 +13182,7 @@ module Google
|
|
12916
13182
|
def update!(**args)
|
12917
13183
|
@action = args[:action] if args.key?(:action)
|
12918
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)
|
12919
13186
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12920
13187
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12921
13188
|
@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.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.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
|
@@ -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
|
@@ -2268,6 +2326,7 @@ module Google
|
|
2268
2326
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
2269
2327
|
# @private
|
2270
2328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2329
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2271
2330
|
hash :injected_parameters, as: 'injectedParameters'
|
2272
2331
|
property :input, as: 'input', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput::Representation
|
2273
2332
|
|
@@ -2412,6 +2471,7 @@ module Google
|
|
2412
2471
|
|
2413
2472
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2414
2473
|
|
2474
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2415
2475
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2416
2476
|
|
2417
2477
|
property :tag, as: 'tag'
|
@@ -2716,6 +2776,22 @@ module Google
|
|
2716
2776
|
end
|
2717
2777
|
end
|
2718
2778
|
|
2779
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
2780
|
+
# @private
|
2781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2782
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3TestError::Representation
|
2783
|
+
|
2784
|
+
end
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
2788
|
+
# @private
|
2789
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2790
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
|
2791
|
+
|
2792
|
+
end
|
2793
|
+
end
|
2794
|
+
|
2719
2795
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
2720
2796
|
# @private
|
2721
2797
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2995,6 +3071,16 @@ module Google
|
|
2995
3071
|
end
|
2996
3072
|
end
|
2997
3073
|
|
3074
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
3075
|
+
# @private
|
3076
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3077
|
+
property :name, as: 'name'
|
3078
|
+
property :result, as: 'result'
|
3079
|
+
property :run_time, as: 'runTime'
|
3080
|
+
collection :test_case_results, as: 'testCaseResults'
|
3081
|
+
end
|
3082
|
+
end
|
3083
|
+
|
2998
3084
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
2999
3085
|
# @private
|
3000
3086
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3008,6 +3094,7 @@ module Google
|
|
3008
3094
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
3009
3095
|
# @private
|
3010
3096
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3097
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
3011
3098
|
hash :injected_parameters, as: 'injectedParameters'
|
3012
3099
|
property :input, as: 'input', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
|
3013
3100
|
|
@@ -3071,12 +3158,14 @@ module Google
|
|
3071
3158
|
class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
3072
3159
|
# @private
|
3073
3160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3161
|
+
property :allow_cancellation, as: 'allowCancellation'
|
3074
3162
|
property :output_audio, :base64 => true, as: 'outputAudio'
|
3075
3163
|
property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation
|
3076
3164
|
|
3077
3165
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult::Representation
|
3078
3166
|
|
3079
3167
|
property :response_id, as: 'responseId'
|
3168
|
+
property :response_type, as: 'responseType'
|
3080
3169
|
end
|
3081
3170
|
end
|
3082
3171
|
|
@@ -3372,6 +3461,7 @@ module Google
|
|
3372
3461
|
|
3373
3462
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
3374
3463
|
|
3464
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
3375
3465
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
3376
3466
|
|
3377
3467
|
property :tag, as: 'tag'
|
@@ -3566,6 +3656,15 @@ module Google
|
|
3566
3656
|
end
|
3567
3657
|
end
|
3568
3658
|
|
3659
|
+
class GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
3660
|
+
# @private
|
3661
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3662
|
+
collection :continuous_test_results, as: 'continuousTestResults', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
3663
|
+
|
3664
|
+
property :next_page_token, as: 'nextPageToken'
|
3665
|
+
end
|
3666
|
+
end
|
3667
|
+
|
3569
3668
|
class GoogleCloudDialogflowCxV3beta1ListEntityTypesResponse
|
3570
3669
|
# @private
|
3571
3670
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3969,6 +4068,28 @@ module Google
|
|
3969
4068
|
end
|
3970
4069
|
end
|
3971
4070
|
|
4071
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
4072
|
+
# @private
|
4073
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4074
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
4075
|
+
|
4076
|
+
end
|
4077
|
+
end
|
4078
|
+
|
4079
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest
|
4080
|
+
# @private
|
4081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4082
|
+
end
|
4083
|
+
end
|
4084
|
+
|
4085
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
4086
|
+
# @private
|
4087
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4088
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
4089
|
+
|
4090
|
+
end
|
4091
|
+
end
|
4092
|
+
|
3972
4093
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
3973
4094
|
# @private
|
3974
4095
|
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::DialogflowV3beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV3beta1::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 a
|
54
|
+
# flow prior to sending it 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::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Agent] google_cloud_dialogflow_cx_v3beta1_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 a flow prior to
|
256
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
257
|
+
# 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 a flow
|
299
|
+
# prior to sending it 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/`.
|
@@ -401,7 +407,9 @@ module Google
|
|
401
407
|
execute_or_queue_command(command, &block)
|
402
408
|
end
|
403
409
|
|
404
|
-
# Deletes the specified entity type.
|
410
|
+
# Deletes the specified entity type. Note: You should always train a flow prior
|
411
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
412
|
+
# com/dialogflow/cx/docs/concept/training).
|
405
413
|
# @param [String] name
|
406
414
|
# Required. The name of the entity type to delete. Format: `projects//locations//
|
407
415
|
# agents//entityTypes/`.
|
@@ -525,7 +533,9 @@ module Google
|
|
525
533
|
execute_or_queue_command(command, &block)
|
526
534
|
end
|
527
535
|
|
528
|
-
# Updates the specified entity type.
|
536
|
+
# Updates the specified entity type. Note: You should always train a flow prior
|
537
|
+
# to sending it queries. See the [training documentation](https://cloud.google.
|
538
|
+
# com/dialogflow/cx/docs/concept/training).
|
529
539
|
# @param [String] name
|
530
540
|
# The unique identifier of the entity type. Required for EntityTypes.
|
531
541
|
# UpdateEntityType. Format: `projects//locations//agents//entityTypes/`.
|
@@ -778,6 +788,77 @@ module Google
|
|
778
788
|
execute_or_queue_command(command, &block)
|
779
789
|
end
|
780
790
|
|
791
|
+
# Kicks off a continuous test under the specified Environment.
|
792
|
+
# @param [String] environment
|
793
|
+
# Required. Format: `projects//locations//agents//environments/`.
|
794
|
+
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest] google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
|
795
|
+
# @param [String] fields
|
796
|
+
# Selector specifying which fields to include in a partial response.
|
797
|
+
# @param [String] quota_user
|
798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
800
|
+
# @param [Google::Apis::RequestOptions] options
|
801
|
+
# Request-specific options
|
802
|
+
#
|
803
|
+
# @yield [result, err] Result & error if block supplied
|
804
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation] parsed result object
|
805
|
+
# @yieldparam err [StandardError] error object if request failed
|
806
|
+
#
|
807
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation]
|
808
|
+
#
|
809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
812
|
+
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)
|
813
|
+
command = make_simple_command(:post, 'v3beta1/{+environment}:runContinuousTest', options)
|
814
|
+
command.request_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunContinuousTestRequest::Representation
|
815
|
+
command.request_object = google_cloud_dialogflow_cx_v3beta1_run_continuous_test_request_object
|
816
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation::Representation
|
817
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleLongrunningOperation
|
818
|
+
command.params['environment'] = environment unless environment.nil?
|
819
|
+
command.query['fields'] = fields unless fields.nil?
|
820
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
821
|
+
execute_or_queue_command(command, &block)
|
822
|
+
end
|
823
|
+
|
824
|
+
# Fetches a list of continuous test results for a given environment.
|
825
|
+
# @param [String] parent
|
826
|
+
# Required. The environment to list results for. Format: `projects//locations//
|
827
|
+
# agents// environments/`.
|
828
|
+
# @param [Fixnum] page_size
|
829
|
+
# The maximum number of items to return in a single page. By default 100 and at
|
830
|
+
# most 1000.
|
831
|
+
# @param [String] page_token
|
832
|
+
# The next_page_token value returned from a previous list request.
|
833
|
+
# @param [String] fields
|
834
|
+
# Selector specifying which fields to include in a partial response.
|
835
|
+
# @param [String] quota_user
|
836
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
837
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
838
|
+
# @param [Google::Apis::RequestOptions] options
|
839
|
+
# Request-specific options
|
840
|
+
#
|
841
|
+
# @yield [result, err] Result & error if block supplied
|
842
|
+
# @yieldparam result [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse] parsed result object
|
843
|
+
# @yieldparam err [StandardError] error object if request failed
|
844
|
+
#
|
845
|
+
# @return [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse]
|
846
|
+
#
|
847
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
848
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
849
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
850
|
+
def list_project_location_agent_environment_continuous_test_results(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
851
|
+
command = make_simple_command(:get, 'v3beta1/{+parent}/continuousTestResults', options)
|
852
|
+
command.response_representation = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse::Representation
|
853
|
+
command.response_class = Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ListContinuousTestResultsResponse
|
854
|
+
command.params['parent'] = parent unless parent.nil?
|
855
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
856
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
857
|
+
command.query['fields'] = fields unless fields.nil?
|
858
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
859
|
+
execute_or_queue_command(command, &block)
|
860
|
+
end
|
861
|
+
|
781
862
|
# Creates an Experiment in the specified Environment.
|
782
863
|
# @param [String] parent
|
783
864
|
# Required. The Agent to create an Environment for. Format: `projects//locations/
|
@@ -1328,7 +1409,9 @@ module Google
|
|
1328
1409
|
execute_or_queue_command(command, &block)
|
1329
1410
|
end
|
1330
1411
|
|
1331
|
-
# Creates a flow in the specified agent.
|
1412
|
+
# Creates a flow in the specified agent. Note: You should always train a flow
|
1413
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1414
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
1332
1415
|
# @param [String] parent
|
1333
1416
|
# Required. The agent to create a flow for. Format: `projects//locations//agents/
|
1334
1417
|
# `.
|
@@ -1521,7 +1604,9 @@ module Google
|
|
1521
1604
|
execute_or_queue_command(command, &block)
|
1522
1605
|
end
|
1523
1606
|
|
1524
|
-
# Imports the specified flow to the specified agent from a binary file.
|
1607
|
+
# Imports the specified flow to the specified agent from a binary file. Note:
|
1608
|
+
# You should always train a flow prior to sending it queries. See the [training
|
1609
|
+
# documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1525
1610
|
# @param [String] parent
|
1526
1611
|
# Required. The agent to import the flow into. Format: `projects//locations//
|
1527
1612
|
# agents/`.
|
@@ -1603,7 +1688,9 @@ module Google
|
|
1603
1688
|
execute_or_queue_command(command, &block)
|
1604
1689
|
end
|
1605
1690
|
|
1606
|
-
# Updates the specified flow.
|
1691
|
+
# Updates the specified flow. Note: You should always train a flow prior to
|
1692
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1693
|
+
# dialogflow/cx/docs/concept/training).
|
1607
1694
|
# @param [String] name
|
1608
1695
|
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
1609
1696
|
# `.
|
@@ -1651,7 +1738,9 @@ module Google
|
|
1651
1738
|
end
|
1652
1739
|
|
1653
1740
|
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1654
|
-
# trained.
|
1741
|
+
# trained. Note: You should always train a flow prior to sending it queries. See
|
1742
|
+
# the [training documentation](https://cloud.google.com/dialogflow/cx/docs/
|
1743
|
+
# concept/training).
|
1655
1744
|
# @param [String] name
|
1656
1745
|
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1657
1746
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
|
@@ -1960,7 +2049,9 @@ module Google
|
|
1960
2049
|
execute_or_queue_command(command, &block)
|
1961
2050
|
end
|
1962
2051
|
|
1963
|
-
# Creates an TransitionRouteGroup in the specified flow.
|
2052
|
+
# Creates an TransitionRouteGroup in the specified flow. Note: You should always
|
2053
|
+
# train a flow prior to sending it queries. See the [training documentation](
|
2054
|
+
# https://cloud.google.com/dialogflow/cx/docs/concept/training).
|
1964
2055
|
# @param [String] parent
|
1965
2056
|
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
1966
2057
|
# locations//agents//flows/`.
|
@@ -2002,7 +2093,9 @@ module Google
|
|
2002
2093
|
execute_or_queue_command(command, &block)
|
2003
2094
|
end
|
2004
2095
|
|
2005
|
-
# Deletes the specified TransitionRouteGroup.
|
2096
|
+
# Deletes the specified TransitionRouteGroup. Note: You should always train a
|
2097
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
2098
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
2006
2099
|
# @param [String] name
|
2007
2100
|
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
2008
2101
|
# locations//agents//flows//transitionRouteGroups/`.
|
@@ -2127,7 +2220,9 @@ module Google
|
|
2127
2220
|
execute_or_queue_command(command, &block)
|
2128
2221
|
end
|
2129
2222
|
|
2130
|
-
# Updates the specified TransitionRouteGroup.
|
2223
|
+
# Updates the specified TransitionRouteGroup. Note: You should always train a
|
2224
|
+
# flow prior to sending it queries. See the [training documentation](https://
|
2225
|
+
# cloud.google.com/dialogflow/cx/docs/concept/training).
|
2131
2226
|
# @param [String] name
|
2132
2227
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
2133
2228
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
@@ -2379,7 +2474,9 @@ module Google
|
|
2379
2474
|
execute_or_queue_command(command, &block)
|
2380
2475
|
end
|
2381
2476
|
|
2382
|
-
# Creates an intent in the specified agent.
|
2477
|
+
# Creates an intent in the specified agent. Note: You should always train a flow
|
2478
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
2479
|
+
# google.com/dialogflow/cx/docs/concept/training).
|
2383
2480
|
# @param [String] parent
|
2384
2481
|
# Required. The agent to create an intent for. Format: `projects//locations//
|
2385
2482
|
# agents/`.
|
@@ -2420,7 +2517,9 @@ module Google
|
|
2420
2517
|
execute_or_queue_command(command, &block)
|
2421
2518
|
end
|
2422
2519
|
|
2423
|
-
# Deletes the specified intent.
|
2520
|
+
# Deletes the specified intent. Note: You should always train a flow prior to
|
2521
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
2522
|
+
# dialogflow/cx/docs/concept/training).
|
2424
2523
|
# @param [String] name
|
2425
2524
|
# Required. The name of the intent to delete. Format: `projects//locations//
|
2426
2525
|
# agents//intents/`.
|
@@ -2537,7 +2636,9 @@ module Google
|
|
2537
2636
|
execute_or_queue_command(command, &block)
|
2538
2637
|
end
|
2539
2638
|
|
2540
|
-
# Updates the specified intent.
|
2639
|
+
# Updates the specified intent. Note: You should always train a flow prior to
|
2640
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
2641
|
+
# dialogflow/cx/docs/concept/training).
|
2541
2642
|
# @param [String] name
|
2542
2643
|
# The unique identifier of the intent. Required for the Intents.UpdateIntent
|
2543
2644
|
# 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_v3beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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-07-05 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.4'
|
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.4'
|
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 V3beta1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -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_v3beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v3beta1/v0.17.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v3beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|