google-apis-dialogflow_v3beta1 0.13.0 → 0.18.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 +80 -22
- data/lib/google/apis/dialogflow_v3beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v3beta1/representations.rb +6 -0
- data/lib/google/apis/dialogflow_v3beta1/service.rb +45 -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: 708c2efd8188774776380f19516c1e824f50df985b889afb2674b7491f31bc65
|
4
|
+
data.tar.gz: 17877b4f0c20b31bce8b6cfb1b3bc5aff647f23352c28e44fe7c20a17acc7593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8550f4d6f60d8ba233c03cb729eff68660562c5ce9b8f3ba7c8bb020208bdd2360c02166d8a1dce73357563f1e9be849757bd11367d87838990a45ed65005be
|
7
|
+
data.tar.gz: 39794049f36d5aea3f1d15c4b40c8400b7f32741c45cbcf81b8a928b4e85a5d5f854273dae24e46cf5acb5aaed96694e44dddb7e9bcb410e25896870f724ba37
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v3beta1
|
2
2
|
|
3
|
+
### v0.18.0 (2021-07-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210706
|
6
|
+
|
7
|
+
### v0.17.0 (2021-06-29)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.4.0
|
10
|
+
|
11
|
+
### v0.16.0 (2021-06-24)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210618
|
14
|
+
|
15
|
+
### v0.15.0 (2021-06-16)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210611
|
18
|
+
|
19
|
+
### v0.14.0 (2021-06-03)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210601
|
22
|
+
* Regenerated using generator version 0.3.0
|
23
|
+
|
3
24
|
### v0.13.0 (2021-05-26)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210524
|
@@ -161,6 +161,12 @@ module Google
|
|
161
161
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
162
162
|
include Google::Apis::Core::Hashable
|
163
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
|
+
|
164
170
|
# Parameters that need to be injected into the conversation during intent
|
165
171
|
# detection.
|
166
172
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -188,6 +194,7 @@ module Google
|
|
188
194
|
|
189
195
|
# Update properties of this object
|
190
196
|
def update!(**args)
|
197
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
191
198
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
192
199
|
@input = args[:input] if args.key?(:input)
|
193
200
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -681,6 +688,18 @@ module Google
|
|
681
688
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage>]
|
682
689
|
attr_accessor :messages
|
683
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
|
+
|
684
703
|
# Set parameter values before executing the webhook.
|
685
704
|
# Corresponds to the JSON property `setParameterActions`
|
686
705
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction>]
|
@@ -705,6 +724,7 @@ module Google
|
|
705
724
|
def update!(**args)
|
706
725
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
707
726
|
@messages = args[:messages] if args.key?(:messages)
|
727
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
708
728
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
709
729
|
@tag = args[:tag] if args.key?(:tag)
|
710
730
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -1047,9 +1067,9 @@ module Google
|
|
1047
1067
|
# letters, digits and the symbols '-' and '_'. International characters are
|
1048
1068
|
# allowed, including letters from unicase alphabets. Keys must start with a
|
1049
1069
|
# letter. Keys and values can be no longer than 63 characters and no more than
|
1050
|
-
# 128 bytes. Prefix "sys
|
1051
|
-
# allowed Dialogflow defined labels include: * sys
|
1052
|
-
# 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
|
1053
1073
|
# intent. "sys.contextual" means the intent is a contextual intent.
|
1054
1074
|
# Corresponds to the JSON property `labels`
|
1055
1075
|
# @return [Hash<String,String>]
|
@@ -2555,10 +2575,10 @@ module Google
|
|
2555
2575
|
# @return [String]
|
2556
2576
|
attr_accessor :avatar_uri
|
2557
2577
|
|
2558
|
-
# Immutable. The default language of the agent as a language tag. See [
|
2559
|
-
# Support](https://cloud.google.com/dialogflow/cx/docs/reference/
|
2560
|
-
# list of the currently supported language codes. This field
|
2561
|
-
# 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.
|
2562
2582
|
# Corresponds to the JSON property `defaultLanguageCode`
|
2563
2583
|
# @return [String]
|
2564
2584
|
attr_accessor :default_language_code
|
@@ -2897,6 +2917,12 @@ module Google
|
|
2897
2917
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2898
2918
|
include Google::Apis::Core::Hashable
|
2899
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
|
+
|
2900
2926
|
# Parameters that need to be injected into the conversation during intent
|
2901
2927
|
# detection.
|
2902
2928
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2924,6 +2950,7 @@ module Google
|
|
2924
2950
|
|
2925
2951
|
# Update properties of this object
|
2926
2952
|
def update!(**args)
|
2953
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2927
2954
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2928
2955
|
@input = args[:input] if args.key?(:input)
|
2929
2956
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -3101,6 +3128,14 @@ module Google
|
|
3101
3128
|
class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
3102
3129
|
include Google::Apis::Core::Hashable
|
3103
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
|
+
|
3104
3139
|
# The audio data bytes encoded as specified in the request. Note: The output
|
3105
3140
|
# audio is generated based on the values of default platform text responses
|
3106
3141
|
# found in the `query_result.response_messages` field. If multiple default text
|
@@ -3130,16 +3165,23 @@ module Google
|
|
3130
3165
|
# @return [String]
|
3131
3166
|
attr_accessor :response_id
|
3132
3167
|
|
3168
|
+
# Response type.
|
3169
|
+
# Corresponds to the JSON property `responseType`
|
3170
|
+
# @return [String]
|
3171
|
+
attr_accessor :response_type
|
3172
|
+
|
3133
3173
|
def initialize(**args)
|
3134
3174
|
update!(**args)
|
3135
3175
|
end
|
3136
3176
|
|
3137
3177
|
# Update properties of this object
|
3138
3178
|
def update!(**args)
|
3179
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
3139
3180
|
@output_audio = args[:output_audio] if args.key?(:output_audio)
|
3140
3181
|
@output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
|
3141
3182
|
@query_result = args[:query_result] if args.key?(:query_result)
|
3142
3183
|
@response_id = args[:response_id] if args.key?(:response_id)
|
3184
|
+
@response_type = args[:response_type] if args.key?(:response_type)
|
3143
3185
|
end
|
3144
3186
|
end
|
3145
3187
|
|
@@ -3484,9 +3526,11 @@ module Google
|
|
3484
3526
|
# @return [String]
|
3485
3527
|
attr_accessor :end_time
|
3486
3528
|
|
3487
|
-
# Maximum number of days to run the
|
3488
|
-
#
|
3489
|
-
# value and maximum will be 6 days.
|
3529
|
+
# LINT.IfChange(default_experiment_length) Maximum number of days to run the
|
3530
|
+
# experiment. If auto-rollout is not enabled, default value and maximum will be
|
3531
|
+
# 30 days. If auto-rollout is enabled, default value and maximum will be 6 days.
|
3532
|
+
# LINT.ThenChange(//depot/google3/cloud/ml/api/conversation/analytics/compute.cc:
|
3533
|
+
# default_experiment_length)
|
3490
3534
|
# Corresponds to the JSON property `experimentLength`
|
3491
3535
|
# @return [String]
|
3492
3536
|
attr_accessor :experiment_length
|
@@ -3513,9 +3557,9 @@ module Google
|
|
3513
3557
|
# @return [String]
|
3514
3558
|
attr_accessor :start_time
|
3515
3559
|
|
3516
|
-
# The current state of the experiment. Transition triggered by
|
3517
|
-
# StartExperiment:
|
3518
|
-
# CancelExperiment:
|
3560
|
+
# The current state of the experiment. Transition triggered by Experiments.
|
3561
|
+
# StartExperiment: DRAFT->RUNNING. Transition triggered by Experiments.
|
3562
|
+
# CancelExperiment: DRAFT->DONE or RUNNING->DONE.
|
3519
3563
|
# Corresponds to the JSON property `state`
|
3520
3564
|
# @return [String]
|
3521
3565
|
attr_accessor :state
|
@@ -4260,6 +4304,18 @@ module Google
|
|
4260
4304
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
4261
4305
|
attr_accessor :messages
|
4262
4306
|
|
4307
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
4308
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
4309
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
4310
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
4311
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
4312
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
4313
|
+
# webhooks.
|
4314
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
4315
|
+
# @return [Boolean]
|
4316
|
+
attr_accessor :return_partial_responses
|
4317
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
4318
|
+
|
4263
4319
|
# Set parameter values before executing the webhook.
|
4264
4320
|
# Corresponds to the JSON property `setParameterActions`
|
4265
4321
|
# @return [Array<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -4284,6 +4340,7 @@ module Google
|
|
4284
4340
|
def update!(**args)
|
4285
4341
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
4286
4342
|
@messages = args[:messages] if args.key?(:messages)
|
4343
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
4287
4344
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
4288
4345
|
@tag = args[:tag] if args.key?(:tag)
|
4289
4346
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -5874,11 +5931,11 @@ module Google
|
|
5874
5931
|
alias_method :analyze_query_text_sentiment?, :analyze_query_text_sentiment
|
5875
5932
|
|
5876
5933
|
# The unique identifier of the page to override the current page in the session.
|
5877
|
-
# Format: `projects//locations//agents//pages/`. If `current_page` is
|
5878
|
-
# the previous state of the session will be ignored by Dialogflow,
|
5879
|
-
# previous page and the previous session parameters. In most cases,
|
5880
|
-
# and parameters should be configured together to direct a session
|
5881
|
-
# state.
|
5934
|
+
# Format: `projects//locations//agents//flows//pages/`. If `current_page` is
|
5935
|
+
# specified, the previous state of the session will be ignored by Dialogflow,
|
5936
|
+
# including the previous page and the previous session parameters. In most cases,
|
5937
|
+
# current_page and parameters should be configured together to direct a session
|
5938
|
+
# to a specific state.
|
5882
5939
|
# Corresponds to the JSON property `currentPage`
|
5883
5940
|
# @return [String]
|
5884
5941
|
attr_accessor :current_page
|
@@ -6607,10 +6664,11 @@ module Google
|
|
6607
6664
|
# @return [String]
|
6608
6665
|
attr_accessor :display_name
|
6609
6666
|
|
6610
|
-
# DLP inspect template name. Use this
|
6611
|
-
# If empty, we use the default DLP
|
6612
|
-
# one of the following formats: `
|
6613
|
-
#
|
6667
|
+
# [DLP](https://cloud.google.com/dlp/docs) inspect template name. Use this
|
6668
|
+
# template to define inspect base settings. If empty, we use the default DLP
|
6669
|
+
# inspect config. The template name will have one of the following formats: `
|
6670
|
+
# projects//inspectTemplates/` OR `projects//locations//inspectTemplates/` OR `
|
6671
|
+
# organizations//inspectTemplates/`
|
6614
6672
|
# Corresponds to the JSON property `inspectTemplate`
|
6615
6673
|
# @return [String]
|
6616
6674
|
attr_accessor :inspect_template
|
@@ -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.18.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 = "20210706"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2326,6 +2326,7 @@ module Google
|
|
2326
2326
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
2327
2327
|
# @private
|
2328
2328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2329
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2329
2330
|
hash :injected_parameters, as: 'injectedParameters'
|
2330
2331
|
property :input, as: 'input', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3QueryInput::Representation
|
2331
2332
|
|
@@ -2470,6 +2471,7 @@ module Google
|
|
2470
2471
|
|
2471
2472
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2472
2473
|
|
2474
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2473
2475
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2474
2476
|
|
2475
2477
|
property :tag, as: 'tag'
|
@@ -3092,6 +3094,7 @@ module Google
|
|
3092
3094
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
3093
3095
|
# @private
|
3094
3096
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3097
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
3095
3098
|
hash :injected_parameters, as: 'injectedParameters'
|
3096
3099
|
property :input, as: 'input', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
|
3097
3100
|
|
@@ -3155,12 +3158,14 @@ module Google
|
|
3155
3158
|
class GoogleCloudDialogflowCxV3beta1DetectIntentResponse
|
3156
3159
|
# @private
|
3157
3160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3161
|
+
property :allow_cancellation, as: 'allowCancellation'
|
3158
3162
|
property :output_audio, :base64 => true, as: 'outputAudio'
|
3159
3163
|
property :output_audio_config, as: 'outputAudioConfig', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1OutputAudioConfig::Representation
|
3160
3164
|
|
3161
3165
|
property :query_result, as: 'queryResult', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1QueryResult::Representation
|
3162
3166
|
|
3163
3167
|
property :response_id, as: 'responseId'
|
3168
|
+
property :response_type, as: 'responseType'
|
3164
3169
|
end
|
3165
3170
|
end
|
3166
3171
|
|
@@ -3456,6 +3461,7 @@ module Google
|
|
3456
3461
|
|
3457
3462
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
3458
3463
|
|
3464
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
3459
3465
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
3460
3466
|
|
3461
3467
|
property :tag, as: 'tag'
|
@@ -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/`.
|
@@ -1399,7 +1409,9 @@ module Google
|
|
1399
1409
|
execute_or_queue_command(command, &block)
|
1400
1410
|
end
|
1401
1411
|
|
1402
|
-
# 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).
|
1403
1415
|
# @param [String] parent
|
1404
1416
|
# Required. The agent to create a flow for. Format: `projects//locations//agents/
|
1405
1417
|
# `.
|
@@ -1592,7 +1604,9 @@ module Google
|
|
1592
1604
|
execute_or_queue_command(command, &block)
|
1593
1605
|
end
|
1594
1606
|
|
1595
|
-
# 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).
|
1596
1610
|
# @param [String] parent
|
1597
1611
|
# Required. The agent to import the flow into. Format: `projects//locations//
|
1598
1612
|
# agents/`.
|
@@ -1674,7 +1688,9 @@ module Google
|
|
1674
1688
|
execute_or_queue_command(command, &block)
|
1675
1689
|
end
|
1676
1690
|
|
1677
|
-
# 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).
|
1678
1694
|
# @param [String] name
|
1679
1695
|
# The unique identifier of the flow. Format: `projects//locations//agents//flows/
|
1680
1696
|
# `.
|
@@ -1722,7 +1738,9 @@ module Google
|
|
1722
1738
|
end
|
1723
1739
|
|
1724
1740
|
# Trains the specified flow. Note that only the flow in 'draft' environment is
|
1725
|
-
# 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).
|
1726
1744
|
# @param [String] name
|
1727
1745
|
# Required. The flow to train. Format: `projects//locations//agents//flows/`.
|
1728
1746
|
# @param [Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TrainFlowRequest] google_cloud_dialogflow_cx_v3beta1_train_flow_request_object
|
@@ -2031,7 +2049,9 @@ module Google
|
|
2031
2049
|
execute_or_queue_command(command, &block)
|
2032
2050
|
end
|
2033
2051
|
|
2034
|
-
# 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).
|
2035
2055
|
# @param [String] parent
|
2036
2056
|
# Required. The flow to create an TransitionRouteGroup for. Format: `projects//
|
2037
2057
|
# locations//agents//flows/`.
|
@@ -2073,7 +2093,9 @@ module Google
|
|
2073
2093
|
execute_or_queue_command(command, &block)
|
2074
2094
|
end
|
2075
2095
|
|
2076
|
-
# 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).
|
2077
2099
|
# @param [String] name
|
2078
2100
|
# Required. The name of the TransitionRouteGroup to delete. Format: `projects//
|
2079
2101
|
# locations//agents//flows//transitionRouteGroups/`.
|
@@ -2198,7 +2220,9 @@ module Google
|
|
2198
2220
|
execute_or_queue_command(command, &block)
|
2199
2221
|
end
|
2200
2222
|
|
2201
|
-
# 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).
|
2202
2226
|
# @param [String] name
|
2203
2227
|
# The unique identifier of the transition route group. TransitionRouteGroups.
|
2204
2228
|
# CreateTransitionRouteGroup populates the name automatically. Format: `projects/
|
@@ -2450,7 +2474,9 @@ module Google
|
|
2450
2474
|
execute_or_queue_command(command, &block)
|
2451
2475
|
end
|
2452
2476
|
|
2453
|
-
# 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).
|
2454
2480
|
# @param [String] parent
|
2455
2481
|
# Required. The agent to create an intent for. Format: `projects//locations//
|
2456
2482
|
# agents/`.
|
@@ -2491,7 +2517,9 @@ module Google
|
|
2491
2517
|
execute_or_queue_command(command, &block)
|
2492
2518
|
end
|
2493
2519
|
|
2494
|
-
# 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).
|
2495
2523
|
# @param [String] name
|
2496
2524
|
# Required. The name of the intent to delete. Format: `projects//locations//
|
2497
2525
|
# agents//intents/`.
|
@@ -2608,7 +2636,9 @@ module Google
|
|
2608
2636
|
execute_or_queue_command(command, &block)
|
2609
2637
|
end
|
2610
2638
|
|
2611
|
-
# 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).
|
2612
2642
|
# @param [String] name
|
2613
2643
|
# The unique identifier of the intent. Required for the Intents.UpdateIntent
|
2614
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.18.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-07-12 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.18.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: []
|