google-apis-firebase_v1beta1 0.18.0 → 0.21.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: 62005f70a8cdb91ecb87222e9d4bca07ad2c262c8a1024caf3f03f7fa4c51d8f
4
- data.tar.gz: 34ab14058a4e15075f8191617728b4b88bc52c60f0ba1d8a91a44ed696bbe35b
3
+ metadata.gz: 5b158828a77893bbd4a966397bd02d5840062d763bff17731699dad89e45fcd9
4
+ data.tar.gz: a58e2603cef7f88b1dfcca6232093421ce9e7441cbc1784037d72f6edd37d3b2
5
5
  SHA512:
6
- metadata.gz: c7e54f725b4dbb33be1aca7f5e844e7fa3e7d11d0af9de771c3a0faa349492ec8b8c5605c1c8ebf23b9f17cbdf2a51fda3480911a903eac316790f96e6421e78
7
- data.tar.gz: 05adddd8cc71d4df04f5ddd235d8a2c371226786b077876a59423f3d20c2778582570ad66fcf5e66193009431c66b580fbc542524a612b2cd9e5299f3ba63c84
6
+ metadata.gz: 94988f3d848e7a128445faad5108abfd06a612821a1d0f994d7acb98d0aa3cfec71a686689fdf9ea25efd7489aeb25ed1bfe76053876b443763ef9994ed2b427
7
+ data.tar.gz: f1712d988c11ffbcac3c637dfebf14b5940d3b8f5c60bd235a8b2818d0f35681f0e574a013ffc5f5cbfec08a3f2bcf52b0a50e3e197b0b3e15954900705e8f55
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-firebase_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-07-28)
4
+
5
+ * Regenerated from discovery document revision 20220725
6
+
7
+ ### v0.20.0 (2022-07-23)
8
+
9
+ * Regenerated from discovery document revision 20220721
10
+
11
+ ### v0.19.0 (2022-07-07)
12
+
13
+ * Regenerated from discovery document revision 20220704
14
+ * Regenerated using generator version 0.9.0
15
+
3
16
  ### v0.18.0 (2022-06-30)
4
17
 
5
18
  * Regenerated using generator version 0.8.0
@@ -237,6 +237,16 @@ module Google
237
237
  # @return [String]
238
238
  attr_accessor :project_id
239
239
 
240
+ # The SHA1 certificate hashes for the AndroidApp.
241
+ # Corresponds to the JSON property `sha1Hashes`
242
+ # @return [Array<String>]
243
+ attr_accessor :sha1_hashes
244
+
245
+ # The SHA256 certificate hashes for the AndroidApp.
246
+ # Corresponds to the JSON property `sha256Hashes`
247
+ # @return [Array<String>]
248
+ attr_accessor :sha256_hashes
249
+
240
250
  # Output only. The lifecycle state of the App.
241
251
  # Corresponds to the JSON property `state`
242
252
  # @return [String]
@@ -254,6 +264,8 @@ module Google
254
264
  @name = args[:name] if args.key?(:name)
255
265
  @package_name = args[:package_name] if args.key?(:package_name)
256
266
  @project_id = args[:project_id] if args.key?(:project_id)
267
+ @sha1_hashes = args[:sha1_hashes] if args.key?(:sha1_hashes)
268
+ @sha256_hashes = args[:sha256_hashes] if args.key?(:sha256_hashes)
257
269
  @state = args[:state] if args.key?(:state)
258
270
  end
259
271
  end
@@ -289,41 +301,42 @@ module Google
289
301
  class DefaultResources
290
302
  include Google::Apis::Core::Hashable
291
303
 
