google-apis-firebase_v1beta1 0.19.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2abbbcf6e6f5167b86ef98924b3d79c61e462485b0c31558c7c9178e903857db
4
- data.tar.gz: 883061cd30d2e283f27196aeb793701843ee6d11b836d948b87465ac974cd770
3
+ metadata.gz: 2f90e4d5c8a90e2ffedd489d6d64c0b079d8412a015dba99a3294c99e7e88cfc
4
+ data.tar.gz: 19a195163891cec671cb84d3350e4abb8686f33623f3a8975ead760867a6bfcd
5
5
  SHA512:
6
- metadata.gz: cd6a1af934f03c951ac5bc7c2f954a19c9ec087ce920f77a202430a29b8fda47602f6ec0c99ac3d2387140dff31740d5a9f9810787b2e5186dcb50f169dc9173
7
- data.tar.gz: 06b5cdaa7b0c1de44191f3affa2f676c14e2ed3957c9c841cc3100c6b2b403db6cc9934b3468906170781c3fed897825fa688e04315d91cc90638174cb4c3144
6
+ metadata.gz: f922943b2650057ccf53618075eefc6e7efa71a5c58ee9ba24cc4803421e03666bccff02f65e301b064cf7408df7ce645145164e5c485aec19b340d830ee865d
7
+ data.tar.gz: fe9f55dbcd8588b7385de2e1ddc7794c108b2b62996554b9a3c1b4a13e7ebbb3ffb27305114cee1cc0c09c647ffe30a401a1dee0adb002c9a6b9d59f89f8097c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-firebase_v1beta1
2
2
 
3
+ ### v0.22.0 (2022-08-11)
4
+
5
+ * Regenerated from discovery document revision 20220808
6
+
7
+ ### v0.21.0 (2022-07-28)
8
+
9
+ * Regenerated from discovery document revision 20220725
10
+
11
+ ### v0.20.0 (2022-07-23)
12
+
13
+ * Regenerated from discovery document revision 20220721
14
+
3
15
  ### v0.19.0 (2022-07-07)
4
16
 
5
17
  * Regenerated from discovery document revision 20220704
@@ -191,11 +191,20 @@ module Google
191
191
  class AndroidApp
192
192
  include Google::Apis::Core::Hashable
193
193
 
194
- # The key_id of the GCP ApiKey associated with this App. If set must have no
195
- # restrictions, or only have restrictions that are valid for the associated
196
- # Firebase App. Cannot be set in create requests, instead an existing valid API
197
- # Key will be chosen, or if no valid API Keys exist, one will be provisioned for
198
- # you. Cannot be set to an empty value in update requests.
194
+ # The globally unique, Google-assigned identifier (UID) for the Firebase API key
195
+ # associated with the `AndroidApp`. Be aware that this value is the UID of the
196
+ # API key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/
197
+ # reference/rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API
198
+ # key. The `keyString` is the value that can be found in the App's [
199
+ # configuration artifact](../../rest/v1beta1/projects.androidApps/getConfig). If
200
+ # `api_key_id` is not set in requests to [`androidApps.Create`](../../rest/
201
+ # v1beta1/projects.androidApps/create), then Firebase automatically associates
202
+ # an `api_key_id` with the `AndroidApp`. This auto-associated key may be an
203
+ # existing valid key or, if no valid key exists, a new one will be provisioned.
204
+ # In patch requests, `api_key_id` cannot be set to an empty value, and the new
205
+ # UID must have no restrictions or only have restrictions that are valid for the
206
+ # associated `AndroidApp`. We recommend using the [Google Cloud Console](https://
207
+ # console.cloud.google.com/apis/credentials) to manage API keys.
199
208
  # Corresponds to the JSON property `apiKeyId`
200
209
  # @return [String]
201
210
  attr_accessor :api_key_id
@@ -237,6 +246,16 @@ module Google
237
246
  # @return [String]
238
247
  attr_accessor :project_id
239
248
 
