google-apis-dialogflow_v2 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15cce5ca32e9d41dece5c18583f5fa58464dc31e69f097890dec48d388ce0e70
|
4
|
+
data.tar.gz: e5423b7498671f6ef6a342008aec6d62d96acfabe712eae262994b58437b6445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 119dfabc5f2b52d2d90ff862d930f81808c25da3350ed024072dd9260582c60d1d23294eb1a50763a3703da6247bdac91f9f4e11c06114a786fad612b2067830
|
7
|
+
data.tar.gz: 9558d71b945f3891548e198ca62a7922fed0ce4de3e210bb62410eb7d4653bd8e9b7f2aa49f083116a314a23af8f3e6f76fd755c2231c56df58b9777d7cdd371
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.18.0 (2021-07-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210706
|
6
|
+
|
7
|
+
### v0.17.0 (2021-06-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210625
|
10
|
+
* Regenerated using generator version 0.4.0
|
11
|
+
|
12
|
+
### v0.16.0 (2021-06-24)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210618
|
15
|
+
|
16
|
+
### v0.15.0 (2021-06-16)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210611
|
19
|
+
|
20
|
+
### v0.14.0 (2021-06-03)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210601
|
23
|
+
* Regenerated using generator version 0.3.0
|
24
|
+
|
3
25
|
### v0.13.0 (2021-05-26)
|
4
26
|
|
5
27
|
* 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::DialogflowV2::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::DialogflowV2::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>]
|
@@ -2679,6 +2699,12 @@ module Google
|
|
2679
2699
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2680
2700
|
include Google::Apis::Core::Hashable
|
2681
2701
|
|
2702
|
+
# Whether sentiment analysis is enabled.
|
2703
|
+
# Corresponds to the JSON property `enableSentimentAnalysis`
|
2704
|
+
# @return [Boolean]
|
2705
|
+
attr_accessor :enable_sentiment_analysis
|
2706
|
+
alias_method :enable_sentiment_analysis?, :enable_sentiment_analysis
|
2707
|
+
|
2682
2708
|
# Parameters that need to be injected into the conversation during intent
|
2683
2709
|
# detection.
|
2684
2710
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2706,6 +2732,7 @@ module Google
|
|
2706
2732
|
|
2707
2733
|
# Update properties of this object
|
2708
2734
|
def update!(**args)
|
2735
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2709
2736
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2710
2737
|
@input = args[:input] if args.key?(:input)
|
2711
2738
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -3199,6 +3226,18 @@ module Google
|
|
3199
3226
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
3200
3227
|
attr_accessor :messages
|
3201
3228
|
|
3229
|
+
# Whether Dialogflow should return currently queued fulfillment response
|
3230
|
+
# messages in streaming APIs. If a webhook is specified, it happens before
|
3231
|
+
# Dialogflow invokes webhook. Warning: 1) This flag only affects streaming API.
|
3232
|
+
# Responses are still queued and returned once in non-streaming API. 2) The flag
|
3233
|
+
# can be enabled in any fulfillment but only the first 3 partial responses will
|
3234
|
+
# be returned. You may only want to apply it to fulfillments that have slow
|
3235
|
+
# webhooks.
|
3236
|
+
# Corresponds to the JSON property `returnPartialResponses`
|
3237
|
+
# @return [Boolean]
|
3238
|
+
attr_accessor :return_partial_responses
|
3239
|
+
alias_method :return_partial_responses?, :return_partial_responses
|
3240
|
+
|
3202
3241
|
# Set parameter values before executing the webhook.
|
3203
3242
|
# Corresponds to the JSON property `setParameterActions`
|
3204
3243
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -3223,6 +3262,7 @@ module Google
|
|
3223
3262
|
def update!(**args)
|
3224
3263
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
3225
3264
|
@messages = args[:messages] if args.key?(:messages)
|
3265
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
3226
3266
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
3227
3267
|
@tag = args[:tag] if args.key?(:tag)
|
3228
3268
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -5560,6 +5600,19 @@ module Google
|
|
5560
5600
|
class GoogleCloudDialogflowV2AutomatedAgentReply
|
5561
5601
|
include Google::Apis::Core::Hashable
|
5562
5602
|
|
5603
|
+
# Indicates whether the partial automated agent reply is interruptible when a
|
5604
|
+
# later reply message arrives. e.g. if the agent specified some music as partial
|
5605
|
+
# response, it can be cancelled.
|
5606
|
+
# Corresponds to the JSON property `allowCancellation`
|
5607
|
+
# @return [Boolean]
|
5608
|
+
attr_accessor :allow_cancellation
|
5609
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
5610
|
+
|
5611
|
+
# AutomatedAgentReply type.
|
5612
|
+
# Corresponds to the JSON property `automatedAgentReplyType`
|
5613
|
+
# @return [String]
|
5614
|
+
attr_accessor :automated_agent_reply_type
|
5615
|
+
|
5563
5616
|
# The message returned from the DetectIntent method.
|
5564
5617
|
# Corresponds to the JSON property `detectIntentResponse`
|
5565
5618
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse]
|
@@ -5571,6 +5624,8 @@ module Google
|
|
5571
5624
|
|
5572
5625
|
# Update properties of this object
|
5573
5626
|
def update!(**args)
|
5627
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
5628
|
+
@automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
|
5574
5629
|
@detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
|
5575
5630
|
end
|
5576
5631
|
end
|
@@ -6537,7 +6592,7 @@ module Google
|
|
6537
6592
|
|
6538
6593
|
# Output only. The unique identifier of this agent environment. Supported
|
6539
6594
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6540
|
-
# environments/`
|
6595
|
+
# environments/` The environment ID for the default environment is `-`.
|
6541
6596
|
# Corresponds to the JSON property `name`
|
6542
6597
|
# @return [String]
|
6543
6598
|
attr_accessor :name
|
@@ -6593,7 +6648,7 @@ module Google
|
|
6593
6648
|
|
6594
6649
|
# Output only. The name of the environment this history is for. Supported
|
6595
6650
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6596
|
-
# environments/`
|
6651
|
+
# environments/` The environment ID for the default environment is `-`.
|
6597
6652
|
# Corresponds to the JSON property `parent`
|
6598
6653
|
# @return [String]
|
6599
6654
|
attr_accessor :parent
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 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
|
@@ -2356,6 +2356,7 @@ module Google
|
|
2356
2356
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
2357
2357
|
# @private
|
2358
2358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2359
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2359
2360
|
hash :injected_parameters, as: 'injectedParameters'
|
2360
2361
|
property :input, as: 'input', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3QueryInput::Representation
|
2361
2362
|
|
@@ -2500,6 +2501,7 @@ module Google
|
|
2500
2501
|
|
2501
2502
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2502
2503
|
|
2504
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2503
2505
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2504
2506
|
|
2505
2507
|
property :tag, as: 'tag'
|
@@ -3066,6 +3068,7 @@ module Google
|
|
3066
3068
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
3067
3069
|
# @private
|
3068
3070
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3071
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
3069
3072
|
hash :injected_parameters, as: 'injectedParameters'
|
3070
3073
|
property :input, as: 'input', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
|
3071
3074
|
|
@@ -3210,6 +3213,7 @@ module Google
|
|
3210
3213
|
|
3211
3214
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
3212
3215
|
|
3216
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
3213
3217
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
3214
3218
|
|
3215
3219
|
property :tag, as: 'tag'
|
@@ -3854,6 +3858,8 @@ module Google
|
|
3854
3858
|
class GoogleCloudDialogflowV2AutomatedAgentReply
|
3855
3859
|
# @private
|
3856
3860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3861
|
+
property :allow_cancellation, as: 'allowCancellation'
|
3862
|
+
property :automated_agent_reply_type, as: 'automatedAgentReplyType'
|
3857
3863
|
property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse::Representation
|
3858
3864
|
|
3859
3865
|
end
|
@@ -112,7 +112,9 @@ module Google
|
|
112
112
|
execute_or_queue_command(command, &block)
|
113
113
|
end
|
114
114
|
|
115
|
-
# Creates/updates the specified agent.
|
115
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
116
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
117
|
+
# google.com/dialogflow/es/docs/training).
|
116
118
|
# @param [String] parent
|
117
119
|
# Required. The project of this agent. Format: `projects/`.
|
118
120
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
@@ -148,7 +150,7 @@ module Google
|
|
148
150
|
execute_or_queue_command(command, &block)
|
149
151
|
end
|
150
152
|
|
151
|
-
# Exports the specified agent to a ZIP file.
|
153
|
+
# Exports the specified agent to a ZIP file.
|
152
154
|
# @param [String] parent
|
153
155
|
# Required. The project that the agent to export is associated with. Format: `
|
154
156
|
# projects/`.
|
@@ -255,9 +257,11 @@ module Google
|
|
255
257
|
# the import, the imported draft agent will be trained automatically (unless
|
256
258
|
# disabled in agent settings). However, once the import is done, training may
|
257
259
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
258
|
-
# returns in order to train explicitly.
|
259
|
-
#
|
260
|
-
#
|
260
|
+
# returns in order to train explicitly. An operation which tracks when importing
|
261
|
+
# is complete. It only tracks when the draft agent is updated not when it is
|
262
|
+
# done training. Note: You should always train an agent prior to sending it
|
263
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
264
|
+
# es/docs/training).
|
261
265
|
# @param [String] parent
|
262
266
|
# Required. The project that the agent to import is associated with. Format: `
|
263
267
|
# projects/`.
|
@@ -296,9 +300,11 @@ module Google
|
|
296
300
|
# are deleted. After the restore, the restored draft agent will be trained
|
297
301
|
# automatically (unless disabled in agent settings). However, once the restore
|
298
302
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
299
|
-
# for the operation it returns in order to train explicitly.
|
300
|
-
#
|
301
|
-
#
|
303
|
+
# for the operation it returns in order to train explicitly. An operation which
|
304
|
+
# tracks when restoring is complete. It only tracks when the draft agent is
|
305
|
+
# updated not when it is done training. Note: You should always train an agent
|
306
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
307
|
+
# google.com/dialogflow/es/docs/training).
|
302
308
|
# @param [String] parent
|
303
309
|
# Required. The project that the agent to restore is associated with. Format: `
|
304
310
|
# projects/`.
|
@@ -373,7 +379,9 @@ module Google
|
|
373
379
|
execute_or_queue_command(command, &block)
|
374
380
|
end
|
375
381
|
|
376
|
-
# Trains the specified agent.
|
382
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
383
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
384
|
+
# dialogflow/es/docs/training).
|
377
385
|
# @param [String] parent
|
378
386
|
# Required. The project that the agent to train is associated with. Format: `
|
379
387
|
# projects/`.
|
@@ -446,7 +454,9 @@ module Google
|
|
446
454
|
execute_or_queue_command(command, &block)
|
447
455
|
end
|
448
456
|
|
449
|
-
# Deletes entity types in the specified agent.
|
457
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
458
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
459
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
450
460
|
# @param [String] parent
|
451
461
|
# Required. The name of the agent to delete all entities types for. Format: `
|
452
462
|
# projects//agent`.
|
@@ -480,7 +490,9 @@ module Google
|
|
480
490
|
execute_or_queue_command(command, &block)
|
481
491
|
end
|
482
492
|
|
483
|
-
# Updates/Creates multiple entity types in the specified agent.
|
493
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
494
|
+
# always train an agent prior to sending it queries. See the [training
|
495
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
484
496
|
# @param [String] parent
|
485
497
|
# Required. The name of the agent to update or create entity types in. Format: `
|
486
498
|
# projects//agent`.
|
@@ -514,7 +526,9 @@ module Google
|
|
514
526
|
execute_or_queue_command(command, &block)
|
515
527
|
end
|
516
528
|
|
517
|
-
# Creates an entity type in the specified agent.
|
529
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
530
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
531
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
518
532
|
# @param [String] parent
|
519
533
|
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
520
534
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
@@ -553,7 +567,9 @@ module Google
|
|
553
567
|
execute_or_queue_command(command, &block)
|
554
568
|
end
|
555
569
|
|
556
|
-
# Deletes the specified entity type.
|
570
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
571
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
572
|
+
# google.com/dialogflow/es/docs/training).
|
557
573
|
# @param [String] name
|
558
574
|
# Required. The name of the entity type to delete. Format: `projects//agent/
|
559
575
|
# entityTypes/`.
|
@@ -663,7 +679,9 @@ module Google
|
|
663
679
|
execute_or_queue_command(command, &block)
|
664
680
|
end
|
665
681
|
|
666
|
-
# Updates the specified entity type.
|
682
|
+
# Updates the specified entity type. Note: You should always train an agent
|
683
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
684
|
+
# google.com/dialogflow/es/docs/training).
|
667
685
|
# @param [String] name
|
668
686
|
# The unique identifier of the entity type. Required for EntityTypes.
|
669
687
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
@@ -707,7 +725,9 @@ module Google
|
|
707
725
|
execute_or_queue_command(command, &block)
|
708
726
|
end
|
709
727
|
|
710
|
-
# Creates multiple new entities in the specified entity type.
|
728
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
729
|
+
# always train an agent prior to sending it queries. See the [training
|
730
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
711
731
|
# @param [String] parent
|
712
732
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
713
733
|
# /agent/entityTypes/`.
|
@@ -741,7 +761,9 @@ module Google
|
|
741
761
|
execute_or_queue_command(command, &block)
|
742
762
|
end
|
743
763
|
|
744
|
-
# Deletes entities in the specified entity type.
|
764
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
765
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
766
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
745
767
|
# @param [String] parent
|
746
768
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
747
769
|
# /agent/entityTypes/`.
|
@@ -777,7 +799,9 @@ module Google
|
|
777
799
|
|
778
800
|
# Updates or creates multiple entities in the specified entity type. This method
|
779
801
|
# does not affect entities in the entity type that aren't explicitly specified
|
780
|
-
# in the request.
|
802
|
+
# in the request. Note: You should always train an agent prior to sending it
|
803
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
804
|
+
# es/docs/training).
|
781
805
|
# @param [String] parent
|
782
806
|
# Required. The name of the entity type to update or create entities in. Format:
|
783
807
|
# `projects//agent/entityTypes/`.
|
@@ -851,7 +875,8 @@ module Google
|
|
851
875
|
# Deletes the specified agent environment.
|
852
876
|
# @param [String] name
|
853
877
|
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
854
|
-
# environments/` - `projects//locations//agent/environments/`
|
878
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
879
|
+
# for the default environment is `-`.
|
855
880
|
# @param [String] fields
|
856
881
|
# Selector specifying which fields to include in a partial response.
|
857
882
|
# @param [String] quota_user
|
@@ -882,7 +907,8 @@ module Google
|
|
882
907
|
# Retrieves the specified agent environment.
|
883
908
|
# @param [String] name
|
884
909
|
# Required. The name of the environment. Supported formats: - `projects//agent/
|
885
|
-
# environments/` - `projects//locations//agent/environments/`
|
910
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
911
|
+
# for the default environment is `-`.
|
886
912
|
# @param [String] fields
|
887
913
|
# Selector specifying which fields to include in a partial response.
|
888
914
|
# @param [String] quota_user
|
@@ -914,7 +940,7 @@ module Google
|
|
914
940
|
# @param [String] parent
|
915
941
|
# Required. The name of the environment to retrieve history for. Supported
|
916
942
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
917
|
-
# environments/`
|
943
|
+
# environments/` The environment ID for the default environment is `-`.
|
918
944
|
# @param [Fixnum] page_size
|
919
945
|
# Optional. The maximum number of items to return in a single page. By default
|
920
946
|
# 100 and at most 1000.
|
@@ -949,7 +975,7 @@ module Google
|
|
949
975
|
execute_or_queue_command(command, &block)
|
950
976
|
end
|
951
977
|
|
952
|
-
# Returns the list of all non-
|
978
|
+
# Returns the list of all non-default environments of the specified agent.
|
953
979
|
# @param [String] parent
|
954
980
|
# Required. The agent to list all environments from. Format: - `projects//agent`
|
955
981
|
# - `projects//locations//agent`
|
@@ -991,22 +1017,22 @@ module Google
|
|
991
1017
|
# agent versions into the environment. When an environment is pointed to a new
|
992
1018
|
# agent version by setting `environment.agent_version`, the environment is
|
993
1019
|
# temporarily set to the `LOADING` state. During that time, the environment
|
994
|
-
#
|
1020
|
+
# continues serving the previous version of the agent. After the new agent
|
995
1021
|
# version is done loading, the environment is set back to the `RUNNING` state.
|
996
|
-
# You can use "-" as Environment ID in environment name to update
|
997
|
-
#
|
998
|
-
# can't be undone. You may want to save the draft
|
999
|
-
# this
|
1022
|
+
# You can use "-" as Environment ID in environment name to update an agent
|
1023
|
+
# version in the default environment. WARNING: this will negate all recent
|
1024
|
+
# changes to the draft agent and can't be undone. You may want to save the draft
|
1025
|
+
# agent to a version before calling this method.
|
1000
1026
|
# @param [String] name
|
1001
1027
|
# Output only. The unique identifier of this agent environment. Supported
|
1002
1028
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
1003
|
-
# environments/`
|
1029
|
+
# environments/` The environment ID for the default environment is `-`.
|
1004
1030
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
1005
1031
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
1006
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
1032
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
1007
1033
|
# environment, which is an operation that cannot be undone. To confirm that the
|
1008
1034
|
# caller desires this overwrite, this field must be explicitly set to true when
|
1009
|
-
# updating the
|
1035
|
+
# updating the default environment (environment ID = `-`).
|
1010
1036
|
# @param [String] update_mask
|
1011
1037
|
# Required. The mask to control which fields get updated.
|
1012
1038
|
# @param [String] fields
|
@@ -1553,7 +1579,9 @@ module Google
|
|
1553
1579
|
execute_or_queue_command(command, &block)
|
1554
1580
|
end
|
1555
1581
|
|
1556
|
-
# Deletes intents in the specified agent.
|
1582
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
1583
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1584
|
+
# google.com/dialogflow/es/docs/training).
|
1557
1585
|
# @param [String] parent
|
1558
1586
|
# Required. The name of the agent to delete all entities types for. Format: `
|
1559
1587
|
# projects//agent`.
|
@@ -1587,7 +1615,9 @@ module Google
|
|
1587
1615
|
execute_or_queue_command(command, &block)
|
1588
1616
|
end
|
1589
1617
|
|
1590
|
-
# Updates/Creates multiple intents in the specified agent.
|
1618
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
1619
|
+
# always train an agent prior to sending it queries. See the [training
|
1620
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1591
1621
|
# @param [String] parent
|
1592
1622
|
# Required. The name of the agent to update or create intents in. Format: `
|
1593
1623
|
# projects//agent`.
|
@@ -1621,7 +1651,9 @@ module Google
|
|
1621
1651
|
execute_or_queue_command(command, &block)
|
1622
1652
|
end
|
1623
1653
|
|
1624
|
-
# Creates an intent in the specified agent.
|
1654
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
1655
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
1656
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
1625
1657
|
# @param [String] parent
|
1626
1658
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
1627
1659
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -1663,7 +1695,9 @@ module Google
|
|
1663
1695
|
execute_or_queue_command(command, &block)
|
1664
1696
|
end
|
1665
1697
|
|
1666
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
1698
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
1699
|
+
# You should always train an agent prior to sending it queries. See the [
|
1700
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1667
1701
|
# @param [String] name
|
1668
1702
|
# Required. The name of the intent to delete. If this intent has direct or
|
1669
1703
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -1784,7 +1818,9 @@ module Google
|
|
1784
1818
|
execute_or_queue_command(command, &block)
|
1785
1819
|
end
|
1786
1820
|
|
1787
|
-
# Updates the specified intent.
|
1821
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
1822
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1823
|
+
# dialogflow/es/docs/training).
|
1788
1824
|
# @param [String] name
|
1789
1825
|
# Optional. The unique identifier of this intent. Required for Intents.
|
1790
1826
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
@@ -4030,7 +4066,9 @@ module Google
|
|
4030
4066
|
execute_or_queue_command(command, &block)
|
4031
4067
|
end
|
4032
4068
|
|
4033
|
-
# Creates/updates the specified agent.
|
4069
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
4070
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4071
|
+
# google.com/dialogflow/es/docs/training).
|
4034
4072
|
# @param [String] parent
|
4035
4073
|
# Required. The project of this agent. Format: `projects/`.
|
4036
4074
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
@@ -4066,7 +4104,7 @@ module Google
|
|
4066
4104
|
execute_or_queue_command(command, &block)
|
4067
4105
|
end
|
4068
4106
|
|
4069
|
-
# Exports the specified agent to a ZIP file.
|
4107
|
+
# Exports the specified agent to a ZIP file.
|
4070
4108
|
# @param [String] parent
|
4071
4109
|
# Required. The project that the agent to export is associated with. Format: `
|
4072
4110
|
# projects/`.
|
@@ -4173,9 +4211,11 @@ module Google
|
|
4173
4211
|
# the import, the imported draft agent will be trained automatically (unless
|
4174
4212
|
# disabled in agent settings). However, once the import is done, training may
|
4175
4213
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4176
|
-
# returns in order to train explicitly.
|
4177
|
-
#
|
4178
|
-
#
|
4214
|
+
# returns in order to train explicitly. An operation which tracks when importing
|
4215
|
+
# is complete. It only tracks when the draft agent is updated not when it is
|
4216
|
+
# done training. Note: You should always train an agent prior to sending it
|
4217
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4218
|
+
# es/docs/training).
|
4179
4219
|
# @param [String] parent
|
4180
4220
|
# Required. The project that the agent to import is associated with. Format: `
|
4181
4221
|
# projects/`.
|
@@ -4214,9 +4254,11 @@ module Google
|
|
4214
4254
|
# are deleted. After the restore, the restored draft agent will be trained
|
4215
4255
|
# automatically (unless disabled in agent settings). However, once the restore
|
4216
4256
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
4217
|
-
# for the operation it returns in order to train explicitly.
|
4218
|
-
#
|
4219
|
-
#
|
4257
|
+
# for the operation it returns in order to train explicitly. An operation which
|
4258
|
+
# tracks when restoring is complete. It only tracks when the draft agent is
|
4259
|
+
# updated not when it is done training. Note: You should always train an agent
|
4260
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4261
|
+
# google.com/dialogflow/es/docs/training).
|
4220
4262
|
# @param [String] parent
|
4221
4263
|
# Required. The project that the agent to restore is associated with. Format: `
|
4222
4264
|
# projects/`.
|
@@ -4291,7 +4333,9 @@ module Google
|
|
4291
4333
|
execute_or_queue_command(command, &block)
|
4292
4334
|
end
|
4293
4335
|
|
4294
|
-
# Trains the specified agent.
|
4336
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
4337
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
4338
|
+
# dialogflow/es/docs/training).
|
4295
4339
|
# @param [String] parent
|
4296
4340
|
# Required. The project that the agent to train is associated with. Format: `
|
4297
4341
|
# projects/`.
|
@@ -4364,7 +4408,9 @@ module Google
|
|
4364
4408
|
execute_or_queue_command(command, &block)
|
4365
4409
|
end
|
4366
4410
|
|
4367
|
-
# Deletes entity types in the specified agent.
|
4411
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
4412
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
4413
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4368
4414
|
# @param [String] parent
|
4369
4415
|
# Required. The name of the agent to delete all entities types for. Format: `
|
4370
4416
|
# projects//agent`.
|
@@ -4398,7 +4444,9 @@ module Google
|
|
4398
4444
|
execute_or_queue_command(command, &block)
|
4399
4445
|
end
|
4400
4446
|
|
4401
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4447
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
4448
|
+
# always train an agent prior to sending it queries. See the [training
|
4449
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4402
4450
|
# @param [String] parent
|
4403
4451
|
# Required. The name of the agent to update or create entity types in. Format: `
|
4404
4452
|
# projects//agent`.
|
@@ -4432,7 +4480,9 @@ module Google
|
|
4432
4480
|
execute_or_queue_command(command, &block)
|
4433
4481
|
end
|
4434
4482
|
|
4435
|
-
# Creates an entity type in the specified agent.
|
4483
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
4484
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4485
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4436
4486
|
# @param [String] parent
|
4437
4487
|
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
4438
4488
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
@@ -4471,7 +4521,9 @@ module Google
|
|
4471
4521
|
execute_or_queue_command(command, &block)
|
4472
4522
|
end
|
4473
4523
|
|
4474
|
-
# Deletes the specified entity type.
|
4524
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
4525
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4526
|
+
# google.com/dialogflow/es/docs/training).
|
4475
4527
|
# @param [String] name
|
4476
4528
|
# Required. The name of the entity type to delete. Format: `projects//agent/
|
4477
4529
|
# entityTypes/`.
|
@@ -4581,7 +4633,9 @@ module Google
|
|
4581
4633
|
execute_or_queue_command(command, &block)
|
4582
4634
|
end
|
4583
4635
|
|
4584
|
-
# Updates the specified entity type.
|
4636
|
+
# Updates the specified entity type. Note: You should always train an agent
|
4637
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4638
|
+
# google.com/dialogflow/es/docs/training).
|
4585
4639
|
# @param [String] name
|
4586
4640
|
# The unique identifier of the entity type. Required for EntityTypes.
|
4587
4641
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
@@ -4625,7 +4679,9 @@ module Google
|
|
4625
4679
|
execute_or_queue_command(command, &block)
|
4626
4680
|
end
|
4627
4681
|
|
4628
|
-
# Creates multiple new entities in the specified entity type.
|
4682
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
4683
|
+
# always train an agent prior to sending it queries. See the [training
|
4684
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4629
4685
|
# @param [String] parent
|
4630
4686
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
4631
4687
|
# /agent/entityTypes/`.
|
@@ -4659,7 +4715,9 @@ module Google
|
|
4659
4715
|
execute_or_queue_command(command, &block)
|
4660
4716
|
end
|
4661
4717
|
|
4662
|
-
# Deletes entities in the specified entity type.
|
4718
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
4719
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4720
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4663
4721
|
# @param [String] parent
|
4664
4722
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
4665
4723
|
# /agent/entityTypes/`.
|
@@ -4695,7 +4753,9 @@ module Google
|
|
4695
4753
|
|
4696
4754
|
# Updates or creates multiple entities in the specified entity type. This method
|
4697
4755
|
# does not affect entities in the entity type that aren't explicitly specified
|
4698
|
-
# in the request.
|
4756
|
+
# in the request. Note: You should always train an agent prior to sending it
|
4757
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4758
|
+
# es/docs/training).
|
4699
4759
|
# @param [String] parent
|
4700
4760
|
# Required. The name of the entity type to update or create entities in. Format:
|
4701
4761
|
# `projects//agent/entityTypes/`.
|
@@ -4769,7 +4829,8 @@ module Google
|
|
4769
4829
|
# Deletes the specified agent environment.
|
4770
4830
|
# @param [String] name
|
4771
4831
|
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
4772
|
-
# environments/` - `projects//locations//agent/environments/`
|
4832
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
4833
|
+
# for the default environment is `-`.
|
4773
4834
|
# @param [String] fields
|
4774
4835
|
# Selector specifying which fields to include in a partial response.
|
4775
4836
|
# @param [String] quota_user
|
@@ -4800,7 +4861,8 @@ module Google
|
|
4800
4861
|
# Retrieves the specified agent environment.
|
4801
4862
|
# @param [String] name
|
4802
4863
|
# Required. The name of the environment. Supported formats: - `projects//agent/
|
4803
|
-
# environments/` - `projects//locations//agent/environments/`
|
4864
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
4865
|
+
# for the default environment is `-`.
|
4804
4866
|
# @param [String] fields
|
4805
4867
|
# Selector specifying which fields to include in a partial response.
|
4806
4868
|
# @param [String] quota_user
|
@@ -4832,7 +4894,7 @@ module Google
|
|
4832
4894
|
# @param [String] parent
|
4833
4895
|
# Required. The name of the environment to retrieve history for. Supported
|
4834
4896
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
4835
|
-
# environments/`
|
4897
|
+
# environments/` The environment ID for the default environment is `-`.
|
4836
4898
|
# @param [Fixnum] page_size
|
4837
4899
|
# Optional. The maximum number of items to return in a single page. By default
|
4838
4900
|
# 100 and at most 1000.
|
@@ -4867,7 +4929,7 @@ module Google
|
|
4867
4929
|
execute_or_queue_command(command, &block)
|
4868
4930
|
end
|
4869
4931
|
|
4870
|
-
# Returns the list of all non-
|
4932
|
+
# Returns the list of all non-default environments of the specified agent.
|
4871
4933
|
# @param [String] parent
|
4872
4934
|
# Required. The agent to list all environments from. Format: - `projects//agent`
|
4873
4935
|
# - `projects//locations//agent`
|
@@ -4909,22 +4971,22 @@ module Google
|
|
4909
4971
|
# agent versions into the environment. When an environment is pointed to a new
|
4910
4972
|
# agent version by setting `environment.agent_version`, the environment is
|
4911
4973
|
# temporarily set to the `LOADING` state. During that time, the environment
|
4912
|
-
#
|
4974
|
+
# continues serving the previous version of the agent. After the new agent
|
4913
4975
|
# version is done loading, the environment is set back to the `RUNNING` state.
|
4914
|
-
# You can use "-" as Environment ID in environment name to update
|
4915
|
-
#
|
4916
|
-
# can't be undone. You may want to save the draft
|
4917
|
-
# this
|
4976
|
+
# You can use "-" as Environment ID in environment name to update an agent
|
4977
|
+
# version in the default environment. WARNING: this will negate all recent
|
4978
|
+
# changes to the draft agent and can't be undone. You may want to save the draft
|
4979
|
+
# agent to a version before calling this method.
|
4918
4980
|
# @param [String] name
|
4919
4981
|
# Output only. The unique identifier of this agent environment. Supported
|
4920
4982
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
4921
|
-
# environments/`
|
4983
|
+
# environments/` The environment ID for the default environment is `-`.
|
4922
4984
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
4923
4985
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
4924
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
4986
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
4925
4987
|
# environment, which is an operation that cannot be undone. To confirm that the
|
4926
4988
|
# caller desires this overwrite, this field must be explicitly set to true when
|
4927
|
-
# updating the
|
4989
|
+
# updating the default environment (environment ID = `-`).
|
4928
4990
|
# @param [String] update_mask
|
4929
4991
|
# Required. The mask to control which fields get updated.
|
4930
4992
|
# @param [String] fields
|
@@ -5471,7 +5533,9 @@ module Google
|
|
5471
5533
|
execute_or_queue_command(command, &block)
|
5472
5534
|
end
|
5473
5535
|
|
5474
|
-
# Deletes intents in the specified agent.
|
5536
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
5537
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
5538
|
+
# google.com/dialogflow/es/docs/training).
|
5475
5539
|
# @param [String] parent
|
5476
5540
|
# Required. The name of the agent to delete all entities types for. Format: `
|
5477
5541
|
# projects//agent`.
|
@@ -5505,7 +5569,9 @@ module Google
|
|
5505
5569
|
execute_or_queue_command(command, &block)
|
5506
5570
|
end
|
5507
5571
|
|
5508
|
-
# Updates/Creates multiple intents in the specified agent.
|
5572
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
5573
|
+
# always train an agent prior to sending it queries. See the [training
|
5574
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5509
5575
|
# @param [String] parent
|
5510
5576
|
# Required. The name of the agent to update or create intents in. Format: `
|
5511
5577
|
# projects//agent`.
|
@@ -5539,7 +5605,9 @@ module Google
|
|
5539
5605
|
execute_or_queue_command(command, &block)
|
5540
5606
|
end
|
5541
5607
|
|
5542
|
-
# Creates an intent in the specified agent.
|
5608
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
5609
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
5610
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
5543
5611
|
# @param [String] parent
|
5544
5612
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
5545
5613
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -5581,7 +5649,9 @@ module Google
|
|
5581
5649
|
execute_or_queue_command(command, &block)
|
5582
5650
|
end
|
5583
5651
|
|
5584
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
5652
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
5653
|
+
# You should always train an agent prior to sending it queries. See the [
|
5654
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5585
5655
|
# @param [String] name
|
5586
5656
|
# Required. The name of the intent to delete. If this intent has direct or
|
5587
5657
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -5702,7 +5772,9 @@ module Google
|
|
5702
5772
|
execute_or_queue_command(command, &block)
|
5703
5773
|
end
|
5704
5774
|
|
5705
|
-
# Updates the specified intent.
|
5775
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
5776
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
5777
|
+
# dialogflow/es/docs/training).
|
5706
5778
|
# @param [String] name
|
5707
5779
|
# Optional. The unique identifier of this intent. Required for Intents.
|
5708
5780
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
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 V2. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.18.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|