292
- # The default Firebase Hosting site name, in the format: PROJECT_ID Though rare,
293
- # your `projectId` might already be used as the name for an existing Hosting
294
- # site in another project (learn more about creating non-default, [additional
295
- # sites](https://firebase.google.com/docs/hosting/multisites)). In these cases,
296
- # your `projectId` is appended with a hyphen then five alphanumeric characters
297
- # to create your default Hosting site name. For example, if your `projectId` is `
298
- # myproject123`, your default Hosting site name might be: `myproject123-a5c16`
304
+ # Output only. The default Firebase Hosting site name, in the format: PROJECT_ID
305
+ # Though rare, your `projectId` might already be used as the name for an
306
+ # existing Hosting site in another project (learn more about creating non-
307
+ # default, [additional sites](https://firebase.google.com/docs/hosting/
308
+ # multisites)). In these cases, your `projectId` is appended with a hyphen then
309
+ # five alphanumeric characters to create your default Hosting site name. For
310
+ # example, if your `projectId` is `myproject123`, your default Hosting site name
311
+ # might be: `myproject123-a5c16`
299
312
  # Corresponds to the JSON property `hostingSite`
300
313
  # @return [String]
301
314
  attr_accessor :hosting_site
302
315
 
303
- # The ID of the Project's default GCP resource location. The location is one of
304
- # the available [GCP resource locations](https://firebase.google.com/docs/
305
- # projects/locations). This field is omitted if the default GCP resource
306
- # location has not been finalized yet. To set a Project's default GCP resource
307
- # location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/
308
- # finalize) after you add Firebase resources to the Project.
316
+ # Output only. The ID of the Project's default GCP resource location. The
317
+ # location is one of the available [GCP resource locations](https://firebase.
318
+ # google.com/docs/projects/locations). This field is omitted if the default GCP
319
+ # resource location has not been finalized yet. To set a Project's default GCP
320
+ # resource location, call [`FinalizeDefaultLocation`](../projects.
321
+ # defaultLocation/finalize) after you add Firebase resources to the Project.
309
322
  # Corresponds to the JSON property `locationId`
310
323
  # @return [String]
311
324
  attr_accessor :location_id
312
325
 
313
- # The default Firebase Realtime Database instance name, in the format:
314
- # PROJECT_ID Though rare, your `projectId` might already be used as the name for
315
- # an existing Realtime Database instance in another project (learn more about [
316
- # database sharding](https://firebase.google.com/docs/database/usage/sharding)).
317
- # In these cases, your `projectId` is appended with a hyphen then five
318
- # alphanumeric characters to create your default Realtime Database instance name.
319
- # For example, if your `projectId` is `myproject123`, your default database
320
- # instance name might be: `myproject123-a5c16`
326
+ # Output only. The default Firebase Realtime Database instance name, in the
327
+ # format: PROJECT_ID Though rare, your `projectId` might already be used as the
328
+ # name for an existing Realtime Database instance in another project (learn more
329
+ # about [database sharding](https://firebase.google.com/docs/database/usage/
330
+ # sharding)). In these cases, your `projectId` is appended with a hyphen then
331
+ # five alphanumeric characters to create your default Realtime Database instance
332
+ # name. For example, if your `projectId` is `myproject123`, your default
333
+ # database instance name might be: `myproject123-a5c16`
321
334
  # Corresponds to the JSON property `realtimeDatabaseInstance`
322
335
  # @return [String]
323
336
  attr_accessor :realtime_database_instance
324
337
 
325
- # The default Cloud Storage for Firebase storage bucket, in the format:
326
- # PROJECT_ID.appspot.com
338
+ # Output only. The default Cloud Storage for Firebase storage bucket, in the
339
+ # format: PROJECT_ID.appspot.com
327
340
  # Corresponds to the JSON property `storageBucket`
328
341
  # @return [String]
329
342
  attr_accessor :storage_bucket
@@ -382,6 +395,15 @@ module Google
382
395
  class FirebaseAppInfo
383
396
  include Google::Apis::Core::Hashable
384
397
 
