google-apis-dialogflow_v2 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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f334a5da3bb97834a0c79ec5db60b86c5c20fd4b630838a085e00453c2155bfb
|
4
|
+
data.tar.gz: d3ad67857782d9cb58f860cb7e35e8e864f3cb1587a350818061773a76e696a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50d9fdf336cd33661755e08c430b6ea7377b37d6a0d9d71860108aae03541141c264fc475f9c99132db061df0ba03d60e5256e87995aa71c75c1e90109e527ac
|
7
|
+
data.tar.gz: 11201beb478cf49490672fbabc56398c2fd28ce456038d736ecfd5a6e9111a75d24889db4e9eb25617718725e5faab526c34e272e8197265de62fcd951475a7b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.17.0 (2021-06-30)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210625
|
6
|
+
* Regenerated using generator version 0.4.0
|
7
|
+
|
8
|
+
### v0.16.0 (2021-06-24)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20210618
|
11
|
+
|
12
|
+
### v0.15.0 (2021-06-16)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210611
|
15
|
+
|
16
|
+
### v0.14.0 (2021-06-03)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210601
|
19
|
+
* Regenerated using generator version 0.3.0
|
20
|
+
|
21
|
+
### v0.13.0 (2021-05-26)
|
22
|
+
|
23
|
+
* Regenerated from discovery document revision 20210524
|
24
|
+
|
3
25
|
### v0.12.0 (2021-05-19)
|
4
26
|
|
5
27
|
* 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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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::DialogflowV2::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
|
@@ -2532,6 +2630,45 @@ module Google
|
|
2532
2630
|
end
|
2533
2631
|
end
|
2534
2632
|
|
2633
|
+
# Represents a result from running a test case in an agent environment.
|
2634
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
2635
|
+
include Google::Apis::Core::Hashable
|
2636
|
+
|
2637
|
+
# The resource name for the continuous test result. Format: `projects//locations/
|
2638
|
+
# /agents//environments//continuousTestResults/`.
|
2639
|
+
# Corresponds to the JSON property `name`
|
2640
|
+
# @return [String]
|
2641
|
+
attr_accessor :name
|
2642
|
+
|
2643
|
+
# The result of this continuous test run, i.e. whether all the tests in this
|
2644
|
+
# continuous test run pass or not.
|
2645
|
+
# Corresponds to the JSON property `result`
|
2646
|
+
# @return [String]
|
2647
|
+
attr_accessor :result
|
2648
|
+
|
2649
|
+
# Time when the continuous testing run starts.
|
2650
|
+
# Corresponds to the JSON property `runTime`
|
2651
|
+
# @return [String]
|
2652
|
+
attr_accessor :run_time
|
2653
|
+
|
2654
|
+
# A list of individual test case results names in this continuous test run.
|
2655
|
+
# Corresponds to the JSON property `testCaseResults`
|
2656
|
+
# @return [Array<String>]
|
2657
|
+
attr_accessor :test_case_results
|
2658
|
+
|
2659
|
+
def initialize(**args)
|
2660
|
+
update!(**args)
|
2661
|
+
end
|
2662
|
+
|
2663
|
+
# Update properties of this object
|
2664
|
+
def update!(**args)
|
2665
|
+
@name = args[:name] if args.key?(:name)
|
2666
|
+
@result = args[:result] if args.key?(:result)
|
2667
|
+
@run_time = args[:run_time] if args.key?(:run_time)
|
2668
|
+
@test_case_results = args[:test_case_results] if args.key?(:test_case_results)
|
2669
|
+
end
|
2670
|
+
end
|
2671
|
+
|
2535
2672
|
# One interaction between a human and virtual agent. The human provides some
|
2536
2673
|
# input and the virtual agent provides a response.
|
2537
2674
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
@@ -2562,6 +2699,12 @@ module Google
|
|
2562
2699
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2563
2700
|
include Google::Apis::Core::Hashable
|
2564
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
|
+
|
2565
2708
|
# Parameters that need to be injected into the conversation during intent
|
2566
2709
|
# detection.
|
2567
2710
|
# Corresponds to the JSON property `injectedParameters`
|
@@ -2589,6 +2732,7 @@ module Google
|
|
2589
2732
|
|
2590
2733
|
# Update properties of this object
|
2591
2734
|
def update!(**args)
|
2735
|
+
@enable_sentiment_analysis = args[:enable_sentiment_analysis] if args.key?(:enable_sentiment_analysis)
|
2592
2736
|
@injected_parameters = args[:injected_parameters] if args.key?(:injected_parameters)
|
2593
2737
|
@input = args[:input] if args.key?(:input)
|
2594
2738
|
@is_webhook_enabled = args[:is_webhook_enabled] if args.key?(:is_webhook_enabled)
|
@@ -3082,6 +3226,18 @@ module Google
|
|
3082
3226
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage>]
|
3083
3227
|
attr_accessor :messages
|
3084
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
|
+
|
3085
3241
|
# Set parameter values before executing the webhook.
|
3086
3242
|
# Corresponds to the JSON property `setParameterActions`
|
3087
3243
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction>]
|
@@ -3106,6 +3262,7 @@ module Google
|
|
3106
3262
|
def update!(**args)
|
3107
3263
|
@conditional_cases = args[:conditional_cases] if args.key?(:conditional_cases)
|
3108
3264
|
@messages = args[:messages] if args.key?(:messages)
|
3265
|
+
@return_partial_responses = args[:return_partial_responses] if args.key?(:return_partial_responses)
|
3109
3266
|
@set_parameter_actions = args[:set_parameter_actions] if args.key?(:set_parameter_actions)
|
3110
3267
|
@tag = args[:tag] if args.key?(:tag)
|
3111
3268
|
@webhook = args[:webhook] if args.key?(:webhook)
|
@@ -4210,6 +4367,45 @@ module Google
|
|
4210
4367
|
end
|
4211
4368
|
end
|
4212
4369
|
|
4370
|
+
# Metadata returned for the Environments.RunContinuousTest long running
|
4371
|
+
# operation.
|
4372
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
4373
|
+
include Google::Apis::Core::Hashable
|
4374
|
+
|
4375
|
+
# The test errors.
|
4376
|
+
# Corresponds to the JSON property `errors`
|
4377
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError>]
|
4378
|
+
attr_accessor :errors
|
4379
|
+
|
4380
|
+
def initialize(**args)
|
4381
|
+
update!(**args)
|
4382
|
+
end
|
4383
|
+
|
4384
|
+
# Update properties of this object
|
4385
|
+
def update!(**args)
|
4386
|
+
@errors = args[:errors] if args.key?(:errors)
|
4387
|
+
end
|
4388
|
+
end
|
4389
|
+
|
4390
|
+
# The response message for Environments.RunContinuousTest.
|
4391
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
4392
|
+
include Google::Apis::Core::Hashable
|
4393
|
+
|
4394
|
+
# Represents a result from running a test case in an agent environment.
|
4395
|
+
# Corresponds to the JSON property `continuousTestResult`
|
4396
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult]
|
4397
|
+
attr_accessor :continuous_test_result
|
4398
|
+
|
4399
|
+
def initialize(**args)
|
4400
|
+
update!(**args)
|
4401
|
+
end
|
4402
|
+
|
4403
|
+
# Update properties of this object
|
4404
|
+
def update!(**args)
|
4405
|
+
@continuous_test_result = args[:continuous_test_result] if args.key?(:continuous_test_result)
|
4406
|
+
end
|
4407
|
+
end
|
4408
|
+
|
4213
4409
|
# Metadata returned for the TestCases.RunTestCase long running operation.
|
4214
4410
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
4215
4411
|
include Google::Apis::Core::Hashable
|
@@ -5404,6 +5600,19 @@ module Google
|
|
5404
5600
|
class GoogleCloudDialogflowV2AutomatedAgentReply
|
5405
5601
|
include Google::Apis::Core::Hashable
|
5406
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
|
+
|
5407
5616
|
# The message returned from the DetectIntent method.
|
5408
5617
|
# Corresponds to the JSON property `detectIntentResponse`
|
5409
5618
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse]
|
@@ -5415,6 +5624,8 @@ module Google
|
|
5415
5624
|
|
5416
5625
|
# Update properties of this object
|
5417
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)
|
5418
5629
|
@detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
|
5419
5630
|
end
|
5420
5631
|
end
|
@@ -9472,6 +9683,13 @@ module Google
|
|
9472
9683
|
attr_accessor :all_required_params_present
|
9473
9684
|
alias_method :all_required_params_present?, :all_required_params_present
|
9474
9685
|
|
9686
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
9687
|
+
# filling.
|
9688
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
9689
|
+
# @return [Boolean]
|
9690
|
+
attr_accessor :cancels_slot_filling
|
9691
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
9692
|
+
|
9475
9693
|
# Free-form diagnostic information for the associated detect intent request. The
|
9476
9694
|
# fields of this data can change without notice, so you should not write code
|
9477
9695
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -9592,6 +9810,7 @@ module Google
|
|
9592
9810
|
def update!(**args)
|
9593
9811
|
@action = args[:action] if args.key?(:action)
|
9594
9812
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
9813
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
9595
9814
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
9596
9815
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
9597
9816
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -12935,6 +13154,13 @@ module Google
|
|
12935
13154
|
attr_accessor :all_required_params_present
|
12936
13155
|
alias_method :all_required_params_present?, :all_required_params_present
|
12937
13156
|
|
13157
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13158
|
+
# filling.
|
13159
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13160
|
+
# @return [Boolean]
|
13161
|
+
attr_accessor :cancels_slot_filling
|
13162
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13163
|
+
|
12938
13164
|
# Free-form diagnostic information for the associated detect intent request. The
|
12939
13165
|
# fields of this data can change without notice, so you should not write code
|
12940
13166
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -13060,6 +13286,7 @@ module Google
|
|
13060
13286
|
def update!(**args)
|
13061
13287
|
@action = args[:action] if args.key?(:action)
|
13062
13288
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13289
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
13063
13290
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
13064
13291
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
13065
13292
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -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.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 = "20210625"
|
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
|
|
@@ -460,6 +478,12 @@ module Google
|
|
460
478
|
include Google::Apis::Core::JsonObjectSupport
|
461
479
|
end
|
462
480
|
|
481
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
482
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
|
+
|
484
|
+
include Google::Apis::Core::JsonObjectSupport
|
485
|
+
end
|
486
|
+
|
463
487
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
464
488
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
465
489
|
|
@@ -748,6 +772,18 @@ module Google
|
|
748
772
|
include Google::Apis::Core::JsonObjectSupport
|
749
773
|
end
|
750
774
|
|
775
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
|
+
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
779
|
+
end
|
780
|
+
|
781
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
782
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
783
|
+
|
784
|
+
include Google::Apis::Core::JsonObjectSupport
|
785
|
+
end
|
786
|
+
|
751
787
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
752
788
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
753
789
|
|
@@ -2297,6 +2333,16 @@ module Google
|
|
2297
2333
|
end
|
2298
2334
|
end
|
2299
2335
|
|
2336
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
2337
|
+
# @private
|
2338
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2339
|
+
property :name, as: 'name'
|
2340
|
+
property :result, as: 'result'
|
2341
|
+
property :run_time, as: 'runTime'
|
2342
|
+
collection :test_case_results, as: 'testCaseResults'
|
2343
|
+
end
|
2344
|
+
end
|
2345
|
+
|
2300
2346
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
2301
2347
|
# @private
|
2302
2348
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2310,6 +2356,7 @@ module Google
|
|
2310
2356
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
2311
2357
|
# @private
|
2312
2358
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2359
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2313
2360
|
hash :injected_parameters, as: 'injectedParameters'
|
2314
2361
|
property :input, as: 'input', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3QueryInput::Representation
|
2315
2362
|
|
@@ -2454,6 +2501,7 @@ module Google
|
|
2454
2501
|
|
2455
2502
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2456
2503
|
|
2504
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2457
2505
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2458
2506
|
|
2459
2507
|
property :tag, as: 'tag'
|
@@ -2758,6 +2806,22 @@ module Google
|
|
2758
2806
|
end
|
2759
2807
|
end
|
2760
2808
|
|
2809
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
2810
|
+
# @private
|
2811
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2812
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestError::Representation
|
2813
|
+
|
2814
|
+
end
|
2815
|
+
end
|
2816
|
+
|
2817
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
2818
|
+
# @private
|
2819
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2820
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
|
2821
|
+
|
2822
|
+
end
|
2823
|
+
end
|
2824
|
+
|
2761
2825
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
2762
2826
|
# @private
|
2763
2827
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2981,6 +3045,16 @@ module Google
|
|
2981
3045
|
end
|
2982
3046
|
end
|
2983
3047
|
|
3048
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
3049
|
+
# @private
|
3050
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3051
|
+
property :name, as: 'name'
|
3052
|
+
property :result, as: 'result'
|
3053
|
+
property :run_time, as: 'runTime'
|
3054
|
+
collection :test_case_results, as: 'testCaseResults'
|
3055
|
+
end
|
3056
|
+
end
|
3057
|
+
|
2984
3058
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
2985
3059
|
# @private
|
2986
3060
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2994,6 +3068,7 @@ module Google
|
|
2994
3068
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
2995
3069
|
# @private
|
2996
3070
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3071
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2997
3072
|
hash :injected_parameters, as: 'injectedParameters'
|
2998
3073
|
property :input, as: 'input', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
|
2999
3074
|
|
@@ -3138,6 +3213,7 @@ module Google
|
|
3138
3213
|
|
3139
3214
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
3140
3215
|
|
3216
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
3141
3217
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
3142
3218
|
|
3143
3219
|
property :tag, as: 'tag'
|
@@ -3442,6 +3518,22 @@ module Google
|
|
3442
3518
|
end
|
3443
3519
|
end
|
3444
3520
|
|
3521
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
3522
|
+
# @private
|
3523
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3524
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
3525
|
+
|
3526
|
+
end
|
3527
|
+
end
|
3528
|
+
|
3529
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
3530
|
+
# @private
|
3531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3532
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
3533
|
+
|
3534
|
+
end
|
3535
|
+
end
|
3536
|
+
|
3445
3537
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
3446
3538
|
# @private
|
3447
3539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3766,6 +3858,8 @@ module Google
|
|
3766
3858
|
class GoogleCloudDialogflowV2AutomatedAgentReply
|
3767
3859
|
# @private
|
3768
3860
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3861
|
+
property :allow_cancellation, as: 'allowCancellation'
|
3862
|
+
property :automated_agent_reply_type, as: 'automatedAgentReplyType'
|
3769
3863
|
property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentResponse::Representation
|
3770
3864
|
|
3771
3865
|
end
|
@@ -4896,6 +4990,7 @@ module Google
|
|
4896
4990
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4897
4991
|
property :action, as: 'action'
|
4898
4992
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
4993
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
4899
4994
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
4900
4995
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessage::Representation
|
4901
4996
|
|
@@ -5833,6 +5928,7 @@ module Google
|
|
5833
5928
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5834
5929
|
property :action, as: 'action'
|
5835
5930
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
5931
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
5836
5932
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
5837
5933
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
5838
5934
|
|
@@ -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/`.
|
@@ -1553,7 +1577,9 @@ module Google
|
|
1553
1577
|
execute_or_queue_command(command, &block)
|
1554
1578
|
end
|
1555
1579
|
|
1556
|
-
# Deletes intents in the specified agent.
|
1580
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
1581
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1582
|
+
# google.com/dialogflow/es/docs/training).
|
1557
1583
|
# @param [String] parent
|
1558
1584
|
# Required. The name of the agent to delete all entities types for. Format: `
|
1559
1585
|
# projects//agent`.
|
@@ -1587,7 +1613,9 @@ module Google
|
|
1587
1613
|
execute_or_queue_command(command, &block)
|
1588
1614
|
end
|
1589
1615
|
|
1590
|
-
# Updates/Creates multiple intents in the specified agent.
|
1616
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
1617
|
+
# always train an agent prior to sending it queries. See the [training
|
1618
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1591
1619
|
# @param [String] parent
|
1592
1620
|
# Required. The name of the agent to update or create intents in. Format: `
|
1593
1621
|
# projects//agent`.
|
@@ -1621,7 +1649,9 @@ module Google
|
|
1621
1649
|
execute_or_queue_command(command, &block)
|
1622
1650
|
end
|
1623
1651
|
|
1624
|
-
# Creates an intent in the specified agent.
|
1652
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
1653
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
1654
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
1625
1655
|
# @param [String] parent
|
1626
1656
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
1627
1657
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -1663,7 +1693,9 @@ module Google
|
|
1663
1693
|
execute_or_queue_command(command, &block)
|
1664
1694
|
end
|
1665
1695
|
|
1666
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
1696
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
1697
|
+
# You should always train an agent prior to sending it queries. See the [
|
1698
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1667
1699
|
# @param [String] name
|
1668
1700
|
# Required. The name of the intent to delete. If this intent has direct or
|
1669
1701
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -1784,7 +1816,9 @@ module Google
|
|
1784
1816
|
execute_or_queue_command(command, &block)
|
1785
1817
|
end
|
1786
1818
|
|
1787
|
-
# Updates the specified intent.
|
1819
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
1820
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1821
|
+
# dialogflow/es/docs/training).
|
1788
1822
|
# @param [String] name
|
1789
1823
|
# Optional. The unique identifier of this intent. Required for Intents.
|
1790
1824
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Format: `projects//agent/
|
@@ -4030,7 +4064,9 @@ module Google
|
|
4030
4064
|
execute_or_queue_command(command, &block)
|
4031
4065
|
end
|
4032
4066
|
|
4033
|
-
# Creates/updates the specified agent.
|
4067
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
4068
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4069
|
+
# google.com/dialogflow/es/docs/training).
|
4034
4070
|
# @param [String] parent
|
4035
4071
|
# Required. The project of this agent. Format: `projects/`.
|
4036
4072
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
@@ -4066,7 +4102,7 @@ module Google
|
|
4066
4102
|
execute_or_queue_command(command, &block)
|
4067
4103
|
end
|
4068
4104
|
|
4069
|
-
# Exports the specified agent to a ZIP file.
|
4105
|
+
# Exports the specified agent to a ZIP file.
|
4070
4106
|
# @param [String] parent
|
4071
4107
|
# Required. The project that the agent to export is associated with. Format: `
|
4072
4108
|
# projects/`.
|
@@ -4173,9 +4209,11 @@ module Google
|
|
4173
4209
|
# the import, the imported draft agent will be trained automatically (unless
|
4174
4210
|
# disabled in agent settings). However, once the import is done, training may
|
4175
4211
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4176
|
-
# returns in order to train explicitly.
|
4177
|
-
#
|
4178
|
-
#
|
4212
|
+
# returns in order to train explicitly. An operation which tracks when importing
|
4213
|
+
# is complete. It only tracks when the draft agent is updated not when it is
|
4214
|
+
# done training. Note: You should always train an agent prior to sending it
|
4215
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4216
|
+
# es/docs/training).
|
4179
4217
|
# @param [String] parent
|
4180
4218
|
# Required. The project that the agent to import is associated with. Format: `
|
4181
4219
|
# projects/`.
|
@@ -4214,9 +4252,11 @@ module Google
|
|
4214
4252
|
# are deleted. After the restore, the restored draft agent will be trained
|
4215
4253
|
# automatically (unless disabled in agent settings). However, once the restore
|
4216
4254
|
# 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
|
-
#
|
4255
|
+
# for the operation it returns in order to train explicitly. An operation which
|
4256
|
+
# tracks when restoring is complete. It only tracks when the draft agent is
|
4257
|
+
# updated not when it is done training. Note: You should always train an agent
|
4258
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4259
|
+
# google.com/dialogflow/es/docs/training).
|
4220
4260
|
# @param [String] parent
|
4221
4261
|
# Required. The project that the agent to restore is associated with. Format: `
|
4222
4262
|
# projects/`.
|
@@ -4291,7 +4331,9 @@ module Google
|
|
4291
4331
|
execute_or_queue_command(command, &block)
|
4292
4332
|
end
|
4293
4333
|
|
4294
|
-
# Trains the specified agent.
|
4334
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
4335
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
4336
|
+
# dialogflow/es/docs/training).
|
4295
4337
|
# @param [String] parent
|
4296
4338
|
# Required. The project that the agent to train is associated with. Format: `
|
4297
4339
|
# projects/`.
|
@@ -4364,7 +4406,9 @@ module Google
|
|
4364
4406
|
execute_or_queue_command(command, &block)
|
4365
4407
|
end
|
4366
4408
|
|
4367
|
-
# Deletes entity types in the specified agent.
|
4409
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
4410
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
4411
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4368
4412
|
# @param [String] parent
|
4369
4413
|
# Required. The name of the agent to delete all entities types for. Format: `
|
4370
4414
|
# projects//agent`.
|
@@ -4398,7 +4442,9 @@ module Google
|
|
4398
4442
|
execute_or_queue_command(command, &block)
|
4399
4443
|
end
|
4400
4444
|
|
4401
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4445
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
4446
|
+
# always train an agent prior to sending it queries. See the [training
|
4447
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4402
4448
|
# @param [String] parent
|
4403
4449
|
# Required. The name of the agent to update or create entity types in. Format: `
|
4404
4450
|
# projects//agent`.
|
@@ -4432,7 +4478,9 @@ module Google
|
|
4432
4478
|
execute_or_queue_command(command, &block)
|
4433
4479
|
end
|
4434
4480
|
|
4435
|
-
# Creates an entity type in the specified agent.
|
4481
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
4482
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4483
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4436
4484
|
# @param [String] parent
|
4437
4485
|
# Required. The agent to create a entity type for. Format: `projects//agent`.
|
4438
4486
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityType] google_cloud_dialogflow_v2_entity_type_object
|
@@ -4471,7 +4519,9 @@ module Google
|
|
4471
4519
|
execute_or_queue_command(command, &block)
|
4472
4520
|
end
|
4473
4521
|
|
4474
|
-
# Deletes the specified entity type.
|
4522
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
4523
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4524
|
+
# google.com/dialogflow/es/docs/training).
|
4475
4525
|
# @param [String] name
|
4476
4526
|
# Required. The name of the entity type to delete. Format: `projects//agent/
|
4477
4527
|
# entityTypes/`.
|
@@ -4581,7 +4631,9 @@ module Google
|
|
4581
4631
|
execute_or_queue_command(command, &block)
|
4582
4632
|
end
|
4583
4633
|
|
4584
|
-
# Updates the specified entity type.
|
4634
|
+
# Updates the specified entity type. Note: You should always train an agent
|
4635
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4636
|
+
# google.com/dialogflow/es/docs/training).
|
4585
4637
|
# @param [String] name
|
4586
4638
|
# The unique identifier of the entity type. Required for EntityTypes.
|
4587
4639
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Format: `
|
@@ -4625,7 +4677,9 @@ module Google
|
|
4625
4677
|
execute_or_queue_command(command, &block)
|
4626
4678
|
end
|
4627
4679
|
|
4628
|
-
# Creates multiple new entities in the specified entity type.
|
4680
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
4681
|
+
# always train an agent prior to sending it queries. See the [training
|
4682
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4629
4683
|
# @param [String] parent
|
4630
4684
|
# Required. The name of the entity type to create entities in. Format: `projects/
|
4631
4685
|
# /agent/entityTypes/`.
|
@@ -4659,7 +4713,9 @@ module Google
|
|
4659
4713
|
execute_or_queue_command(command, &block)
|
4660
4714
|
end
|
4661
4715
|
|
4662
|
-
# Deletes entities in the specified entity type.
|
4716
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
4717
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4718
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4663
4719
|
# @param [String] parent
|
4664
4720
|
# Required. The name of the entity type to delete entries for. Format: `projects/
|
4665
4721
|
# /agent/entityTypes/`.
|
@@ -4695,7 +4751,9 @@ module Google
|
|
4695
4751
|
|
4696
4752
|
# Updates or creates multiple entities in the specified entity type. This method
|
4697
4753
|
# does not affect entities in the entity type that aren't explicitly specified
|
4698
|
-
# in the request.
|
4754
|
+
# in the request. Note: You should always train an agent prior to sending it
|
4755
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
4756
|
+
# es/docs/training).
|
4699
4757
|
# @param [String] parent
|
4700
4758
|
# Required. The name of the entity type to update or create entities in. Format:
|
4701
4759
|
# `projects//agent/entityTypes/`.
|
@@ -5471,7 +5529,9 @@ module Google
|
|
5471
5529
|
execute_or_queue_command(command, &block)
|
5472
5530
|
end
|
5473
5531
|
|
5474
|
-
# Deletes intents in the specified agent.
|
5532
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
5533
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
5534
|
+
# google.com/dialogflow/es/docs/training).
|
5475
5535
|
# @param [String] parent
|
5476
5536
|
# Required. The name of the agent to delete all entities types for. Format: `
|
5477
5537
|
# projects//agent`.
|
@@ -5505,7 +5565,9 @@ module Google
|
|
5505
5565
|
execute_or_queue_command(command, &block)
|
5506
5566
|
end
|
5507
5567
|
|
5508
|
-
# Updates/Creates multiple intents in the specified agent.
|
5568
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
5569
|
+
# always train an agent prior to sending it queries. See the [training
|
5570
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5509
5571
|
# @param [String] parent
|
5510
5572
|
# Required. The name of the agent to update or create intents in. Format: `
|
5511
5573
|
# projects//agent`.
|
@@ -5539,7 +5601,9 @@ module Google
|
|
5539
5601
|
execute_or_queue_command(command, &block)
|
5540
5602
|
end
|
5541
5603
|
|
5542
|
-
# Creates an intent in the specified agent.
|
5604
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
5605
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
5606
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
5543
5607
|
# @param [String] parent
|
5544
5608
|
# Required. The agent to create a intent for. Format: `projects//agent`.
|
5545
5609
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Intent] google_cloud_dialogflow_v2_intent_object
|
@@ -5581,7 +5645,9 @@ module Google
|
|
5581
5645
|
execute_or_queue_command(command, &block)
|
5582
5646
|
end
|
5583
5647
|
|
5584
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
5648
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
5649
|
+
# You should always train an agent prior to sending it queries. See the [
|
5650
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5585
5651
|
# @param [String] name
|
5586
5652
|
# Required. The name of the intent to delete. If this intent has direct or
|
5587
5653
|
# indirect followup intents, we also delete them. Format: `projects//agent/
|
@@ -5702,7 +5768,9 @@ module Google
|
|
5702
5768
|
execute_or_queue_command(command, &block)
|
5703
5769
|
end
|
5704
5770
|
|
5705
|
-
# Updates the specified intent.
|
5771
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
5772
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
5773
|
+
# dialogflow/es/docs/training).
|
5706
5774
|
# @param [String] name
|
5707
5775
|
# Optional. The unique identifier of this intent. Required for Intents.
|
5708
5776
|
# 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.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 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.17.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: []
|