google-apis-firebase_v1beta1 0.16.0 → 0.19.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: 07142df737bbd391c9fbc70c254b51c8f55f7abeec8b8ffe82cd4e2e316505df
4
- data.tar.gz: 4843e088d00235e737c7592ca07225474f3e4dda409230964e4f3570d27aee87
3
+ metadata.gz: 2abbbcf6e6f5167b86ef98924b3d79c61e462485b0c31558c7c9178e903857db
4
+ data.tar.gz: 883061cd30d2e283f27196aeb793701843ee6d11b836d948b87465ac974cd770
5
5
  SHA512:
6
- metadata.gz: 61e962d56b382c7f78ff0cbc279c0428619cb5097782cde8d97db1c8fc45e0f33c7d07b79958d468b5217abbe416cce0b9edd2aa64256a016d29ac1e171cb4f5
7
- data.tar.gz: 67679579e98815989d1873fa1f234d05a29ed91c3eaf1265880b1dabf30f46dce8c7ebf0c2bc5aa8791d0efcc064afd40541ef6c8eafe600fd15f87305304bba
6
+ metadata.gz: cd6a1af934f03c951ac5bc7c2f954a19c9ec087ce920f77a202430a29b8fda47602f6ec0c99ac3d2387140dff31740d5a9f9810787b2e5186dcb50f169dc9173
7
+ data.tar.gz: 06b5cdaa7b0c1de44191f3affa2f676c14e2ed3957c9c841cc3100c6b2b403db6cc9934b3468906170781c3fed897825fa688e04315d91cc90638174cb4c3144
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # Release history for google-apis-firebase_v1beta1
2
2
 
3
+ ### v0.19.0 (2022-07-07)
4
+
5
+ * Regenerated from discovery document revision 20220704
6
+ * Regenerated using generator version 0.9.0
7
+
8
+ ### v0.18.0 (2022-06-30)
9
+
10
+ * Regenerated using generator version 0.8.0
11
+ * Regenerated from discovery document revision 20220624
12
+
13
+ ### v0.17.0 (2022-06-23)
14
+
15
+ * Regenerated from discovery document revision 20220621
16
+ * Regenerated using generator version 0.7.0
17
+
3
18
  ### v0.16.0 (2022-06-07)
4
19
 
5
20
  * Regenerated from discovery document revision 20220602
@@ -200,9 +200,9 @@ module Google
200
200
  # @return [String]
201
201
  attr_accessor :api_key_id
202
202
 
203
- # Immutable. The globally unique, Firebase-assigned identifier for the `
204
- # AndroidApp`. This identifier should be treated as an opaque token, as the data
205
- # format is not specified.
203
+ # Output only. Immutable. The globally unique, Firebase-assigned identifier for
204
+ # the `AndroidApp`. This identifier should be treated as an opaque token, as the
205
+ # data format is not specified.
206
206
  # Corresponds to the JSON property `appId`
207
207
  # @return [String]
208
208
  attr_accessor :app_id
@@ -231,12 +231,17 @@ module Google
231
231
  # @return [String]
232
232
  attr_accessor :package_name
233
233
 
234
- # Immutable. A user-assigned unique identifier of the parent FirebaseProject for
235
- # the `AndroidApp`.
234
+ # Output only. Immutable. A user-assigned unique identifier of the parent
235
+ # FirebaseProject for the `AndroidApp`.
236
236
  # Corresponds to the JSON property `projectId`
237
237
  # @return [String]
238
238
  attr_accessor :project_id
239
239
 
240
+ # Output only. The lifecycle state of the App.
241
+ # Corresponds to the JSON property `state`
242
+ # @return [String]
243
+ attr_accessor :state
244
+
240
245
  def initialize(**args)
241
246
  update!(**args)
242
247
  end
@@ -249,6 +254,7 @@ module Google
249
254
  @name = args[:name] if args.key?(:name)
250
255
  @package_name = args[:package_name] if args.key?(:package_name)
251
256
  @project_id = args[:project_id] if args.key?(:project_id)
257
+ @state = args[:state] if args.key?(:state)
252
258
  end
253
259
  end
254
260
 
@@ -283,41 +289,42 @@ module Google
283
289
  class DefaultResources
284
290
  include Google::Apis::Core::Hashable
285
291
 
