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