249
+ # The SHA1 certificate hashes for the AndroidApp.
250
+ # Corresponds to the JSON property `sha1Hashes`
251
+ # @return [Array<String>]
252
+ attr_accessor :sha1_hashes
253
+
254
+ # The SHA256 certificate hashes for the AndroidApp.
255
+ # Corresponds to the JSON property `sha256Hashes`
256
+ # @return [Array<String>]
257
+ attr_accessor :sha256_hashes
258
+
240
259
  # Output only. The lifecycle state of the App.
241
260
  # Corresponds to the JSON property `state`
242
261
  # @return [String]
@@ -254,6 +273,8 @@ module Google
254
273
  @name = args[:name] if args.key?(:name)
255
274
  @package_name = args[:package_name] if args.key?(:package_name)
256
275
  @project_id = args[:project_id] if args.key?(:project_id)
276
+ @sha1_hashes = args[:sha1_hashes] if args.key?(:sha1_hashes)
277
+ @sha256_hashes = args[:sha256_hashes] if args.key?(:sha256_hashes)
257
278
  @state = args[:state] if args.key?(:state)
258
279
  end
259
280
  end
@@ -383,11 +404,19 @@ module Google
383
404
  class FirebaseAppInfo
384
405
  include Google::Apis::Core::Hashable
385
406
 
386
- # The key_id of the GCP ApiKey associated with this App. If set must have no
387
- # restrictions, or only have restrictions that are valid for the associated
388
- # Firebase App. Cannot be set to an empty value in update requests. If left
389
- # unset on create requests, an existing valid API Key will be chosen, or if no
390
- # valid API Keys exist, one will be provisioned for you.
407
+ # The globally unique, Google-assigned identifier (UID) for the Firebase API key
408
+ # associated with the App. Be aware that this value is the UID of the API key,
409
+ # _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/
410
+ # v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `
411
+ # keyString` is the value that can be found in the App's configuration artifact (
412
+ # [`AndroidApp`](../../rest/v1beta1/projects.androidApps/getConfig) | [`IosApp`](
413
+ # ../../rest/v1beta1/projects.iosApps/getConfig) | [`WebApp`](../../rest/v1beta1/
414
+ # projects.webApps/getConfig)). If `api_key_id` is not set in requests to create
415
+ # the App ([`AndroidApp`](../../rest/v1beta1/projects.androidApps/create) | [`
416
+ # IosApp`](../../rest/v1beta1/projects.iosApps/create) | [`WebApp`](../../rest/
417
+ # v1beta1/projects.webApps/create)), then Firebase automatically associates an `
418
+ # api_key_id` with the App. This auto-associated key may be an existing valid
419
+ # key or, if no valid key exists, a new one will be provisioned.
391
420
  # Corresponds to the JSON property `apiKeyId`
392
421
  # @return [String]
393
422
  attr_accessor :api_key_id
@@ -461,11 +490,27 @@ module Google
461
490
  class FirebaseProject
462
491
  include Google::Apis::Core::Hashable
463
492
 
493
+ # Set of user-defined annotations for the FirebaseProject as per [AIP-128](https:
494
+ # //google.aip.dev/128#annotations). These annotations are intended solely for
495
+ # developers and client-side tools Firebase services will not mutate this
496
+ # annotation set.
497
+ # Corresponds to the JSON property `annotations`
498
+ # @return [Hash<String,String>]
499
+ attr_accessor :annotations
500
+
464
501
  # The user-assigned display name of the Project.
465
502
  # Corresponds to the JSON property `displayName`
466
503
  # @return [String]
467
504
  attr_accessor :display_name
468
505
 
506
+ # This checksum is computed by the server based on the value of other fields,
507
+ # and may be sent on update requests to ensure the client has an up-to-date
508
+ # value before proceeding. [AIP-154](https://google.aip.dev/154#declarative-
509
+ # friendly-resources). This etag is strongly validated.
510
+ # Corresponds to the JSON property `etag`
511
+ # @return [String]
512
+ attr_accessor :etag
513
+
469
514
  # The resource name of the Project, in the format: projects/PROJECT_IDENTIFIER