398
+ # The key_id of the GCP ApiKey associated with this App. If set must have no
399
+ # restrictions, or only have restrictions that are valid for the associated
400
+ # Firebase App. Cannot be set to an empty value in update requests. If left
401
+ # unset on create requests, an existing valid API Key will be chosen, or if no
402
+ # valid API Keys exist, one will be provisioned for you.
403
+ # Corresponds to the JSON property `apiKeyId`
404
+ # @return [String]
405
+ attr_accessor :api_key_id
406
+
385
407
  # Output only. Immutable. The globally unique, Firebase-assigned identifier for
386
408
  # the `WebApp`. This identifier should be treated as an opaque token, as the
387
409
  # data format is not specified.
@@ -428,6 +450,7 @@ module Google
428
450
 
429
451
  # Update properties of this object
430
452
  def update!(**args)
453
+ @api_key_id = args[:api_key_id] if args.key?(:api_key_id)
431
454
  @app_id = args[:app_id] if args.key?(:app_id)
432
455
  @display_name = args[:display_name] if args.key?(:display_name)
433
456
  @name = args[:name] if args.key?(:name)
@@ -450,11 +473,27 @@ module Google
450
473
  class FirebaseProject
451
474
  include Google::Apis::Core::Hashable
452
475
 
476
+ # Set of user-defined annotations for the FirebaseProject as per [AIP-128](https:
477
+ # //google.aip.dev/128#annotations). These annotations are intended solely for
478
+ # developers and client-side tools Firebase services will not mutate this
479
+ # annotation set.
480
+ # Corresponds to the JSON property `annotations`
481
+ # @return [Hash<String,String>]
482
+ attr_accessor :annotations
483
+
453
484
  # The user-assigned display name of the Project.
454
485
  # Corresponds to the JSON property `displayName`
455
486
  # @return [String]
456
487
  attr_accessor :display_name
457
488
 
489
+ # This checksum is computed by the server based on the value of other fields,
490
+ # and may be sent on update requests to ensure the client has an up-to-date
491
+ # value before proceeding. [AIP-154](https://google.aip.dev/154#declarative-
492
+ # friendly-resources). This etag is strongly validated.
493
+ # Corresponds to the JSON property `etag`
494
+ # @return [String]
495
+ attr_accessor :etag
496
+
458
497
  # The resource name of the Project, in the format: projects/PROJECT_IDENTIFIER
459
498
  # PROJECT_IDENTIFIER: the Project's [`ProjectNumber`](../projects#
460
499
  # FirebaseProject.FIELDS.project_number) ***(recommended)*** or its [`ProjectId`]
@@ -466,15 +505,15 @@ module Google
466
505
  # @return [String]
467
506
  attr_accessor :name
468
507
 
469
- # Immutable. A user-assigned unique identifier for the Project. This identifier
470
- # may appear in URLs or names for some Firebase resources associated with the
471
- # Project, but it should generally be treated as a convenience alias to
508
+ # Output only. A user-assigned unique identifier for the Project. This
509
+ # identifier may appear in URLs or names for some Firebase resources associated
510
+ # with the Project, but it should generally be treated as a convenience alias to
472
511
  # reference the Project.
473
512
  # Corresponds to the JSON property `projectId`
474
513
  # @return [String]
475
514
  attr_accessor :project_id
476
515
 
477
- # Immutable. The globally unique, Google-assigned canonical identifier for the
516
+ # Output only. The globally unique, Google-assigned canonical identifier for the
478
517
  # Project. Use this identifier when configuring integrations and/or making API
479
518
  # calls to Firebase or third-party services.
480
519
  # Corresponds to the JSON property `projectNumber`
@@ -499,7 +538,9 @@ module Google
499
538
 
500
539
  # Update properties of this object
501
540
  def update!(**args)
541
+ @annotations = args[:annotations] if args.key?(:annotations)
502
542
  @display_name = args[:display_name] if args.key?(:display_name)
543
+ @etag = args[:etag] if args.key?(:etag)
503
544
  @name = args[:name] if args.key?(:name)