286
- # The default Firebase Hosting site name, in the format: PROJECT_ID Though rare,
287
- # your `projectId` might already be used as the name for an existing Hosting
288
- # site in another project (learn more about creating non-default, [additional
289
- # sites](https://firebase.google.com/docs/hosting/multisites)). In these cases,
290
- # your `projectId` is appended with a hyphen then five alphanumeric characters
291
- # to create your default Hosting site name. For example, if your `projectId` is `
292
- # myproject123`, your default Hosting site name might be: `myproject123-a5c16`
292
+ # Output only. The default Firebase Hosting site name, in the format: PROJECT_ID
293
+ # Though rare, your `projectId` might already be used as the name for an
294
+ # existing Hosting site in another project (learn more about creating non-
295
+ # default, [additional sites](https://firebase.google.com/docs/hosting/
296
+ # multisites)). In these cases, your `projectId` is appended with a hyphen then
297
+ # five alphanumeric characters to create your default Hosting site name. For
298
+ # example, if your `projectId` is `myproject123`, your default Hosting site name
299
+ # might be: `myproject123-a5c16`
293
300
  # Corresponds to the JSON property `hostingSite`
294
301
  # @return [String]
295
302
  attr_accessor :hosting_site
296
303
 
297
- # The ID of the Project's default GCP resource location. The location is one of
298
- # the available [GCP resource locations](https://firebase.google.com/docs/
299
- # projects/locations). This field is omitted if the default GCP resource
300
- # location has not been finalized yet. To set a Project's default GCP resource
301
- # location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/
302
- # finalize) after you add Firebase resources to the Project.
304
+ # Output only. The ID of the Project's default GCP resource location. The
305
+ # location is one of the available [GCP resource locations](https://firebase.
306
+ # google.com/docs/projects/locations). This field is omitted if the default GCP
307
+ # resource location has not been finalized yet. To set a Project's default GCP
308
+ # resource location, call [`FinalizeDefaultLocation`](../projects.
309
+ # defaultLocation/finalize) after you add Firebase resources to the Project.
303
310
  # Corresponds to the JSON property `locationId`
304
311
  # @return [String]
305
312
  attr_accessor :location_id
306
313
 
307
- # The default Firebase Realtime Database instance name, in the format:
308
- # PROJECT_ID Though rare, your `projectId` might already be used as the name for
309
- # an existing Realtime Database instance in another project (learn more about [
310
- # database sharding](https://firebase.google.com/docs/database/usage/sharding)).
311
- # In these cases, your `projectId` is appended with a hyphen then five
312
- # alphanumeric characters to create your default Realtime Database instance name.
313
- # For example, if your `projectId` is `myproject123`, your default database
314
- # instance name might be: `myproject123-a5c16`
314
+ # Output only. The default Firebase Realtime Database instance name, in the
315
+ # format: PROJECT_ID Though rare, your `projectId` might already be used as the
316
+ # name for an existing Realtime Database instance in another project (learn more
317
+ # about [database sharding](https://firebase.google.com/docs/database/usage/
318
+ # sharding)). In these cases, your `projectId` is appended with a hyphen then
319
+ # five alphanumeric characters to create your default Realtime Database instance
320
+ # name. For example, if your `projectId` is `myproject123`, your default
321
+ # database instance name might be: `myproject123-a5c16`
315
322
  # Corresponds to the JSON property `realtimeDatabaseInstance`
316
323
  # @return [String]
317
324
  attr_accessor :realtime_database_instance
318
325
 
319
- # The default Cloud Storage for Firebase storage bucket, in the format:
320
- # PROJECT_ID.appspot.com
326
+ # Output only. The default Cloud Storage for Firebase storage bucket, in the
327
+ # format: PROJECT_ID.appspot.com
321
328
  # Corresponds to the JSON property `storageBucket`
322
329
  # @return [String]
323
330
  attr_accessor :storage_bucket
@@ -376,6 +383,15 @@ module Google
376
383
  class FirebaseAppInfo
377
384
  include Google::Apis::Core::Hashable
378
385
 
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.
391
+ # Corresponds to the JSON property `apiKeyId`
392
+ # @return [String]
393
+ attr_accessor :api_key_id
394
+
379
395
  # Output only. Immutable. The globally unique, Firebase-assigned identifier for
380
396
  # the `WebApp`. This identifier should be treated as an opaque token, as the