470
515
  # PROJECT_IDENTIFIER: the Project's [`ProjectNumber`](../projects#
471
516
  # FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`]
@@ -510,7 +555,9 @@ module Google
510
555
 
511
556
  # Update properties of this object
512
557
  def update!(**args)
558
+ @annotations = args[:annotations] if args.key?(:annotations)
513
559
  @display_name = args[:display_name] if args.key?(:display_name)
560
+ @etag = args[:etag] if args.key?(:etag)
514
561
  @name = args[:name] if args.key?(:name)
515
562
  @project_id = args[:project_id] if args.key?(:project_id)
516
563
  @project_number = args[:project_number] if args.key?(:project_number)
@@ -523,11 +570,20 @@ module Google
523
570
  class IosApp
524
571
  include Google::Apis::Core::Hashable
525
572
 
526
- # The key_id of the GCP ApiKey associated with this App. If set must have no
527
- # restrictions, or only have restrictions that are valid for the associated
528
- # Firebase App. Cannot be set in create requests, instead an existing valid API
529
- # Key will be chosen, or if no valid API Keys exist, one will be provisioned for
530
- # you. Cannot be set to an empty value in update requests.
573
+ # The globally unique, Google-assigned identifier (UID) for the Firebase API key
574
+ # associated with the `IosApp`. Be aware that this value is the UID of the API
575
+ # key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/
576
+ # rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `
577
+ # keyString` is the value that can be found in the App's [configuration artifact]
578
+ # (../../rest/v1beta1/projects.iosApps/getConfig). If `api_key_id` is not set in
579
+ # requests to [`iosApps.Create`](../../rest/v1beta1/projects.iosApps/create),
580
+ # then Firebase automatically associates an `api_key_id` with the `IosApp`. This
581
+ # auto-associated key may be an existing valid key or, if no valid key exists, a
582
+ # new one will be provisioned. In patch requests, `api_key_id` cannot be set to
583
+ # an empty value, and the new UID must have no restrictions or only have
584
+ # restrictions that are valid for the associated `IosApp`. We recommend using
585
+ # the [Google Cloud Console](https://console.cloud.google.com/apis/credentials)
586
+ # to manage API keys.
531
587
  # Corresponds to the JSON property `apiKeyId`
532
588
  # @return [String]
533
589
  attr_accessor :api_key_id
@@ -1301,11 +1357,20 @@ module Google
1301
1357
  class WebApp
1302
1358
  include Google::Apis::Core::Hashable
1303
1359
 
1304
- # The key_id of the GCP ApiKey associated with this App. If set must have no
1305
- # restrictions, or only have restrictions that are valid for the associated
1306
- # Firebase App. Cannot be set in create requests, instead an existing valid API
1307
- # Key will be chosen, or if no valid API Keys exist, one will be provisioned for
1308
- # you. Cannot be set to an empty value in update requests.
1360
+ # The globally unique, Google-assigned identifier (UID) for the Firebase API key
1361
+ # associated with the `WebApp`. Be aware that this value is the UID of the API
1362
+ # key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/
1363
+ # rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `
1364
+ # keyString` is the value that can be found in the App's [configuration artifact]
1365
+ # (../../rest/v1beta1/projects.webApps/getConfig). If `api_key_id` is not set in
1366
+ # requests to [`webApps.Create`](../../rest/v1beta1/projects.webApps/create),
1367
+ # then Firebase automatically associates an `api_key_id` with the `WebApp`. This
1368
+ # auto-associated key may be an existing valid key or, if no valid key exists, a
1369
+ # new one will be provisioned. In patch requests, `api_key_id` cannot be set to
1370
+ # an empty value, and the new UID must have no restrictions or only have
1371
+ # restrictions that are valid for the associated `WebApp`. We recommend using
1372
+ # the [Google Cloud Console](https://console.cloud.google.com/apis/credentials)
1373
+ # to manage API keys.
1309
1374
  # Corresponds to the JSON property `apiKeyId`
1310
1375
  # @return [String]
1311
1376
  attr_accessor :api_key_id
