google-apis-dialogflow_v2beta1 0.11.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/dialogflow_v2beta1/classes.rb +248 -5
- data/lib/google/apis/dialogflow_v2beta1/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2beta1/representations.rb +98 -0
- data/lib/google/apis/dialogflow_v2beta1/service.rb +176 -54
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc8edeaf2095f29cb4694dfa6dfd2e89bd7813682f3188d4106f6a289b9c19c0
|
4
|
+
data.tar.gz: 7b5d4154c1a0d639974c078345d56ebe13b318289e4035c90d1ee7b49d8b835a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec350eff7aff48f699bec0c5ab8072b7ded7a60ebf4e6f93651329df8eaa5c7f7f6e58b70203357f3a2d648eddb1d4af2c72f5162ab100ee4b211f44ffba6228
|
7
|
+
data.tar.gz: 6f8be4d885a7dfe7e4ea83e01821312334b0cdea8f28b8f69755434a0c1401edc7e54b9cd7ca72225a57fa7b604a7a6db33bd807efea2909b43ae3f9fb0e5993
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2beta1
|
2
2
|
|
3
|
+
### v0.16.0 (2021-06-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210618
|
6
|
+
|
7
|
+
### v0.15.0 (2021-06-16)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210611
|
10
|
+
|
11
|
+
### v0.14.0 (2021-06-03)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210601
|
14
|
+
* Regenerated using generator version 0.3.0
|
15
|
+
|
16
|
+
### v0.13.0 (2021-05-26)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210524
|
19
|
+
|
20
|
+
### v0.12.0 (2021-05-19)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210517
|
23
|
+
|
3
24
|
### v0.11.0 (2021-05-06)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210503
|
@@ -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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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::DialogflowV2beta1::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
|
@@ -6799,6 +6995,13 @@ module Google
|
|
6799
6995
|
attr_accessor :all_required_params_present
|
6800
6996
|
alias_method :all_required_params_present?, :all_required_params_present
|
6801
6997
|
|
6998
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
6999
|
+
# filling.
|
7000
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
7001
|
+
# @return [Boolean]
|
7002
|
+
attr_accessor :cancels_slot_filling
|
7003
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
7004
|
+
|
6802
7005
|
# Free-form diagnostic information for the associated detect intent request. The
|
6803
7006
|
# fields of this data can change without notice, so you should not write code
|
6804
7007
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -6919,6 +7122,7 @@ module Google
|
|
6919
7122
|
def update!(**args)
|
6920
7123
|
@action = args[:action] if args.key?(:action)
|
6921
7124
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
7125
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
6922
7126
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
6923
7127
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
6924
7128
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -7813,8 +8017,21 @@ module Google
|
|
7813
8017
|
class GoogleCloudDialogflowV2beta1AutomatedAgentReply
|
7814
8018
|
include Google::Apis::Core::Hashable
|
7815
8019
|
|
8020
|
+
# Indicates whether the partial automated agent reply is interruptible when a
|
8021
|
+
# later reply message arrives. e.g. if the agent specified some music as partial
|
8022
|
+
# response, it can be cancelled.
|
8023
|
+
# Corresponds to the JSON property `allowCancellation`
|
8024
|
+
# @return [Boolean]
|
8025
|
+
attr_accessor :allow_cancellation
|
8026
|
+
alias_method :allow_cancellation?, :allow_cancellation
|
8027
|
+
|
8028
|
+
# AutomatedAgentReply type.
|
8029
|
+
# Corresponds to the JSON property `automatedAgentReplyType`
|
8030
|
+
# @return [String]
|
8031
|
+
attr_accessor :automated_agent_reply_type
|
8032
|
+
|
7816
8033
|
# The collection of current Dialogflow CX agent session parameters at the time
|
7817
|
-
# of this response.
|
8034
|
+
# of this response. Deprecated: Use `parameters` instead.
|
7818
8035
|
# Corresponds to the JSON property `cxSessionParameters`
|
7819
8036
|
# @return [Hash<String,Object>]
|
7820
8037
|
attr_accessor :cx_session_parameters
|
@@ -7836,6 +8053,20 @@ module Google
|
|
7836
8053
|
# @return [String]
|
7837
8054
|
attr_accessor :intent
|
7838
8055
|
|
8056
|
+
# The confidence of the match. Values range from 0.0 (completely uncertain) to 1.
|
8057
|
+
# 0 (completely certain). This value is for informational purpose only and is
|
8058
|
+
# only used to help match the best intent within the classification threshold.
|
8059
|
+
# This value may change for the same end-user expression at any time due to a
|
8060
|
+
# model retraining or change in implementation.
|
8061
|
+
# Corresponds to the JSON property `matchConfidence`
|
8062
|
+
# @return [Float]
|
8063
|
+
attr_accessor :match_confidence
|
8064
|
+
|
8065
|
+
# The collection of current parameters at the time of this response.
|
8066
|
+
# Corresponds to the JSON property `parameters`
|
8067
|
+
# @return [Hash<String,Object>]
|
8068
|
+
attr_accessor :parameters
|
8069
|
+
|
7839
8070
|
# Response messages from the automated agent.
|
7840
8071
|
# Corresponds to the JSON property `responseMessages`
|
7841
8072
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage>]
|
@@ -7847,10 +8078,14 @@ module Google
|
|
7847
8078
|
|
7848
8079
|
# Update properties of this object
|
7849
8080
|
def update!(**args)
|
8081
|
+
@allow_cancellation = args[:allow_cancellation] if args.key?(:allow_cancellation)
|
8082
|
+
@automated_agent_reply_type = args[:automated_agent_reply_type] if args.key?(:automated_agent_reply_type)
|
7850
8083
|
@cx_session_parameters = args[:cx_session_parameters] if args.key?(:cx_session_parameters)
|
7851
8084
|
@detect_intent_response = args[:detect_intent_response] if args.key?(:detect_intent_response)
|
7852
8085
|
@event = args[:event] if args.key?(:event)
|
7853
8086
|
@intent = args[:intent] if args.key?(:intent)
|
8087
|
+
@match_confidence = args[:match_confidence] if args.key?(:match_confidence)
|
8088
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
7854
8089
|
@response_messages = args[:response_messages] if args.key?(:response_messages)
|
7855
8090
|
end
|
7856
8091
|
end
|
@@ -8943,7 +9178,7 @@ module Google
|
|
8943
9178
|
class GoogleCloudDialogflowV2beta1Environment
|
8944
9179
|
include Google::Apis::Core::Hashable
|
8945
9180
|
|
8946
|
-
#
|
9181
|
+
# Required. The agent version loaded into this environment. Supported formats: -
|
8947
9182
|
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
8948
9183
|
# Corresponds to the JSON property `agentVersion`
|
8949
9184
|
# @return [String]
|
@@ -12822,6 +13057,13 @@ module Google
|
|
12822
13057
|
attr_accessor :all_required_params_present
|
12823
13058
|
alias_method :all_required_params_present?, :all_required_params_present
|
12824
13059
|
|
13060
|
+
# Indicates whether the conversational query triggers a cancellation for slot
|
13061
|
+
# filling.
|
13062
|
+
# Corresponds to the JSON property `cancelsSlotFilling`
|
13063
|
+
# @return [Boolean]
|
13064
|
+
attr_accessor :cancels_slot_filling
|
13065
|
+
alias_method :cancels_slot_filling?, :cancels_slot_filling
|
13066
|
+
|
12825
13067
|
# Free-form diagnostic information for the associated detect intent request. The
|
12826
13068
|
# fields of this data can change without notice, so you should not write code
|
12827
13069
|
# that depends on its structure. The data may contain: - webhook call latency -
|
@@ -12947,6 +13189,7 @@ module Google
|
|
12947
13189
|
def update!(**args)
|
12948
13190
|
@action = args[:action] if args.key?(:action)
|
12949
13191
|
@all_required_params_present = args[:all_required_params_present] if args.key?(:all_required_params_present)
|
13192
|
+
@cancels_slot_filling = args[:cancels_slot_filling] if args.key?(:cancels_slot_filling)
|
12950
13193
|
@diagnostic_info = args[:diagnostic_info] if args.key?(:diagnostic_info)
|
12951
13194
|
@fulfillment_messages = args[:fulfillment_messages] if args.key?(:fulfillment_messages)
|
12952
13195
|
@fulfillment_text = args[:fulfillment_text] if args.key?(:fulfillment_text)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2beta1
|
18
18
|
# Version of the google-apis-dialogflow_v2beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.16.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210618"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -328,6 +334,18 @@ module Google
|
|
328
334
|
include Google::Apis::Core::JsonObjectSupport
|
329
335
|
end
|
330
336
|
|
337
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
343
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
331
349
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
332
350
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
351
|
|
@@ -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
|
|
@@ -2423,6 +2459,16 @@ module Google
|
|
2423
2459
|
end
|
2424
2460
|
end
|
2425
2461
|
|
2462
|
+
class GoogleCloudDialogflowCxV3ContinuousTestResult
|
2463
|
+
# @private
|
2464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2465
|
+
property :name, as: 'name'
|
2466
|
+
property :result, as: 'result'
|
2467
|
+
property :run_time, as: 'runTime'
|
2468
|
+
collection :test_case_results, as: 'testCaseResults'
|
2469
|
+
end
|
2470
|
+
end
|
2471
|
+
|
2426
2472
|
class GoogleCloudDialogflowCxV3ConversationTurn
|
2427
2473
|
# @private
|
2428
2474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2436,6 +2482,7 @@ module Google
|
|
2436
2482
|
class GoogleCloudDialogflowCxV3ConversationTurnUserInput
|
2437
2483
|
# @private
|
2438
2484
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2485
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
2439
2486
|
hash :injected_parameters, as: 'injectedParameters'
|
2440
2487
|
property :input, as: 'input', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3QueryInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3QueryInput::Representation
|
2441
2488
|
|
@@ -2580,6 +2627,7 @@ module Google
|
|
2580
2627
|
|
2581
2628
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ResponseMessage::Representation
|
2582
2629
|
|
2630
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
2583
2631
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3FulfillmentSetParameterAction::Representation
|
2584
2632
|
|
2585
2633
|
property :tag, as: 'tag'
|
@@ -2884,6 +2932,22 @@ module Google
|
|
2884
2932
|
end
|
2885
2933
|
end
|
2886
2934
|
|
2935
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestMetadata
|
2936
|
+
# @private
|
2937
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2938
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestError::Representation
|
2939
|
+
|
2940
|
+
end
|
2941
|
+
end
|
2942
|
+
|
2943
|
+
class GoogleCloudDialogflowCxV3RunContinuousTestResponse
|
2944
|
+
# @private
|
2945
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2946
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ContinuousTestResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ContinuousTestResult::Representation
|
2947
|
+
|
2948
|
+
end
|
2949
|
+
end
|
2950
|
+
|
2887
2951
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
2888
2952
|
# @private
|
2889
2953
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3107,6 +3171,16 @@ module Google
|
|
3107
3171
|
end
|
3108
3172
|
end
|
3109
3173
|
|
3174
|
+
class GoogleCloudDialogflowCxV3beta1ContinuousTestResult
|
3175
|
+
# @private
|
3176
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3177
|
+
property :name, as: 'name'
|
3178
|
+
property :result, as: 'result'
|
3179
|
+
property :run_time, as: 'runTime'
|
3180
|
+
collection :test_case_results, as: 'testCaseResults'
|
3181
|
+
end
|
3182
|
+
end
|
3183
|
+
|
3110
3184
|
class GoogleCloudDialogflowCxV3beta1ConversationTurn
|
3111
3185
|
# @private
|
3112
3186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3120,6 +3194,7 @@ module Google
|
|
3120
3194
|
class GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput
|
3121
3195
|
# @private
|
3122
3196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
3197
|
+
property :enable_sentiment_analysis, as: 'enableSentimentAnalysis'
|
3123
3198
|
hash :injected_parameters, as: 'injectedParameters'
|
3124
3199
|
property :input, as: 'input', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1QueryInput, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1QueryInput::Representation
|
3125
3200
|
|
@@ -3264,6 +3339,7 @@ module Google
|
|
3264
3339
|
|
3265
3340
|
collection :messages, as: 'messages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ResponseMessage::Representation
|
3266
3341
|
|
3342
|
+
property :return_partial_responses, as: 'returnPartialResponses'
|
3267
3343
|
collection :set_parameter_actions, as: 'setParameterActions', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction::Representation
|
3268
3344
|
|
3269
3345
|
property :tag, as: 'tag'
|
@@ -3568,6 +3644,22 @@ module Google
|
|
3568
3644
|
end
|
3569
3645
|
end
|
3570
3646
|
|
3647
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata
|
3648
|
+
# @private
|
3649
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3650
|
+
collection :errors, as: 'errors', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestError::Representation
|
3651
|
+
|
3652
|
+
end
|
3653
|
+
end
|
3654
|
+
|
3655
|
+
class GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse
|
3656
|
+
# @private
|
3657
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3658
|
+
property :continuous_test_result, as: 'continuousTestResult', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1ContinuousTestResult::Representation
|
3659
|
+
|
3660
|
+
end
|
3661
|
+
end
|
3662
|
+
|
3571
3663
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
3572
3664
|
# @private
|
3573
3665
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4289,6 +4381,7 @@ module Google
|
|
4289
4381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4290
4382
|
property :action, as: 'action'
|
4291
4383
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
4384
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
4292
4385
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
4293
4386
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2IntentMessage::Representation
|
4294
4387
|
|
@@ -4533,11 +4626,15 @@ module Google
|
|
4533
4626
|
class GoogleCloudDialogflowV2beta1AutomatedAgentReply
|
4534
4627
|
# @private
|
4535
4628
|
class Representation < Google::Apis::Core::JsonRepresentation
|
4629
|
+
property :allow_cancellation, as: 'allowCancellation'
|
4630
|
+
property :automated_agent_reply_type, as: 'automatedAgentReplyType'
|
4536
4631
|
hash :cx_session_parameters, as: 'cxSessionParameters'
|
4537
4632
|
property :detect_intent_response, as: 'detectIntentResponse', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
|
4538
4633
|
|
4539
4634
|
property :event, as: 'event'
|
4540
4635
|
property :intent, as: 'intent'
|
4636
|
+
property :match_confidence, as: 'matchConfidence'
|
4637
|
+
hash :parameters, as: 'parameters'
|
4541
4638
|
collection :response_messages, as: 'responseMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ResponseMessage::Representation
|
4542
4639
|
|
4543
4640
|
end
|
@@ -5928,6 +6025,7 @@ module Google
|
|
5928
6025
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5929
6026
|
property :action, as: 'action'
|
5930
6027
|
property :all_required_params_present, as: 'allRequiredParamsPresent'
|
6028
|
+
property :cancels_slot_filling, as: 'cancelsSlotFilling'
|
5931
6029
|
hash :diagnostic_info, as: 'diagnosticInfo'
|
5932
6030
|
collection :fulfillment_messages, as: 'fulfillmentMessages', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentMessage::Representation
|
5933
6031
|
|
@@ -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/` or `projects//
|
118
120
|
# locations/`
|
@@ -149,7 +151,7 @@ module Google
|
|
149
151
|
execute_or_queue_command(command, &block)
|
150
152
|
end
|
151
153
|
|
152
|
-
# Exports the specified agent to a ZIP file.
|
154
|
+
# Exports the specified agent to a ZIP file.
|
153
155
|
# @param [String] parent
|
154
156
|
# Required. The project that the agent to export is associated with. Format: `
|
155
157
|
# projects/` or `projects//locations/`.
|
@@ -258,9 +260,9 @@ module Google
|
|
258
260
|
# the import, the imported draft agent will be trained automatically (unless
|
259
261
|
# disabled in agent settings). However, once the import is done, training may
|
260
262
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
261
|
-
# returns in order to train explicitly.
|
262
|
-
#
|
263
|
-
#
|
263
|
+
# returns in order to train explicitly. Note: You should always train an agent
|
264
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
265
|
+
# google.com/dialogflow/es/docs/training).
|
264
266
|
# @param [String] parent
|
265
267
|
# Required. The project that the agent to import is associated with. Format: `
|
266
268
|
# projects/` or `projects//locations/`.
|
@@ -299,9 +301,9 @@ module Google
|
|
299
301
|
# are deleted. After the restore, the restored draft agent will be trained
|
300
302
|
# automatically (unless disabled in agent settings). However, once the restore
|
301
303
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
302
|
-
# for the operation it returns in order to train explicitly.
|
303
|
-
#
|
304
|
-
#
|
304
|
+
# for the operation it returns in order to train explicitly. Note: You should
|
305
|
+
# always train an agent prior to sending it queries. See the [training
|
306
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
305
307
|
# @param [String] parent
|
306
308
|
# Required. The project that the agent to restore is associated with. Format: `
|
307
309
|
# projects/` or `projects//locations/`.
|
@@ -377,7 +379,9 @@ module Google
|
|
377
379
|
execute_or_queue_command(command, &block)
|
378
380
|
end
|
379
381
|
|
380
|
-
# 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).
|
381
385
|
# @param [String] parent
|
382
386
|
# Required. The project that the agent to train is associated with. Format: `
|
383
387
|
# projects/` or `projects//locations/`.
|
@@ -450,7 +454,9 @@ module Google
|
|
450
454
|
execute_or_queue_command(command, &block)
|
451
455
|
end
|
452
456
|
|
453
|
-
# 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).
|
454
460
|
# @param [String] parent
|
455
461
|
# Required. The name of the agent to delete all entities types for. Supported
|
456
462
|
# formats: - `projects//agent`, - `projects//locations//agent`.
|
@@ -484,7 +490,9 @@ module Google
|
|
484
490
|
execute_or_queue_command(command, &block)
|
485
491
|
end
|
486
492
|
|
487
|
-
# 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).
|
488
496
|
# @param [String] parent
|
489
497
|
# Required. The name of the agent to update or create entity types in. Supported
|
490
498
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -518,7 +526,9 @@ module Google
|
|
518
526
|
execute_or_queue_command(command, &block)
|
519
527
|
end
|
520
528
|
|
521
|
-
# 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).
|
522
532
|
# @param [String] parent
|
523
533
|
# Required. The agent to create a entity type for. Supported formats: - `
|
524
534
|
# projects//agent` - `projects//locations//agent`
|
@@ -558,7 +568,9 @@ module Google
|
|
558
568
|
execute_or_queue_command(command, &block)
|
559
569
|
end
|
560
570
|
|
561
|
-
# Deletes the specified entity type.
|
571
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
572
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
573
|
+
# google.com/dialogflow/es/docs/training).
|
562
574
|
# @param [String] name
|
563
575
|
# Required. The name of the entity type to delete. Supported formats: - `
|
564
576
|
# projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -670,7 +682,9 @@ module Google
|
|
670
682
|
execute_or_queue_command(command, &block)
|
671
683
|
end
|
672
684
|
|
673
|
-
# Updates the specified entity type.
|
685
|
+
# Updates the specified entity type. Note: You should always train an agent
|
686
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
687
|
+
# google.com/dialogflow/es/docs/training).
|
674
688
|
# @param [String] name
|
675
689
|
# The unique identifier of the entity type. Required for EntityTypes.
|
676
690
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported
|
@@ -715,7 +729,9 @@ module Google
|
|
715
729
|
execute_or_queue_command(command, &block)
|
716
730
|
end
|
717
731
|
|
718
|
-
# Creates multiple new entities in the specified entity type.
|
732
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
733
|
+
# always train an agent prior to sending it queries. See the [training
|
734
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
719
735
|
# @param [String] parent
|
720
736
|
# Required. The name of the entity type to create entities in. Supported formats:
|
721
737
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -749,7 +765,9 @@ module Google
|
|
749
765
|
execute_or_queue_command(command, &block)
|
750
766
|
end
|
751
767
|
|
752
|
-
# Deletes entities in the specified entity type.
|
768
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
769
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
770
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
753
771
|
# @param [String] parent
|
754
772
|
# Required. The name of the entity type to delete entries for. Supported formats:
|
755
773
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -785,7 +803,9 @@ module Google
|
|
785
803
|
|
786
804
|
# Updates or creates multiple entities in the specified entity type. This method
|
787
805
|
# does not affect entities in the entity type that aren't explicitly specified
|
788
|
-
# in the request.
|
806
|
+
# in the request. Note: You should always train an agent prior to sending it
|
807
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
808
|
+
# es/docs/training).
|
789
809
|
# @param [String] parent
|
790
810
|
# Required. The name of the entity type to update or create entities in.
|
791
811
|
# Supported formats: - `projects//agent/entityTypes/` - `projects//locations//
|
@@ -1051,7 +1071,11 @@ module Google
|
|
1051
1071
|
|
1052
1072
|
# Returns the list of all intents in the specified agent.
|
1053
1073
|
# @param [String] parent
|
1054
|
-
# Required. The agent to list all intents from. Format: `projects//agent
|
1074
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
1075
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
1076
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
1077
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
1078
|
+
# not be returned for non-draft environment.
|
1055
1079
|
# @param [String] intent_view
|
1056
1080
|
# Optional. The resource view to apply to the returned intent.
|
1057
1081
|
# @param [String] language_code
|
@@ -1587,7 +1611,9 @@ module Google
|
|
1587
1611
|
execute_or_queue_command(command, &block)
|
1588
1612
|
end
|
1589
1613
|
|
1590
|
-
# Deletes intents in the specified agent.
|
1614
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
1615
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
1616
|
+
# google.com/dialogflow/es/docs/training).
|
1591
1617
|
# @param [String] parent
|
1592
1618
|
# Required. The name of the agent to delete all entities types for. Supported
|
1593
1619
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -1621,7 +1647,9 @@ module Google
|
|
1621
1647
|
execute_or_queue_command(command, &block)
|
1622
1648
|
end
|
1623
1649
|
|
1624
|
-
# Updates/Creates multiple intents in the specified agent.
|
1650
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
1651
|
+
# always train an agent prior to sending it queries. See the [training
|
1652
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1625
1653
|
# @param [String] parent
|
1626
1654
|
# Required. The name of the agent to update or create intents in. Supported
|
1627
1655
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -1655,7 +1683,9 @@ module Google
|
|
1655
1683
|
execute_or_queue_command(command, &block)
|
1656
1684
|
end
|
1657
1685
|
|
1658
|
-
# Creates an intent in the specified agent.
|
1686
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
1687
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
1688
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
1659
1689
|
# @param [String] parent
|
1660
1690
|
# Required. The agent to create a intent for. Supported formats: - `projects//
|
1661
1691
|
# agent` - `projects//locations//agent`
|
@@ -1698,7 +1728,9 @@ module Google
|
|
1698
1728
|
execute_or_queue_command(command, &block)
|
1699
1729
|
end
|
1700
1730
|
|
1701
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
1731
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
1732
|
+
# You should always train an agent prior to sending it queries. See the [
|
1733
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
1702
1734
|
# @param [String] name
|
1703
1735
|
# Required. The name of the intent to delete. If this intent has direct or
|
1704
1736
|
# indirect followup intents, we also delete them. Supported formats: - `projects/
|
@@ -1772,7 +1804,11 @@ module Google
|
|
1772
1804
|
|
1773
1805
|
# Returns the list of all intents in the specified agent.
|
1774
1806
|
# @param [String] parent
|
1775
|
-
# Required. The agent to list all intents from. Format: `projects//agent
|
1807
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
1808
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
1809
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
1810
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
1811
|
+
# not be returned for non-draft environment.
|
1776
1812
|
# @param [String] intent_view
|
1777
1813
|
# Optional. The resource view to apply to the returned intent.
|
1778
1814
|
# @param [String] language_code
|
@@ -1816,7 +1852,9 @@ module Google
|
|
1816
1852
|
execute_or_queue_command(command, &block)
|
1817
1853
|
end
|
1818
1854
|
|
1819
|
-
# Updates the specified intent.
|
1855
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
1856
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
1857
|
+
# dialogflow/es/docs/training).
|
1820
1858
|
# @param [String] name
|
1821
1859
|
# Optional. The unique identifier of this intent. Required for Intents.
|
1822
1860
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `
|
@@ -3720,13 +3758,13 @@ module Google
|
|
3720
3758
|
# 2020-09-01. Retrieves suggestions for live agents. This method should be used
|
3721
3759
|
# by human agent client software to fetch auto generated suggestions in real-
|
3722
3760
|
# time, while the conversation with an end user is in progress. The
|
3723
|
-
# functionality is implemented in terms of the [list pagination](
|
3724
|
-
# design_patterns#list_pagination) design pattern. The
|
3725
|
-
# `next_page_token` field to fetch the next batch of
|
3726
|
-
# are sorted by `create_time` in descending order. To
|
3727
|
-
# just set `page_size` to 1. To fetch new suggestions
|
3728
|
-
# request with filter `create_time_epoch_microseconds >
|
3729
|
-
# create_time of previous request]` and empty page_token.
|
3761
|
+
# functionality is implemented in terms of the [list pagination](https://cloud.
|
3762
|
+
# google.com/apis/design/design_patterns#list_pagination) design pattern. The
|
3763
|
+
# client app should use the `next_page_token` field to fetch the next batch of
|
3764
|
+
# suggestions. `suggestions` are sorted by `create_time` in descending order. To
|
3765
|
+
# fetch latest suggestion, just set `page_size` to 1. To fetch new suggestions
|
3766
|
+
# without duplication, send request with filter `create_time_epoch_microseconds >
|
3767
|
+
# [first item's create_time of previous request]` and empty page_token.
|
3730
3768
|
# @param [String] parent
|
3731
3769
|
# Required. The name of the participant to fetch suggestions for. Format: `
|
3732
3770
|
# projects//locations//conversations//participants/`.
|
@@ -4411,7 +4449,9 @@ module Google
|
|
4411
4449
|
execute_or_queue_command(command, &block)
|
4412
4450
|
end
|
4413
4451
|
|
4414
|
-
# Creates/updates the specified agent.
|
4452
|
+
# Creates/updates the specified agent. Note: You should always train an agent
|
4453
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4454
|
+
# google.com/dialogflow/es/docs/training).
|
4415
4455
|
# @param [String] parent
|
4416
4456
|
# Required. The project of this agent. Format: `projects/` or `projects//
|
4417
4457
|
# locations/`
|
@@ -4448,7 +4488,7 @@ module Google
|
|
4448
4488
|
execute_or_queue_command(command, &block)
|
4449
4489
|
end
|
4450
4490
|
|
4451
|
-
# Exports the specified agent to a ZIP file.
|
4491
|
+
# Exports the specified agent to a ZIP file.
|
4452
4492
|
# @param [String] parent
|
4453
4493
|
# Required. The project that the agent to export is associated with. Format: `
|
4454
4494
|
# projects/` or `projects//locations/`.
|
@@ -4557,9 +4597,9 @@ module Google
|
|
4557
4597
|
# the import, the imported draft agent will be trained automatically (unless
|
4558
4598
|
# disabled in agent settings). However, once the import is done, training may
|
4559
4599
|
# not be completed yet. Please call TrainAgent and wait for the operation it
|
4560
|
-
# returns in order to train explicitly.
|
4561
|
-
#
|
4562
|
-
#
|
4600
|
+
# returns in order to train explicitly. Note: You should always train an agent
|
4601
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4602
|
+
# google.com/dialogflow/es/docs/training).
|
4563
4603
|
# @param [String] parent
|
4564
4604
|
# Required. The project that the agent to import is associated with. Format: `
|
4565
4605
|
# projects/` or `projects//locations/`.
|
@@ -4598,9 +4638,9 @@ module Google
|
|
4598
4638
|
# are deleted. After the restore, the restored draft agent will be trained
|
4599
4639
|
# automatically (unless disabled in agent settings). However, once the restore
|
4600
4640
|
# is done, training may not be completed yet. Please call TrainAgent and wait
|
4601
|
-
# for the operation it returns in order to train explicitly.
|
4602
|
-
#
|
4603
|
-
#
|
4641
|
+
# for the operation it returns in order to train explicitly. Note: You should
|
4642
|
+
# always train an agent prior to sending it queries. See the [training
|
4643
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4604
4644
|
# @param [String] parent
|
4605
4645
|
# Required. The project that the agent to restore is associated with. Format: `
|
4606
4646
|
# projects/` or `projects//locations/`.
|
@@ -4676,7 +4716,9 @@ module Google
|
|
4676
4716
|
execute_or_queue_command(command, &block)
|
4677
4717
|
end
|
4678
4718
|
|
4679
|
-
# Trains the specified agent.
|
4719
|
+
# Trains the specified agent. Note: You should always train an agent prior to
|
4720
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
4721
|
+
# dialogflow/es/docs/training).
|
4680
4722
|
# @param [String] parent
|
4681
4723
|
# Required. The project that the agent to train is associated with. Format: `
|
4682
4724
|
# projects/` or `projects//locations/`.
|
@@ -4749,7 +4791,9 @@ module Google
|
|
4749
4791
|
execute_or_queue_command(command, &block)
|
4750
4792
|
end
|
4751
4793
|
|
4752
|
-
# Deletes entity types in the specified agent.
|
4794
|
+
# Deletes entity types in the specified agent. Note: You should always train an
|
4795
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
4796
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4753
4797
|
# @param [String] parent
|
4754
4798
|
# Required. The name of the agent to delete all entities types for. Supported
|
4755
4799
|
# formats: - `projects//agent`, - `projects//locations//agent`.
|
@@ -4783,7 +4827,9 @@ module Google
|
|
4783
4827
|
execute_or_queue_command(command, &block)
|
4784
4828
|
end
|
4785
4829
|
|
4786
|
-
# Updates/Creates multiple entity types in the specified agent.
|
4830
|
+
# Updates/Creates multiple entity types in the specified agent. Note: You should
|
4831
|
+
# always train an agent prior to sending it queries. See the [training
|
4832
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
4787
4833
|
# @param [String] parent
|
4788
4834
|
# Required. The name of the agent to update or create entity types in. Supported
|
4789
4835
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -4817,7 +4863,9 @@ module Google
|
|
4817
4863
|
execute_or_queue_command(command, &block)
|
4818
4864
|
end
|
4819
4865
|
|
4820
|
-
# Creates an entity type in the specified agent.
|
4866
|
+
# Creates an entity type in the specified agent. Note: You should always train
|
4867
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
4868
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
4821
4869
|
# @param [String] parent
|
4822
4870
|
# Required. The agent to create a entity type for. Supported formats: - `
|
4823
4871
|
# projects//agent` - `projects//locations//agent`
|
@@ -4857,7 +4905,9 @@ module Google
|
|
4857
4905
|
execute_or_queue_command(command, &block)
|
4858
4906
|
end
|
4859
4907
|
|
4860
|
-
# Deletes the specified entity type.
|
4908
|
+
# Deletes the specified entity type. Note: You should always train an agent
|
4909
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
4910
|
+
# google.com/dialogflow/es/docs/training).
|
4861
4911
|
# @param [String] name
|
4862
4912
|
# Required. The name of the entity type to delete. Supported formats: - `
|
4863
4913
|
# projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -4969,7 +5019,9 @@ module Google
|
|
4969
5019
|
execute_or_queue_command(command, &block)
|
4970
5020
|
end
|
4971
5021
|
|
4972
|
-
# Updates the specified entity type.
|
5022
|
+
# Updates the specified entity type. Note: You should always train an agent
|
5023
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
5024
|
+
# google.com/dialogflow/es/docs/training).
|
4973
5025
|
# @param [String] name
|
4974
5026
|
# The unique identifier of the entity type. Required for EntityTypes.
|
4975
5027
|
# UpdateEntityType and EntityTypes.BatchUpdateEntityTypes methods. Supported
|
@@ -5014,7 +5066,9 @@ module Google
|
|
5014
5066
|
execute_or_queue_command(command, &block)
|
5015
5067
|
end
|
5016
5068
|
|
5017
|
-
# Creates multiple new entities in the specified entity type.
|
5069
|
+
# Creates multiple new entities in the specified entity type. Note: You should
|
5070
|
+
# always train an agent prior to sending it queries. See the [training
|
5071
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5018
5072
|
# @param [String] parent
|
5019
5073
|
# Required. The name of the entity type to create entities in. Supported formats:
|
5020
5074
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -5048,7 +5102,9 @@ module Google
|
|
5048
5102
|
execute_or_queue_command(command, &block)
|
5049
5103
|
end
|
5050
5104
|
|
5051
|
-
# Deletes entities in the specified entity type.
|
5105
|
+
# Deletes entities in the specified entity type. Note: You should always train
|
5106
|
+
# an agent prior to sending it queries. See the [training documentation](https://
|
5107
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
5052
5108
|
# @param [String] parent
|
5053
5109
|
# Required. The name of the entity type to delete entries for. Supported formats:
|
5054
5110
|
# - `projects//agent/entityTypes/` - `projects//locations//agent/entityTypes/`
|
@@ -5084,7 +5140,9 @@ module Google
|
|
5084
5140
|
|
5085
5141
|
# Updates or creates multiple entities in the specified entity type. This method
|
5086
5142
|
# does not affect entities in the entity type that aren't explicitly specified
|
5087
|
-
# in the request.
|
5143
|
+
# in the request. Note: You should always train an agent prior to sending it
|
5144
|
+
# queries. See the [training documentation](https://cloud.google.com/dialogflow/
|
5145
|
+
# es/docs/training).
|
5088
5146
|
# @param [String] parent
|
5089
5147
|
# Required. The name of the entity type to update or create entities in.
|
5090
5148
|
# Supported formats: - `projects//agent/entityTypes/` - `projects//locations//
|
@@ -5348,6 +5406,56 @@ module Google
|
|
5348
5406
|
execute_or_queue_command(command, &block)
|
5349
5407
|
end
|
5350
5408
|
|
5409
|
+
# Returns the list of all intents in the specified agent.
|
5410
|
+
# @param [String] parent
|
5411
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
5412
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
5413
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
5414
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
5415
|
+
# not be returned for non-draft environment.
|
5416
|
+
# @param [String] intent_view
|
5417
|
+
# Optional. The resource view to apply to the returned intent.
|
5418
|
+
# @param [String] language_code
|
5419
|
+
# Optional. The language used to access language-specific data. If not specified,
|
5420
|
+
# the agent's default language is used. For more information, see [Multilingual
|
5421
|
+
# intent and entity data](https://cloud.google.com/dialogflow/docs/agents-
|
5422
|
+
# multilingual#intent-entity).
|
5423
|
+
# @param [Fixnum] page_size
|
5424
|
+
# Optional. The maximum number of items to return in a single page. By default
|
5425
|
+
# 100 and at most 1000.
|
5426
|
+
# @param [String] page_token
|
5427
|
+
# Optional. The next_page_token value returned from a previous list request.
|
5428
|
+
# @param [String] fields
|
5429
|
+
# Selector specifying which fields to include in a partial response.
|
5430
|
+
# @param [String] quota_user
|
5431
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
5432
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
5433
|
+
# @param [Google::Apis::RequestOptions] options
|
5434
|
+
# Request-specific options
|
5435
|
+
#
|
5436
|
+
# @yield [result, err] Result & error if block supplied
|
5437
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse] parsed result object
|
5438
|
+
# @yieldparam err [StandardError] error object if request failed
|
5439
|
+
#
|
5440
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse]
|
5441
|
+
#
|
5442
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5443
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5444
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5445
|
+
def list_project_location_agent_environment_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
5446
|
+
command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
|
5447
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
|
5448
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
|
5449
|
+
command.params['parent'] = parent unless parent.nil?
|
5450
|
+
command.query['intentView'] = intent_view unless intent_view.nil?
|
5451
|
+
command.query['languageCode'] = language_code unless language_code.nil?
|
5452
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
5453
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5454
|
+
command.query['fields'] = fields unless fields.nil?
|
5455
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5456
|
+
execute_or_queue_command(command, &block)
|
5457
|
+
end
|
5458
|
+
|
5351
5459
|
# Deletes all active contexts in the specified session.
|
5352
5460
|
# @param [String] parent
|
5353
5461
|
# Required. The name of the session to delete all contexts from. Supported
|
@@ -5840,7 +5948,9 @@ module Google
|
|
5840
5948
|
execute_or_queue_command(command, &block)
|
5841
5949
|
end
|
5842
5950
|
|
5843
|
-
# Deletes intents in the specified agent.
|
5951
|
+
# Deletes intents in the specified agent. Note: You should always train an agent
|
5952
|
+
# prior to sending it queries. See the [training documentation](https://cloud.
|
5953
|
+
# google.com/dialogflow/es/docs/training).
|
5844
5954
|
# @param [String] parent
|
5845
5955
|
# Required. The name of the agent to delete all entities types for. Supported
|
5846
5956
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -5874,7 +5984,9 @@ module Google
|
|
5874
5984
|
execute_or_queue_command(command, &block)
|
5875
5985
|
end
|
5876
5986
|
|
5877
|
-
# Updates/Creates multiple intents in the specified agent.
|
5987
|
+
# Updates/Creates multiple intents in the specified agent. Note: You should
|
5988
|
+
# always train an agent prior to sending it queries. See the [training
|
5989
|
+
# documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5878
5990
|
# @param [String] parent
|
5879
5991
|
# Required. The name of the agent to update or create intents in. Supported
|
5880
5992
|
# formats: - `projects//agent` - `projects//locations//agent`
|
@@ -5908,7 +6020,9 @@ module Google
|
|
5908
6020
|
execute_or_queue_command(command, &block)
|
5909
6021
|
end
|
5910
6022
|
|
5911
|
-
# Creates an intent in the specified agent.
|
6023
|
+
# Creates an intent in the specified agent. Note: You should always train an
|
6024
|
+
# agent prior to sending it queries. See the [training documentation](https://
|
6025
|
+
# cloud.google.com/dialogflow/es/docs/training).
|
5912
6026
|
# @param [String] parent
|
5913
6027
|
# Required. The agent to create a intent for. Supported formats: - `projects//
|
5914
6028
|
# agent` - `projects//locations//agent`
|
@@ -5951,7 +6065,9 @@ module Google
|
|
5951
6065
|
execute_or_queue_command(command, &block)
|
5952
6066
|
end
|
5953
6067
|
|
5954
|
-
# Deletes the specified intent and its direct or indirect followup intents.
|
6068
|
+
# Deletes the specified intent and its direct or indirect followup intents. Note:
|
6069
|
+
# You should always train an agent prior to sending it queries. See the [
|
6070
|
+
# training documentation](https://cloud.google.com/dialogflow/es/docs/training).
|
5955
6071
|
# @param [String] name
|
5956
6072
|
# Required. The name of the intent to delete. If this intent has direct or
|
5957
6073
|
# indirect followup intents, we also delete them. Supported formats: - `projects/
|
@@ -6025,7 +6141,11 @@ module Google
|
|
6025
6141
|
|
6026
6142
|
# Returns the list of all intents in the specified agent.
|
6027
6143
|
# @param [String] parent
|
6028
|
-
# Required. The agent to list all intents from. Format: `projects//agent
|
6144
|
+
# Required. The agent to list all intents from. Format: `projects//agent` or `
|
6145
|
+
# projects//locations//agent`. Alternatively, you can specify the environment to
|
6146
|
+
# list intents for. Format: `projects//agent/environments/` or `projects//
|
6147
|
+
# locations//agent/environments/`. Note: training phrases of the intents will
|
6148
|
+
# not be returned for non-draft environment.
|
6029
6149
|
# @param [String] intent_view
|
6030
6150
|
# Optional. The resource view to apply to the returned intent.
|
6031
6151
|
# @param [String] language_code
|
@@ -6069,7 +6189,9 @@ module Google
|
|
6069
6189
|
execute_or_queue_command(command, &block)
|
6070
6190
|
end
|
6071
6191
|
|
6072
|
-
# Updates the specified intent.
|
6192
|
+
# Updates the specified intent. Note: You should always train an agent prior to
|
6193
|
+
# sending it queries. See the [training documentation](https://cloud.google.com/
|
6194
|
+
# dialogflow/es/docs/training).
|
6073
6195
|
# @param [String] name
|
6074
6196
|
# Optional. The unique identifier of this intent. Required for Intents.
|
6075
6197
|
# UpdateIntent and Intents.BatchUpdateIntents methods. Supported formats: - `
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.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-06-28 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.3'
|
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.3'
|
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 V2beta1. Simple REST
|
28
34
|
clients are Ruby client libraries that provide access to Google services via their
|
29
35
|
HTTP REST API endpoints. These libraries are generated and updated automatically
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2beta1/v0.16.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2beta1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|