381
397
  # data format is not specified.
@@ -411,17 +427,24 @@ module Google
411
427
  # @return [String]
412
428
  attr_accessor :platform
413
429
 
430
+ # Output only. The lifecycle state of the App.
431
+ # Corresponds to the JSON property `state`
432
+ # @return [String]
433
+ attr_accessor :state
434
+
414
435
  def initialize(**args)
415
436
  update!(**args)
416
437
  end
417
438
 
418
439
  # Update properties of this object
419
440
  def update!(**args)
441
+ @api_key_id = args[:api_key_id] if args.key?(:api_key_id)
420
442
  @app_id = args[:app_id] if args.key?(:app_id)
421
443
  @display_name = args[:display_name] if args.key?(:display_name)
422
444
  @name = args[:name] if args.key?(:name)
423
445
  @namespace = args[:namespace] if args.key?(:namespace)
424
446
  @platform = args[:platform] if args.key?(:platform)
447
+ @state = args[:state] if args.key?(:state)
425
448
  end
426
449
  end
427
450
 
@@ -454,15 +477,15 @@ module Google
454
477
  # @return [String]
455
478
  attr_accessor :name
456
479
 
457
- # Immutable. A user-assigned unique identifier for the Project. This identifier
458
- # may appear in URLs or names for some Firebase resources associated with the
459
- # Project, but it should generally be treated as a convenience alias to
480
+ # Output only. A user-assigned unique identifier for the Project. This
481
+ # identifier may appear in URLs or names for some Firebase resources associated
482
+ # with the Project, but it should generally be treated as a convenience alias to
460
483
  # reference the Project.
461
484
  # Corresponds to the JSON property `projectId`
462
485
  # @return [String]
463
486
  attr_accessor :project_id
464
487
 
465
- # Immutable. The globally unique, Google-assigned canonical identifier for the
488
+ # Output only. The globally unique, Google-assigned canonical identifier for the
466
489
  # Project. Use this identifier when configuring integrations and/or making API
467
490
  # calls to Firebase or third-party services.
468
491
  # Corresponds to the JSON property `projectNumber`
@@ -509,9 +532,9 @@ module Google
509
532
  # @return [String]
510
533
  attr_accessor :api_key_id
511
534
 
512
- # Immutable. The globally unique, Firebase-assigned identifier for the `IosApp`.
513
- # This identifier should be treated as an opaque token, as the data format is
514
- # not specified.
535
+ # Output only. Immutable. The globally unique, Firebase-assigned identifier for
536
+ # the `IosApp`. This identifier should be treated as an opaque token, as the
537
+ # data format is not specified.
515
538
  # Corresponds to the JSON property `appId`
516
539
  # @return [String]
517
540
  attr_accessor :app_id
@@ -546,12 +569,17 @@ module Google
546
569
  # @return [String]
547
570
  attr_accessor :name
548
571
 
549
- # Immutable. A user-assigned unique identifier of the parent FirebaseProject for
550
- # the `IosApp`.
572
+ # Output only. Immutable. A user-assigned unique identifier of the parent
573
+ # FirebaseProject for the `IosApp`.
551
574
  # Corresponds to the JSON property `projectId`
552
575
  # @return [String]
553
576
  attr_accessor :project_id
554
577
 
578
+ # Output only. The lifecycle state of the App.
579
+ # Corresponds to the JSON property `state`
580
+ # @return [String]
581
+ attr_accessor :state
582
+
555
583
  # The Apple Developer Team ID associated with the App in the App Store.
556
584
  # Corresponds to the JSON property `teamId`
557
585
  # @return [String]
@@ -570,6 +598,7 @@ module Google
570
598
  @display_name = args[:display_name] if args.key?(:display_name)
571
599
  @name = args[:name] if args.key?(:name)
572
600
  @project_id = args[:project_id] if args.key?(:project_id)
601
+ @state = args[:state] if args.key?(:state)
573
602
  @team_id = args[:team_id] if args.key?(:team_id)
574
603
  end
575
604
  end
@@ -967,6 +996,111 @@ module Google
967
996
  end
968
997
  end
969
998
 
