google-apis-firebase_v1beta1 0.21.0 → 0.24.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf879b770db2eea43ca8e542285700159fbd13cd7db88b8d1aa5fce56c40bc6
|
4
|
+
data.tar.gz: 7d417b3387abe7446267162d4614c8cdb7cf26b1b7671ccf4eba7569ffd73bf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5deaa6cd30056480ef19bf5fc43af9738dc5ff88d09ab0286cce4520f06929a9cda28db621c219849b5753a1ee2ed4a44eab8ba5515d7c8229492f05b0b54e4c
|
7
|
+
data.tar.gz: ab13cda902c1c2247e8cdc0422812ecc07fd583ca894702e55e379d88cab72d87177e5389f7559c7318b4772a0520c02d6d8ac36d2690d21e32c9c455b0e64f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-firebase_v1beta1
|
2
2
|
|
3
|
+
### v0.24.0 (2022-08-24)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220822
|
6
|
+
|
7
|
+
### v0.23.0 (2022-08-18)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220813
|
10
|
+
|
11
|
+
### v0.22.0 (2022-08-11)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220808
|
14
|
+
|
3
15
|
### v0.21.0 (2022-07-28)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220725
|
@@ -191,11 +191,20 @@ module Google
|
|
191
191
|
class AndroidApp
|
192
192
|
include Google::Apis::Core::Hashable
|
193
193
|
|
194
|
-
# The
|
195
|
-
#
|
196
|
-
#
|
197
|
-
# Key
|
198
|
-
#
|
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,16 +246,6 @@ module Google
|
|
237
246
|
# @return [String]
|
238
247
|
attr_accessor :project_id
|
239
248
|
|
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
|
-
|
250
249
|
# Output only. The lifecycle state of the App.
|
251
250
|
# Corresponds to the JSON property `state`
|
252
251
|
# @return [String]
|
@@ -264,8 +263,6 @@ module Google
|
|
264
263
|
@name = args[:name] if args.key?(:name)
|
265
264
|
@package_name = args[:package_name] if args.key?(:package_name)
|
266
265
|
@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)
|
269
266
|
@state = args[:state] if args.key?(:state)
|
270
267
|
end
|
271
268
|
end
|
@@ -395,11 +392,19 @@ module Google
|
|
395
392
|
class FirebaseAppInfo
|
396
393
|
include Google::Apis::Core::Hashable
|
397
394
|
|
398
|
-
# The
|
399
|
-
#
|
400
|
-
#
|
401
|
-
#
|
402
|
-
#
|
395
|
+
# The globally unique, Google-assigned identifier (UID) for the Firebase API key
|
396
|
+
# associated with the App. Be aware that this value is the UID of the API key,
|
397
|
+
# _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/
|
398
|
+
# v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `
|
399
|
+
# keyString` is the value that can be found in the App's configuration artifact (
|
400
|
+
# [`AndroidApp`](../../rest/v1beta1/projects.androidApps/getConfig) | [`IosApp`](
|
401
|
+
# ../../rest/v1beta1/projects.iosApps/getConfig) | [`WebApp`](../../rest/v1beta1/
|
402
|
+
# projects.webApps/getConfig)). If `api_key_id` is not set in requests to create
|
403
|
+
# the App ([`AndroidApp`](../../rest/v1beta1/projects.androidApps/create) | [`
|
404
|
+
# IosApp`](../../rest/v1beta1/projects.iosApps/create) | [`WebApp`](../../rest/
|
405
|
+
# v1beta1/projects.webApps/create)), then Firebase automatically associates an `
|
406
|
+
# api_key_id` with the App. This auto-associated key may be an existing valid
|
407
|
+
# key or, if no valid key exists, a new one will be provisioned.
|
403
408
|
# Corresponds to the JSON property `apiKeyId`
|
404
409
|
# @return [String]
|
405
410
|
attr_accessor :api_key_id
|
@@ -553,11 +558,20 @@ module Google
|
|
553
558
|
class IosApp
|
554
559
|
include Google::Apis::Core::Hashable
|
555
560
|
|
556
|
-
# The
|
557
|
-
#
|
558
|
-
#
|
559
|
-
# Key
|
560
|
-
#
|
561
|
+
# The globally unique, Google-assigned identifier (UID) for the Firebase API key
|
562
|
+
# associated with the `IosApp`. Be aware that this value is the UID of the API
|
563
|
+
# key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/
|
564
|
+
# rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `
|
565
|
+
# keyString` is the value that can be found in the App's [configuration artifact]
|
566
|
+
# (../../rest/v1beta1/projects.iosApps/getConfig). If `api_key_id` is not set in
|
567
|
+
# requests to [`iosApps.Create`](../../rest/v1beta1/projects.iosApps/create),
|
568
|
+
# then Firebase automatically associates an `api_key_id` with the `IosApp`. This
|
569
|
+
# auto-associated key may be an existing valid key or, if no valid key exists, a
|
570
|
+
# new one will be provisioned. In patch requests, `api_key_id` cannot be set to
|
571
|
+
# an empty value, and the new UID must have no restrictions or only have
|
572
|
+
# restrictions that are valid for the associated `IosApp`. We recommend using
|
573
|
+
# the [Google Cloud Console](https://console.cloud.google.com/apis/credentials)
|
574
|
+
# to manage API keys.
|
561
575
|
# Corresponds to the JSON property `apiKeyId`
|
562
576
|
# @return [String]
|
563
577
|
attr_accessor :api_key_id
|
@@ -1327,15 +1341,105 @@ module Google
|
|
1327
1341
|
end
|
1328
1342
|
end
|
1329
1343
|
|
1344
|
+
#
|
1345
|
+
class UndeleteAndroidAppRequest
|
1346
|
+
include Google::Apis::Core::Hashable
|
1347
|
+
|
1348
|
+
# Checksum provided in the AndroidApp entity, which if provided ensures the
|
1349
|
+
# client has an up-to-date value before proceeding.
|
1350
|
+
# Corresponds to the JSON property `etag`
|
1351
|
+
# @return [String]
|
1352
|
+
attr_accessor :etag
|
1353
|
+
|
1354
|
+
# If set to true, only validate the request and do not undelete the app.
|
1355
|
+
# Corresponds to the JSON property `validateOnly`
|
1356
|
+
# @return [Boolean]
|
1357
|
+
attr_accessor :validate_only
|
1358
|
+
alias_method :validate_only?, :validate_only
|
1359
|
+
|
1360
|
+
def initialize(**args)
|
1361
|
+
update!(**args)
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# Update properties of this object
|
1365
|
+
def update!(**args)
|
1366
|
+
@etag = args[:etag] if args.key?(:etag)
|
1367
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1368
|
+
end
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
#
|
1372
|
+
class UndeleteIosAppRequest
|
1373
|
+
include Google::Apis::Core::Hashable
|
1374
|
+
|
1375
|
+
# Checksum provided in the IosApp entity, which if provided ensures the client
|
1376
|
+
# has an up-to-date value before proceeding.
|
1377
|
+
# Corresponds to the JSON property `etag`
|
1378
|
+
# @return [String]
|
1379
|
+
attr_accessor :etag
|
1380
|
+
|
1381
|
+
# If set to true, only validate the request and do not undelete the app.
|
1382
|
+
# Corresponds to the JSON property `validateOnly`
|
1383
|
+
# @return [Boolean]
|
1384
|
+
attr_accessor :validate_only
|
1385
|
+
alias_method :validate_only?, :validate_only
|
1386
|
+
|
1387
|
+
def initialize(**args)
|
1388
|
+
update!(**args)
|
1389
|
+
end
|
1390
|
+
|
1391
|
+
# Update properties of this object
|
1392
|
+
def update!(**args)
|
1393
|
+
@etag = args[:etag] if args.key?(:etag)
|
1394
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1395
|
+
end
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
#
|
1399
|
+
class UndeleteWebAppRequest
|
1400
|
+
include Google::Apis::Core::Hashable
|
1401
|
+
|
1402
|
+
# Checksum provided in the WebApp entity, which if provided ensures the client
|
1403
|
+
# has an up-to-date value before proceeding.
|
1404
|
+
# Corresponds to the JSON property `etag`
|
1405
|
+
# @return [String]
|
1406
|
+
attr_accessor :etag
|
1407
|
+
|
1408
|
+
# If set to true, only validate the request and do not undelete the app.
|
1409
|
+
# Corresponds to the JSON property `validateOnly`
|
1410
|
+
# @return [Boolean]
|
1411
|
+
attr_accessor :validate_only
|
1412
|
+
alias_method :validate_only?, :validate_only
|
1413
|
+
|
1414
|
+
def initialize(**args)
|
1415
|
+
update!(**args)
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
# Update properties of this object
|
1419
|
+
def update!(**args)
|
1420
|
+
@etag = args[:etag] if args.key?(:etag)
|
1421
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1422
|
+
end
|
1423
|
+
end
|
1424
|
+
|
1330
1425
|
# Details of a Firebase App for the web.
|
1331
1426
|
class WebApp
|
1332
1427
|
include Google::Apis::Core::Hashable
|
1333
1428
|
|
1334
|
-
# The
|
1335
|
-
#
|
1336
|
-
#
|
1337
|
-
# Key
|
1338
|
-
#
|
1429
|
+
# The globally unique, Google-assigned identifier (UID) for the Firebase API key
|
1430
|
+
# associated with the `WebApp`. Be aware that this value is the UID of the API
|
1431
|
+
# key, _not_ the [`keyString`](https://cloud.google.com/api-keys/docs/reference/
|
1432
|
+
# rest/v2/projects.locations.keys#Key.FIELDS.key_string) of the API key. The `
|
1433
|
+
# keyString` is the value that can be found in the App's [configuration artifact]
|
1434
|
+
# (../../rest/v1beta1/projects.webApps/getConfig). If `api_key_id` is not set in
|
1435
|
+
# requests to [`webApps.Create`](../../rest/v1beta1/projects.webApps/create),
|
1436
|
+
# then Firebase automatically associates an `api_key_id` with the `WebApp`. This
|
1437
|
+
# auto-associated key may be an existing valid key or, if no valid key exists, a
|
1438
|
+
# new one will be provisioned. In patch requests, `api_key_id` cannot be set to
|
1439
|
+
# an empty value, and the new UID must have no restrictions or only have
|
1440
|
+
# restrictions that are valid for the associated `WebApp`. We recommend using
|
1441
|
+
# the [Google Cloud Console](https://console.cloud.google.com/apis/credentials)
|
1442
|
+
# to manage API keys.
|
1339
1443
|
# Corresponds to the JSON property `apiKeyId`
|
1340
1444
|
# @return [String]
|
1341
1445
|
attr_accessor :api_key_id
|
@@ -1411,7 +1515,11 @@ module Google
|
|
1411
1515
|
class WebAppConfig
|
1412
1516
|
include Google::Apis::Core::Hashable
|
1413
1517
|
|
1414
|
-
# The
|
1518
|
+
# The [`keyString`](https://cloud.google.com/api-keys/docs/reference/rest/v2/
|
1519
|
+
# projects.locations.keys#Key.FIELDS.key_string) of the API key associated with
|
1520
|
+
# the `WebApp`. Note that this value is _not_ the [`apiKeyId`](../projects.
|
1521
|
+
# webApps#WebApp.FIELDS.api_key_id) (the UID) of the API key associated with the
|
1522
|
+
# `WebApp`.
|
1415
1523
|
# Corresponds to the JSON property `apiKey`
|
1416
1524
|
# @return [String]
|
1417
1525
|
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
|
+
GEM_VERSION = "0.24.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 = "
|
25
|
+
REVISION = "20220822"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,24 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class UndeleteAndroidAppRequest
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
235
|
+
class UndeleteIosAppRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class UndeleteWebAppRequest
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
229
247
|
class WebApp
|
230
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
249
|
|
@@ -291,8 +309,6 @@ module Google
|
|
291
309
|
property :name, as: 'name'
|
292
310
|
property :package_name, as: 'packageName'
|
293
311
|
property :project_id, as: 'projectId'
|
294
|
-
collection :sha1_hashes, as: 'sha1Hashes'
|
295
|
-
collection :sha256_hashes, as: 'sha256Hashes'
|
296
312
|
property :state, as: 'state'
|
297
313
|
end
|
298
314
|
end
|
@@ -559,6 +575,30 @@ module Google
|
|
559
575
|
end
|
560
576
|
end
|
561
577
|
|
578
|
+
class UndeleteAndroidAppRequest
|
579
|
+
# @private
|
580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
581
|
+
property :etag, as: 'etag'
|
582
|
+
property :validate_only, as: 'validateOnly'
|
583
|
+
end
|
584
|
+
end
|
585
|
+
|
586
|
+
class UndeleteIosAppRequest
|
587
|
+
# @private
|
588
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
589
|
+
property :etag, as: 'etag'
|
590
|
+
property :validate_only, as: 'validateOnly'
|
591
|
+
end
|
592
|
+
end
|
593
|
+
|
594
|
+
class UndeleteWebAppRequest
|
595
|
+
# @private
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
597
|
+
property :etag, as: 'etag'
|
598
|
+
property :validate_only, as: 'validateOnly'
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
562
602
|
class WebApp
|
563
603
|
# @private
|
564
604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -369,6 +369,9 @@ module Google
|
|
369
369
|
# @param [String] page_token
|
370
370
|
# Token returned from a previous call to `ListFirebaseProjects` indicating where
|
371
371
|
# in the set of Projects to resume listing.
|
372
|
+
# @param [Boolean] show_deleted
|
373
|
+
# Optional. Controls whether Projects in the DELETING state should be returned.
|
374
|
+
# Defaults to false.
|
372
375
|
# @param [String] fields
|
373
376
|
# Selector specifying which fields to include in a partial response.
|
374
377
|
# @param [String] quota_user
|
@@ -386,12 +389,13 @@ module Google
|
|
386
389
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
387
390
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
388
391
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
389
|
-
def list_projects(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
392
|
+
def list_projects(page_size: nil, page_token: nil, show_deleted: nil, fields: nil, quota_user: nil, options: nil, &block)
|
390
393
|
command = make_simple_command(:get, 'v1beta1/projects', options)
|
391
394
|
command.response_representation = Google::Apis::FirebaseV1beta1::ListFirebaseProjectsResponse::Representation
|
392
395
|
command.response_class = Google::Apis::FirebaseV1beta1::ListFirebaseProjectsResponse
|
393
396
|
command.query['pageSize'] = page_size unless page_size.nil?
|
394
397
|
command.query['pageToken'] = page_token unless page_token.nil?
|
398
|
+
command.query['showDeleted'] = show_deleted unless show_deleted.nil?
|
395
399
|
command.query['fields'] = fields unless fields.nil?
|
396
400
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
397
401
|
execute_or_queue_command(command, &block)
|
@@ -796,6 +800,44 @@ module Google
|
|
796
800
|
execute_or_queue_command(command, &block)
|
797
801
|
end
|
798
802
|
|
803
|
+
# Restores the specified AndroidApp to the project.
|
804
|
+
# @param [String] name
|
805
|
+
# Required. The resource name of the AndroidApp, in the format: projects/
|
806
|
+
# PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier,
|
807
|
+
# the Unique Resource from Sub-Collection access pattern may be used here, in
|
808
|
+
# the format: projects/-/androidApps/APP_ID Refer to the AndroidApp [name](../
|
809
|
+
# projects.androidApps#AndroidApp.FIELDS.name) field for details about
|
810
|
+
# PROJECT_IDENTIFIER and APP_ID values.
|
811
|
+
# @param [Google::Apis::FirebaseV1beta1::UndeleteAndroidAppRequest] undelete_android_app_request_object
|
812
|
+
# @param [String] fields
|
813
|
+
# Selector specifying which fields to include in a partial response.
|
814
|
+
# @param [String] quota_user
|
815
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
816
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
817
|
+
# @param [Google::Apis::RequestOptions] options
|
818
|
+
# Request-specific options
|
819
|
+
#
|
820
|
+
# @yield [result, err] Result & error if block supplied
|
821
|
+
# @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
|
822
|
+
# @yieldparam err [StandardError] error object if request failed
|
823
|
+
#
|
824
|
+
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
825
|
+
#
|
826
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
827
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
828
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
829
|
+
def undelete_android_app(name, undelete_android_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
830
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
|
831
|
+
command.request_representation = Google::Apis::FirebaseV1beta1::UndeleteAndroidAppRequest::Representation
|
832
|
+
command.request_object = undelete_android_app_request_object
|
833
|
+
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
834
|
+
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
835
|
+
command.params['name'] = name unless name.nil?
|
836
|
+
command.query['fields'] = fields unless fields.nil?
|
837
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
838
|
+
execute_or_queue_command(command, &block)
|
839
|
+
end
|
840
|
+
|
799
841
|
# Adds a ShaCertificate to the specified AndroidApp.
|
800
842
|
# @param [String] parent
|
801
843
|
# The resource name of the parent AndroidApp to which to add a ShaCertificate,
|
@@ -1265,6 +1307,44 @@ module Google
|
|
1265
1307
|
execute_or_queue_command(command, &block)
|
1266
1308
|
end
|
1267
1309
|
|
1310
|
+
# Restores the specified IosApp to the project.
|
1311
|
+
# @param [String] name
|
1312
|
+
# Required. The resource name of the IosApp, in the format: projects/
|
1313
|
+
# PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique identifier, the
|
1314
|
+
# Unique Resource from Sub-Collection access pattern may be used here, in the
|
1315
|
+
# format: projects/-/iosApps/APP_ID Refer to the IosApp [name](../projects.
|
1316
|
+
# iosApps#IosApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
|
1317
|
+
# APP_ID values.
|
1318
|
+
# @param [Google::Apis::FirebaseV1beta1::UndeleteIosAppRequest] undelete_ios_app_request_object
|
1319
|
+
# @param [String] fields
|
1320
|
+
# Selector specifying which fields to include in a partial response.
|
1321
|
+
# @param [String] quota_user
|
1322
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1323
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1324
|
+
# @param [Google::Apis::RequestOptions] options
|
1325
|
+
# Request-specific options
|
1326
|
+
#
|
1327
|
+
# @yield [result, err] Result & error if block supplied
|
1328
|
+
# @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
|
1329
|
+
# @yieldparam err [StandardError] error object if request failed
|
1330
|
+
#
|
1331
|
+
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
1332
|
+
#
|
1333
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1334
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1335
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1336
|
+
def undelete_ios_app(name, undelete_ios_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1337
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
|
1338
|
+
command.request_representation = Google::Apis::FirebaseV1beta1::UndeleteIosAppRequest::Representation
|
1339
|
+
command.request_object = undelete_ios_app_request_object
|
1340
|
+
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
1341
|
+
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
1342
|
+
command.params['name'] = name unless name.nil?
|
1343
|
+
command.query['fields'] = fields unless fields.nil?
|
1344
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1345
|
+
execute_or_queue_command(command, &block)
|
1346
|
+
end
|
1347
|
+
|
1268
1348
|
# Requests the creation of a new WebApp in the specified FirebaseProject. The
|
1269
1349
|
# result of this call is an `Operation` which can be used to track the
|
1270
1350
|
# provisioning process. The `Operation` is automatically deleted after
|
@@ -1503,6 +1583,44 @@ module Google
|
|
1503
1583
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1504
1584
|
execute_or_queue_command(command, &block)
|
1505
1585
|
end
|
1586
|
+
|
1587
|
+
# Restores the specified WebApp to the project.
|
1588
|
+
# @param [String] name
|
1589
|
+
# Required. The resource name of the WebApp, in the format: projects/
|
1590
|
+
# PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique identifier, the
|
1591
|
+
# Unique Resource from Sub-Collection access pattern may be used here, in the
|
1592
|
+
# format: projects/-/webApps/APP_ID Refer to the WebApp [name](../projects.
|
1593
|
+
# webApps#WebApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
|
1594
|
+
# APP_ID values.
|
1595
|
+
# @param [Google::Apis::FirebaseV1beta1::UndeleteWebAppRequest] undelete_web_app_request_object
|
1596
|
+
# @param [String] fields
|
1597
|
+
# Selector specifying which fields to include in a partial response.
|
1598
|
+
# @param [String] quota_user
|
1599
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1600
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1601
|
+
# @param [Google::Apis::RequestOptions] options
|
1602
|
+
# Request-specific options
|
1603
|
+
#
|
1604
|
+
# @yield [result, err] Result & error if block supplied
|
1605
|
+
# @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
|
1606
|
+
# @yieldparam err [StandardError] error object if request failed
|
1607
|
+
#
|
1608
|
+
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
1609
|
+
#
|
1610
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1611
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1612
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1613
|
+
def undelete_web_app(name, undelete_web_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1614
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
|
1615
|
+
command.request_representation = Google::Apis::FirebaseV1beta1::UndeleteWebAppRequest::Representation
|
1616
|
+
command.request_object = undelete_web_app_request_object
|
1617
|
+
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
1618
|
+
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
1619
|
+
command.params['name'] = name unless name.nil?
|
1620
|
+
command.query['fields'] = fields unless fields.nil?
|
1621
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1622
|
+
execute_or_queue_command(command, &block)
|
1623
|
+
end
|
1506
1624
|
|
1507
1625
|
protected
|
1508
1626
|
|
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.
|
4
|
+
version: 0.24.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-08-
|
11
|
+
date: 2022-08-29 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebase_v1beta1/v0.24.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: []
|