504
545
  @project_id = args[:project_id] if args.key?(:project_id)
505
546
  @project_number = args[:project_number] if args.key?(:project_number)
@@ -985,6 +1026,111 @@ module Google
985
1026
  end
986
1027
  end
987
1028
 
1029
+ #
1030
+ class RemoveAndroidAppRequest
1031
+ include Google::Apis::Core::Hashable
1032
+
1033
+ # If set to true, and the App is not found, the request will succeed but no
1034
+ # action will be taken on the server.
1035
+ # Corresponds to the JSON property `allowMissing`
1036
+ # @return [Boolean]
1037
+ attr_accessor :allow_missing
1038
+ alias_method :allow_missing?, :allow_missing
1039
+
1040
+ # Checksum provided in the AndroidApp entity, which if provided ensures the
1041
+ # client has an up-to-date value before proceeding.
1042
+ # Corresponds to the JSON property `etag`
1043
+ # @return [String]
1044
+ attr_accessor :etag
1045
+
1046
+ # If set to true, only validate the request and do not delete the app.
1047
+ # Corresponds to the JSON property `validateOnly`
1048
+ # @return [Boolean]
1049
+ attr_accessor :validate_only
1050
+ alias_method :validate_only?, :validate_only
1051
+
1052
+ def initialize(**args)
1053
+ update!(**args)
1054
+ end
1055
+
1056
+ # Update properties of this object
1057
+ def update!(**args)
1058
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1059
+ @etag = args[:etag] if args.key?(:etag)
1060
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1061
+ end
1062
+ end
1063
+
1064
+ #
1065
+ class RemoveIosAppRequest
1066
+ include Google::Apis::Core::Hashable
1067
+
1068
+ # If set to true, and the App is not found, the request will succeed but no
1069
+ # action will be taken on the server.
1070
+ # Corresponds to the JSON property `allowMissing`
1071
+ # @return [Boolean]
1072
+ attr_accessor :allow_missing
1073
+ alias_method :allow_missing?, :allow_missing
1074
+
1075
+ # Checksum provided in the IosApp entity, which if provided ensures the client
1076
+ # has an up-to-date value before proceeding.
1077
+ # Corresponds to the JSON property `etag`
1078
+ # @return [String]
1079
+ attr_accessor :etag
1080
+
1081
+ # If set to true, only validate the request and do not delete the app.
1082
+ # Corresponds to the JSON property `validateOnly`
1083
+ # @return [Boolean]
1084
+ attr_accessor :validate_only
1085
+ alias_method :validate_only?, :validate_only
1086
+
1087
+ def initialize(**args)
1088
+ update!(**args)
1089
+ end
1090
+
1091
+ # Update properties of this object
1092
+ def update!(**args)
1093
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1094
+ @etag = args[:etag] if args.key?(:etag)
1095
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1096
+ end
1097
+ end
1098
+
1099
+ #
1100
+ class RemoveWebAppRequest
1101
+ include Google::Apis::Core::Hashable
1102
+
1103
+ # If set to true, and the App is not found, the request will succeed but no
1104
+ # action will be taken on the server.
1105
+ # Corresponds to the JSON property `allowMissing`
1106
+ # @return [Boolean]
1107
+ attr_accessor :allow_missing
1108
+ alias_method :allow_missing?, :allow_missing
1109
+
1110
+ # Checksum provided in the WebApp entity, which if provided ensures the client
1111
+ # has an up-to-date value before proceeding.
1112
+ # Corresponds to the JSON property `etag`
1113
+ # @return [String]
1114
+ attr_accessor :etag
1115
+
1116
+ # If set to true, only validate the request and do not delete the app.
1117
+ # Corresponds to the JSON property `validateOnly`
1118
+ # @return [Boolean]
1119
+ attr_accessor :validate_only
1120
+ alias_method :validate_only?, :validate_only
1121
+
1122
+ def initialize(**args)
1123
+ update!(**args)
1124
+ end
1125
+
1126
+ # Update properties of this object
1127
+ def update!(**args)
1128
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1129
+ @etag = args[:etag] if args.key?(:etag)
1130
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1131
+ end
1132
+ end
1133
+
988
1134
  #