999
+ #
1000
+ class RemoveAndroidAppRequest
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # If set to true, and the App is not found, the request will succeed but no
1004
+ # action will be taken on the server.
1005
+ # Corresponds to the JSON property `allowMissing`
1006
+ # @return [Boolean]
1007
+ attr_accessor :allow_missing
1008
+ alias_method :allow_missing?, :allow_missing
1009
+
1010
+ # Checksum provided in the AndroidApp entity, which if provided ensures the
1011
+ # client has an up-to-date value before proceeding.
1012
+ # Corresponds to the JSON property `etag`
1013
+ # @return [String]
1014
+ attr_accessor :etag
1015
+
1016
+ # If set to true, only validate the request and do not delete the app.
1017
+ # Corresponds to the JSON property `validateOnly`
1018
+ # @return [Boolean]
1019
+ attr_accessor :validate_only
1020
+ alias_method :validate_only?, :validate_only
1021
+
1022
+ def initialize(**args)
1023
+ update!(**args)
1024
+ end
1025
+
1026
+ # Update properties of this object
1027
+ def update!(**args)
1028
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1029
+ @etag = args[:etag] if args.key?(:etag)
1030
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1031
+ end
1032
+ end
1033
+
1034
+ #
1035
+ class RemoveIosAppRequest
1036
+ include Google::Apis::Core::Hashable
1037
+
1038
+ # If set to true, and the App is not found, the request will succeed but no
1039
+ # action will be taken on the server.
1040
+ # Corresponds to the JSON property `allowMissing`
1041
+ # @return [Boolean]
1042
+ attr_accessor :allow_missing
1043
+ alias_method :allow_missing?, :allow_missing
1044
+
1045
+ # Checksum provided in the IosApp entity, which if provided ensures the client
1046
+ # has an up-to-date value before proceeding.
1047
+ # Corresponds to the JSON property `etag`
1048
+ # @return [String]
1049
+ attr_accessor :etag
1050
+
1051
+ # If set to true, only validate the request and do not delete the app.
1052
+ # Corresponds to the JSON property `validateOnly`
1053
+ # @return [Boolean]
1054
+ attr_accessor :validate_only
1055
+ alias_method :validate_only?, :validate_only
1056
+
1057
+ def initialize(**args)
1058
+ update!(**args)
1059
+ end
1060
+
1061
+ # Update properties of this object
1062
+ def update!(**args)
1063
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1064
+ @etag = args[:etag] if args.key?(:etag)
1065
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1066
+ end
1067
+ end
1068
+
1069
+ #
1070
+ class RemoveWebAppRequest
1071
+ include Google::Apis::Core::Hashable
1072
+
1073
+ # If set to true, and the App is not found, the request will succeed but no
1074
+ # action will be taken on the server.
1075
+ # Corresponds to the JSON property `allowMissing`
1076
+ # @return [Boolean]
1077
+ attr_accessor :allow_missing
1078
+ alias_method :allow_missing?, :allow_missing
1079
+
1080
+ # Checksum provided in the WebApp entity, which if provided ensures the client
1081
+ # has an up-to-date value before proceeding.
1082
+ # Corresponds to the JSON property `etag`
1083
+ # @return [String]
1084
+ attr_accessor :etag
1085
+
1086
+ # If set to true, only validate the request and do not delete the app.
1087
+ # Corresponds to the JSON property `validateOnly`
1088
+ # @return [Boolean]
1089
+ attr_accessor :validate_only
1090
+ alias_method :validate_only?, :validate_only
1091
+
1092
+ def initialize(**args)
1093
+ update!(**args)
1094
+ end
1095
+
1096
+ # Update properties of this object
1097
+ def update!(**args)
1098
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1099
+ @etag = args[:etag] if args.key?(:etag)
1100
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1101
+ end
1102
+ end
1103
+
970
1104
  #
971
1105
  class SearchFirebaseAppsResponse
972
1106
  include Google::Apis::Core::Hashable
@@ -1212,6 +1346,11 @@ module Google
1212
1346
  # @return [String]
1213
1347
  attr_accessor :project_id
1214
1348
 
1349
+ # Output only. The lifecycle state of the App.
1350
+ # Corresponds to the JSON property `state`
1351
+ # @return [String]
1352
+ attr_accessor :state
1353
+
1215
1354
  # Output only. Immutable. A unique, Firebase-assigned identifier for the `WebApp`
1216
1355
  # . This identifier is only used to populate the `namespace` value for the `
