google-apis-firebase_v1beta1 0.22.0 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e89209fd301b91092384f1b82243cc5691da31f9dfd383fb630ffa2081a6278d
|
4
|
+
data.tar.gz: 2a014eb7e6cda9be5cf3eb457a8944b4907e476c666bd87142ee6b88fcf18da5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 623c0d07a5f4daa435225f77cf863564e82a2f7b83b7f0a222b018bd6cf2d688530654a27cc932a3b2731d99f3cc33ba2122cebf6d8422155eee8f99b75c3572
|
7
|
+
data.tar.gz: 92479d40f69274733ed76ba6309a55ac6f3fbe5ab327ad2f2427e7a69c05bd8594adea9859b67621797d2d7053489689fe45fe933bef7f3a0c29574550bd7a47
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-firebase_v1beta1
|
2
2
|
|
3
|
+
### v0.25.0 (2022-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220908
|
6
|
+
|
7
|
+
### v0.24.0 (2022-08-24)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220822
|
10
|
+
|
11
|
+
### v0.23.0 (2022-08-18)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220813
|
14
|
+
|
3
15
|
### v0.22.0 (2022-08-11)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220808
|
@@ -542,9 +542,7 @@ module Google
|
|
542
542
|
# @return [Google::Apis::FirebaseV1beta1::DefaultResources]
|
543
543
|
attr_accessor :resources
|
544
544
|
|
545
|
-
# Output only. The lifecycle state of the Project.
|
546
|
-
# performed via com.google.cloudresourcemanager.v1.Projects.DeleteProject and
|
547
|
-
# com.google.cloudresourcemanager.v1.Projects.UndeleteProject
|
545
|
+
# Output only. The lifecycle state of the Project.
|
548
546
|
# Corresponds to the JSON property `state`
|
549
547
|
# @return [String]
|
550
548
|
attr_accessor :state
|
@@ -1069,7 +1067,7 @@ module Google
|
|
1069
1067
|
# @return [String]
|
1070
1068
|
attr_accessor :etag
|
1071
1069
|
|
1072
|
-
# If set to true,
|
1070
|
+
# If set to true, the request is only validated. The App will _not_ be removed.
|
1073
1071
|
# Corresponds to the JSON property `validateOnly`
|
1074
1072
|
# @return [Boolean]
|
1075
1073
|
attr_accessor :validate_only
|
@@ -1104,7 +1102,7 @@ module Google
|
|
1104
1102
|
# @return [String]
|
1105
1103
|
attr_accessor :etag
|
1106
1104
|
|
1107
|
-
# If set to true,
|
1105
|
+
# If set to true, the request is only validated. The App will _not_ be removed.
|
1108
1106
|
# Corresponds to the JSON property `validateOnly`
|
1109
1107
|
# @return [Boolean]
|
1110
1108
|
attr_accessor :validate_only
|
@@ -1139,7 +1137,7 @@ module Google
|
|
1139
1137
|
# @return [String]
|
1140
1138
|
attr_accessor :etag
|
1141
1139
|
|
1142
|
-
# If set to true,
|
1140
|
+
# If set to true, the request is only validated. The App will _not_ be removed.
|
1143
1141
|
# Corresponds to the JSON property `validateOnly`
|
1144
1142
|
# @return [Boolean]
|
1145
1143
|
attr_accessor :validate_only
|
@@ -1353,6 +1351,87 @@ module Google
|
|
1353
1351
|
end
|
1354
1352
|
end
|
1355
1353
|
|
1354
|
+
#
|
1355
|
+
class UndeleteAndroidAppRequest
|
1356
|
+
include Google::Apis::Core::Hashable
|
1357
|
+
|
1358
|
+
# Checksum provided in the AndroidApp entity, which if provided ensures the
|
1359
|
+
# client has an up-to-date value before proceeding.
|
1360
|
+
# Corresponds to the JSON property `etag`
|
1361
|
+
# @return [String]
|
1362
|
+
attr_accessor :etag
|
1363
|
+
|
1364
|
+
# If set to true, the request is only validated. The App will _not_ be undeleted.
|
1365
|
+
# Corresponds to the JSON property `validateOnly`
|
1366
|
+
# @return [Boolean]
|
1367
|
+
attr_accessor :validate_only
|
1368
|
+
alias_method :validate_only?, :validate_only
|
1369
|
+
|
1370
|
+
def initialize(**args)
|
1371
|
+
update!(**args)
|
1372
|
+
end
|
1373
|
+
|
1374
|
+
# Update properties of this object
|
1375
|
+
def update!(**args)
|
1376
|
+
@etag = args[:etag] if args.key?(:etag)
|
1377
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
#
|
1382
|
+
class UndeleteIosAppRequest
|
1383
|
+
include Google::Apis::Core::Hashable
|
1384
|
+
|
1385
|
+
# Checksum provided in the IosApp entity, which if provided ensures the client
|
1386
|
+
# has an up-to-date value before proceeding.
|
1387
|
+
# Corresponds to the JSON property `etag`
|
1388
|
+
# @return [String]
|
1389
|
+
attr_accessor :etag
|
1390
|
+
|
1391
|
+
# If set to true, the request is only validated. The App will _not_ be undeleted.
|
1392
|
+
# Corresponds to the JSON property `validateOnly`
|
1393
|
+
# @return [Boolean]
|
1394
|
+
attr_accessor :validate_only
|
1395
|
+
alias_method :validate_only?, :validate_only
|
1396
|
+
|
1397
|
+
def initialize(**args)
|
1398
|
+
update!(**args)
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# Update properties of this object
|
1402
|
+
def update!(**args)
|
1403
|
+
@etag = args[:etag] if args.key?(:etag)
|
1404
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1405
|
+
end
|
1406
|
+
end
|
1407
|
+
|
1408
|
+
#
|
1409
|
+
class UndeleteWebAppRequest
|
1410
|
+
include Google::Apis::Core::Hashable
|
1411
|
+
|
1412
|
+
# Checksum provided in the WebApp entity, which if provided ensures the client
|
1413
|
+
# has an up-to-date value before proceeding.
|
1414
|
+
# Corresponds to the JSON property `etag`
|
1415
|
+
# @return [String]
|
1416
|
+
attr_accessor :etag
|
1417
|
+
|
1418
|
+
# If set to true, the request is only validated. The App will _not_ be undeleted.
|
1419
|
+
# Corresponds to the JSON property `validateOnly`
|
1420
|
+
# @return [Boolean]
|
1421
|
+
attr_accessor :validate_only
|
1422
|
+
alias_method :validate_only?, :validate_only
|
1423
|
+
|
1424
|
+
def initialize(**args)
|
1425
|
+
update!(**args)
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
# Update properties of this object
|
1429
|
+
def update!(**args)
|
1430
|
+
@etag = args[:etag] if args.key?(:etag)
|
1431
|
+
@validate_only = args[:validate_only] if args.key?(:validate_only)
|
1432
|
+
end
|
1433
|
+
end
|
1434
|
+
|
1356
1435
|
# Details of a Firebase App for the web.
|
1357
1436
|
class WebApp
|
1358
1437
|
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.25.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 = "20220908"
|
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
|
|
@@ -559,6 +577,30 @@ module Google
|
|
559
577
|
end
|
560
578
|
end
|
561
579
|
|
580
|
+
class UndeleteAndroidAppRequest
|
581
|
+
# @private
|
582
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
583
|
+
property :etag, as: 'etag'
|
584
|
+
property :validate_only, as: 'validateOnly'
|
585
|
+
end
|
586
|
+
end
|
587
|
+
|
588
|
+
class UndeleteIosAppRequest
|
589
|
+
# @private
|
590
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
591
|
+
property :etag, as: 'etag'
|
592
|
+
property :validate_only, as: 'validateOnly'
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
class UndeleteWebAppRequest
|
597
|
+
# @private
|
598
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
property :etag, as: 'etag'
|
600
|
+
property :validate_only, as: 'validateOnly'
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
562
604
|
class WebApp
|
563
605
|
# @private
|
564
606
|
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 DELETED state should be returned in
|
374
|
+
# the response. If not specified, only `ACTIVE` Projects will be returned.
|
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)
|
@@ -409,9 +413,12 @@ module Google
|
|
409
413
|
# will be the `ProjectId`.
|
410
414
|
# @param [Google::Apis::FirebaseV1beta1::FirebaseProject] firebase_project_object
|
411
415
|
# @param [String] update_mask
|
412
|
-
# Specifies which fields to update.
|
413
|
-
#
|
414
|
-
#
|
416
|
+
# Specifies which fields of the FirebaseProject to update. Note that the
|
417
|
+
# following fields are immutable: `name`, `project_id`, and `project_number`. To
|
418
|
+
# update `state`, use any of the following Google Cloud endpoints: [`projects.
|
419
|
+
# delete`](https://cloud.google.com/resource-manager/reference/rest/v1/projects/
|
420
|
+
# delete) or [`projects.undelete`](https://cloud.google.com/resource-manager/
|
421
|
+
# reference/rest/v1/projects/undelete)
|
415
422
|
# @param [String] fields
|
416
423
|
# Selector specifying which fields to include in a partial response.
|
417
424
|
# @param [String] quota_user
|
@@ -523,8 +530,8 @@ module Google
|
|
523
530
|
# Token returned from a previous call to `SearchFirebaseApps` indicating where
|
524
531
|
# in the set of Apps to resume listing.
|
525
532
|
# @param [Boolean] show_deleted
|
526
|
-
# Controls whether Apps in the DELETED state should be returned.
|
527
|
-
#
|
533
|
+
# Controls whether Apps in the DELETED state should be returned. If not
|
534
|
+
# specified, only `ACTIVE` Apps will be returned.
|
528
535
|
# @param [String] fields
|
529
536
|
# Selector specifying which fields to include in a partial response.
|
530
537
|
# @param [String] quota_user
|
@@ -681,8 +688,8 @@ module Google
|
|
681
688
|
# Token returned from a previous call to `ListAndroidApps` indicating where in
|
682
689
|
# the set of Apps to resume listing.
|
683
690
|
# @param [Boolean] show_deleted
|
684
|
-
# Controls whether Apps in the DELETED state should be returned
|
685
|
-
#
|
691
|
+
# Controls whether Apps in the DELETED state should be returned in the response.
|
692
|
+
# If not specified, only `ACTIVE` Apps will be returned.
|
686
693
|
# @param [String] fields
|
687
694
|
# Selector specifying which fields to include in a partial response.
|
688
695
|
# @param [String] quota_user
|
@@ -726,8 +733,10 @@ module Google
|
|
726
733
|
# projects.androidApps#AndroidApp.FIELDS.app_id)).
|
727
734
|
# @param [Google::Apis::FirebaseV1beta1::AndroidApp] android_app_object
|
728
735
|
# @param [String] update_mask
|
729
|
-
# Specifies which fields to update. Note that the
|
730
|
-
#
|
736
|
+
# Specifies which fields of the AndroidApp to update. Note that the following
|
737
|
+
# fields are immutable: `name`, `app_id`, `project_id`, and `package_name`. To
|
738
|
+
# update `state`, use any of the following endpoints: RemoveAndroidApp or
|
739
|
+
# UndeleteAndroidApp.
|
731
740
|
# @param [String] fields
|
732
741
|
# Selector specifying which fields to include in a partial response.
|
733
742
|
# @param [String] quota_user
|
@@ -758,7 +767,7 @@ module Google
|
|
758
767
|
execute_or_queue_command(command, &block)
|
759
768
|
end
|
760
769
|
|
761
|
-
# Removes the specified AndroidApp from the
|
770
|
+
# Removes the specified AndroidApp from the FirebaseProject.
|
762
771
|
# @param [String] name
|
763
772
|
# Required. The resource name of the AndroidApp, in the format: projects/
|
764
773
|
# PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier,
|
@@ -796,6 +805,44 @@ module Google
|
|
796
805
|
execute_or_queue_command(command, &block)
|
797
806
|
end
|
798
807
|
|
808
|
+
# Restores the specified AndroidApp to the FirebaseProject.
|
809
|
+
# @param [String] name
|
810
|
+
# Required. The resource name of the AndroidApp, in the format: projects/
|
811
|
+
# PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier,
|
812
|
+
# the Unique Resource from Sub-Collection access pattern may be used here, in
|
813
|
+
# the format: projects/-/androidApps/APP_ID Refer to the AndroidApp [name](../
|
814
|
+
# projects.androidApps#AndroidApp.FIELDS.name) field for details about
|
815
|
+
# PROJECT_IDENTIFIER and APP_ID values.
|
816
|
+
# @param [Google::Apis::FirebaseV1beta1::UndeleteAndroidAppRequest] undelete_android_app_request_object
|
817
|
+
# @param [String] fields
|
818
|
+
# Selector specifying which fields to include in a partial response.
|
819
|
+
# @param [String] quota_user
|
820
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
821
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
822
|
+
# @param [Google::Apis::RequestOptions] options
|
823
|
+
# Request-specific options
|
824
|
+
#
|
825
|
+
# @yield [result, err] Result & error if block supplied
|
826
|
+
# @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
|
827
|
+
# @yieldparam err [StandardError] error object if request failed
|
828
|
+
#
|
829
|
+
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
830
|
+
#
|
831
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
832
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
833
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
834
|
+
def undelete_android_app(name, undelete_android_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
835
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
|
836
|
+
command.request_representation = Google::Apis::FirebaseV1beta1::UndeleteAndroidAppRequest::Representation
|
837
|
+
command.request_object = undelete_android_app_request_object
|
838
|
+
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
839
|
+
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
840
|
+
command.params['name'] = name unless name.nil?
|
841
|
+
command.query['fields'] = fields unless fields.nil?
|
842
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
843
|
+
execute_or_queue_command(command, &block)
|
844
|
+
end
|
845
|
+
|
799
846
|
# Adds a ShaCertificate to the specified AndroidApp.
|
800
847
|
# @param [String] parent
|
801
848
|
# The resource name of the parent AndroidApp to which to add a ShaCertificate,
|
@@ -1150,8 +1197,8 @@ module Google
|
|
1150
1197
|
# Token returned from a previous call to `ListIosApps` indicating where in the
|
1151
1198
|
# set of Apps to resume listing.
|
1152
1199
|
# @param [Boolean] show_deleted
|
1153
|
-
# Controls whether Apps in the DELETED state should be returned
|
1154
|
-
#
|
1200
|
+
# Controls whether Apps in the DELETED state should be returned in the response.
|
1201
|
+
# If not specified, only `ACTIVE` Apps will be returned.
|
1155
1202
|
# @param [String] fields
|
1156
1203
|
# Selector specifying which fields to include in a partial response.
|
1157
1204
|
# @param [String] quota_user
|
@@ -1195,8 +1242,9 @@ module Google
|
|
1195
1242
|
# ).
|
1196
1243
|
# @param [Google::Apis::FirebaseV1beta1::IosApp] ios_app_object
|
1197
1244
|
# @param [String] update_mask
|
1198
|
-
# Specifies which fields to update. Note that the fields
|
1199
|
-
#
|
1245
|
+
# Specifies which fields of the IosApp to update. Note that the following fields
|
1246
|
+
# are immutable: `name`, `app_id`, `project_id`, and `bundle_id`. To update `
|
1247
|
+
# state`, use any of the following endpoints: RemoveIosApp or UndeleteIosApp.
|
1200
1248
|
# @param [String] fields
|
1201
1249
|
# Selector specifying which fields to include in a partial response.
|
1202
1250
|
# @param [String] quota_user
|
@@ -1227,7 +1275,7 @@ module Google
|
|
1227
1275
|
execute_or_queue_command(command, &block)
|
1228
1276
|
end
|
1229
1277
|
|
1230
|
-
# Removes the specified IosApp from the
|
1278
|
+
# Removes the specified IosApp from the FirebaseProject.
|
1231
1279
|
# @param [String] name
|
1232
1280
|
# Required. The resource name of the IosApp, in the format: projects/
|
1233
1281
|
# PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique identifier, the
|
@@ -1265,6 +1313,44 @@ module Google
|
|
1265
1313
|
execute_or_queue_command(command, &block)
|
1266
1314
|
end
|
1267
1315
|
|
1316
|
+
# Restores the specified IosApp to the FirebaseProject.
|
1317
|
+
# @param [String] name
|
1318
|
+
# Required. The resource name of the IosApp, in the format: projects/
|
1319
|
+
# PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique identifier, the
|
1320
|
+
# Unique Resource from Sub-Collection access pattern may be used here, in the
|
1321
|
+
# format: projects/-/iosApps/APP_ID Refer to the IosApp [name](../projects.
|
1322
|
+
# iosApps#IosApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
|
1323
|
+
# APP_ID values.
|
1324
|
+
# @param [Google::Apis::FirebaseV1beta1::UndeleteIosAppRequest] undelete_ios_app_request_object
|
1325
|
+
# @param [String] fields
|
1326
|
+
# Selector specifying which fields to include in a partial response.
|
1327
|
+
# @param [String] quota_user
|
1328
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1329
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1330
|
+
# @param [Google::Apis::RequestOptions] options
|
1331
|
+
# Request-specific options
|
1332
|
+
#
|
1333
|
+
# @yield [result, err] Result & error if block supplied
|
1334
|
+
# @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
|
1335
|
+
# @yieldparam err [StandardError] error object if request failed
|
1336
|
+
#
|
1337
|
+
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
1338
|
+
#
|
1339
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1340
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1341
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1342
|
+
def undelete_ios_app(name, undelete_ios_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1343
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
|
1344
|
+
command.request_representation = Google::Apis::FirebaseV1beta1::UndeleteIosAppRequest::Representation
|
1345
|
+
command.request_object = undelete_ios_app_request_object
|
1346
|
+
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
1347
|
+
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
1348
|
+
command.params['name'] = name unless name.nil?
|
1349
|
+
command.query['fields'] = fields unless fields.nil?
|
1350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1351
|
+
execute_or_queue_command(command, &block)
|
1352
|
+
end
|
1353
|
+
|
1268
1354
|
# Requests the creation of a new WebApp in the specified FirebaseProject. The
|
1269
1355
|
# result of this call is an `Operation` which can be used to track the
|
1270
1356
|
# provisioning process. The `Operation` is automatically deleted after
|
@@ -1389,8 +1475,8 @@ module Google
|
|
1389
1475
|
# Token returned from a previous call to `ListWebApps` indicating where in the
|
1390
1476
|
# set of Apps to resume listing.
|
1391
1477
|
# @param [Boolean] show_deleted
|
1392
|
-
# Controls whether Apps in the DELETED state should be returned
|
1393
|
-
#
|
1478
|
+
# Controls whether Apps in the DELETED state should be returned in the response.
|
1479
|
+
# If not specified, only `ACTIVE` Apps will be returned.
|
1394
1480
|
# @param [String] fields
|
1395
1481
|
# Selector specifying which fields to include in a partial response.
|
1396
1482
|
# @param [String] quota_user
|
@@ -1434,8 +1520,9 @@ module Google
|
|
1434
1520
|
# ).
|
1435
1521
|
# @param [Google::Apis::FirebaseV1beta1::WebApp] web_app_object
|
1436
1522
|
# @param [String] update_mask
|
1437
|
-
# Specifies which fields to update. Note that the fields
|
1438
|
-
#
|
1523
|
+
# Specifies which fields of the WebApp to update. Note that the following fields
|
1524
|
+
# are immutable: `name`, `app_id`, and `project_id`. To update `state`, use any
|
1525
|
+
# of the following endpoints: RemoveWebApp or UndeleteWebApp.
|
1439
1526
|
# @param [String] fields
|
1440
1527
|
# Selector specifying which fields to include in a partial response.
|
1441
1528
|
# @param [String] quota_user
|
@@ -1466,7 +1553,7 @@ module Google
|
|
1466
1553
|
execute_or_queue_command(command, &block)
|
1467
1554
|
end
|
1468
1555
|
|
1469
|
-
# Removes the specified WebApp from the
|
1556
|
+
# Removes the specified WebApp from the FirebaseProject.
|
1470
1557
|
# @param [String] name
|
1471
1558
|
# Required. The resource name of the WebApp, in the format: projects/
|
1472
1559
|
# PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique identifier, the
|
@@ -1503,6 +1590,44 @@ module Google
|
|
1503
1590
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1504
1591
|
execute_or_queue_command(command, &block)
|
1505
1592
|
end
|
1593
|
+
|
1594
|
+
# Restores the specified WebApp to the FirebaseProject.
|
1595
|
+
# @param [String] name
|
1596
|
+
# Required. The resource name of the WebApp, in the format: projects/
|
1597
|
+
# PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique identifier, the
|
1598
|
+
# Unique Resource from Sub-Collection access pattern may be used here, in the
|
1599
|
+
# format: projects/-/webApps/APP_ID Refer to the WebApp [name](../projects.
|
1600
|
+
# webApps#WebApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
|
1601
|
+
# APP_ID values.
|
1602
|
+
# @param [Google::Apis::FirebaseV1beta1::UndeleteWebAppRequest] undelete_web_app_request_object
|
1603
|
+
# @param [String] fields
|
1604
|
+
# Selector specifying which fields to include in a partial response.
|
1605
|
+
# @param [String] quota_user
|
1606
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1607
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1608
|
+
# @param [Google::Apis::RequestOptions] options
|
1609
|
+
# Request-specific options
|
1610
|
+
#
|
1611
|
+
# @yield [result, err] Result & error if block supplied
|
1612
|
+
# @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
|
1613
|
+
# @yieldparam err [StandardError] error object if request failed
|
1614
|
+
#
|
1615
|
+
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
1616
|
+
#
|
1617
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1618
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1619
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1620
|
+
def undelete_web_app(name, undelete_web_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1621
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:undelete', options)
|
1622
|
+
command.request_representation = Google::Apis::FirebaseV1beta1::UndeleteWebAppRequest::Representation
|
1623
|
+
command.request_object = undelete_web_app_request_object
|
1624
|
+
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
1625
|
+
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
1626
|
+
command.params['name'] = name unless name.nil?
|
1627
|
+
command.query['fields'] = fields unless fields.nil?
|
1628
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1629
|
+
execute_or_queue_command(command, &block)
|
1630
|
+
end
|
1506
1631
|
|
1507
1632
|
protected
|
1508
1633
|
|
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.25.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-
|
11
|
+
date: 2022-09-12 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.25.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: []
|