google-api-client 0.30.2 → 0.30.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -190,6 +190,7 @@ module Google
|
|
190
190
|
# @private
|
191
191
|
class Representation < Google::Apis::Core::JsonRepresentation
|
192
192
|
collection :allowed_values, as: 'allowedValues'
|
193
|
+
property :deprecated, as: 'deprecated'
|
193
194
|
property :description, as: 'description'
|
194
195
|
property :display_name, as: 'displayName'
|
195
196
|
collection :fields, as: 'fields', class: Google::Apis::BigquerydatatransferV1::DataSourceParameter, decorator: Google::Apis::BigquerydatatransferV1::DataSourceParameter::Representation
|
@@ -371,7 +371,7 @@ module Google
|
|
371
371
|
# Optional version info. If users want to find a very recent access token,
|
372
372
|
# that is, immediately after approving access, users have to set the
|
373
373
|
# version_info claim in the token request. To obtain the version_info, users
|
374
|
-
# must use the
|
374
|
+
# must use the "none+gsession" response type. which be return a
|
375
375
|
# version_info back in the authorization response which be be put in a JWT
|
376
376
|
# claim in the token request.
|
377
377
|
# @param [String] fields
|
@@ -546,7 +546,7 @@ module Google
|
|
546
546
|
# Optional version info. If users want to find a very recent access token,
|
547
547
|
# that is, immediately after approving access, users have to set the
|
548
548
|
# version_info claim in the token request. To obtain the version_info, users
|
549
|
-
# must use the
|
549
|
+
# must use the "none+gsession" response type. which be return a
|
550
550
|
# version_info back in the authorization response which be be put in a JWT
|
551
551
|
# claim in the token request.
|
552
552
|
# @param [String] fields
|
@@ -839,7 +839,7 @@ module Google
|
|
839
839
|
# Optional version info. If users want to find a very recent access token,
|
840
840
|
# that is, immediately after approving access, users have to set the
|
841
841
|
# version_info claim in the token request. To obtain the version_info, users
|
842
|
-
# must use the
|
842
|
+
# must use the "none+gsession" response type. which be return a
|
843
843
|
# version_info back in the authorization response which be be put in a JWT
|
844
844
|
# claim in the token request.
|
845
845
|
# @param [String] fields
|
@@ -1014,7 +1014,7 @@ module Google
|
|
1014
1014
|
# Optional version info. If users want to find a very recent access token,
|
1015
1015
|
# that is, immediately after approving access, users have to set the
|
1016
1016
|
# version_info claim in the token request. To obtain the version_info, users
|
1017
|
-
# must use the
|
1017
|
+
# must use the "none+gsession" response type. which be return a
|
1018
1018
|
# version_info back in the authorization response which be be put in a JWT
|
1019
1019
|
# claim in the token request.
|
1020
1020
|
# @param [String] fields
|
@@ -295,78 +295,6 @@ module Google
|
|
295
295
|
end
|
296
296
|
end
|
297
297
|
|
298
|
-
# The response message for Locations.ListLocations.
|
299
|
-
class ListLocationsResponse
|
300
|
-
include Google::Apis::Core::Hashable
|
301
|
-
|
302
|
-
# A list of locations that matches the specified filter in the request.
|
303
|
-
# Corresponds to the JSON property `locations`
|
304
|
-
# @return [Array<Google::Apis::BigtableadminV1::Location>]
|
305
|
-
attr_accessor :locations
|
306
|
-
|
307
|
-
# The standard List next-page token.
|
308
|
-
# Corresponds to the JSON property `nextPageToken`
|
309
|
-
# @return [String]
|
310
|
-
attr_accessor :next_page_token
|
311
|
-
|
312
|
-
def initialize(**args)
|
313
|
-
update!(**args)
|
314
|
-
end
|
315
|
-
|
316
|
-
# Update properties of this object
|
317
|
-
def update!(**args)
|
318
|
-
@locations = args[:locations] if args.key?(:locations)
|
319
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
320
|
-
end
|
321
|
-
end
|
322
|
-
|
323
|
-
# A resource that represents Google Cloud Platform location.
|
324
|
-
class Location
|
325
|
-
include Google::Apis::Core::Hashable
|
326
|
-
|
327
|
-
# The friendly name for this location, typically a nearby city name.
|
328
|
-
# For example, "Tokyo".
|
329
|
-
# Corresponds to the JSON property `displayName`
|
330
|
-
# @return [String]
|
331
|
-
attr_accessor :display_name
|
332
|
-
|
333
|
-
# Cross-service attributes for the location. For example
|
334
|
-
# `"cloud.googleapis.com/region": "us-east1"`
|
335
|
-
# Corresponds to the JSON property `labels`
|
336
|
-
# @return [Hash<String,String>]
|
337
|
-
attr_accessor :labels
|
338
|
-
|
339
|
-
# The canonical id for this location. For example: `"us-east1"`.
|
340
|
-
# Corresponds to the JSON property `locationId`
|
341
|
-
# @return [String]
|
342
|
-
attr_accessor :location_id
|
343
|
-
|
344
|
-
# Service-specific metadata. For example the available capacity at the given
|
345
|
-
# location.
|
346
|
-
# Corresponds to the JSON property `metadata`
|
347
|
-
# @return [Hash<String,Object>]
|
348
|
-
attr_accessor :metadata
|
349
|
-
|
350
|
-
# Resource name for the location, which may vary between implementations.
|
351
|
-
# For example: `"projects/example-project/locations/us-east1"`
|
352
|
-
# Corresponds to the JSON property `name`
|
353
|
-
# @return [String]
|
354
|
-
attr_accessor :name
|
355
|
-
|
356
|
-
def initialize(**args)
|
357
|
-
update!(**args)
|
358
|
-
end
|
359
|
-
|
360
|
-
# Update properties of this object
|
361
|
-
def update!(**args)
|
362
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
363
|
-
@labels = args[:labels] if args.key?(:labels)
|
364
|
-
@location_id = args[:location_id] if args.key?(:location_id)
|
365
|
-
@metadata = args[:metadata] if args.key?(:metadata)
|
366
|
-
@name = args[:name] if args.key?(:name)
|
367
|
-
end
|
368
|
-
end
|
369
|
-
|
370
298
|
# Request message for BigtableInstanceAdmin.PartialUpdateInstance.
|
371
299
|
class PartialUpdateInstanceRequest
|
372
300
|
include Google::Apis::Core::Hashable
|
@@ -58,18 +58,6 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
-
class ListLocationsResponse
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
-
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
65
|
-
end
|
66
|
-
|
67
|
-
class Location
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
-
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
71
|
-
end
|
72
|
-
|
73
61
|
class PartialUpdateInstanceRequest
|
74
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
63
|
|
@@ -166,26 +154,6 @@ module Google
|
|
166
154
|
end
|
167
155
|
end
|
168
156
|
|
169
|
-
class ListLocationsResponse
|
170
|
-
# @private
|
171
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
172
|
-
collection :locations, as: 'locations', class: Google::Apis::BigtableadminV1::Location, decorator: Google::Apis::BigtableadminV1::Location::Representation
|
173
|
-
|
174
|
-
property :next_page_token, as: 'nextPageToken'
|
175
|
-
end
|
176
|
-
end
|
177
|
-
|
178
|
-
class Location
|
179
|
-
# @private
|
180
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
181
|
-
property :display_name, as: 'displayName'
|
182
|
-
hash :labels, as: 'labels'
|
183
|
-
property :location_id, as: 'locationId'
|
184
|
-
hash :metadata, as: 'metadata'
|
185
|
-
property :name, as: 'name'
|
186
|
-
end
|
187
|
-
end
|
188
|
-
|
189
157
|
class PartialUpdateInstanceRequest
|
190
158
|
# @private
|
191
159
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -46,75 +46,6 @@ module Google
|
|
46
46
|
super('https://bigtableadmin.googleapis.com/', '')
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
|
-
|
50
|
-
# Gets information about a location.
|
51
|
-
# @param [String] name
|
52
|
-
# Resource name for the location.
|
53
|
-
# @param [String] fields
|
54
|
-
# Selector specifying which fields to include in a partial response.
|
55
|
-
# @param [String] quota_user
|
56
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
57
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
58
|
-
# @param [Google::Apis::RequestOptions] options
|
59
|
-
# Request-specific options
|
60
|
-
#
|
61
|
-
# @yield [result, err] Result & error if block supplied
|
62
|
-
# @yieldparam result [Google::Apis::BigtableadminV1::Location] parsed result object
|
63
|
-
# @yieldparam err [StandardError] error object if request failed
|
64
|
-
#
|
65
|
-
# @return [Google::Apis::BigtableadminV1::Location]
|
66
|
-
#
|
67
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
-
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
72
|
-
command.response_representation = Google::Apis::BigtableadminV1::Location::Representation
|
73
|
-
command.response_class = Google::Apis::BigtableadminV1::Location
|
74
|
-
command.params['name'] = name unless name.nil?
|
75
|
-
command.query['fields'] = fields unless fields.nil?
|
76
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
|
-
execute_or_queue_command(command, &block)
|
78
|
-
end
|
79
|
-
|
80
|
-
# Lists information about the supported locations for this service.
|
81
|
-
# @param [String] name
|
82
|
-
# The resource that owns the locations collection, if applicable.
|
83
|
-
# @param [String] filter
|
84
|
-
# The standard list filter.
|
85
|
-
# @param [Fixnum] page_size
|
86
|
-
# The standard list page size.
|
87
|
-
# @param [String] page_token
|
88
|
-
# The standard list page token.
|
89
|
-
# @param [String] fields
|
90
|
-
# Selector specifying which fields to include in a partial response.
|
91
|
-
# @param [String] quota_user
|
92
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
93
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
94
|
-
# @param [Google::Apis::RequestOptions] options
|
95
|
-
# Request-specific options
|
96
|
-
#
|
97
|
-
# @yield [result, err] Result & error if block supplied
|
98
|
-
# @yieldparam result [Google::Apis::BigtableadminV1::ListLocationsResponse] parsed result object
|
99
|
-
# @yieldparam err [StandardError] error object if request failed
|
100
|
-
#
|
101
|
-
# @return [Google::Apis::BigtableadminV1::ListLocationsResponse]
|
102
|
-
#
|
103
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
104
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
|
-
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
-
command = make_simple_command(:get, 'v1/{+name}/locations', options)
|
108
|
-
command.response_representation = Google::Apis::BigtableadminV1::ListLocationsResponse::Representation
|
109
|
-
command.response_class = Google::Apis::BigtableadminV1::ListLocationsResponse
|
110
|
-
command.params['name'] = name unless name.nil?
|
111
|
-
command.query['filter'] = filter unless filter.nil?
|
112
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
113
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
114
|
-
command.query['fields'] = fields unless fields.nil?
|
115
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
|
-
execute_or_queue_command(command, &block)
|
117
|
-
end
|
118
49
|
|
119
50
|
protected
|
120
51
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigtable/
|
26
26
|
module BigtableadminV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190506'
|
29
29
|
|
30
30
|
# Administer your Cloud Bigtable tables and clusters
|
31
31
|
AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
|
@@ -952,6 +952,31 @@ module Google
|
|
952
952
|
end
|
953
953
|
end
|
954
954
|
|
955
|
+
# The response message for Locations.ListLocations.
|
956
|
+
class ListLocationsResponse
|
957
|
+
include Google::Apis::Core::Hashable
|
958
|
+
|
959
|
+
# A list of locations that matches the specified filter in the request.
|
960
|
+
# Corresponds to the JSON property `locations`
|
961
|
+
# @return [Array<Google::Apis::BigtableadminV2::Location>]
|
962
|
+
attr_accessor :locations
|
963
|
+
|
964
|
+
# The standard List next-page token.
|
965
|
+
# Corresponds to the JSON property `nextPageToken`
|
966
|
+
# @return [String]
|
967
|
+
attr_accessor :next_page_token
|
968
|
+
|
969
|
+
def initialize(**args)
|
970
|
+
update!(**args)
|
971
|
+
end
|
972
|
+
|
973
|
+
# Update properties of this object
|
974
|
+
def update!(**args)
|
975
|
+
@locations = args[:locations] if args.key?(:locations)
|
976
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
955
980
|
# The response message for Operations.ListOperations.
|
956
981
|
class ListOperationsResponse
|
957
982
|
include Google::Apis::Core::Hashable
|
@@ -1005,6 +1030,53 @@ module Google
|
|
1005
1030
|
end
|
1006
1031
|
end
|
1007
1032
|
|
1033
|
+
# A resource that represents Google Cloud Platform location.
|
1034
|
+
class Location
|
1035
|
+
include Google::Apis::Core::Hashable
|
1036
|
+
|
1037
|
+
# The friendly name for this location, typically a nearby city name.
|
1038
|
+
# For example, "Tokyo".
|
1039
|
+
# Corresponds to the JSON property `displayName`
|
1040
|
+
# @return [String]
|
1041
|
+
attr_accessor :display_name
|
1042
|
+
|
1043
|
+
# Cross-service attributes for the location. For example
|
1044
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
1045
|
+
# Corresponds to the JSON property `labels`
|
1046
|
+
# @return [Hash<String,String>]
|
1047
|
+
attr_accessor :labels
|
1048
|
+
|
1049
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
1050
|
+
# Corresponds to the JSON property `locationId`
|
1051
|
+
# @return [String]
|
1052
|
+
attr_accessor :location_id
|
1053
|
+
|
1054
|
+
# Service-specific metadata. For example the available capacity at the given
|
1055
|
+
# location.
|
1056
|
+
# Corresponds to the JSON property `metadata`
|
1057
|
+
# @return [Hash<String,Object>]
|
1058
|
+
attr_accessor :metadata
|
1059
|
+
|
1060
|
+
# Resource name for the location, which may vary between implementations.
|
1061
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
1062
|
+
# Corresponds to the JSON property `name`
|
1063
|
+
# @return [String]
|
1064
|
+
attr_accessor :name
|
1065
|
+
|
1066
|
+
def initialize(**args)
|
1067
|
+
update!(**args)
|
1068
|
+
end
|
1069
|
+
|
1070
|
+
# Update properties of this object
|
1071
|
+
def update!(**args)
|
1072
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
1073
|
+
@labels = args[:labels] if args.key?(:labels)
|
1074
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
1075
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
1076
|
+
@name = args[:name] if args.key?(:name)
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1008
1080
|
# A create, update, or delete of a particular column family.
|
1009
1081
|
class Modification
|
1010
1082
|
include Google::Apis::Core::Hashable
|
@@ -178,6 +178,12 @@ module Google
|
|
178
178
|
include Google::Apis::Core::JsonObjectSupport
|
179
179
|
end
|
180
180
|
|
181
|
+
class ListLocationsResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
181
187
|
class ListOperationsResponse
|
182
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
189
|
|
@@ -190,6 +196,12 @@ module Google
|
|
190
196
|
include Google::Apis::Core::JsonObjectSupport
|
191
197
|
end
|
192
198
|
|
199
|
+
class Location
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
193
205
|
class Modification
|
194
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
207
|
|
@@ -537,6 +549,15 @@ module Google
|
|
537
549
|
end
|
538
550
|
end
|
539
551
|
|
552
|
+
class ListLocationsResponse
|
553
|
+
# @private
|
554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
555
|
+
collection :locations, as: 'locations', class: Google::Apis::BigtableadminV2::Location, decorator: Google::Apis::BigtableadminV2::Location::Representation
|
556
|
+
|
557
|
+
property :next_page_token, as: 'nextPageToken'
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
540
561
|
class ListOperationsResponse
|
541
562
|
# @private
|
542
563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -555,6 +576,17 @@ module Google
|
|
555
576
|
end
|
556
577
|
end
|
557
578
|
|
579
|
+
class Location
|
580
|
+
# @private
|
581
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
582
|
+
property :display_name, as: 'displayName'
|
583
|
+
hash :labels, as: 'labels'
|
584
|
+
property :location_id, as: 'locationId'
|
585
|
+
hash :metadata, as: 'metadata'
|
586
|
+
property :name, as: 'name'
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
558
590
|
class Modification
|
559
591
|
# @private
|
560
592
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1277,6 +1277,75 @@ module Google
|
|
1277
1277
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1278
1278
|
execute_or_queue_command(command, &block)
|
1279
1279
|
end
|
1280
|
+
|
1281
|
+
# Gets information about a location.
|
1282
|
+
# @param [String] name
|
1283
|
+
# Resource name for the location.
|
1284
|
+
# @param [String] fields
|
1285
|
+
# Selector specifying which fields to include in a partial response.
|
1286
|
+
# @param [String] quota_user
|
1287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1289
|
+
# @param [Google::Apis::RequestOptions] options
|
1290
|
+
# Request-specific options
|
1291
|
+
#
|
1292
|
+
# @yield [result, err] Result & error if block supplied
|
1293
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::Location] parsed result object
|
1294
|
+
# @yieldparam err [StandardError] error object if request failed
|
1295
|
+
#
|
1296
|
+
# @return [Google::Apis::BigtableadminV2::Location]
|
1297
|
+
#
|
1298
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1299
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1300
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1301
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
1302
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1303
|
+
command.response_representation = Google::Apis::BigtableadminV2::Location::Representation
|
1304
|
+
command.response_class = Google::Apis::BigtableadminV2::Location
|
1305
|
+
command.params['name'] = name unless name.nil?
|
1306
|
+
command.query['fields'] = fields unless fields.nil?
|
1307
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1308
|
+
execute_or_queue_command(command, &block)
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
# Lists information about the supported locations for this service.
|
1312
|
+
# @param [String] name
|
1313
|
+
# The resource that owns the locations collection, if applicable.
|
1314
|
+
# @param [String] filter
|
1315
|
+
# The standard list filter.
|
1316
|
+
# @param [Fixnum] page_size
|
1317
|
+
# The standard list page size.
|
1318
|
+
# @param [String] page_token
|
1319
|
+
# The standard list page token.
|
1320
|
+
# @param [String] fields
|
1321
|
+
# Selector specifying which fields to include in a partial response.
|
1322
|
+
# @param [String] quota_user
|
1323
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1324
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1325
|
+
# @param [Google::Apis::RequestOptions] options
|
1326
|
+
# Request-specific options
|
1327
|
+
#
|
1328
|
+
# @yield [result, err] Result & error if block supplied
|
1329
|
+
# @yieldparam result [Google::Apis::BigtableadminV2::ListLocationsResponse] parsed result object
|
1330
|
+
# @yieldparam err [StandardError] error object if request failed
|
1331
|
+
#
|
1332
|
+
# @return [Google::Apis::BigtableadminV2::ListLocationsResponse]
|
1333
|
+
#
|
1334
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1335
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1336
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1337
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1338
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
1339
|
+
command.response_representation = Google::Apis::BigtableadminV2::ListLocationsResponse::Representation
|
1340
|
+
command.response_class = Google::Apis::BigtableadminV2::ListLocationsResponse
|
1341
|
+
command.params['name'] = name unless name.nil?
|
1342
|
+
command.query['filter'] = filter unless filter.nil?
|
1343
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1344
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1345
|
+
command.query['fields'] = fields unless fields.nil?
|
1346
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1347
|
+
execute_or_queue_command(command, &block)
|
1348
|
+
end
|
1280
1349
|
|
1281
1350
|
protected
|
1282
1351
|
|