1217
1356
  # WebApp`. For most use cases, use `appId` to identify or reference the App. The
@@ -1233,6 +1372,7 @@ module Google
1233
1372
  @display_name = args[:display_name] if args.key?(:display_name)
1234
1373
  @name = args[:name] if args.key?(:name)
1235
1374
  @project_id = args[:project_id] if args.key?(:project_id)
1375
+ @state = args[:state] if args.key?(:state)
1236
1376
  @web_id = args[:web_id] if args.key?(:web_id)
1237
1377
  end
1238
1378
  end
@@ -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.16.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220602"
25
+ REVISION = "20220704"
26
26
  end
27
27
  end
28
28
  end
@@ -178,6 +178,24 @@ module Google
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
+ class RemoveAndroidAppRequest
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class RemoveIosAppRequest
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class RemoveWebAppRequest
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
181
199
  class SearchFirebaseAppsResponse
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
@@ -273,6 +291,7 @@ module Google
273
291
  property :name, as: 'name'
274
292
  property :package_name, as: 'packageName'
275
293
  property :project_id, as: 'projectId'
294
+ property :state, as: 'state'
276
295
  end
277
296
  end
278
297
 
@@ -310,11 +329,13 @@ module Google
310
329
  class FirebaseAppInfo
311
330
  # @private
312
331
  class Representation < Google::Apis::Core::JsonRepresentation
332
+ property :api_key_id, as: 'apiKeyId'
313
333
  property :app_id, as: 'appId'
314
334
  property :display_name, as: 'displayName'
315
335
  property :name, as: 'name'
316
336
  property :namespace, as: 'namespace'
317
337
  property :platform, as: 'platform'
338
+ property :state, as: 'state'
318
339
  end
319
340
  end
320
341
 
@@ -341,6 +362,7 @@ module Google
341
362
  property :display_name, as: 'displayName'
342
363
  property :name, as: 'name'
343
364
  property :project_id, as: 'projectId'
365
+ property :state, as: 'state'
344
366
  property :team_id, as: 'teamId'
345
367
  end
346
368
  end
@@ -458,6 +480,33 @@ module Google
458
480
  end
459
481
  end
460
482
 
483
+ class RemoveAndroidAppRequest
484
+ # @private
485
+ class Representation < Google::Apis::Core::JsonRepresentation
486
+ property :allow_missing, as: 'allowMissing'
487
+ property :etag, as: 'etag'
488
+ property :validate_only, as: 'validateOnly'
489
+ end
490
+ end
491
+
492
+ class RemoveIosAppRequest
493
+ # @private
494
+ class Representation < Google::Apis::Core::JsonRepresentation
495
+ property :allow_missing, as: 'allowMissing'
496
+ property :etag, as: 'etag'
497
+ property :validate_only, as: 'validateOnly'
498
+ end
499
+ end
500
+
501
+ class RemoveWebAppRequest
502
+ # @private
503
+ class Representation < Google::Apis::Core::JsonRepresentation
504
+ property :allow_missing, as: 'allowMissing'
505
+ property :etag, as: 'etag'
506
+ property :validate_only, as: 'validateOnly'
507
+ end
508
+ end
509
+
461
510
  class SearchFirebaseAppsResponse
462
511
  # @private
463
512
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -515,6 +564,7 @@ module Google
515
564
  property :display_name, as: 'displayName'
516
565
  property :name, as: 'name'
517
566
  property :project_id, as: 'projectId'
567
+ property :state, as: 'state'
518
568
  property :web_id, as: 'webId'
519
569
  end
520
570
  end
@@ -522,6 +522,9 @@ module Google
522
522
  # @param [String] page_token
523
523
  # Token returned from a previous call to `SearchFirebaseApps` indicating where
524
524
  # in the set of Apps to resume listing.
525
+ # @param [Boolean] show_deleted
526
+ # Controls whether Apps in the DELETED state should be returned. Defaults to
527
+ # false.
525
528
  # @param [String] fields
526
529
  # Selector specifying which fields to include in a partial response.
527
530
  # @param [String] quota_user
@@ -539,7 +542,7 @@ module Google
539
542
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
540
543
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
541
544
  # @raise [Google::Apis::AuthorizationError] Authorization is required