@@ -1381,7 +1446,11 @@ module Google
1381
1446
  class WebAppConfig
1382
1447
  include Google::Apis::Core::Hashable
1383
1448
 
1384
- # The API key associated with the `WebApp`.
1449
+ # The [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/
1450
+ # projects.locations.keys#Key.FIELDS.key_string) of the API key associated with
1451
+ # the `WebApp`. Note that this value is _not_ the [`apiKeyId`](../projects.
1452
+ # webApps#WebApp.FIELDS.api_key_id) (the UID) of the API key associated with the
1453
+ # `WebApp`.
1385
1454
  # Corresponds to the JSON property `apiKey`
1386
1455
  # @return [String]
1387
1456
  attr_accessor :api_key
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebaseV1beta1
18
18
  # Version of the google-apis-firebase_v1beta1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.22.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220704"
25
+ REVISION = "20220808"
26
26
  end
27
27
  end
28
28
  end
@@ -291,6 +291,8 @@ module Google
291
291
  property :name, as: 'name'
292
292
  property :package_name, as: 'packageName'
293
293
  property :project_id, as: 'projectId'
294
+ collection :sha1_hashes, as: 'sha1Hashes'
295
+ collection :sha256_hashes, as: 'sha256Hashes'
294
296
  property :state, as: 'state'
295
297
  end
296
298
  end
@@ -342,7 +344,9 @@ module Google
342
344
  class FirebaseProject
343
345
  # @private
344
346
  class Representation < Google::Apis::Core::JsonRepresentation
347
+ hash :annotations, as: 'annotations'
345
348
  property :display_name, as: 'displayName'
349
+ property :etag, as: 'etag'
346
350
  property :name, as: 'name'
347
351
  property :project_id, as: 'projectId'
348
352
  property :project_number, :numeric_string => true, as: 'projectNumber'
@@ -503,17 +503,17 @@ module Google
503
503
  # FirebaseAppInfo.FIELDS.platform) We also support the following "virtual"
504
504
  # fields (fields which are not actually part of the returned resource object,
505
505
  # but can be queried as if they are pre-populated with specific values): * `
506
- # sha1_hash`: This field is considered to be a repeated `string` field,
507
- # populated with the list of all SHA-1 certificate fingerprints registered with
508
- # the app. This list is empty if the app is not an Android app. * `sha256_hash`:
509
- # This field is considered to be a repeated `string` field, populated with the
510
- # list of all SHA-256 certificate fingerprints registered with the app. This
511
- # list is empty if the app is not an Android app. * `app_store_id`: This field
512
- # is considered to be a singular `string` field, populated with the Apple App
513
- # Store ID registered with the app. This field is empty if the app is not an iOS
514
- # app. * `team_id`: This field is considered to be a singular `string` field,
515
- # populated with the Apple team ID registered with the app. This field is empty
516
- # if the app is not an iOS app.
506
+ # sha1_hash` or `sha1_hashes`: This field is considered to be a repeated `string`
507
+ # field, populated with the list of all SHA-1 certificate fingerprints
508
+ # registered with the app. This list is empty if the app is not an Android app. *
509
+ # `sha256_hash` or `sha256_hashes`: This field is considered to be a repeated `
510
+ # string` field, populated with the list of all SHA-256 certificate fingerprints
511
+ # registered with the app. This list is empty if the app is not an Android app. *
512
+ # `app_store_id`: This field is considered to be a singular `string` field,
513
+ # populated with the Apple App Store ID registered with the app. This field is
514
+ # empty if the app is not an iOS app. * `team_id`: This field is considered to
515
+ # be a singular `string` field, populated with the Apple team ID registered with
516
+ # the app. This field is empty if the app is not an iOS app.
517
517
  # @param [Fixnum] page_size
518
518
  # The maximum number of Apps to return in the response. The server may return
519
519
  # fewer than this value at its discretion. If no value is specified (or too
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebase_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-11 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebase_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebase_v1beta1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebase_v1beta1/v0.22.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebase_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []