google-api-client 0.30.2 → 0.30.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -23,10 +23,10 @@ module Google
|
|
23
23
|
# Builds conversational interfaces (for example, chatbots, and voice-powered
|
24
24
|
# apps and devices).
|
25
25
|
#
|
26
|
-
# @see https://cloud.google.com/dialogflow
|
26
|
+
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190616'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,11 +26,18 @@ module Google
|
|
26
26
|
class GoogleCloudDialogflowV2Agent
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
+
# Optional. API version displayed in Dialogflow console. If not specified,
|
30
|
+
# V2 API is assumed. Clients are free to query different service endpoints
|
31
|
+
# for different API versions. However, bots connectors and webhook calls will
|
32
|
+
# follow the specified API version.
|
33
|
+
# Corresponds to the JSON property `apiVersion`
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :api_version
|
36
|
+
|
29
37
|
# Optional. The URI of the agent's avatar.
|
30
38
|
# Avatars are used throughout the Dialogflow console and in the self-hosted
|
31
39
|
# [Web
|
32
|
-
# Demo](https://cloud.google.com/dialogflow
|
33
|
-
# demo)
|
40
|
+
# Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
|
34
41
|
# integration.
|
35
42
|
# Corresponds to the JSON property `avatarUri`
|
36
43
|
# @return [String]
|
@@ -49,8 +56,7 @@ module Google
|
|
49
56
|
|
50
57
|
# Required. The default language of the agent as a language tag. See
|
51
58
|
# [Language
|
52
|
-
# Support](https://cloud.google.com/dialogflow
|
53
|
-
# language)
|
59
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
54
60
|
# for a list of the currently supported language codes. This field cannot be
|
55
61
|
# set by the `Update` method.
|
56
62
|
# Corresponds to the JSON property `defaultLanguageCode`
|
@@ -91,6 +97,11 @@ module Google
|
|
91
97
|
# @return [Array<String>]
|
92
98
|
attr_accessor :supported_language_codes
|
93
99
|
|
100
|
+
# Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
|
101
|
+
# Corresponds to the JSON property `tier`
|
102
|
+
# @return [String]
|
103
|
+
attr_accessor :tier
|
104
|
+
|
94
105
|
# Required. The time zone of this agent from the
|
95
106
|
# [time zone database](https://www.iana.org/time-zones), e.g.,
|
96
107
|
# America/New_York, Europe/Paris.
|
@@ -104,6 +115,7 @@ module Google
|
|
104
115
|
|
105
116
|
# Update properties of this object
|
106
117
|
def update!(**args)
|
118
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
107
119
|
@avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
|
108
120
|
@classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold)
|
109
121
|
@default_language_code = args[:default_language_code] if args.key?(:default_language_code)
|
@@ -113,6 +125,7 @@ module Google
|
|
113
125
|
@match_mode = args[:match_mode] if args.key?(:match_mode)
|
114
126
|
@parent = args[:parent] if args.key?(:parent)
|
115
127
|
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
|
128
|
+
@tier = args[:tier] if args.key?(:tier)
|
116
129
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
117
130
|
end
|
118
131
|
end
|
@@ -129,8 +142,7 @@ module Google
|
|
129
142
|
# Optional. The language of entity synonyms defined in `entities`. If not
|
130
143
|
# specified, the agent's default language is used.
|
131
144
|
# [Many
|
132
|
-
# languages](https://cloud.google.com/dialogflow
|
133
|
-
# language)
|
145
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
134
146
|
# are supported. Note: languages must be enabled in the agent before they can
|
135
147
|
# be used.
|
136
148
|
# Corresponds to the JSON property `languageCode`
|
@@ -162,8 +174,7 @@ module Google
|
|
162
174
|
# Optional. The language of entity synonyms defined in `entities`. If not
|
163
175
|
# specified, the agent's default language is used.
|
164
176
|
# [Many
|
165
|
-
# languages](https://cloud.google.com/dialogflow
|
166
|
-
# language)
|
177
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
167
178
|
# are supported. Note: languages must be enabled in the agent before they can
|
168
179
|
# be used.
|
169
180
|
# Corresponds to the JSON property `languageCode`
|
@@ -233,8 +244,7 @@ module Google
|
|
233
244
|
# Optional. The language of entity synonyms defined in `entities`. If not
|
234
245
|
# specified, the agent's default language is used.
|
235
246
|
# [Many
|
236
|
-
# languages](https://cloud.google.com/dialogflow
|
237
|
-
# language)
|
247
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
238
248
|
# are supported. Note: languages must be enabled in the agent before they can
|
239
249
|
# be used.
|
240
250
|
# Corresponds to the JSON property `languageCode`
|
@@ -278,8 +288,7 @@ module Google
|
|
278
288
|
# Optional. The language of entity synonyms defined in `entity_types`. If not
|
279
289
|
# specified, the agent's default language is used.
|
280
290
|
# [Many
|
281
|
-
# languages](https://cloud.google.com/dialogflow
|
282
|
-
# language)
|
291
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
283
292
|
# are supported. Note: languages must be enabled in the agent before they can
|
284
293
|
# be used.
|
285
294
|
# Corresponds to the JSON property `languageCode`
|
@@ -347,8 +356,7 @@ module Google
|
|
347
356
|
# Optional. The language of training phrases, parameters and rich messages
|
348
357
|
# defined in `intents`. If not specified, the agent's default language is
|
349
358
|
# used. [Many
|
350
|
-
# languages](https://cloud.google.com/dialogflow
|
351
|
-
# language)
|
359
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
352
360
|
# are supported. Note: languages must be enabled in the agent before they can
|
353
361
|
# be used.
|
354
362
|
# Corresponds to the JSON property `languageCode`
|
@@ -415,8 +423,7 @@ module Google
|
|
415
423
|
|
416
424
|
# Optional. The collection of parameters associated with this context.
|
417
425
|
# Refer to [this
|
418
|
-
# doc](https://cloud.google.com/dialogflow
|
419
|
-
# parameters)
|
426
|
+
# doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
|
420
427
|
# for syntax.
|
421
428
|
# Corresponds to the JSON property `parameters`
|
422
429
|
# @return [Hash<String,Object>]
|
@@ -646,8 +653,7 @@ module Google
|
|
646
653
|
include Google::Apis::Core::Hashable
|
647
654
|
|
648
655
|
# Required. The language of this query. See [Language
|
649
|
-
# Support](https://cloud.google.com/dialogflow
|
650
|
-
# language)
|
656
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
651
657
|
# for a list of the currently supported language codes. Note that queries in
|
652
658
|
# the same session do not necessarily need to specify the same language.
|
653
659
|
# Corresponds to the JSON property `languageCode`
|
@@ -790,8 +796,7 @@ module Google
|
|
790
796
|
|
791
797
|
# Required. The language of the supplied audio. Dialogflow does not do
|
792
798
|
# translations. See [Language
|
793
|
-
# Support](https://cloud.google.com/dialogflow
|
794
|
-
# language)
|
799
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
795
800
|
# for a list of the currently supported language codes. Note that queries in
|
796
801
|
# the same session do not necessarily need to specify the same language.
|
797
802
|
# Corresponds to the JSON property `languageCode`
|
@@ -1664,7 +1669,7 @@ module Google
|
|
1664
1669
|
attr_accessor :name
|
1665
1670
|
|
1666
1671
|
# Optional. The collection of prompts that the agent can present to the
|
1667
|
-
# user in order to collect value for the parameter.
|
1672
|
+
# user in order to collect a value for the parameter.
|
1668
1673
|
# Corresponds to the JSON property `prompts`
|
1669
1674
|
# @return [Array<String>]
|
1670
1675
|
attr_accessor :prompts
|
@@ -2141,8 +2146,7 @@ module Google
|
|
2141
2146
|
|
2142
2147
|
# The language that was triggered during intent detection.
|
2143
2148
|
# See [Language
|
2144
|
-
# Support](https://cloud.google.com/dialogflow
|
2145
|
-
# language)
|
2149
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
2146
2150
|
# for a list of the currently supported language codes.
|
2147
2151
|
# Corresponds to the JSON property `languageCode`
|
2148
2152
|
# @return [String]
|
@@ -2468,8 +2472,7 @@ module Google
|
|
2468
2472
|
include Google::Apis::Core::Hashable
|
2469
2473
|
|
2470
2474
|
# Required. The language of this conversational query. See [Language
|
2471
|
-
# Support](https://cloud.google.com/dialogflow
|
2472
|
-
# language)
|
2475
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
2473
2476
|
# for a list of the currently supported language codes. Note that queries in
|
2474
2477
|
# the same session do not necessarily need to specify the same language.
|
2475
2478
|
# Corresponds to the JSON property `languageCode`
|
@@ -2720,8 +2723,7 @@ module Google
|
|
2720
2723
|
|
2721
2724
|
# Optional. The collection of parameters associated with this context.
|
2722
2725
|
# Refer to [this
|
2723
|
-
# doc](https://cloud.google.com/dialogflow
|
2724
|
-
# parameters)
|
2726
|
+
# doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
|
2725
2727
|
# for syntax.
|
2726
2728
|
# Corresponds to the JSON property `parameters`
|
2727
2729
|
# @return [Hash<String,Object>]
|
@@ -2833,8 +2835,7 @@ module Google
|
|
2833
2835
|
include Google::Apis::Core::Hashable
|
2834
2836
|
|
2835
2837
|
# Required. The language of this query. See [Language
|
2836
|
-
# Support](https://cloud.google.com/dialogflow
|
2837
|
-
# language)
|
2838
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
2838
2839
|
# for a list of the currently supported language codes. Note that queries in
|
2839
2840
|
# the same session do not necessarily need to specify the same language.
|
2840
2841
|
# Corresponds to the JSON property `languageCode`
|
@@ -3840,7 +3841,7 @@ module Google
|
|
3840
3841
|
attr_accessor :name
|
3841
3842
|
|
3842
3843
|
# Optional. The collection of prompts that the agent can present to the
|
3843
|
-
# user in order to collect value for the parameter.
|
3844
|
+
# user in order to collect a value for the parameter.
|
3844
3845
|
# Corresponds to the JSON property `prompts`
|
3845
3846
|
# @return [Array<String>]
|
3846
3847
|
attr_accessor :prompts
|
@@ -4169,8 +4170,7 @@ module Google
|
|
4169
4170
|
|
4170
4171
|
# The language that was triggered during intent detection.
|
4171
4172
|
# See [Language
|
4172
|
-
# Support](https://cloud.google.com/dialogflow
|
4173
|
-
# language)
|
4173
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
4174
4174
|
# for a list of the currently supported language codes.
|
4175
4175
|
# Corresponds to the JSON property `languageCode`
|
4176
4176
|
# @return [String]
|
@@ -709,6 +709,7 @@ module Google
|
|
709
709
|
class GoogleCloudDialogflowV2Agent
|
710
710
|
# @private
|
711
711
|
class Representation < Google::Apis::Core::JsonRepresentation
|
712
|
+
property :api_version, as: 'apiVersion'
|
712
713
|
property :avatar_uri, as: 'avatarUri'
|
713
714
|
property :classification_threshold, as: 'classificationThreshold'
|
714
715
|
property :default_language_code, as: 'defaultLanguageCode'
|
@@ -718,6 +719,7 @@ module Google
|
|
718
719
|
property :match_mode, as: 'matchMode'
|
719
720
|
property :parent, as: 'parent'
|
720
721
|
collection :supported_language_codes, as: 'supportedLanguageCodes'
|
722
|
+
property :tier, as: 'tier'
|
721
723
|
property :time_zone, as: 'timeZone'
|
722
724
|
end
|
723
725
|
end
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Dialogflow = Google::Apis::DialogflowV2 # Alias the module
|
32
32
|
# service = Dialogflow::DialogflowService.new
|
33
33
|
#
|
34
|
-
# @see https://cloud.google.com/dialogflow
|
34
|
+
# @see https://cloud.google.com/dialogflow/
|
35
35
|
class DialogflowService < Google::Apis::Core::BaseService
|
36
36
|
# @return [String]
|
37
37
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -48,6 +48,74 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
+
# Creates/updates the specified agent.
|
52
|
+
# @param [String] parent
|
53
|
+
# Required. The project of this agent.
|
54
|
+
# Format: `projects/<Project ID>`.
|
55
|
+
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] google_cloud_dialogflow_v2_agent_object
|
56
|
+
# @param [String] update_mask
|
57
|
+
# Optional. The mask to control which fields get updated.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def agent_project(parent, google_cloud_dialogflow_v2_agent_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v2/{+parent}/agent', options)
|
77
|
+
command.request_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
|
78
|
+
command.request_object = google_cloud_dialogflow_v2_agent_object
|
79
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent::Representation
|
80
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Agent
|
81
|
+
command.params['parent'] = parent unless parent.nil?
|
82
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
83
|
+
command.query['fields'] = fields unless fields.nil?
|
84
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
|
+
execute_or_queue_command(command, &block)
|
86
|
+
end
|
87
|
+
|
88
|
+
# Deletes the specified agent.
|
89
|
+
# @param [String] parent
|
90
|
+
# Required. The project that the agent to delete is associated with.
|
91
|
+
# Format: `projects/<Project ID>`.
|
92
|
+
# @param [String] fields
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
94
|
+
# @param [String] quota_user
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
98
|
+
# Request-specific options
|
99
|
+
#
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
101
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
103
|
+
#
|
104
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
105
|
+
#
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
+
def delete_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:delete, 'v2/{+parent}/agent', options)
|
111
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
112
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
113
|
+
command.params['parent'] = parent unless parent.nil?
|
114
|
+
command.query['fields'] = fields unless fields.nil?
|
115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
|
+
execute_or_queue_command(command, &block)
|
117
|
+
end
|
118
|
+
|
51
119
|
# Retrieves the specified agent.
|
52
120
|
# @param [String] parent
|
53
121
|
# Required. The project that the agent to fetch is associated with.
|
@@ -347,8 +415,7 @@ module Google
|
|
347
415
|
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
348
416
|
# specified, the agent's default language is used.
|
349
417
|
# [Many
|
350
|
-
# languages](https://cloud.google.com/dialogflow
|
351
|
-
# language)
|
418
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
352
419
|
# are supported. Note: languages must be enabled in the agent before they can
|
353
420
|
# be used.
|
354
421
|
# @param [String] fields
|
@@ -420,8 +487,7 @@ module Google
|
|
420
487
|
# Optional. The language to retrieve entity synonyms for. If not specified,
|
421
488
|
# the agent's default language is used.
|
422
489
|
# [Many
|
423
|
-
# languages](https://cloud.google.com/dialogflow
|
424
|
-
# language)
|
490
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
425
491
|
# are supported. Note: languages must be enabled in the agent before they can
|
426
492
|
# be used.
|
427
493
|
# @param [String] fields
|
@@ -460,8 +526,7 @@ module Google
|
|
460
526
|
# Optional. The language to list entity synonyms for. If not specified,
|
461
527
|
# the agent's default language is used.
|
462
528
|
# [Many
|
463
|
-
# languages](https://cloud.google.com/dialogflow
|
464
|
-
# language)
|
529
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
465
530
|
# are supported. Note: languages must be enabled in the agent before they can
|
466
531
|
# be used.
|
467
532
|
# @param [Fixnum] page_size
|
@@ -510,8 +575,7 @@ module Google
|
|
510
575
|
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
511
576
|
# specified, the agent's default language is used.
|
512
577
|
# [Many
|
513
|
-
# languages](https://cloud.google.com/dialogflow
|
514
|
-
# language)
|
578
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
515
579
|
# are supported. Note: languages must be enabled in the agent before they can
|
516
580
|
# be used.
|
517
581
|
# @param [String] update_mask
|
@@ -735,8 +799,7 @@ module Google
|
|
735
799
|
# Optional. The language of training phrases, parameters and rich messages
|
736
800
|
# defined in `intent`. If not specified, the agent's default language is
|
737
801
|
# used. [Many
|
738
|
-
# languages](https://cloud.google.com/dialogflow
|
739
|
-
# language)
|
802
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
740
803
|
# are supported. Note: languages must be enabled in the agent before they can
|
741
804
|
# be used.
|
742
805
|
# @param [String] fields
|
@@ -812,8 +875,7 @@ module Google
|
|
812
875
|
# Optional. The language to retrieve training phrases, parameters and rich
|
813
876
|
# messages for. If not specified, the agent's default language is used.
|
814
877
|
# [Many
|
815
|
-
# languages](https://cloud.google.com/dialogflow
|
816
|
-
# language)
|
878
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
817
879
|
# are supported. Note: languages must be enabled in the agent before they can
|
818
880
|
# be used.
|
819
881
|
# @param [String] fields
|
@@ -855,8 +917,7 @@ module Google
|
|
855
917
|
# Optional. The language to list training phrases, parameters and rich
|
856
918
|
# messages for. If not specified, the agent's default language is used.
|
857
919
|
# [Many
|
858
|
-
# languages](https://cloud.google.com/dialogflow
|
859
|
-
# language)
|
920
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
860
921
|
# are supported. Note: languages must be enabled in the agent before they can
|
861
922
|
# be used.
|
862
923
|
# @param [Fixnum] page_size
|
@@ -908,8 +969,7 @@ module Google
|
|
908
969
|
# Optional. The language of training phrases, parameters and rich messages
|
909
970
|
# defined in `intent`. If not specified, the agent's default language is
|
910
971
|
# used. [Many
|
911
|
-
# languages](https://cloud.google.com/dialogflow
|
912
|
-
# language)
|
972
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
913
973
|
# are supported. Note: languages must be enabled in the agent before they can
|
914
974
|
# be used.
|
915
975
|
# @param [String] update_mask
|
@@ -23,10 +23,10 @@ module Google
|
|
23
23
|
# Builds conversational interfaces (for example, chatbots, and voice-powered
|
24
24
|
# apps and devices).
|
25
25
|
#
|
26
|
-
# @see https://cloud.google.com/dialogflow
|
26
|
+
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190616'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -82,8 +82,7 @@ module Google
|
|
82
82
|
|
83
83
|
# Optional. The collection of parameters associated with this context.
|
84
84
|
# Refer to [this
|
85
|
-
# doc](https://cloud.google.com/dialogflow
|
86
|
-
# parameters)
|
85
|
+
# doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
|
87
86
|
# for syntax.
|
88
87
|
# Corresponds to the JSON property `parameters`
|
89
88
|
# @return [Hash<String,Object>]
|
@@ -195,8 +194,7 @@ module Google
|
|
195
194
|
include Google::Apis::Core::Hashable
|
196
195
|
|
197
196
|
# Required. The language of this query. See [Language
|
198
|
-
# Support](https://cloud.google.com/dialogflow
|
199
|
-
# language)
|
197
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
200
198
|
# for a list of the currently supported language codes. Note that queries in
|
201
199
|
# the same session do not necessarily need to specify the same language.
|
202
200
|
# Corresponds to the JSON property `languageCode`
|
@@ -1074,7 +1072,7 @@ module Google
|
|
1074
1072
|
attr_accessor :name
|
1075
1073
|
|
1076
1074
|
# Optional. The collection of prompts that the agent can present to the
|
1077
|
-
# user in order to collect value for the parameter.
|
1075
|
+
# user in order to collect a value for the parameter.
|
1078
1076
|
# Corresponds to the JSON property `prompts`
|
1079
1077
|
# @return [Array<String>]
|
1080
1078
|
attr_accessor :prompts
|
@@ -1301,8 +1299,7 @@ module Google
|
|
1301
1299
|
|
1302
1300
|
# The language that was triggered during intent detection.
|
1303
1301
|
# See [Language
|
1304
|
-
# Support](https://cloud.google.com/dialogflow
|
1305
|
-
# language)
|
1302
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
1306
1303
|
# for a list of the currently supported language codes.
|
1307
1304
|
# Corresponds to the JSON property `languageCode`
|
1308
1305
|
# @return [String]
|
@@ -1560,11 +1557,18 @@ module Google
|
|
1560
1557
|
class GoogleCloudDialogflowV2beta1Agent
|
1561
1558
|
include Google::Apis::Core::Hashable
|
1562
1559
|
|
1560
|
+
# Optional. API version displayed in Dialogflow console. If not specified,
|
1561
|
+
# V2 API is assumed. Clients are free to query different service endpoints
|
1562
|
+
# for different API versions. However, bots connectors and webhook calls will
|
1563
|
+
# follow the specified API version.
|
1564
|
+
# Corresponds to the JSON property `apiVersion`
|
1565
|
+
# @return [String]
|
1566
|
+
attr_accessor :api_version
|
1567
|
+
|
1563
1568
|
# Optional. The URI of the agent's avatar.
|
1564
1569
|
# Avatars are used throughout the Dialogflow console and in the self-hosted
|
1565
1570
|
# [Web
|
1566
|
-
# Demo](https://cloud.google.com/dialogflow
|
1567
|
-
# demo)
|
1571
|
+
# Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo)
|
1568
1572
|
# integration.
|
1569
1573
|
# Corresponds to the JSON property `avatarUri`
|
1570
1574
|
# @return [String]
|
@@ -1583,8 +1587,7 @@ module Google
|
|
1583
1587
|
|
1584
1588
|
# Required. The default language of the agent as a language tag. See
|
1585
1589
|
# [Language
|
1586
|
-
# Support](https://cloud.google.com/dialogflow
|
1587
|
-
# language)
|
1590
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
1588
1591
|
# for a list of the currently supported language codes. This field cannot be
|
1589
1592
|
# set by the `Update` method.
|
1590
1593
|
# Corresponds to the JSON property `defaultLanguageCode`
|
@@ -1625,6 +1628,11 @@ module Google
|
|
1625
1628
|
# @return [Array<String>]
|
1626
1629
|
attr_accessor :supported_language_codes
|
1627
1630
|
|
1631
|
+
# Optional. The agent tier. If not specified, TIER_STANDARD is assumed.
|
1632
|
+
# Corresponds to the JSON property `tier`
|
1633
|
+
# @return [String]
|
1634
|
+
attr_accessor :tier
|
1635
|
+
|
1628
1636
|
# Required. The time zone of this agent from the
|
1629
1637
|
# [time zone database](https://www.iana.org/time-zones), e.g.,
|
1630
1638
|
# America/New_York, Europe/Paris.
|
@@ -1638,6 +1646,7 @@ module Google
|
|
1638
1646
|
|
1639
1647
|
# Update properties of this object
|
1640
1648
|
def update!(**args)
|
1649
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1641
1650
|
@avatar_uri = args[:avatar_uri] if args.key?(:avatar_uri)
|
1642
1651
|
@classification_threshold = args[:classification_threshold] if args.key?(:classification_threshold)
|
1643
1652
|
@default_language_code = args[:default_language_code] if args.key?(:default_language_code)
|
@@ -1647,6 +1656,7 @@ module Google
|
|
1647
1656
|
@match_mode = args[:match_mode] if args.key?(:match_mode)
|
1648
1657
|
@parent = args[:parent] if args.key?(:parent)
|
1649
1658
|
@supported_language_codes = args[:supported_language_codes] if args.key?(:supported_language_codes)
|
1659
|
+
@tier = args[:tier] if args.key?(:tier)
|
1650
1660
|
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
1651
1661
|
end
|
1652
1662
|
end
|
@@ -1663,8 +1673,7 @@ module Google
|
|
1663
1673
|
# Optional. The language of entity synonyms defined in `entities`. If not
|
1664
1674
|
# specified, the agent's default language is used.
|
1665
1675
|
# [Many
|
1666
|
-
# languages](https://cloud.google.com/dialogflow
|
1667
|
-
# language)
|
1676
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
1668
1677
|
# are supported. Note: languages must be enabled in the agent before they can
|
1669
1678
|
# be used.
|
1670
1679
|
# Corresponds to the JSON property `languageCode`
|
@@ -1696,8 +1705,7 @@ module Google
|
|
1696
1705
|
# Optional. The language of entity synonyms defined in `entities`. If not
|
1697
1706
|
# specified, the agent's default language is used.
|
1698
1707
|
# [Many
|
1699
|
-
# languages](https://cloud.google.com/dialogflow
|
1700
|
-
# language)
|
1708
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
1701
1709
|
# are supported. Note: languages must be enabled in the agent before they can
|
1702
1710
|
# be used.
|
1703
1711
|
# Corresponds to the JSON property `languageCode`
|
@@ -1767,8 +1775,7 @@ module Google
|
|
1767
1775
|
# Optional. The language of entity synonyms defined in `entities`. If not
|
1768
1776
|
# specified, the agent's default language is used.
|
1769
1777
|
# [Many
|
1770
|
-
# languages](https://cloud.google.com/dialogflow
|
1771
|
-
# language)
|
1778
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
1772
1779
|
# are supported. Note: languages must be enabled in the agent before they can
|
1773
1780
|
# be used.
|
1774
1781
|
# Corresponds to the JSON property `languageCode`
|
@@ -1812,8 +1819,7 @@ module Google
|
|
1812
1819
|
# Optional. The language of entity synonyms defined in `entity_types`. If not
|
1813
1820
|
# specified, the agent's default language is used.
|
1814
1821
|
# [Many
|
1815
|
-
# languages](https://cloud.google.com/dialogflow
|
1816
|
-
# language)
|
1822
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
1817
1823
|
# are supported. Note: languages must be enabled in the agent before they can
|
1818
1824
|
# be used.
|
1819
1825
|
# Corresponds to the JSON property `languageCode`
|
@@ -1881,8 +1887,7 @@ module Google
|
|
1881
1887
|
# Optional. The language of training phrases, parameters and rich messages
|
1882
1888
|
# defined in `intents`. If not specified, the agent's default language is
|
1883
1889
|
# used. [Many
|
1884
|
-
# languages](https://cloud.google.com/dialogflow
|
1885
|
-
# language)
|
1890
|
+
# languages](https://cloud.google.com/dialogflow/docs/reference/language)
|
1886
1891
|
# are supported. Note: languages must be enabled in the agent before they can
|
1887
1892
|
# be used.
|
1888
1893
|
# Corresponds to the JSON property `languageCode`
|
@@ -1953,8 +1958,7 @@ module Google
|
|
1953
1958
|
|
1954
1959
|
# Optional. The collection of parameters associated with this context.
|
1955
1960
|
# Refer to [this
|
1956
|
-
# doc](https://cloud.google.com/dialogflow
|
1957
|
-
# parameters)
|
1961
|
+
# doc](https://cloud.google.com/dialogflow/docs/intents-actions-parameters)
|
1958
1962
|
# for syntax.
|
1959
1963
|
# Corresponds to the JSON property `parameters`
|
1960
1964
|
# @return [Hash<String,Object>]
|
@@ -2269,8 +2273,7 @@ module Google
|
|
2269
2273
|
include Google::Apis::Core::Hashable
|
2270
2274
|
|
2271
2275
|
# Required. The language of this query. See [Language
|
2272
|
-
# Support](https://cloud.google.com/dialogflow
|
2273
|
-
# language)
|
2276
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
2274
2277
|
# for a list of the currently supported language codes. Note that queries in
|
2275
2278
|
# the same session do not necessarily need to specify the same language.
|
2276
2279
|
# Corresponds to the JSON property `languageCode`
|
@@ -2422,8 +2425,7 @@ module Google
|
|
2422
2425
|
|
2423
2426
|
# Required. The language of the supplied audio. Dialogflow does not do
|
2424
2427
|
# translations. See [Language
|
2425
|
-
# Support](https://cloud.google.com/dialogflow
|
2426
|
-
# language)
|
2428
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
2427
2429
|
# for a list of the currently supported language codes. Note that queries in
|
2428
2430
|
# the same session do not necessarily need to specify the same language.
|
2429
2431
|
# Corresponds to the JSON property `languageCode`
|
@@ -3442,7 +3444,7 @@ module Google
|
|
3442
3444
|
attr_accessor :name
|
3443
3445
|
|
3444
3446
|
# Optional. The collection of prompts that the agent can present to the
|
3445
|
-
# user in order to collect value for the parameter.
|
3447
|
+
# user in order to collect a value for the parameter.
|
3446
3448
|
# Corresponds to the JSON property `prompts`
|
3447
3449
|
# @return [Array<String>]
|
3448
3450
|
attr_accessor :prompts
|
@@ -4111,8 +4113,7 @@ module Google
|
|
4111
4113
|
|
4112
4114
|
# The language that was triggered during intent detection.
|
4113
4115
|
# See [Language
|
4114
|
-
# Support](https://cloud.google.com/dialogflow
|
4115
|
-
# language)
|
4116
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
4116
4117
|
# for a list of the currently supported language codes.
|
4117
4118
|
# Corresponds to the JSON property `languageCode`
|
4118
4119
|
# @return [String]
|
@@ -4456,8 +4457,7 @@ module Google
|
|
4456
4457
|
include Google::Apis::Core::Hashable
|
4457
4458
|
|
4458
4459
|
# Required. The language of this conversational query. See [Language
|
4459
|
-
# Support](https://cloud.google.com/dialogflow
|
4460
|
-
# language)
|
4460
|
+
# Support](https://cloud.google.com/dialogflow/docs/reference/language)
|
4461
4461
|
# for a list of the currently supported language codes. Note that queries in
|
4462
4462
|
# the same session do not necessarily need to specify the same language.
|
4463
4463
|
# Corresponds to the JSON property `languageCode`
|