542
- def search_project_apps(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
545
+ def search_project_apps(parent, filter: nil, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
543
546
  command = make_simple_command(:get, 'v1beta1/{+parent}:searchApps', options)
544
547
  command.response_representation = Google::Apis::FirebaseV1beta1::SearchFirebaseAppsResponse::Representation
545
548
  command.response_class = Google::Apis::FirebaseV1beta1::SearchFirebaseAppsResponse
@@ -547,6 +550,7 @@ module Google
547
550
  command.query['filter'] = filter unless filter.nil?
548
551
  command.query['pageSize'] = page_size unless page_size.nil?
549
552
  command.query['pageToken'] = page_token unless page_token.nil?
553
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
550
554
  command.query['fields'] = fields unless fields.nil?
551
555
  command.query['quotaUser'] = quota_user unless quota_user.nil?
552
556
  execute_or_queue_command(command, &block)
@@ -676,6 +680,9 @@ module Google
676
680
  # @param [String] page_token
677
681
  # Token returned from a previous call to `ListAndroidApps` indicating where in
678
682
  # the set of Apps to resume listing.
683
+ # @param [Boolean] show_deleted
684
+ # Controls whether Apps in the DELETED state should be returned. Defaults to
685
+ # false.
679
686
  # @param [String] fields
680
687
  # Selector specifying which fields to include in a partial response.
681
688
  # @param [String] quota_user
@@ -693,13 +700,14 @@ module Google
693
700
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
694
701
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
695
702
  # @raise [Google::Apis::AuthorizationError] Authorization is required
696
- def list_project_android_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
703
+ def list_project_android_apps(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
697
704
  command = make_simple_command(:get, 'v1beta1/{+parent}/androidApps', options)
698
705
  command.response_representation = Google::Apis::FirebaseV1beta1::ListAndroidAppsResponse::Representation
699
706
  command.response_class = Google::Apis::FirebaseV1beta1::ListAndroidAppsResponse
700
707
  command.params['parent'] = parent unless parent.nil?
701
708
  command.query['pageSize'] = page_size unless page_size.nil?
702
709
  command.query['pageToken'] = page_token unless page_token.nil?
710
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
703
711
  command.query['fields'] = fields unless fields.nil?
704
712
  command.query['quotaUser'] = quota_user unless quota_user.nil?
705
713
  execute_or_queue_command(command, &block)
@@ -719,7 +727,7 @@ module Google
719
727
  # @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object
720
728
  # @param [String] update_mask
721
729
  # Specifies which fields to update. Note that the fields `name`, `app_id`, `
722
- # project_id`, and `package_name` are all immutable.
730
+ # project_id`, `package_name`, and `state` are all immutable.
723
731
  # @param [String] fields
724
732
  # Selector specifying which fields to include in a partial response.
725
733
  # @param [String] quota_user
@@ -750,6 +758,44 @@ module Google
750
758
  execute_or_queue_command(command, &block)
751
759
  end
752
760
 
761
+ # Removes the specified AndroidApp from the project.
762
+ # @param [String] name
763
+ # Required. The resource name of the AndroidApp, in the format: projects/
764
+ # PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier,
765
+ # the Unique Resource from Sub-Collection access pattern may be used here, in
766
+ # the format: projects/-/androidApps/APP_ID Refer to the AndroidApp [name](../
767
+ # projects.androidApps#AndroidApp.FIELDS.name) field for details about
768
+ # PROJECT_IDENTIFIER and APP_ID values.
769
+ # @param [Google::Apis::FirebaseV1beta1::RemoveAndroidAppRequest] remove_android_app_request_object
770
+ # @param [String] fields
771
+ # Selector specifying which fields to include in a partial response.
772
+ # @param [String] quota_user
773
+ # Available to use for quota purposes for server-side applications. Can be any
774
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
775
+ # @param [Google::Apis::RequestOptions] options
776
+ # Request-specific options
777
+ #
778
+ # @yield [result, err] Result & error if block supplied
779
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
780
+ # @yieldparam err [StandardError] error object if request failed
781
+ #
782
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
783
+ #
784
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
785
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
786
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
787
+ def remove_android_app(name, remove_android_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
788
+ command = make_simple_command(:post, 'v1beta1/{+name}:remove', options)
789
+ command.request_representation = Google::Apis::FirebaseV1beta1::RemoveAndroidAppRequest::Representation
790
+ command.request_object = remove_android_app_request_object
791
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
792
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
793
+ command.params['name'] = name unless name.nil?
794
+ command.query['fields'] = fields unless fields.nil?
795
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
796
+ execute_or_queue_command(command, &block)
797
+ end
798
+
753
799
  # Adds a ShaCertificate to the specified AndroidApp.
754
800
  # @param [String] parent
755
801
  # The resource name of the parent AndroidApp to which to add a ShaCertificate,
@@ -1103,6 +1149,9 @@ module Google
1103
1149
  # @param [String] page_token
1104
1150
  # Token returned from a previous call to `ListIosApps` indicating where in the
1105
1151
  # set of Apps to resume listing.
1152
+ # @param [Boolean] show_deleted
1153
+ # Controls whether Apps in the DELETED state should be returned. Defaults to
1154
+ # false.
1106
1155
  # @param [String] fields
1107
1156
  # Selector specifying which fields to include in a partial response.
1108
1157
  # @param [String] quota_user
@@ -1120,13 +1169,14 @@ module Google
1120
1169
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1121
1170
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1122
1171
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1123
- def list_project_ios_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1172
+ def list_project_ios_apps(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
1124
1173
  command = make_simple_command(:get, 'v1beta1/{+parent}/iosApps', options)
1125
1174
  command.response_representation = Google::Apis::FirebaseV1beta1::ListIosAppsResponse::Representation
1126
1175
  command.response_class = Google::Apis::FirebaseV1beta1::ListIosAppsResponse
1127
1176
  command.params['parent'] = parent unless parent.nil?
1128
1177
  command.query['pageSize'] = page_size unless page_size.nil?
1129
1178
  command.query['pageToken'] = page_token unless page_token.nil?
1179
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
1130
1180
  command.query['fields'] = fields unless fields.nil?
1131
1181
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1132
1182
  execute_or_queue_command(command, &block)
@@ -1146,7 +1196,7 @@ module Google
1146
1196
  # @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object
1147
1197
  # @param [String] update_mask
1148
1198
  # Specifies which fields to update. Note that the fields `name`, `appId`, `
1149
- # projectId`, and `bundleId` are all immutable.
1199
+ # projectId`, `bundleId`, and `state` are all immutable
1150
1200
  # @param [String] fields
1151
1201
  # Selector specifying which fields to include in a partial response.
1152
1202
  # @param [String] quota_user
@@ -1177,6 +1227,44 @@ module Google
1177
1227
  execute_or_queue_command(command, &block)
1178
1228
  end
1179
1229
 
1230
+ # Removes the specified IosApp from the project.
1231
+ # @param [String] name
1232
+ # Required. The resource name of the IosApp, in the format: projects/
1233
+ # PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique identifier, the
1234
+ # Unique Resource from Sub-Collection access pattern may be used here, in the
1235
+ # format: projects/-/iosApps/APP_ID Refer to the IosApp [name](../projects.
1236
+ # iosApps#IosApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
1237
+ # APP_ID values.
1238
+ # @param [Google::Apis::FirebaseV1beta1::RemoveIosAppRequest] remove_ios_app_request_object
1239
+ # @param [String] fields
1240
+ # Selector specifying which fields to include in a partial response.
1241
+ # @param [String] quota_user
1242
+ # Available to use for quota purposes for server-side applications. Can be any
1243
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1244
+ # @param [Google::Apis::RequestOptions] options
1245
+ # Request-specific options
1246
+ #
1247
+ # @yield [result, err] Result & error if block supplied
1248
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
1249
+ # @yieldparam err [StandardError] error object if request failed
1250
+ #
1251
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
1252
+ #
1253
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1254
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1255
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1256
+ def remove_ios_app(name, remove_ios_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1257
+ command = make_simple_command(:post, 'v1beta1/{+name}:remove', options)
1258
+ command.request_representation = Google::Apis::FirebaseV1beta1::RemoveIosAppRequest::Representation
1259
+ command.request_object = remove_ios_app_request_object
1260
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
1261
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
1262
+ command.params['name'] = name unless name.nil?
1263
+ command.query['fields'] = fields unless fields.nil?
1264
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1265
+ execute_or_queue_command(command, &block)
1266
+ end
1267
+
1180
1268
  # Requests the creation of a new WebApp in the specified FirebaseProject. The
1181
1269
  # result of this call is an `Operation` which can be used to track the
1182
1270
  # provisioning process. The `Operation` is automatically deleted after
@@ -1300,6 +1388,9 @@ module Google
1300
1388
  # @param [String] page_token
1301
1389
  # Token returned from a previous call to `ListWebApps` indicating where in the
1302
1390
  # set of Apps to resume listing.
1391
+ # @param [Boolean] show_deleted
1392
+ # Controls whether Apps in the DELETED state should be returned. Defaults to
1393
+ # false.
1303
1394
  # @param [String] fields
1304
1395
  # Selector specifying which fields to include in a partial response.
1305
1396
  # @param [String] quota_user
@@ -1317,13 +1408,14 @@ module Google
1317
1408
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1318
1409
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1319
1410
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1320
- def list_project_web_apps(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1411
+ def list_project_web_apps(parent, page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
1321
1412
  command = make_simple_command(:get, 'v1beta1/{+parent}/webApps', options)
1322
1413
  command.response_representation = Google::Apis::FirebaseV1beta1::ListWebAppsResponse::Representation
1323
1414
  command.response_class = Google::Apis::FirebaseV1beta1::ListWebAppsResponse
1324
1415
  command.params['parent'] = parent unless parent.nil?
1325
1416
  command.query['pageSize'] = page_size unless page_size.nil?
1326
1417
  command.query['pageToken'] = page_token unless page_token.nil?
1418
+ command.query['showDeleted'] = show_deleted unless show_deleted.nil?
1327
1419
  command.query['fields'] = fields unless fields.nil?
1328
1420
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1329
1421
  execute_or_queue_command(command, &block)
@@ -1342,8 +1434,8 @@ module Google
1342
1434
  # ).
1343
1435
  # @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object
1344
1436
  # @param [String] update_mask
1345
- # Specifies which fields to update. Note that the fields `name`, `appId`, and `
1346
- # projectId` are all immutable.
1437
+ # Specifies which fields to update. Note that the fields `name`, `appId`, `
1438
+ # projectId` and `state` are all immutable
1347
1439
  # @param [String] fields
1348
1440
  # Selector specifying which fields to include in a partial response.
1349
1441
  # @param [String] quota_user
@@ -1373,6 +1465,44 @@ module Google
1373
1465
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1374
1466
  execute_or_queue_command(command, &block)
1375
1467
  end
1468
+
1469
+ # Removes the specified WebApp from the project.
1470
+ # @param [String] name
1471
+ # Required. The resource name of the WebApp, in the format: projects/
1472
+ # PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique identifier, the
1473
+ # Unique Resource from Sub-Collection access pattern may be used here, in the
1474
+ # format: projects/-/webApps/APP_ID Refer to the WebApp [name](../projects.
1475
+ # webApps#WebApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
1476
+ # APP_ID values.
1477
+ # @param [Google::Apis::FirebaseV1beta1::RemoveWebAppRequest] remove_web_app_request_object
1478
+ # @param [String] fields
1479
+ # Selector specifying which fields to include in a partial response.
1480
+ # @param [String] quota_user
1481
+ # Available to use for quota purposes for server-side applications. Can be any
1482
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1483
+ # @param [Google::Apis::RequestOptions] options
1484
+ # Request-specific options
1485
+ #
1486
+ # @yield [result, err] Result & error if block supplied
1487
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
1488
+ # @yieldparam err [StandardError] error object if request failed
1489
+ #
1490
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
1491
+ #
1492
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1493
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1494
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1495
+ def remove_web_app(name, remove_web_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1496
+ command = make_simple_command(:post, 'v1beta1/{+name}:remove', options)
1497
+ command.request_representation = Google::Apis::FirebaseV1beta1::RemoveWebAppRequest::Representation
1498
+ command.request_object = remove_web_app_request_object
1499
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
1500
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
1501
+ command.params['name'] = name unless name.nil?
1502
+ command.query['fields'] = fields unless fields.nil?
1503
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1504
+ execute_or_queue_command(command, &block)
1505
+ end
1376
1506
 
1377
1507
  protected
1378
1508
 
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.16.0
4
+ version: 0.19.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-06-13 00:00:00.000000000 Z
11
+ date: 2022-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.7'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebase_v1beta1/v0.19.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: []