google-api-client 0.19.5 → 0.19.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +7 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +34 -6
- data/generated/google/apis/bigquery_v2/representations.rb +5 -1
- data/generated/google/apis/bigquery_v2/service.rb +15 -3
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +45 -0
- data/generated/google/apis/calendar_v3/representations.rb +29 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +11 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +64 -30
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_alpha/service.rb +142 -5
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +55 -29
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +219 -23
- data/generated/google/apis/compute_v1/representations.rb +68 -0
- data/generated/google/apis/compute_v1/service.rb +148 -3
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1769 -367
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +813 -223
- data/generated/google/apis/dialogflow_v2beta1/service.rb +224 -224
- data/generated/google/apis/dlp_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2beta1/classes.rb +3 -1
- data/generated/google/apis/dlp_v2beta2.rb +1 -1
- data/generated/google/apis/dlp_v2beta2/classes.rb +3 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +16 -0
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +9 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +9 -0
- data/generated/google/apis/poly_v1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +7 -0
- data/generated/google/apis/safebrowsing_v4/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +4 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +282 -0
- data/generated/google/apis/sheets_v4/representations.rb +66 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +15 -0
- data/generated/google/apis/slides_v1/representations.rb +1 -0
- data/generated/google/apis/slides_v1/service.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +17 -0
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +37 -15
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -2
@@ -61,18 +61,18 @@ module Google
|
|
61
61
|
# Request-specific options
|
62
62
|
#
|
63
63
|
# @yield [result, err] Result & error if block supplied
|
64
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
64
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent] parsed result object
|
65
65
|
# @yieldparam err [StandardError] error object if request failed
|
66
66
|
#
|
67
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
67
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent]
|
68
68
|
#
|
69
69
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
70
70
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
71
71
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
72
72
|
def get_project_agent(parent, fields: nil, quota_user: nil, options: nil, &block)
|
73
73
|
command = make_simple_command(:get, 'v2beta1/{+parent}/agent', options)
|
74
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
75
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
74
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent::Representation
|
75
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Agent
|
76
76
|
command.params['parent'] = parent unless parent.nil?
|
77
77
|
command.query['fields'] = fields unless fields.nil?
|
78
78
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -85,7 +85,7 @@ module Google
|
|
85
85
|
# @param [String] parent
|
86
86
|
# Required. The project that the agent to export is associated with.
|
87
87
|
# Format: `projects/<Project ID>`.
|
88
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
88
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest] google_cloud_dialogflow_v2beta1_export_agent_request_object
|
89
89
|
# @param [String] fields
|
90
90
|
# Selector specifying which fields to include in a partial response.
|
91
91
|
# @param [String] quota_user
|
@@ -95,20 +95,20 @@ module Google
|
|
95
95
|
# Request-specific options
|
96
96
|
#
|
97
97
|
# @yield [result, err] Result & error if block supplied
|
98
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
98
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
99
99
|
# @yieldparam err [StandardError] error object if request failed
|
100
100
|
#
|
101
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
101
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
102
102
|
#
|
103
103
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
104
104
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
105
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
|
-
def export_agent(parent,
|
106
|
+
def export_agent(parent, google_cloud_dialogflow_v2beta1_export_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
107
|
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:export', options)
|
108
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
109
|
-
command.request_object =
|
110
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
111
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
108
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ExportAgentRequest::Representation
|
109
|
+
command.request_object = google_cloud_dialogflow_v2beta1_export_agent_request_object
|
110
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
111
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
112
112
|
command.params['parent'] = parent unless parent.nil?
|
113
113
|
command.query['fields'] = fields unless fields.nil?
|
114
114
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
# @param [String] parent
|
125
125
|
# Required. The project that the agent to import is associated with.
|
126
126
|
# Format: `projects/<Project ID>`.
|
127
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
127
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest] google_cloud_dialogflow_v2beta1_import_agent_request_object
|
128
128
|
# @param [String] fields
|
129
129
|
# Selector specifying which fields to include in a partial response.
|
130
130
|
# @param [String] quota_user
|
@@ -134,20 +134,20 @@ module Google
|
|
134
134
|
# Request-specific options
|
135
135
|
#
|
136
136
|
# @yield [result, err] Result & error if block supplied
|
137
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
137
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
138
138
|
# @yieldparam err [StandardError] error object if request failed
|
139
139
|
#
|
140
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
140
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
141
141
|
#
|
142
142
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
143
143
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
144
144
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
145
|
-
def import_agent(parent,
|
145
|
+
def import_agent(parent, google_cloud_dialogflow_v2beta1_import_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
146
146
|
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:import', options)
|
147
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
148
|
-
command.request_object =
|
149
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
150
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
147
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ImportAgentRequest::Representation
|
148
|
+
command.request_object = google_cloud_dialogflow_v2beta1_import_agent_request_object
|
149
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
150
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
151
151
|
command.params['parent'] = parent unless parent.nil?
|
152
152
|
command.query['fields'] = fields unless fields.nil?
|
153
153
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -162,7 +162,7 @@ module Google
|
|
162
162
|
# @param [String] parent
|
163
163
|
# Required. The project that the agent to restore is associated with.
|
164
164
|
# Format: `projects/<Project ID>`.
|
165
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
165
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest] google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
166
166
|
# @param [String] fields
|
167
167
|
# Selector specifying which fields to include in a partial response.
|
168
168
|
# @param [String] quota_user
|
@@ -172,20 +172,20 @@ module Google
|
|
172
172
|
# Request-specific options
|
173
173
|
#
|
174
174
|
# @yield [result, err] Result & error if block supplied
|
175
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
175
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
176
176
|
# @yieldparam err [StandardError] error object if request failed
|
177
177
|
#
|
178
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
178
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
179
179
|
#
|
180
180
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
181
181
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
182
182
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
183
|
-
def restore_agent(parent,
|
183
|
+
def restore_agent(parent, google_cloud_dialogflow_v2beta1_restore_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
184
184
|
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:restore', options)
|
185
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
186
|
-
command.request_object =
|
187
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
188
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
185
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1RestoreAgentRequest::Representation
|
186
|
+
command.request_object = google_cloud_dialogflow_v2beta1_restore_agent_request_object
|
187
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
188
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
189
189
|
command.params['parent'] = parent unless parent.nil?
|
190
190
|
command.query['fields'] = fields unless fields.nil?
|
191
191
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -216,18 +216,18 @@ module Google
|
|
216
216
|
# Request-specific options
|
217
217
|
#
|
218
218
|
# @yield [result, err] Result & error if block supplied
|
219
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
219
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse] parsed result object
|
220
220
|
# @yieldparam err [StandardError] error object if request failed
|
221
221
|
#
|
222
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
222
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse]
|
223
223
|
#
|
224
224
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
225
225
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
226
226
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
227
227
|
def search_project_agents(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
228
228
|
command = make_simple_command(:get, 'v2beta1/{+parent}/agent:search', options)
|
229
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
230
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
229
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse::Representation
|
230
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchAgentsResponse
|
231
231
|
command.params['parent'] = parent unless parent.nil?
|
232
232
|
command.query['pageSize'] = page_size unless page_size.nil?
|
233
233
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -242,7 +242,7 @@ module Google
|
|
242
242
|
# @param [String] parent
|
243
243
|
# Required. The project that the agent to train is associated with.
|
244
244
|
# Format: `projects/<Project ID>`.
|
245
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
245
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest] google_cloud_dialogflow_v2beta1_train_agent_request_object
|
246
246
|
# @param [String] fields
|
247
247
|
# Selector specifying which fields to include in a partial response.
|
248
248
|
# @param [String] quota_user
|
@@ -252,20 +252,20 @@ module Google
|
|
252
252
|
# Request-specific options
|
253
253
|
#
|
254
254
|
# @yield [result, err] Result & error if block supplied
|
255
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
255
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
256
256
|
# @yieldparam err [StandardError] error object if request failed
|
257
257
|
#
|
258
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
258
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
259
259
|
#
|
260
260
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
261
261
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
262
262
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
263
|
-
def train_agent(parent,
|
263
|
+
def train_agent(parent, google_cloud_dialogflow_v2beta1_train_agent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
264
264
|
command = make_simple_command(:post, 'v2beta1/{+parent}/agent:train', options)
|
265
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
266
|
-
command.request_object =
|
267
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
268
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
265
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1TrainAgentRequest::Representation
|
266
|
+
command.request_object = google_cloud_dialogflow_v2beta1_train_agent_request_object
|
267
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
268
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
269
269
|
command.params['parent'] = parent unless parent.nil?
|
270
270
|
command.query['fields'] = fields unless fields.nil?
|
271
271
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -278,7 +278,7 @@ module Google
|
|
278
278
|
# @param [String] parent
|
279
279
|
# Required. The name of the agent to delete all entities types for. Format:
|
280
280
|
# `projects/<Project ID>/agent`.
|
281
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
281
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
282
282
|
# @param [String] fields
|
283
283
|
# Selector specifying which fields to include in a partial response.
|
284
284
|
# @param [String] quota_user
|
@@ -288,20 +288,20 @@ module Google
|
|
288
288
|
# Request-specific options
|
289
289
|
#
|
290
290
|
# @yield [result, err] Result & error if block supplied
|
291
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
291
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
292
292
|
# @yieldparam err [StandardError] error object if request failed
|
293
293
|
#
|
294
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
294
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
295
295
|
#
|
296
296
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
297
297
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
298
298
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
299
|
-
def batch_delete_entity_types(parent,
|
299
|
+
def batch_delete_entity_types(parent, google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
300
300
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchDelete', options)
|
301
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
302
|
-
command.request_object =
|
303
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
304
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
301
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntityTypesRequest::Representation
|
302
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_entity_types_request_object
|
303
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
304
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
305
305
|
command.params['parent'] = parent unless parent.nil?
|
306
306
|
command.query['fields'] = fields unless fields.nil?
|
307
307
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -314,7 +314,7 @@ module Google
|
|
314
314
|
# @param [String] parent
|
315
315
|
# Required. The name of the agent to update or create entity types in.
|
316
316
|
# Format: `projects/<Project ID>/agent`.
|
317
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
317
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest] google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
318
318
|
# @param [String] fields
|
319
319
|
# Selector specifying which fields to include in a partial response.
|
320
320
|
# @param [String] quota_user
|
@@ -324,20 +324,20 @@ module Google
|
|
324
324
|
# Request-specific options
|
325
325
|
#
|
326
326
|
# @yield [result, err] Result & error if block supplied
|
327
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
327
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
328
328
|
# @yieldparam err [StandardError] error object if request failed
|
329
329
|
#
|
330
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
330
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
331
331
|
#
|
332
332
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
333
333
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
334
334
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
335
|
-
def batch_update_entity_types(parent,
|
335
|
+
def batch_update_entity_types(parent, google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
336
336
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes:batchUpdate', options)
|
337
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
338
|
-
command.request_object =
|
339
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
340
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
337
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntityTypesRequest::Representation
|
338
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_update_entity_types_request_object
|
339
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
340
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
341
341
|
command.params['parent'] = parent unless parent.nil?
|
342
342
|
command.query['fields'] = fields unless fields.nil?
|
343
343
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -348,7 +348,7 @@ module Google
|
|
348
348
|
# @param [String] parent
|
349
349
|
# Required. The agent to create a entity type for.
|
350
350
|
# Format: `projects/<Project ID>/agent`.
|
351
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
351
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
352
352
|
# @param [String] language_code
|
353
353
|
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
354
354
|
# specified, the agent's default language is used.
|
@@ -364,20 +364,20 @@ module Google
|
|
364
364
|
# Request-specific options
|
365
365
|
#
|
366
366
|
# @yield [result, err] Result & error if block supplied
|
367
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
367
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] parsed result object
|
368
368
|
# @yieldparam err [StandardError] error object if request failed
|
369
369
|
#
|
370
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
370
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType]
|
371
371
|
#
|
372
372
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
373
373
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
374
374
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
375
|
-
def create_project_agent_entity_type(parent,
|
375
|
+
def create_project_agent_entity_type(parent, google_cloud_dialogflow_v2beta1_entity_type_object = nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
376
376
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
|
377
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
378
|
-
command.request_object =
|
379
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
380
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
377
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
378
|
+
command.request_object = google_cloud_dialogflow_v2beta1_entity_type_object
|
379
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
380
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType
|
381
381
|
command.params['parent'] = parent unless parent.nil?
|
382
382
|
command.query['languageCode'] = language_code unless language_code.nil?
|
383
383
|
command.query['fields'] = fields unless fields.nil?
|
@@ -398,18 +398,18 @@ module Google
|
|
398
398
|
# Request-specific options
|
399
399
|
#
|
400
400
|
# @yield [result, err] Result & error if block supplied
|
401
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
401
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
402
402
|
# @yieldparam err [StandardError] error object if request failed
|
403
403
|
#
|
404
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
404
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
405
405
|
#
|
406
406
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
407
407
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
408
408
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
409
409
|
def delete_project_agent_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
410
410
|
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
411
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
412
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
411
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
412
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
413
413
|
command.params['name'] = name unless name.nil?
|
414
414
|
command.query['fields'] = fields unless fields.nil?
|
415
415
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -435,18 +435,18 @@ module Google
|
|
435
435
|
# Request-specific options
|
436
436
|
#
|
437
437
|
# @yield [result, err] Result & error if block supplied
|
438
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
438
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] parsed result object
|
439
439
|
# @yieldparam err [StandardError] error object if request failed
|
440
440
|
#
|
441
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
441
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType]
|
442
442
|
#
|
443
443
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
444
444
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
445
445
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
446
446
|
def get_project_agent_entity_type(name, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
447
447
|
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
448
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
449
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
448
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
449
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType
|
450
450
|
command.params['name'] = name unless name.nil?
|
451
451
|
command.query['languageCode'] = language_code unless language_code.nil?
|
452
452
|
command.query['fields'] = fields unless fields.nil?
|
@@ -478,18 +478,18 @@ module Google
|
|
478
478
|
# Request-specific options
|
479
479
|
#
|
480
480
|
# @yield [result, err] Result & error if block supplied
|
481
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
481
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse] parsed result object
|
482
482
|
# @yieldparam err [StandardError] error object if request failed
|
483
483
|
#
|
484
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
484
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse]
|
485
485
|
#
|
486
486
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
487
487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
489
|
def list_project_agent_entity_types(parent, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
490
490
|
command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
|
491
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
492
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
491
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse::Representation
|
492
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListEntityTypesResponse
|
493
493
|
command.params['parent'] = parent unless parent.nil?
|
494
494
|
command.query['languageCode'] = language_code unless language_code.nil?
|
495
495
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -505,7 +505,7 @@ module Google
|
|
505
505
|
# automatically.
|
506
506
|
# The unique identifier of the entity type. Format:
|
507
507
|
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
508
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
508
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] google_cloud_dialogflow_v2beta1_entity_type_object
|
509
509
|
# @param [String] language_code
|
510
510
|
# Optional. The language of entity synonyms defined in `entity_type`. If not
|
511
511
|
# specified, the agent's default language is used.
|
@@ -523,20 +523,20 @@ module Google
|
|
523
523
|
# Request-specific options
|
524
524
|
#
|
525
525
|
# @yield [result, err] Result & error if block supplied
|
526
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
526
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType] parsed result object
|
527
527
|
# @yieldparam err [StandardError] error object if request failed
|
528
528
|
#
|
529
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
529
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType]
|
530
530
|
#
|
531
531
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
532
532
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
533
533
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
534
|
-
def patch_project_agent_entity_type(name,
|
534
|
+
def patch_project_agent_entity_type(name, google_cloud_dialogflow_v2beta1_entity_type_object = nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
535
535
|
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
536
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
537
|
-
command.request_object =
|
538
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
539
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
536
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
537
|
+
command.request_object = google_cloud_dialogflow_v2beta1_entity_type_object
|
538
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType::Representation
|
539
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1EntityType
|
540
540
|
command.params['name'] = name unless name.nil?
|
541
541
|
command.query['languageCode'] = language_code unless language_code.nil?
|
542
542
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
@@ -551,7 +551,7 @@ module Google
|
|
551
551
|
# @param [String] parent
|
552
552
|
# Required. The name of the entity type to create entities in. Format:
|
553
553
|
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
554
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
554
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
555
555
|
# @param [String] fields
|
556
556
|
# Selector specifying which fields to include in a partial response.
|
557
557
|
# @param [String] quota_user
|
@@ -561,20 +561,20 @@ module Google
|
|
561
561
|
# Request-specific options
|
562
562
|
#
|
563
563
|
# @yield [result, err] Result & error if block supplied
|
564
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
564
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
565
565
|
# @yieldparam err [StandardError] error object if request failed
|
566
566
|
#
|
567
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
567
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
568
568
|
#
|
569
569
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
570
570
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
571
571
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
572
|
-
def batch_entity_create_entities(parent,
|
572
|
+
def batch_entity_create_entities(parent, google_cloud_dialogflow_v2beta1_batch_create_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
573
573
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchCreate', options)
|
574
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
575
|
-
command.request_object =
|
576
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
577
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
574
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchCreateEntitiesRequest::Representation
|
575
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_create_entities_request_object
|
576
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
577
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
578
578
|
command.params['parent'] = parent unless parent.nil?
|
579
579
|
command.query['fields'] = fields unless fields.nil?
|
580
580
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -587,7 +587,7 @@ module Google
|
|
587
587
|
# @param [String] parent
|
588
588
|
# Required. The name of the entity type to delete entries for. Format:
|
589
589
|
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
590
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
590
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
591
591
|
# @param [String] fields
|
592
592
|
# Selector specifying which fields to include in a partial response.
|
593
593
|
# @param [String] quota_user
|
@@ -597,20 +597,20 @@ module Google
|
|
597
597
|
# Request-specific options
|
598
598
|
#
|
599
599
|
# @yield [result, err] Result & error if block supplied
|
600
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
600
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
601
601
|
# @yieldparam err [StandardError] error object if request failed
|
602
602
|
#
|
603
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
603
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
604
604
|
#
|
605
605
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
606
606
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
607
607
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
608
|
-
def batch_entity_delete_entities(parent,
|
608
|
+
def batch_entity_delete_entities(parent, google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
609
609
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchDelete', options)
|
610
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
611
|
-
command.request_object =
|
612
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
613
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
610
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteEntitiesRequest::Representation
|
611
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_entities_request_object
|
612
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
613
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
614
614
|
command.params['parent'] = parent unless parent.nil?
|
615
615
|
command.query['fields'] = fields unless fields.nil?
|
616
616
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -624,7 +624,7 @@ module Google
|
|
624
624
|
# @param [String] parent
|
625
625
|
# Required. The name of the entity type to update the entities in. Format:
|
626
626
|
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
627
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
627
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest] google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
628
628
|
# @param [String] fields
|
629
629
|
# Selector specifying which fields to include in a partial response.
|
630
630
|
# @param [String] quota_user
|
@@ -634,20 +634,20 @@ module Google
|
|
634
634
|
# Request-specific options
|
635
635
|
#
|
636
636
|
# @yield [result, err] Result & error if block supplied
|
637
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
637
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
638
638
|
# @yieldparam err [StandardError] error object if request failed
|
639
639
|
#
|
640
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
640
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
641
641
|
#
|
642
642
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
643
643
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
644
644
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
645
|
-
def batch_entity_update_entities(parent,
|
645
|
+
def batch_entity_update_entities(parent, google_cloud_dialogflow_v2beta1_batch_update_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
646
646
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entities:batchUpdate', options)
|
647
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
648
|
-
command.request_object =
|
649
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
650
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
647
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateEntitiesRequest::Representation
|
648
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_update_entities_request_object
|
649
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
650
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
651
651
|
command.params['parent'] = parent unless parent.nil?
|
652
652
|
command.query['fields'] = fields unless fields.nil?
|
653
653
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -659,7 +659,7 @@ module Google
|
|
659
659
|
# @param [String] parent
|
660
660
|
# Required. The name of the agent to delete all entities types for. Format:
|
661
661
|
# `projects/<Project ID>/agent`.
|
662
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
662
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest] google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
663
663
|
# @param [String] fields
|
664
664
|
# Selector specifying which fields to include in a partial response.
|
665
665
|
# @param [String] quota_user
|
@@ -669,20 +669,20 @@ module Google
|
|
669
669
|
# Request-specific options
|
670
670
|
#
|
671
671
|
# @yield [result, err] Result & error if block supplied
|
672
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
672
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
673
673
|
# @yieldparam err [StandardError] error object if request failed
|
674
674
|
#
|
675
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
675
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
676
676
|
#
|
677
677
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
678
678
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
679
679
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
680
|
-
def batch_delete_intents(parent,
|
680
|
+
def batch_delete_intents(parent, google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
681
681
|
command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchDelete', options)
|
682
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
683
|
-
command.request_object =
|
684
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
685
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
682
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchDeleteIntentsRequest::Representation
|
683
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_delete_intents_request_object
|
684
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
685
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
686
686
|
command.params['parent'] = parent unless parent.nil?
|
687
687
|
command.query['fields'] = fields unless fields.nil?
|
688
688
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -694,7 +694,7 @@ module Google
|
|
694
694
|
# @param [String] parent
|
695
695
|
# Required. The name of the agent to update or create intents in.
|
696
696
|
# Format: `projects/<Project ID>/agent`.
|
697
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
697
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest] google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
698
698
|
# @param [String] fields
|
699
699
|
# Selector specifying which fields to include in a partial response.
|
700
700
|
# @param [String] quota_user
|
@@ -704,20 +704,20 @@ module Google
|
|
704
704
|
# Request-specific options
|
705
705
|
#
|
706
706
|
# @yield [result, err] Result & error if block supplied
|
707
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
707
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
708
708
|
# @yieldparam err [StandardError] error object if request failed
|
709
709
|
#
|
710
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
710
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
711
711
|
#
|
712
712
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
713
713
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
714
714
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
715
|
-
def batch_update_intents(parent,
|
715
|
+
def batch_update_intents(parent, google_cloud_dialogflow_v2beta1_batch_update_intents_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
716
716
|
command = make_simple_command(:post, 'v2beta1/{+parent}/intents:batchUpdate', options)
|
717
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
718
|
-
command.request_object =
|
719
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
720
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
717
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1BatchUpdateIntentsRequest::Representation
|
718
|
+
command.request_object = google_cloud_dialogflow_v2beta1_batch_update_intents_request_object
|
719
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
720
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
721
721
|
command.params['parent'] = parent unless parent.nil?
|
722
722
|
command.query['fields'] = fields unless fields.nil?
|
723
723
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -728,7 +728,7 @@ module Google
|
|
728
728
|
# @param [String] parent
|
729
729
|
# Required. The agent to create a intent for.
|
730
730
|
# Format: `projects/<Project ID>/agent`.
|
731
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
731
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
732
732
|
# @param [String] intent_view
|
733
733
|
# Optional. The resource view to apply to the returned intent.
|
734
734
|
# @param [String] language_code
|
@@ -746,20 +746,20 @@ module Google
|
|
746
746
|
# Request-specific options
|
747
747
|
#
|
748
748
|
# @yield [result, err] Result & error if block supplied
|
749
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
749
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] parsed result object
|
750
750
|
# @yieldparam err [StandardError] error object if request failed
|
751
751
|
#
|
752
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
752
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent]
|
753
753
|
#
|
754
754
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
755
755
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
756
756
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
757
|
-
def create_project_agent_intent(parent,
|
757
|
+
def create_project_agent_intent(parent, google_cloud_dialogflow_v2beta1_intent_object = nil, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
758
758
|
command = make_simple_command(:post, 'v2beta1/{+parent}/intents', options)
|
759
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
760
|
-
command.request_object =
|
761
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
762
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
759
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
760
|
+
command.request_object = google_cloud_dialogflow_v2beta1_intent_object
|
761
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
762
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent
|
763
763
|
command.params['parent'] = parent unless parent.nil?
|
764
764
|
command.query['intentView'] = intent_view unless intent_view.nil?
|
765
765
|
command.query['languageCode'] = language_code unless language_code.nil?
|
@@ -781,18 +781,18 @@ module Google
|
|
781
781
|
# Request-specific options
|
782
782
|
#
|
783
783
|
# @yield [result, err] Result & error if block supplied
|
784
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
784
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
785
785
|
# @yieldparam err [StandardError] error object if request failed
|
786
786
|
#
|
787
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
787
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
788
788
|
#
|
789
789
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
790
790
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
791
791
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
792
792
|
def delete_project_agent_intent(name, fields: nil, quota_user: nil, options: nil, &block)
|
793
793
|
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
794
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
795
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
794
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
795
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
796
796
|
command.params['name'] = name unless name.nil?
|
797
797
|
command.query['fields'] = fields unless fields.nil?
|
798
798
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -820,18 +820,18 @@ module Google
|
|
820
820
|
# Request-specific options
|
821
821
|
#
|
822
822
|
# @yield [result, err] Result & error if block supplied
|
823
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
823
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] parsed result object
|
824
824
|
# @yieldparam err [StandardError] error object if request failed
|
825
825
|
#
|
826
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
826
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent]
|
827
827
|
#
|
828
828
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
829
829
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
830
830
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
831
831
|
def get_project_agent_intent(name, intent_view: nil, language_code: nil, fields: nil, quota_user: nil, options: nil, &block)
|
832
832
|
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
833
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
834
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
833
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
834
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent
|
835
835
|
command.params['name'] = name unless name.nil?
|
836
836
|
command.query['intentView'] = intent_view unless intent_view.nil?
|
837
837
|
command.query['languageCode'] = language_code unless language_code.nil?
|
@@ -866,18 +866,18 @@ module Google
|
|
866
866
|
# Request-specific options
|
867
867
|
#
|
868
868
|
# @yield [result, err] Result & error if block supplied
|
869
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
869
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse] parsed result object
|
870
870
|
# @yieldparam err [StandardError] error object if request failed
|
871
871
|
#
|
872
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
872
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse]
|
873
873
|
#
|
874
874
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
875
875
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
876
876
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
877
877
|
def list_project_agent_intents(parent, intent_view: nil, language_code: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
878
878
|
command = make_simple_command(:get, 'v2beta1/{+parent}/intents', options)
|
879
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
880
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
879
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse::Representation
|
880
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListIntentsResponse
|
881
881
|
command.params['parent'] = parent unless parent.nil?
|
882
882
|
command.query['intentView'] = intent_view unless intent_view.nil?
|
883
883
|
command.query['languageCode'] = language_code unless language_code.nil?
|
@@ -894,7 +894,7 @@ module Google
|
|
894
894
|
# automatically.
|
895
895
|
# The unique identifier of this intent.
|
896
896
|
# Format: `projects/<Project ID>/agent/intents/<Intent ID>`.
|
897
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
897
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] google_cloud_dialogflow_v2beta1_intent_object
|
898
898
|
# @param [String] intent_view
|
899
899
|
# Optional. The resource view to apply to the returned intent.
|
900
900
|
# @param [String] language_code
|
@@ -914,20 +914,20 @@ module Google
|
|
914
914
|
# Request-specific options
|
915
915
|
#
|
916
916
|
# @yield [result, err] Result & error if block supplied
|
917
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
917
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent] parsed result object
|
918
918
|
# @yieldparam err [StandardError] error object if request failed
|
919
919
|
#
|
920
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
920
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent]
|
921
921
|
#
|
922
922
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
923
923
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
924
924
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
925
|
-
def patch_project_agent_intent(name,
|
925
|
+
def patch_project_agent_intent(name, google_cloud_dialogflow_v2beta1_intent_object = nil, intent_view: nil, language_code: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
926
926
|
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
927
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
928
|
-
command.request_object =
|
929
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
930
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
927
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
928
|
+
command.request_object = google_cloud_dialogflow_v2beta1_intent_object
|
929
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent::Representation
|
930
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Intent
|
931
931
|
command.params['name'] = name unless name.nil?
|
932
932
|
command.query['intentView'] = intent_view unless intent_view.nil?
|
933
933
|
command.query['languageCode'] = language_code unless language_code.nil?
|
@@ -950,18 +950,18 @@ module Google
|
|
950
950
|
# Request-specific options
|
951
951
|
#
|
952
952
|
# @yield [result, err] Result & error if block supplied
|
953
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
953
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
954
954
|
# @yieldparam err [StandardError] error object if request failed
|
955
955
|
#
|
956
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
956
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
957
957
|
#
|
958
958
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
959
959
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
960
960
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
961
961
|
def delete_project_agent_session_contexts(parent, fields: nil, quota_user: nil, options: nil, &block)
|
962
962
|
command = make_simple_command(:delete, 'v2beta1/{+parent}/contexts', options)
|
963
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
964
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
963
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
964
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
965
965
|
command.params['parent'] = parent unless parent.nil?
|
966
966
|
command.query['fields'] = fields unless fields.nil?
|
967
967
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -978,7 +978,7 @@ module Google
|
|
978
978
|
# It's up to the API caller to choose an appropriate session ID. It can be
|
979
979
|
# a random number or some type of user identifier (preferably hashed).
|
980
980
|
# The length of the session ID must not exceed 36 bytes.
|
981
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
981
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest] google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
982
982
|
# @param [String] fields
|
983
983
|
# Selector specifying which fields to include in a partial response.
|
984
984
|
# @param [String] quota_user
|
@@ -988,20 +988,20 @@ module Google
|
|
988
988
|
# Request-specific options
|
989
989
|
#
|
990
990
|
# @yield [result, err] Result & error if block supplied
|
991
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
991
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse] parsed result object
|
992
992
|
# @yieldparam err [StandardError] error object if request failed
|
993
993
|
#
|
994
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
994
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse]
|
995
995
|
#
|
996
996
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
997
997
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
998
998
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
999
|
-
def detect_session_intent(session,
|
999
|
+
def detect_session_intent(session, google_cloud_dialogflow_v2beta1_detect_intent_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1000
1000
|
command = make_simple_command(:post, 'v2beta1/{+session}:detectIntent', options)
|
1001
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
1002
|
-
command.request_object =
|
1003
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1004
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1001
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentRequest::Representation
|
1002
|
+
command.request_object = google_cloud_dialogflow_v2beta1_detect_intent_request_object
|
1003
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse::Representation
|
1004
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1DetectIntentResponse
|
1005
1005
|
command.params['session'] = session unless session.nil?
|
1006
1006
|
command.query['fields'] = fields unless fields.nil?
|
1007
1007
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1012,7 +1012,7 @@ module Google
|
|
1012
1012
|
# @param [String] parent
|
1013
1013
|
# Required. The session to create a context for.
|
1014
1014
|
# Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
1015
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
1015
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
1016
1016
|
# @param [String] fields
|
1017
1017
|
# Selector specifying which fields to include in a partial response.
|
1018
1018
|
# @param [String] quota_user
|
@@ -1022,20 +1022,20 @@ module Google
|
|
1022
1022
|
# Request-specific options
|
1023
1023
|
#
|
1024
1024
|
# @yield [result, err] Result & error if block supplied
|
1025
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1025
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
|
1026
1026
|
# @yieldparam err [StandardError] error object if request failed
|
1027
1027
|
#
|
1028
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1028
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
|
1029
1029
|
#
|
1030
1030
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1031
1031
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1032
1032
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1033
|
-
def create_project_agent_session_context(parent,
|
1033
|
+
def create_project_agent_session_context(parent, google_cloud_dialogflow_v2beta1_context_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1034
1034
|
command = make_simple_command(:post, 'v2beta1/{+parent}/contexts', options)
|
1035
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
1036
|
-
command.request_object =
|
1037
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1038
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1035
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1036
|
+
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
1037
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1038
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
1039
1039
|
command.params['parent'] = parent unless parent.nil?
|
1040
1040
|
command.query['fields'] = fields unless fields.nil?
|
1041
1041
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1055,18 +1055,18 @@ module Google
|
|
1055
1055
|
# Request-specific options
|
1056
1056
|
#
|
1057
1057
|
# @yield [result, err] Result & error if block supplied
|
1058
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1058
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
1059
1059
|
# @yieldparam err [StandardError] error object if request failed
|
1060
1060
|
#
|
1061
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1061
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
1062
1062
|
#
|
1063
1063
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1064
1064
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1065
1065
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1066
1066
|
def delete_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
1067
1067
|
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
1068
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1069
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1068
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
1069
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
1070
1070
|
command.params['name'] = name unless name.nil?
|
1071
1071
|
command.query['fields'] = fields unless fields.nil?
|
1072
1072
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1086,18 +1086,18 @@ module Google
|
|
1086
1086
|
# Request-specific options
|
1087
1087
|
#
|
1088
1088
|
# @yield [result, err] Result & error if block supplied
|
1089
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1089
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
|
1090
1090
|
# @yieldparam err [StandardError] error object if request failed
|
1091
1091
|
#
|
1092
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1092
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
|
1093
1093
|
#
|
1094
1094
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1095
1095
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1096
1096
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1097
1097
|
def get_project_agent_session_context(name, fields: nil, quota_user: nil, options: nil, &block)
|
1098
1098
|
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1099
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1100
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1099
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1100
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
1101
1101
|
command.params['name'] = name unless name.nil?
|
1102
1102
|
command.query['fields'] = fields unless fields.nil?
|
1103
1103
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1122,18 +1122,18 @@ module Google
|
|
1122
1122
|
# Request-specific options
|
1123
1123
|
#
|
1124
1124
|
# @yield [result, err] Result & error if block supplied
|
1125
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1125
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse] parsed result object
|
1126
1126
|
# @yieldparam err [StandardError] error object if request failed
|
1127
1127
|
#
|
1128
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1128
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse]
|
1129
1129
|
#
|
1130
1130
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1131
1131
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1132
1132
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1133
1133
|
def list_project_agent_session_contexts(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1134
1134
|
command = make_simple_command(:get, 'v2beta1/{+parent}/contexts', options)
|
1135
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1136
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1135
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse::Representation
|
1136
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListContextsResponse
|
1137
1137
|
command.params['parent'] = parent unless parent.nil?
|
1138
1138
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1139
1139
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1147,7 +1147,7 @@ module Google
|
|
1147
1147
|
# Required. The unique identifier of the context. Format:
|
1148
1148
|
# `projects/<Project ID>/agent/sessions/<Session ID>/contexts/<Context ID>`.
|
1149
1149
|
# Note: The Context ID is always converted to lowercase.
|
1150
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
1150
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] google_cloud_dialogflow_v2beta1_context_object
|
1151
1151
|
# @param [String] update_mask
|
1152
1152
|
# Optional. The mask to control which fields get updated.
|
1153
1153
|
# @param [String] fields
|
@@ -1159,20 +1159,20 @@ module Google
|
|
1159
1159
|
# Request-specific options
|
1160
1160
|
#
|
1161
1161
|
# @yield [result, err] Result & error if block supplied
|
1162
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1162
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context] parsed result object
|
1163
1163
|
# @yieldparam err [StandardError] error object if request failed
|
1164
1164
|
#
|
1165
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1165
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context]
|
1166
1166
|
#
|
1167
1167
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1168
1168
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1169
1169
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1170
|
-
def patch_project_agent_session_context(name,
|
1170
|
+
def patch_project_agent_session_context(name, google_cloud_dialogflow_v2beta1_context_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1171
1171
|
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
1172
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
1173
|
-
command.request_object =
|
1174
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1175
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1172
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1173
|
+
command.request_object = google_cloud_dialogflow_v2beta1_context_object
|
1174
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context::Representation
|
1175
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1Context
|
1176
1176
|
command.params['name'] = name unless name.nil?
|
1177
1177
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1178
1178
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1184,7 +1184,7 @@ module Google
|
|
1184
1184
|
# @param [String] parent
|
1185
1185
|
# Required. The session to create a session entity type for.
|
1186
1186
|
# Format: `projects/<Project ID>/agent/sessions/<Session ID>`.
|
1187
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
1187
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1188
1188
|
# @param [String] fields
|
1189
1189
|
# Selector specifying which fields to include in a partial response.
|
1190
1190
|
# @param [String] quota_user
|
@@ -1194,20 +1194,20 @@ module Google
|
|
1194
1194
|
# Request-specific options
|
1195
1195
|
#
|
1196
1196
|
# @yield [result, err] Result & error if block supplied
|
1197
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1197
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] parsed result object
|
1198
1198
|
# @yieldparam err [StandardError] error object if request failed
|
1199
1199
|
#
|
1200
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1200
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType]
|
1201
1201
|
#
|
1202
1202
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1203
1203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1204
1204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1205
|
-
def create_project_agent_session_entity_type(parent,
|
1205
|
+
def create_project_agent_session_entity_type(parent, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1206
1206
|
command = make_simple_command(:post, 'v2beta1/{+parent}/entityTypes', options)
|
1207
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
1208
|
-
command.request_object =
|
1209
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1210
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1207
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1208
|
+
command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1209
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1210
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
|
1211
1211
|
command.params['parent'] = parent unless parent.nil?
|
1212
1212
|
command.query['fields'] = fields unless fields.nil?
|
1213
1213
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1228,18 +1228,18 @@ module Google
|
|
1228
1228
|
# Request-specific options
|
1229
1229
|
#
|
1230
1230
|
# @yield [result, err] Result & error if block supplied
|
1231
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1231
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty] parsed result object
|
1232
1232
|
# @yieldparam err [StandardError] error object if request failed
|
1233
1233
|
#
|
1234
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1234
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty]
|
1235
1235
|
#
|
1236
1236
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1237
1237
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1238
1238
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1239
1239
|
def delete_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
1240
1240
|
command = make_simple_command(:delete, 'v2beta1/{+name}', options)
|
1241
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1242
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1241
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty::Representation
|
1242
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleProtobufEmpty
|
1243
1243
|
command.params['name'] = name unless name.nil?
|
1244
1244
|
command.query['fields'] = fields unless fields.nil?
|
1245
1245
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1260,18 +1260,18 @@ module Google
|
|
1260
1260
|
# Request-specific options
|
1261
1261
|
#
|
1262
1262
|
# @yield [result, err] Result & error if block supplied
|
1263
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1263
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] parsed result object
|
1264
1264
|
# @yieldparam err [StandardError] error object if request failed
|
1265
1265
|
#
|
1266
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1266
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType]
|
1267
1267
|
#
|
1268
1268
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1269
1269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1270
1270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1271
1271
|
def get_project_agent_session_entity_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
1272
1272
|
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1273
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1274
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1273
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1274
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
|
1275
1275
|
command.params['name'] = name unless name.nil?
|
1276
1276
|
command.query['fields'] = fields unless fields.nil?
|
1277
1277
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -1296,18 +1296,18 @@ module Google
|
|
1296
1296
|
# Request-specific options
|
1297
1297
|
#
|
1298
1298
|
# @yield [result, err] Result & error if block supplied
|
1299
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1299
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse] parsed result object
|
1300
1300
|
# @yieldparam err [StandardError] error object if request failed
|
1301
1301
|
#
|
1302
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1302
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse]
|
1303
1303
|
#
|
1304
1304
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1305
1305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1306
1306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1307
1307
|
def list_project_agent_session_entity_types(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1308
1308
|
command = make_simple_command(:get, 'v2beta1/{+parent}/entityTypes', options)
|
1309
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1310
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1309
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse::Representation
|
1310
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ListSessionEntityTypesResponse
|
1311
1311
|
command.params['parent'] = parent unless parent.nil?
|
1312
1312
|
command.query['pageSize'] = page_size unless page_size.nil?
|
1313
1313
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -1321,7 +1321,7 @@ module Google
|
|
1321
1321
|
# Required. The unique identifier of this session entity type. Format:
|
1322
1322
|
# `projects/<Project ID>/agent/sessions/<Session ID>/entityTypes/<Entity Type
|
1323
1323
|
# Display Name>`.
|
1324
|
-
# @param [Google::Apis::DialogflowV2beta1::
|
1324
|
+
# @param [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1325
1325
|
# @param [String] update_mask
|
1326
1326
|
# Optional. The mask to control which fields get updated.
|
1327
1327
|
# @param [String] fields
|
@@ -1333,20 +1333,20 @@ module Google
|
|
1333
1333
|
# Request-specific options
|
1334
1334
|
#
|
1335
1335
|
# @yield [result, err] Result & error if block supplied
|
1336
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1336
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType] parsed result object
|
1337
1337
|
# @yieldparam err [StandardError] error object if request failed
|
1338
1338
|
#
|
1339
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1339
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType]
|
1340
1340
|
#
|
1341
1341
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1342
1342
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1343
1343
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1344
|
-
def patch_project_agent_session_entity_type(name,
|
1344
|
+
def patch_project_agent_session_entity_type(name, google_cloud_dialogflow_v2beta1_session_entity_type_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1345
1345
|
command = make_simple_command(:patch, 'v2beta1/{+name}', options)
|
1346
|
-
command.request_representation = Google::Apis::DialogflowV2beta1::
|
1347
|
-
command.request_object =
|
1348
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1349
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1346
|
+
command.request_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1347
|
+
command.request_object = google_cloud_dialogflow_v2beta1_session_entity_type_object
|
1348
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType::Representation
|
1349
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SessionEntityType
|
1350
1350
|
command.params['name'] = name unless name.nil?
|
1351
1351
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1352
1352
|
command.query['fields'] = fields unless fields.nil?
|
@@ -1368,18 +1368,18 @@ module Google
|
|
1368
1368
|
# Request-specific options
|
1369
1369
|
#
|
1370
1370
|
# @yield [result, err] Result & error if block supplied
|
1371
|
-
# @yieldparam result [Google::Apis::DialogflowV2beta1::
|
1371
|
+
# @yieldparam result [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation] parsed result object
|
1372
1372
|
# @yieldparam err [StandardError] error object if request failed
|
1373
1373
|
#
|
1374
|
-
# @return [Google::Apis::DialogflowV2beta1::
|
1374
|
+
# @return [Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation]
|
1375
1375
|
#
|
1376
1376
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1377
1377
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1378
1378
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1379
1379
|
def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1380
1380
|
command = make_simple_command(:get, 'v2beta1/{+name}', options)
|
1381
|
-
command.response_representation = Google::Apis::DialogflowV2beta1::
|
1382
|
-
command.response_class = Google::Apis::DialogflowV2beta1::
|
1381
|
+
command.response_representation = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation::Representation
|
1382
|
+
command.response_class = Google::Apis::DialogflowV2beta1::GoogleLongrunningOperation
|
1383
1383
|
command.params['name'] = name unless name.nil?
|
1384
1384
|
command.query['fields'] = fields unless fields.nil?
|
1385
1385
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|