google-apis-firebase_v1beta1 0.23.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
@@ -1341,6 +1341,87 @@ module Google
|
|
1341
1341
|
end
|
1342
1342
|
end
|
1343
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
|
+
|
1344
1425
|
# Details of a Firebase App for the web.
|
1345
1426
|
class WebApp
|
1346
1427
|
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.
|
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
|
|
@@ -557,6 +575,30 @@ module Google
|
|
557
575
|
end
|
558
576
|
end
|
559
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
|
+
|
560
602
|
class WebApp
|
561
603
|
# @private
|
562
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: []
|