989
1135
  class SearchFirebaseAppsResponse
990
1136
  include Google::Apis::Core::Hashable
@@ -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.18.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.8.0"
22
+ GENERATOR_VERSION = "0.9.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220624"
25
+ REVISION = "20220725"
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,8 @@ module Google
273
291
  property :name, as: 'name'
274
292
  property :package_name, as: 'packageName'
275
293
  property :project_id, as: 'projectId'
294
+ collection :sha1_hashes, as: 'sha1Hashes'
295
+ collection :sha256_hashes, as: 'sha256Hashes'
276
296
  property :state, as: 'state'
277
297
  end
278
298
  end
@@ -311,6 +331,7 @@ module Google
311
331
  class FirebaseAppInfo
312
332
  # @private
313
333
  class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :api_key_id, as: 'apiKeyId'
314
335
  property :app_id, as: 'appId'
315
336
  property :display_name, as: 'displayName'
316
337
  property :name, as: 'name'
@@ -323,7 +344,9 @@ module Google
323
344
  class FirebaseProject
324
345
  # @private
325
346
  class Representation < Google::Apis::Core::JsonRepresentation
347
+ hash :annotations, as: 'annotations'
326
348
  property :display_name, as: 'displayName'
349
+ property :etag, as: 'etag'
327
350
  property :name, as: 'name'
328
351
  property :project_id, as: 'projectId'
329
352
  property :project_number, :numeric_string => true, as: 'projectNumber'
@@ -461,6 +484,33 @@ module Google
461
484
  end
462
485
  end
463
486
 
487
+ class RemoveAndroidAppRequest
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :allow_missing, as: 'allowMissing'
491
+ property :etag, as: 'etag'
492
+ property :validate_only, as: 'validateOnly'
493
+ end
494
+ end
495
+
496
+ class RemoveIosAppRequest
497
+ # @private
498
+ class Representation < Google::Apis::Core::JsonRepresentation
499
+ property :allow_missing, as: 'allowMissing'
500
+ property :etag, as: 'etag'
501
+ property :validate_only, as: 'validateOnly'
502
+ end
503
+ end
504
+
505
+ class RemoveWebAppRequest
506
+ # @private
507
+ class Representation < Google::Apis::Core::JsonRepresentation
508
+ property :allow_missing, as: 'allowMissing'
509
+ property :etag, as: 'etag'
510
+ property :validate_only, as: 'validateOnly'
511
+ end
512
+ end
513
+
464
514
  class SearchFirebaseAppsResponse
465
515
  # @private
466
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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
@@ -758,6 +758,44 @@ module Google
758
758
  execute_or_queue_command(command, &block)
759
759
  end
760
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
+
761
799
  # Adds a ShaCertificate to the specified AndroidApp.
762
800
  # @param [String] parent
763
801
  # The resource name of the parent AndroidApp to which to add a ShaCertificate,
@@ -1189,6 +1227,44 @@ module Google
1189
1227
  execute_or_queue_command(command, &block)
1190
1228
  end
1191
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
+
1192
1268
  # Requests the creation of a new WebApp in the specified FirebaseProject. The
1193
1269
  # result of this call is an `Operation` which can be used to track the
1194
1270
  # provisioning process. The `Operation` is automatically deleted after
@@ -1389,6 +1465,44 @@ module Google
1389
1465
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1390
1466
  execute_or_queue_command(command, &block)
1391
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
1392
1506
 
1393
1507
  protected
1394
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.18.0
4
+ version: 0.21.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-04 00:00:00.000000000 Z
11
+ date: 2022-08-01 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebase_v1beta1/v0.21.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: []