google-api-client 0.28.5 → 0.28.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +46 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +18 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +892 -0
- data/generated/google/apis/bigquery_v2/representations.rb +352 -0
- data/generated/google/apis/bigquery_v2/service.rb +162 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +78 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +76 -0
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +6 -0
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +7 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +10 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +100 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -2
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +5 -4
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +24 -21
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +31 -0
- data/generated/google/apis/container_v1/representations.rb +3 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +70 -0
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -10
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +45 -0
- data/generated/google/apis/dlp_v2/representations.rb +20 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +71 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
- data/generated/google/apis/factchecktools_v1alpha1.rb +3 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +0 -292
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -10
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +18 -11
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +122 -5
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +26 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +83 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +83 -5
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +83 -5
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +123 -6
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +163 -7
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -1
- data/generated/google/apis/speech_v1/service.rb +2 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +62 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +32 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +0 -14
- data/generated/google/apis/testing_v1/representations.rb +0 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +4 -3
@@ -25,14 +25,11 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/+/domains/
|
26
26
|
module PlusDomainsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190322'
|
29
29
|
|
30
30
|
# View your circles and the people and pages in them
|
31
31
|
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
|
32
32
|
|
33
|
-
# Manage your circles and add people and pages. People and pages you add to your circles will be notified. Others may see this information publicly. People you add to circles can use Hangouts with you.
|
34
|
-
AUTH_PLUS_CIRCLES_WRITE = 'https://www.googleapis.com/auth/plus.circles.write'
|
35
|
-
|
36
33
|
# View your basic profile info, including your age range and language
|
37
34
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
38
35
|
|
@@ -54,7 +51,7 @@ module Google
|
|
54
51
|
# View your email address
|
55
52
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
56
53
|
|
57
|
-
# See your personal info, including any personal info you've made
|
54
|
+
# See your personal info, including any personal info you've made publicly available
|
58
55
|
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
59
56
|
end
|
60
57
|
end
|
@@ -84,48 +84,6 @@ module Google
|
|
84
84
|
execute_or_queue_command(command, &block)
|
85
85
|
end
|
86
86
|
|
87
|
-
# Create a new activity for the authenticated user.
|
88
|
-
# @param [String] user_id
|
89
|
-
# The ID of the user to create the activity on behalf of. Its value should be "
|
90
|
-
# me", to indicate the authenticated user.
|
91
|
-
# @param [Google::Apis::PlusDomainsV1::Activity] activity_object
|
92
|
-
# @param [Boolean] preview
|
93
|
-
# If "true", extract the potential media attachments for a URL. The response
|
94
|
-
# will include all possible attachments for a URL, including video, photos, and
|
95
|
-
# articles based on the content of the page.
|
96
|
-
# @param [String] fields
|
97
|
-
# Selector specifying which fields to include in a partial response.
|
98
|
-
# @param [String] quota_user
|
99
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
100
|
-
# characters.
|
101
|
-
# @param [String] user_ip
|
102
|
-
# Deprecated. Please use quotaUser instead.
|
103
|
-
# @param [Google::Apis::RequestOptions] options
|
104
|
-
# Request-specific options
|
105
|
-
#
|
106
|
-
# @yield [result, err] Result & error if block supplied
|
107
|
-
# @yieldparam result [Google::Apis::PlusDomainsV1::Activity] parsed result object
|
108
|
-
# @yieldparam err [StandardError] error object if request failed
|
109
|
-
#
|
110
|
-
# @return [Google::Apis::PlusDomainsV1::Activity]
|
111
|
-
#
|
112
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
113
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
114
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
115
|
-
def insert_activity(user_id, activity_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
116
|
-
command = make_simple_command(:post, 'people/{userId}/activities', options)
|
117
|
-
command.request_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
118
|
-
command.request_object = activity_object
|
119
|
-
command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation
|
120
|
-
command.response_class = Google::Apis::PlusDomainsV1::Activity
|
121
|
-
command.params['userId'] = user_id unless user_id.nil?
|
122
|
-
command.query['preview'] = preview unless preview.nil?
|
123
|
-
command.query['fields'] = fields unless fields.nil?
|
124
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
125
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
126
|
-
execute_or_queue_command(command, &block)
|
127
|
-
end
|
128
|
-
|
129
87
|
# List all of the activities in the specified collection for a particular user.
|
130
88
|
# @param [String] user_id
|
131
89
|
# The ID of the user to get activities for. The special value "me" can be used
|
@@ -217,116 +175,6 @@ module Google
|
|
217
175
|
execute_or_queue_command(command, &block)
|
218
176
|
end
|
219
177
|
|
220
|
-
# Add a person to a circle. Google+ limits certain circle operations, including
|
221
|
-
# the number of circle adds. Learn More.
|
222
|
-
# @param [String] circle_id
|
223
|
-
# The ID of the circle to add the person to.
|
224
|
-
# @param [Array<String>, String] email
|
225
|
-
# Email of the people to add to the circle. Optional, can be repeated.
|
226
|
-
# @param [Array<String>, String] user_id
|
227
|
-
# IDs of the people to add to the circle. Optional, can be repeated.
|
228
|
-
# @param [String] fields
|
229
|
-
# Selector specifying which fields to include in a partial response.
|
230
|
-
# @param [String] quota_user
|
231
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
232
|
-
# characters.
|
233
|
-
# @param [String] user_ip
|
234
|
-
# Deprecated. Please use quotaUser instead.
|
235
|
-
# @param [Google::Apis::RequestOptions] options
|
236
|
-
# Request-specific options
|
237
|
-
#
|
238
|
-
# @yield [result, err] Result & error if block supplied
|
239
|
-
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
240
|
-
# @yieldparam err [StandardError] error object if request failed
|
241
|
-
#
|
242
|
-
# @return [Google::Apis::PlusDomainsV1::Circle]
|
243
|
-
#
|
244
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
245
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
246
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
247
|
-
def add_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
248
|
-
command = make_simple_command(:put, 'circles/{circleId}/people', options)
|
249
|
-
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
250
|
-
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
251
|
-
command.params['circleId'] = circle_id unless circle_id.nil?
|
252
|
-
command.query['email'] = email unless email.nil?
|
253
|
-
command.query['userId'] = user_id unless user_id.nil?
|
254
|
-
command.query['fields'] = fields unless fields.nil?
|
255
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
256
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
257
|
-
execute_or_queue_command(command, &block)
|
258
|
-
end
|
259
|
-
|
260
|
-
# Get a circle.
|
261
|
-
# @param [String] circle_id
|
262
|
-
# The ID of the circle to get.
|
263
|
-
# @param [String] fields
|
264
|
-
# Selector specifying which fields to include in a partial response.
|
265
|
-
# @param [String] quota_user
|
266
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
267
|
-
# characters.
|
268
|
-
# @param [String] user_ip
|
269
|
-
# Deprecated. Please use quotaUser instead.
|
270
|
-
# @param [Google::Apis::RequestOptions] options
|
271
|
-
# Request-specific options
|
272
|
-
#
|
273
|
-
# @yield [result, err] Result & error if block supplied
|
274
|
-
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
275
|
-
# @yieldparam err [StandardError] error object if request failed
|
276
|
-
#
|
277
|
-
# @return [Google::Apis::PlusDomainsV1::Circle]
|
278
|
-
#
|
279
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
280
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
281
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
282
|
-
def get_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
283
|
-
command = make_simple_command(:get, 'circles/{circleId}', options)
|
284
|
-
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
285
|
-
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
286
|
-
command.params['circleId'] = circle_id unless circle_id.nil?
|
287
|
-
command.query['fields'] = fields unless fields.nil?
|
288
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
289
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
290
|
-
execute_or_queue_command(command, &block)
|
291
|
-
end
|
292
|
-
|
293
|
-
# Create a new circle for the authenticated user.
|
294
|
-
# @param [String] user_id
|
295
|
-
# The ID of the user to create the circle on behalf of. The value "me" can be
|
296
|
-
# used to indicate the authenticated user.
|
297
|
-
# @param [Google::Apis::PlusDomainsV1::Circle] circle_object
|
298
|
-
# @param [String] fields
|
299
|
-
# Selector specifying which fields to include in a partial response.
|
300
|
-
# @param [String] quota_user
|
301
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
302
|
-
# characters.
|
303
|
-
# @param [String] user_ip
|
304
|
-
# Deprecated. Please use quotaUser instead.
|
305
|
-
# @param [Google::Apis::RequestOptions] options
|
306
|
-
# Request-specific options
|
307
|
-
#
|
308
|
-
# @yield [result, err] Result & error if block supplied
|
309
|
-
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
310
|
-
# @yieldparam err [StandardError] error object if request failed
|
311
|
-
#
|
312
|
-
# @return [Google::Apis::PlusDomainsV1::Circle]
|
313
|
-
#
|
314
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
315
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
|
-
def insert_circle(user_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
318
|
-
command = make_simple_command(:post, 'people/{userId}/circles', options)
|
319
|
-
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
320
|
-
command.request_object = circle_object
|
321
|
-
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
322
|
-
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
323
|
-
command.params['userId'] = user_id unless user_id.nil?
|
324
|
-
command.query['fields'] = fields unless fields.nil?
|
325
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
327
|
-
execute_or_queue_command(command, &block)
|
328
|
-
end
|
329
|
-
|
330
178
|
# List all of the circles for a user.
|
331
179
|
# @param [String] user_id
|
332
180
|
# The ID of the user to get circles for. The special value "me" can be used to
|
@@ -371,146 +219,6 @@ module Google
|
|
371
219
|
execute_or_queue_command(command, &block)
|
372
220
|
end
|
373
221
|
|
374
|
-
# Update a circle's description. This method supports patch semantics.
|
375
|
-
# @param [String] circle_id
|
376
|
-
# The ID of the circle to update.
|
377
|
-
# @param [Google::Apis::PlusDomainsV1::Circle] circle_object
|
378
|
-
# @param [String] fields
|
379
|
-
# Selector specifying which fields to include in a partial response.
|
380
|
-
# @param [String] quota_user
|
381
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
382
|
-
# characters.
|
383
|
-
# @param [String] user_ip
|
384
|
-
# Deprecated. Please use quotaUser instead.
|
385
|
-
# @param [Google::Apis::RequestOptions] options
|
386
|
-
# Request-specific options
|
387
|
-
#
|
388
|
-
# @yield [result, err] Result & error if block supplied
|
389
|
-
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
390
|
-
# @yieldparam err [StandardError] error object if request failed
|
391
|
-
#
|
392
|
-
# @return [Google::Apis::PlusDomainsV1::Circle]
|
393
|
-
#
|
394
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
395
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
396
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
397
|
-
def patch_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
398
|
-
command = make_simple_command(:patch, 'circles/{circleId}', options)
|
399
|
-
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
400
|
-
command.request_object = circle_object
|
401
|
-
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
402
|
-
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
403
|
-
command.params['circleId'] = circle_id unless circle_id.nil?
|
404
|
-
command.query['fields'] = fields unless fields.nil?
|
405
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
406
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
407
|
-
execute_or_queue_command(command, &block)
|
408
|
-
end
|
409
|
-
|
410
|
-
# Delete a circle.
|
411
|
-
# @param [String] circle_id
|
412
|
-
# The ID of the circle to delete.
|
413
|
-
# @param [String] fields
|
414
|
-
# Selector specifying which fields to include in a partial response.
|
415
|
-
# @param [String] quota_user
|
416
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
417
|
-
# characters.
|
418
|
-
# @param [String] user_ip
|
419
|
-
# Deprecated. Please use quotaUser instead.
|
420
|
-
# @param [Google::Apis::RequestOptions] options
|
421
|
-
# Request-specific options
|
422
|
-
#
|
423
|
-
# @yield [result, err] Result & error if block supplied
|
424
|
-
# @yieldparam result [NilClass] No result returned for this method
|
425
|
-
# @yieldparam err [StandardError] error object if request failed
|
426
|
-
#
|
427
|
-
# @return [void]
|
428
|
-
#
|
429
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
430
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
431
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
432
|
-
def remove_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
433
|
-
command = make_simple_command(:delete, 'circles/{circleId}', options)
|
434
|
-
command.params['circleId'] = circle_id unless circle_id.nil?
|
435
|
-
command.query['fields'] = fields unless fields.nil?
|
436
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
437
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
438
|
-
execute_or_queue_command(command, &block)
|
439
|
-
end
|
440
|
-
|
441
|
-
# Remove a person from a circle.
|
442
|
-
# @param [String] circle_id
|
443
|
-
# The ID of the circle to remove the person from.
|
444
|
-
# @param [Array<String>, String] email
|
445
|
-
# Email of the people to add to the circle. Optional, can be repeated.
|
446
|
-
# @param [Array<String>, String] user_id
|
447
|
-
# IDs of the people to remove from the circle. Optional, can be repeated.
|
448
|
-
# @param [String] fields
|
449
|
-
# Selector specifying which fields to include in a partial response.
|
450
|
-
# @param [String] quota_user
|
451
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
452
|
-
# characters.
|
453
|
-
# @param [String] user_ip
|
454
|
-
# Deprecated. Please use quotaUser instead.
|
455
|
-
# @param [Google::Apis::RequestOptions] options
|
456
|
-
# Request-specific options
|
457
|
-
#
|
458
|
-
# @yield [result, err] Result & error if block supplied
|
459
|
-
# @yieldparam result [NilClass] No result returned for this method
|
460
|
-
# @yieldparam err [StandardError] error object if request failed
|
461
|
-
#
|
462
|
-
# @return [void]
|
463
|
-
#
|
464
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
465
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
466
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
467
|
-
def remove_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
468
|
-
command = make_simple_command(:delete, 'circles/{circleId}/people', options)
|
469
|
-
command.params['circleId'] = circle_id unless circle_id.nil?
|
470
|
-
command.query['email'] = email unless email.nil?
|
471
|
-
command.query['userId'] = user_id unless user_id.nil?
|
472
|
-
command.query['fields'] = fields unless fields.nil?
|
473
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
474
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
475
|
-
execute_or_queue_command(command, &block)
|
476
|
-
end
|
477
|
-
|
478
|
-
# Update a circle's description.
|
479
|
-
# @param [String] circle_id
|
480
|
-
# The ID of the circle to update.
|
481
|
-
# @param [Google::Apis::PlusDomainsV1::Circle] circle_object
|
482
|
-
# @param [String] fields
|
483
|
-
# Selector specifying which fields to include in a partial response.
|
484
|
-
# @param [String] quota_user
|
485
|
-
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
486
|
-
# characters.
|
487
|
-
# @param [String] user_ip
|
488
|
-
# Deprecated. Please use quotaUser instead.
|
489
|
-
# @param [Google::Apis::RequestOptions] options
|
490
|
-
# Request-specific options
|
491
|
-
#
|
492
|
-
# @yield [result, err] Result & error if block supplied
|
493
|
-
# @yieldparam result [Google::Apis::PlusDomainsV1::Circle] parsed result object
|
494
|
-
# @yieldparam err [StandardError] error object if request failed
|
495
|
-
#
|
496
|
-
# @return [Google::Apis::PlusDomainsV1::Circle]
|
497
|
-
#
|
498
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
499
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
500
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
501
|
-
def update_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
502
|
-
command = make_simple_command(:put, 'circles/{circleId}', options)
|
503
|
-
command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
504
|
-
command.request_object = circle_object
|
505
|
-
command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
|
506
|
-
command.response_class = Google::Apis::PlusDomainsV1::Circle
|
507
|
-
command.params['circleId'] = circle_id unless circle_id.nil?
|
508
|
-
command.query['fields'] = fields unless fields.nil?
|
509
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
510
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
511
|
-
execute_or_queue_command(command, &block)
|
512
|
-
end
|
513
|
-
|
514
222
|
# Get a comment.
|
515
223
|
# @param [String] comment_id
|
516
224
|
# The ID of the comment to get.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/+/api/
|
26
26
|
module PlusV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190322'
|
29
29
|
|
30
30
|
# View your basic profile info, including your age range and language
|
31
31
|
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
|
@@ -36,7 +36,7 @@ module Google
|
|
36
36
|
# View your email address
|
37
37
|
AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
|
38
38
|
|
39
|
-
# See your personal info, including any personal info you've made
|
39
|
+
# See your personal info, including any personal info you've made publicly available
|
40
40
|
AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
|
41
41
|
end
|
42
42
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190327'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -41,6 +41,26 @@ module Google
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
+
# Request for Failover.
|
45
|
+
class FailoverInstanceRequest
|
46
|
+
include Google::Apis::Core::Hashable
|
47
|
+
|
48
|
+
# Optional. Available data protection modes that the user can choose. If it's
|
49
|
+
# unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
|
50
|
+
# Corresponds to the JSON property `dataProtectionMode`
|
51
|
+
# @return [String]
|
52
|
+
attr_accessor :data_protection_mode
|
53
|
+
|
54
|
+
def initialize(**args)
|
55
|
+
update!(**args)
|
56
|
+
end
|
57
|
+
|
58
|
+
# Update properties of this object
|
59
|
+
def update!(**args)
|
60
|
+
@data_protection_mode = args[:data_protection_mode] if args.key?(:data_protection_mode)
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
44
64
|
# This location metadata represents additional configuration options for a
|
45
65
|
# given location where a Redis instance may be created. All fields are output
|
46
66
|
# only. It is returned as content of the
|
@@ -435,14 +455,14 @@ module Google
|
|
435
455
|
attr_accessor :done
|
436
456
|
alias_method :done?, :done
|
437
457
|
|
438
|
-
# The `Status` type defines a logical error model that is suitable for
|
439
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
440
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
458
|
+
# The `Status` type defines a logical error model that is suitable for
|
459
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
460
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
441
461
|
# - Simple to use and understand for most users
|
442
462
|
# - Flexible enough to meet unexpected needs
|
443
463
|
# # Overview
|
444
|
-
# The `Status` message contains three pieces of data: error code, error
|
445
|
-
# and error details. The error code should be an enum value of
|
464
|
+
# The `Status` message contains three pieces of data: error code, error
|
465
|
+
# message, and error details. The error code should be an enum value of
|
446
466
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
447
467
|
# error message should be a developer-facing English message that helps
|
448
468
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -527,14 +547,14 @@ module Google
|
|
527
547
|
end
|
528
548
|
end
|
529
549
|
|
530
|
-
# The `Status` type defines a logical error model that is suitable for
|
531
|
-
# programming environments, including REST APIs and RPC APIs. It is
|
532
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
550
|
+
# The `Status` type defines a logical error model that is suitable for
|
551
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
552
|
+
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
533
553
|
# - Simple to use and understand for most users
|
534
554
|
# - Flexible enough to meet unexpected needs
|
535
555
|
# # Overview
|
536
|
-
# The `Status` message contains three pieces of data: error code, error
|
537
|
-
# and error details. The error code should be an enum value of
|
556
|
+
# The `Status` message contains three pieces of data: error code, error
|
557
|
+
# message, and error details. The error code should be an enum value of
|
538
558
|
# google.rpc.Code, but it may accept additional error codes if needed. The
|
539
559
|
# error message should be a developer-facing English message that helps
|
540
560
|
# developers *understand* and *resolve* the error. If a localized user-facing
|
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class FailoverInstanceRequest
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
31
37
|
class GoogleCloudRedisV1LocationMetadata
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
39
|
|
@@ -94,6 +100,13 @@ module Google
|
|
94
100
|
end
|
95
101
|
end
|
96
102
|
|
103
|
+
class FailoverInstanceRequest
|
104
|
+
# @private
|
105
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
106
|
+
property :data_protection_mode, as: 'dataProtectionMode'
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
97
110
|
class GoogleCloudRedisV1LocationMetadata
|
98
111
|
# @private
|
99
112
|
class Representation < Google::Apis::Core::JsonRepresentation
|