google-api-client 0.30.3 → 0.30.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +22 -7
- data/generated/google/apis/bigquery_v2/representations.rb +3 -0
- data/generated/google/apis/bigquery_v2/service.rb +4 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +345 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +66 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -22
- data/generated/google/apis/cloudbuild_v1/representations.rb +0 -14
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +239 -1
- data/generated/google/apis/cloudkms_v1/representations.rb +71 -0
- data/generated/google/apis/cloudkms_v1/service.rb +215 -7
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +15 -13
- data/generated/google/apis/compute_alpha/service.rb +3 -2
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +15 -13
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +15 -13
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +16 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -7
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +1 -1
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +3 -3
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +117 -24
- data/generated/google/apis/firebase_v1beta1/representations.rb +41 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +139 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +1 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +28 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +15 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +35 -5
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +28 -4
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +10 -10
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +34 -98
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +30 -12
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +6 -10
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +8 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +22 -2
- data/generated/google/apis/redis_v1beta1/representations.rb +13 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +32 -4
- data/generated/google/apis/run_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +48 -75
- data/generated/google/apis/sourcerepo_v1/representations.rb +16 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/service.rb +0 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/service.rb +0 -32
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +41 -6
- data/generated/google/apis/storage_v1/representations.rb +17 -0
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +3 -3
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +3 -3
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +8 -74
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -35
- data/generated/google/apis/websecurityscanner_v1.rb +31 -0
- data/generated/google/apis/websecurityscanner_v1/classes.rb +26 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +26 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +59 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190625'
|
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'
|
@@ -443,7 +443,7 @@ module Google
|
|
443
443
|
include Google::Apis::Core::Hashable
|
444
444
|
|
445
445
|
# Specifies parameters that will be used for generating initial DnsKeys for this
|
446
|
-
# ManagedZone.
|
446
|
+
# ManagedZone. Can only be changed while state is OFF.
|
447
447
|
# Corresponds to the JSON property `defaultKeySpecs`
|
448
448
|
# @return [Array<Google::Apis::DnsV1::DnsKeySpec>]
|
449
449
|
attr_accessor :default_key_specs
|
@@ -455,7 +455,7 @@ module Google
|
|
455
455
|
attr_accessor :kind
|
456
456
|
|
457
457
|
# Specifies the mechanism used to provide authenticated denial-of-existence
|
458
|
-
# responses.
|
458
|
+
# responses. Can only be changed while state is OFF.
|
459
459
|
# Corresponds to the JSON property `nonExistence`
|
460
460
|
# @return [String]
|
461
461
|
attr_accessor :non_existence
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190625'
|
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'
|
@@ -458,7 +458,7 @@ module Google
|
|
458
458
|
include Google::Apis::Core::Hashable
|
459
459
|
|
460
460
|
# Specifies parameters that will be used for generating initial DnsKeys for this
|
461
|
-
# ManagedZone.
|
461
|
+
# ManagedZone. Can only be changed while state is OFF.
|
462
462
|
# Corresponds to the JSON property `defaultKeySpecs`
|
463
463
|
# @return [Array<Google::Apis::DnsV1beta2::DnsKeySpec>]
|
464
464
|
attr_accessor :default_key_specs
|
@@ -470,7 +470,7 @@ module Google
|
|
470
470
|
attr_accessor :kind
|
471
471
|
|
472
472
|
# Specifies the mechanism used to provide authenticated denial-of-existence
|
473
|
-
# responses.
|
473
|
+
# responses. Can only be changed while state is OFF.
|
474
474
|
# Corresponds to the JSON property `nonExistence`
|
475
475
|
# @return [String]
|
476
476
|
attr_accessor :non_existence
|
@@ -621,11 +621,10 @@ module Google
|
|
621
621
|
class ManagedZonePeeringConfigTargetNetwork
|
622
622
|
include Google::Apis::Core::Hashable
|
623
623
|
|
624
|
-
# If this zone has been deactivated
|
625
|
-
# targeted, the time at which it was deactivated.
|
626
|
-
#
|
627
|
-
#
|
628
|
-
# Output only.
|
624
|
+
# If this zone has been deactivated (possibly because the producer network it
|
625
|
+
# targeted was deleted), the time at which it was deactivated. If the peering
|
626
|
+
# connection is still active, this will be the empty string. This is in RFC3339
|
627
|
+
# text format. Output only.
|
629
628
|
# Corresponds to the JSON property `deactivateTime`
|
630
629
|
# @return [String]
|
631
630
|
attr_accessor :deactivate_time
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/cloud-dns
|
26
26
|
module DnsV2beta1
|
27
27
|
VERSION = 'V2beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190625'
|
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'
|
@@ -443,7 +443,7 @@ module Google
|
|
443
443
|
include Google::Apis::Core::Hashable
|
444
444
|
|
445
445
|
# Specifies parameters that will be used for generating initial DnsKeys for this
|
446
|
-
# ManagedZone.
|
446
|
+
# ManagedZone. Can only be changed while state is OFF.
|
447
447
|
# Corresponds to the JSON property `defaultKeySpecs`
|
448
448
|
# @return [Array<Google::Apis::DnsV2beta1::DnsKeySpec>]
|
449
449
|
attr_accessor :default_key_specs
|
@@ -455,7 +455,7 @@ module Google
|
|
455
455
|
attr_accessor :kind
|
456
456
|
|
457
457
|
# Specifies the mechanism used to provide authenticated denial-of-existence
|
458
|
-
# responses.
|
458
|
+
# responses. Can only be changed while state is OFF.
|
459
459
|
# Corresponds to the JSON property `nonExistence`
|
460
460
|
# @return [String]
|
461
461
|
attr_accessor :non_existence
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/bid-manager/
|
26
26
|
module DoubleclickbidmanagerV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190618'
|
29
29
|
|
30
30
|
# View and manage your reports in DoubleClick Bid Manager
|
31
31
|
AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190620'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -885,7 +885,7 @@ module Google
|
|
885
885
|
attr_accessor :id
|
886
886
|
|
887
887
|
# Identifies this as a notification channel used to watch for changes to a
|
888
|
-
# resource
|
888
|
+
# resource, which is "api#channel".
|
889
889
|
# Corresponds to the JSON property `kind`
|
890
890
|
# @return [String]
|
891
891
|
attr_accessor :kind
|
@@ -1310,7 +1310,7 @@ module Google
|
|
1310
1310
|
execute_or_queue_command(command, &block)
|
1311
1311
|
end
|
1312
1312
|
|
1313
|
-
# Generates a set of file IDs which can be provided in insert requests.
|
1313
|
+
# Generates a set of file IDs which can be provided in insert or copy requests.
|
1314
1314
|
# @param [Fixnum] max_results
|
1315
1315
|
# Maximum number of IDs to return.
|
1316
1316
|
# @param [String] space
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/drive/
|
27
27
|
module DriveV3
|
28
28
|
VERSION = 'V3'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190620'
|
30
30
|
|
31
31
|
# See, edit, create, and delete all of your Google Drive files
|
32
32
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
attr_accessor :id
|
364
364
|
|
365
365
|
# Identifies this as a notification channel used to watch for changes to a
|
366
|
-
# resource
|
366
|
+
# resource, which is "api#channel".
|
367
367
|
# Corresponds to the JSON property `kind`
|
368
368
|
# @return [String]
|
369
369
|
attr_accessor :kind
|
@@ -1017,7 +1017,7 @@ module Google
|
|
1017
1017
|
execute_or_queue_command(command, &block)
|
1018
1018
|
end
|
1019
1019
|
|
1020
|
-
# Generates a set of file IDs which can be provided in create requests.
|
1020
|
+
# Generates a set of file IDs which can be provided in create or copy requests.
|
1021
1021
|
# @param [Fixnum] count
|
1022
1022
|
# The number of IDs to return.
|
1023
1023
|
# @param [String] space
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com/docs/cloud-messaging
|
27
27
|
module FcmV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190628'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -98,7 +98,7 @@ module Google
|
|
98
98
|
class AndroidFcmOptions
|
99
99
|
include Google::Apis::Core::Hashable
|
100
100
|
|
101
|
-
# Label
|
101
|
+
# Label associated with the message's analytics data.
|
102
102
|
# Corresponds to the JSON property `analyticsLabel`
|
103
103
|
# @return [String]
|
104
104
|
attr_accessor :analytics_label
|
@@ -268,7 +268,7 @@ module Google
|
|
268
268
|
class ApnsFcmOptions
|
269
269
|
include Google::Apis::Core::Hashable
|
270
270
|
|
271
|
-
# Label
|
271
|
+
# Label associated with the message's analytics data.
|
272
272
|
# Corresponds to the JSON property `analyticsLabel`
|
273
273
|
# @return [String]
|
274
274
|
attr_accessor :analytics_label
|
@@ -287,7 +287,7 @@ module Google
|
|
287
287
|
class FcmOptions
|
288
288
|
include Google::Apis::Core::Hashable
|
289
289
|
|
290
|
-
# Label
|
290
|
+
# Label associated with the message's analytics data.
|
291
291
|
# Corresponds to the JSON property `analyticsLabel`
|
292
292
|
# @return [String]
|
293
293
|
attr_accessor :analytics_label
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://firebase.google.com
|
27
27
|
module FirebaseV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190620'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,12 +26,14 @@ module Google
|
|
26
26
|
class AddFirebaseRequest
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Deprecated. Instead,
|
30
|
-
#
|
29
|
+
# Deprecated. Instead, to set your project's default GCP resource location,
|
30
|
+
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
|
31
|
+
# after you add Firebase services to your project.
|
31
32
|
# <br>
|
32
|
-
# <br>The ID of the project's
|
33
|
-
# one of the
|
34
|
-
#
|
33
|
+
# <br>The ID of the project's default GCP resource location. The location
|
34
|
+
# must be one of the available
|
35
|
+
# [GCP resource
|
36
|
+
# locations](https://firebase.google.com/docs/projects/locations).
|
35
37
|
# Corresponds to the JSON property `locationId`
|
36
38
|
# @return [String]
|
37
39
|
attr_accessor :location_id
|
@@ -72,9 +74,14 @@ module Google
|
|
72
74
|
# @return [String]
|
73
75
|
attr_accessor :database_url
|
74
76
|
|
75
|
-
# The default resource location
|
76
|
-
#
|
77
|
-
#
|
77
|
+
# The ID of the project's default GCP resource location. The location is one
|
78
|
+
# of the available
|
79
|
+
# [GCP resource
|
80
|
+
# locations](https://firebase.google.com/docs/projects/locations). <br>
|
81
|
+
# <br>This field is omitted if the default GCP resource location has not been
|
82
|
+
# finalized yet. To set your project's default GCP resource location,
|
83
|
+
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
|
84
|
+
# after you add Firebase services to your project.
|
78
85
|
# Corresponds to the JSON property `locationId`
|
79
86
|
# @return [String]
|
80
87
|
attr_accessor :location_id
|
@@ -197,10 +204,14 @@ module Google
|
|
197
204
|
# @return [String]
|
198
205
|
attr_accessor :hosting_site
|
199
206
|
|
200
|
-
# The default resource location
|
201
|
-
#
|
202
|
-
#
|
203
|
-
#
|
207
|
+
# The ID of the project's default GCP resource location. The location is one
|
208
|
+
# of the available
|
209
|
+
# [GCP resource
|
210
|
+
# locations](https://firebase.google.com/docs/projects/locations). <br>
|
211
|
+
# <br>This field is omitted if the default GCP resource location has not been
|
212
|
+
# finalized yet. To set your project's default GCP resource location,
|
213
|
+
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
|
214
|
+
# after you add Firebase services to your project.
|
204
215
|
# Corresponds to the JSON property `locationId`
|
205
216
|
# @return [String]
|
206
217
|
attr_accessor :location_id
|
@@ -221,8 +232,7 @@ module Google
|
|
221
232
|
attr_accessor :realtime_database_instance
|
222
233
|
|
223
234
|
# The default Cloud Storage for Firebase storage bucket, in the format:
|
224
|
-
# <br><code><var>projectId</var>.appspot.com</code
|
225
|
-
# if the default resource location has not been finalized yet.
|
235
|
+
# <br><code><var>projectId</var>.appspot.com</code>
|
226
236
|
# Corresponds to the JSON property `storageBucket`
|
227
237
|
# @return [String]
|
228
238
|
attr_accessor :storage_bucket
|
@@ -259,6 +269,28 @@ module Google
|
|
259
269
|
end
|
260
270
|
end
|
261
271
|
|
272
|
+
#
|
273
|
+
class FinalizeDefaultLocationRequest
|
274
|
+
include Google::Apis::Core::Hashable
|
275
|
+
|
276
|
+
# The ID of the default GCP resource location for the Project. The location
|
277
|
+
# must be one of the available
|
278
|
+
# [GCP resource
|
279
|
+
# locations](https://firebase.google.com/docs/projects/locations).
|
280
|
+
# Corresponds to the JSON property `locationId`
|
281
|
+
# @return [String]
|
282
|
+
attr_accessor :location_id
|
283
|
+
|
284
|
+
def initialize(**args)
|
285
|
+
update!(**args)
|
286
|
+
end
|
287
|
+
|
288
|
+
# Update properties of this object
|
289
|
+
def update!(**args)
|
290
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
262
294
|
# A high-level summary of an App.
|
263
295
|
class FirebaseAppInfo
|
264
296
|
include Google::Apis::Core::Hashable
|
@@ -476,6 +508,38 @@ module Google
|
|
476
508
|
end
|
477
509
|
end
|
478
510
|
|
511
|
+
#
|
512
|
+
class ListAvailableLocationsResponse
|
513
|
+
include Google::Apis::Core::Hashable
|
514
|
+
|
515
|
+
# One page of results from a call to `ListAvailableLocations`.
|
516
|
+
# Corresponds to the JSON property `locations`
|
517
|
+
# @return [Array<Google::Apis::FirebaseV1beta1::Location>]
|
518
|
+
attr_accessor :locations
|
519
|
+
|
520
|
+
# If the result list is too large to fit in a single response, then a token
|
521
|
+
# is returned. If the string is empty, then this response is the last page of
|
522
|
+
# results and all available locations have been listed.
|
523
|
+
# <br>
|
524
|
+
# <br>This token can be used in a subsequent call to
|
525
|
+
# `ListAvailableLocations` to find more locations.
|
526
|
+
# <br>
|
527
|
+
# <br>Page tokens are short-lived and should not be persisted.
|
528
|
+
# Corresponds to the JSON property `nextPageToken`
|
529
|
+
# @return [String]
|
530
|
+
attr_accessor :next_page_token
|
531
|
+
|
532
|
+
def initialize(**args)
|
533
|
+
update!(**args)
|
534
|
+
end
|
535
|
+
|
536
|
+
# Update properties of this object
|
537
|
+
def update!(**args)
|
538
|
+
@locations = args[:locations] if args.key?(:locations)
|
539
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
479
543
|
#
|
480
544
|
class ListAvailableProjectsResponse
|
481
545
|
include Google::Apis::Core::Hashable
|
@@ -623,6 +687,28 @@ module Google
|
|
623
687
|
end
|
624
688
|
end
|
625
689
|
|
690
|
+
# A GCP resource location that can be selected for a Project.
|
691
|
+
class Location
|
692
|
+
include Google::Apis::Core::Hashable
|
693
|
+
|
694
|
+
# The ID of the default GCP resource location. It must be one of the
|
695
|
+
# available
|
696
|
+
# [GCP resource
|
697
|
+
# locations](https://firebase.google.com/docs/projects/locations).
|
698
|
+
# Corresponds to the JSON property `locationId`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :location_id
|
701
|
+
|
702
|
+
def initialize(**args)
|
703
|
+
update!(**args)
|
704
|
+
end
|
705
|
+
|
706
|
+
# Update properties of this object
|
707
|
+
def update!(**args)
|
708
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
626
712
|
# This is proto2's version of MessageSet.
|
627
713
|
class MessageSet
|
628
714
|
include Google::Apis::Core::Hashable
|
@@ -710,13 +796,15 @@ module Google
|
|
710
796
|
# @return [String]
|
711
797
|
attr_accessor :display_name
|
712
798
|
|
713
|
-
# The default resource location
|
714
|
-
#
|
715
|
-
#
|
716
|
-
#
|
717
|
-
#
|
718
|
-
#
|
719
|
-
#
|
799
|
+
# The ID of the project's default GCP resource location. The location is one
|
800
|
+
# of the available
|
801
|
+
# [GCP resource
|
802
|
+
# locations](https://firebase.google.com/docs/projects/locations). <br> <br>
|
803
|
+
# Not all projects will have this field populated. If it is not populated, it
|
804
|
+
# means that the project does not yet have a default GCP resource location.
|
805
|
+
# To set your project's default GCP resource location, call
|
806
|
+
# [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you
|
807
|
+
# add Firebase services to your project.
|
720
808
|
# Corresponds to the JSON property `locationId`
|
721
809
|
# @return [String]
|
722
810
|
attr_accessor :location_id
|
@@ -1019,9 +1107,14 @@ module Google
|
|
1019
1107
|
# @return [String]
|
1020
1108
|
attr_accessor :database_url
|
1021
1109
|
|
1022
|
-
# The default resource location
|
1023
|
-
#
|
1024
|
-
#
|
1110
|
+
# The ID of the project's default GCP resource location. The location is one
|
1111
|
+
# of the available
|
1112
|
+
# [GCP resource
|
1113
|
+
# locations](https://firebase.google.com/docs/projects/locations). <br>
|
1114
|
+
# <br>This field is omitted if the default GCP resource location has not been
|
1115
|
+
# finalized yet. To set your project's default GCP resource location,
|
1116
|
+
# call [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize)
|
1117
|
+
# after you add Firebase services to your project.
|
1025
1118
|
# Corresponds to the JSON property `locationId`
|
1026
1119
|
# @return [String]
|
1027
1120
|
attr_accessor :location_id
|
@@ -58,6 +58,12 @@ module Google
|
|
58
58
|
include Google::Apis::Core::JsonObjectSupport
|
59
59
|
end
|
60
60
|
|
61
|
+
class FinalizeDefaultLocationRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
61
67
|
class FirebaseAppInfo
|
62
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
69
|
|
@@ -88,6 +94,12 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
97
|
+
class ListAvailableLocationsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
91
103
|
class ListAvailableProjectsResponse
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
105
|
|
@@ -118,6 +130,12 @@ module Google
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
119
131
|
end
|
120
132
|
|
133
|
+
class Location
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
121
139
|
class MessageSet
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
141
|
|
@@ -232,6 +250,13 @@ module Google
|
|
232
250
|
end
|
233
251
|
end
|
234
252
|
|
253
|
+
class FinalizeDefaultLocationRequest
|
254
|
+
# @private
|
255
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
256
|
+
property :location_id, as: 'locationId'
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
235
260
|
class FirebaseAppInfo
|
236
261
|
# @private
|
237
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -283,6 +308,15 @@ module Google
|
|
283
308
|
end
|
284
309
|
end
|
285
310
|
|
311
|
+
class ListAvailableLocationsResponse
|
312
|
+
# @private
|
313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
+
collection :locations, as: 'locations', class: Google::Apis::FirebaseV1beta1::Location, decorator: Google::Apis::FirebaseV1beta1::Location::Representation
|
315
|
+
|
316
|
+
property :next_page_token, as: 'nextPageToken'
|
317
|
+
end
|
318
|
+
end
|
319
|
+
|
286
320
|
class ListAvailableProjectsResponse
|
287
321
|
# @private
|
288
322
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -327,6 +361,13 @@ module Google
|
|
327
361
|
end
|
328
362
|
end
|
329
363
|
|
364
|
+
class Location
|
365
|
+
# @private
|
366
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
367
|
+
property :location_id, as: 'locationId'
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
330
371
|
class MessageSet
|
331
372
|
# @private
|
332
373
|
class Representation < Google::Apis::Core::JsonRepresentation
|