google-apis-firebase_v1beta1 0.14.0 → 0.15.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: 38a6c6e4f1bd67ec459c69c7d78d8f957b4067ffc27975e478d978e191390e64
4
- data.tar.gz: 41fe9da596936b66952c29358d3f81a84043d24c42f84c4632cd5ba6027a2545
3
+ metadata.gz: 55b10244db37481c5cf02355f30507584a7c9304e63adabfe93d4bac60dc3645
4
+ data.tar.gz: e6c594aa5ba00c4321e40eeee51e92ea92189bae8606cd491055072b186f0e42
5
5
  SHA512:
6
- metadata.gz: b41ef48048bc31740176d53ad37b6e77f8245075b8736d53e8b210d16bb5ae003bbc66f451694c01c0f4e66a6ea251fcd183d4f2f0645351df912627f4bdf32f
7
- data.tar.gz: 05a58985253a265331937054f05a9797c9b4a7b684261195ee2c0a902f0057c8e67fad3184857d0ef7e0afb7e17525e88a5ab637660fc37f7a8b820811cf6753
6
+ metadata.gz: 3acf9adf119bd311b5245db0e9743249d4f49eb1baa2c28fedfd0e6a0e759f8948149bf459d7fa05be766f5b1acd931f2e6356cf4b96d6137eec10acad55474c
7
+ data.tar.gz: b6847b58dd9400aa6c646f43f13cbce42e4cc3e0b4318b0dec576ea17ea8e73329fc0cf07d834ac7efb09832797bc54890604e06c0fa9082b148518bf26673b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebase_v1beta1
2
2
 
3
+ ### v0.15.0 (2022-05-20)
4
+
5
+ * Regenerated from discovery document revision 20220518
6
+
3
7
  ### v0.14.0 (2022-03-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20220319
@@ -967,6 +967,111 @@ module Google
967
967
  end
968
968
  end
969
969
 
970
+ #
971
+ class RemoveAndroidAppRequest
972
+ include Google::Apis::Core::Hashable
973
+
974
+ # If set to true, and the App is not found, the request will succeed but no
975
+ # action will be taken on the server.
976
+ # Corresponds to the JSON property `allowMissing`
977
+ # @return [Boolean]
978
+ attr_accessor :allow_missing
979
+ alias_method :allow_missing?, :allow_missing
980
+
981
+ # Checksum provided in the AndroidApp entity, which if provided ensures the
982
+ # client has an up-to-date value before proceeding.
983
+ # Corresponds to the JSON property `etag`
984
+ # @return [String]
985
+ attr_accessor :etag
986
+
987
+ # If set to true, only validate the request and do not delete the app.
988
+ # Corresponds to the JSON property `validateOnly`
989
+ # @return [Boolean]
990
+ attr_accessor :validate_only
991
+ alias_method :validate_only?, :validate_only
992
+
993
+ def initialize(**args)
994
+ update!(**args)
995
+ end
996
+
997
+ # Update properties of this object
998
+ def update!(**args)
999
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1000
+ @etag = args[:etag] if args.key?(:etag)
1001
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1002
+ end
1003
+ end
1004
+
1005
+ #
1006
+ class RemoveIosAppRequest
1007
+ include Google::Apis::Core::Hashable
1008
+
1009
+ # If set to true, and the App is not found, the request will succeed but no
1010
+ # action will be taken on the server.
1011
+ # Corresponds to the JSON property `allowMissing`
1012
+ # @return [Boolean]
1013
+ attr_accessor :allow_missing
1014
+ alias_method :allow_missing?, :allow_missing
1015
+
1016
+ # Checksum provided in the IosApp entity, which if provided ensures the client
1017
+ # has an up-to-date value before proceeding.
1018
+ # Corresponds to the JSON property `etag`
1019
+ # @return [String]
1020
+ attr_accessor :etag
1021
+
1022
+ # If set to true, only validate the request and do not delete the app.
1023
+ # Corresponds to the JSON property `validateOnly`
1024
+ # @return [Boolean]
1025
+ attr_accessor :validate_only
1026
+ alias_method :validate_only?, :validate_only
1027
+
1028
+ def initialize(**args)
1029
+ update!(**args)
1030
+ end
1031
+
1032
+ # Update properties of this object
1033
+ def update!(**args)
1034
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1035
+ @etag = args[:etag] if args.key?(:etag)
1036
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1037
+ end
1038
+ end
1039
+
1040
+ #
1041
+ class RemoveWebAppRequest
1042
+ include Google::Apis::Core::Hashable
1043
+
1044
+ # If set to true, and the App is not found, the request will succeed but no
1045
+ # action will be taken on the server.
1046
+ # Corresponds to the JSON property `allowMissing`
1047
+ # @return [Boolean]
1048
+ attr_accessor :allow_missing
1049
+ alias_method :allow_missing?, :allow_missing
1050
+
1051
+ # Checksum provided in the WebApp entity, which if provided ensures the client
1052
+ # has an up-to-date value before proceeding.
1053
+ # Corresponds to the JSON property `etag`
1054
+ # @return [String]
1055
+ attr_accessor :etag
1056
+
1057
+ # If set to true, only validate the request and do not delete the app.
1058
+ # Corresponds to the JSON property `validateOnly`
1059
+ # @return [Boolean]
1060
+ attr_accessor :validate_only
1061
+ alias_method :validate_only?, :validate_only
1062
+
1063
+ def initialize(**args)
1064
+ update!(**args)
1065
+ end
1066
+
1067
+ # Update properties of this object
1068
+ def update!(**args)
1069
+ @allow_missing = args[:allow_missing] if args.key?(:allow_missing)
1070
+ @etag = args[:etag] if args.key?(:etag)
1071
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1072
+ end
1073
+ end
1074
+
970
1075
  #
971
1076
  class SearchFirebaseAppsResponse
972
1077
  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.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220319"
25
+ REVISION = "20220518"
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
 
@@ -458,6 +476,33 @@ module Google
458
476
  end
459
477
  end
460
478
 
479
+ class RemoveAndroidAppRequest
480
+ # @private
481
+ class Representation < Google::Apis::Core::JsonRepresentation
482
+ property :allow_missing, as: 'allowMissing'
483
+ property :etag, as: 'etag'
484
+ property :validate_only, as: 'validateOnly'
485
+ end
486
+ end
487
+
488
+ class RemoveIosAppRequest
489
+ # @private
490
+ class Representation < Google::Apis::Core::JsonRepresentation
491
+ property :allow_missing, as: 'allowMissing'
492
+ property :etag, as: 'etag'
493
+ property :validate_only, as: 'validateOnly'
494
+ end
495
+ end
496
+
497
+ class RemoveWebAppRequest
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :allow_missing, as: 'allowMissing'
501
+ property :etag, as: 'etag'
502
+ property :validate_only, as: 'validateOnly'
503
+ end
504
+ end
505
+
461
506
  class SearchFirebaseAppsResponse
462
507
  # @private
463
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -750,6 +750,44 @@ module Google
750
750
  execute_or_queue_command(command, &block)
751
751
  end
752
752
 
753
+ # Removes the specified AndroidApp from the project.
754
+ # @param [String] name
755
+ # Required. The resource name of the AndroidApp, in the format: projects/
756
+ # PROJECT_IDENTIFIER/androidApps/APP_ID Since an APP_ID is a unique identifier,
757
+ # the Unique Resource from Sub-Collection access pattern may be used here, in
758
+ # the format: projects/-/androidApps/APP_ID Refer to the AndroidApp [name](../
759
+ # projects.androidApps#AndroidApp.FIELDS.name) field for details about
760
+ # PROJECT_IDENTIFIER and APP_ID values.
761
+ # @param [Google::Apis::FirebaseV1beta1::RemoveAndroidAppRequest] remove_android_app_request_object
762
+ # @param [String] fields
763
+ # Selector specifying which fields to include in a partial response.
764
+ # @param [String] quota_user
765
+ # Available to use for quota purposes for server-side applications. Can be any
766
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
767
+ # @param [Google::Apis::RequestOptions] options
768
+ # Request-specific options
769
+ #
770
+ # @yield [result, err] Result & error if block supplied
771
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
772
+ # @yieldparam err [StandardError] error object if request failed
773
+ #
774
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
775
+ #
776
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
777
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
778
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
779
+ def remove_android_app(name, remove_android_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
780
+ command = make_simple_command(:post, 'v1beta1/{+name}:remove', options)
781
+ command.request_representation = Google::Apis::FirebaseV1beta1::RemoveAndroidAppRequest::Representation
782
+ command.request_object = remove_android_app_request_object
783
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
784
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
785
+ command.params['name'] = name unless name.nil?
786
+ command.query['fields'] = fields unless fields.nil?
787
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
788
+ execute_or_queue_command(command, &block)
789
+ end
790
+
753
791
  # Adds a ShaCertificate to the specified AndroidApp.
754
792
  # @param [String] parent
755
793
  # The resource name of the parent AndroidApp to which to add a ShaCertificate,
@@ -1177,6 +1215,44 @@ module Google
1177
1215
  execute_or_queue_command(command, &block)
1178
1216
  end
1179
1217
 
1218
+ # Removes the specified IosApp from the project.
1219
+ # @param [String] name
1220
+ # Required. The resource name of the IosApp, in the format: projects/
1221
+ # PROJECT_IDENTIFIER/iosApps/APP_ID Since an APP_ID is a unique identifier, the
1222
+ # Unique Resource from Sub-Collection access pattern may be used here, in the
1223
+ # format: projects/-/iosApps/APP_ID Refer to the IosApp [name](../projects.
1224
+ # iosApps#IosApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
1225
+ # APP_ID values.
1226
+ # @param [Google::Apis::FirebaseV1beta1::RemoveIosAppRequest] remove_ios_app_request_object
1227
+ # @param [String] fields
1228
+ # Selector specifying which fields to include in a partial response.
1229
+ # @param [String] quota_user
1230
+ # Available to use for quota purposes for server-side applications. Can be any
1231
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1232
+ # @param [Google::Apis::RequestOptions] options
1233
+ # Request-specific options
1234
+ #
1235
+ # @yield [result, err] Result & error if block supplied
1236
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
1237
+ # @yieldparam err [StandardError] error object if request failed
1238
+ #
1239
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
1240
+ #
1241
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1242
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1243
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1244
+ def remove_ios_app(name, remove_ios_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1245
+ command = make_simple_command(:post, 'v1beta1/{+name}:remove', options)
1246
+ command.request_representation = Google::Apis::FirebaseV1beta1::RemoveIosAppRequest::Representation
1247
+ command.request_object = remove_ios_app_request_object
1248
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
1249
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
1250
+ command.params['name'] = name unless name.nil?
1251
+ command.query['fields'] = fields unless fields.nil?
1252
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1253
+ execute_or_queue_command(command, &block)
1254
+ end
1255
+
1180
1256
  # Requests the creation of a new WebApp in the specified FirebaseProject. The
1181
1257
  # result of this call is an `Operation` which can be used to track the
1182
1258
  # provisioning process. The `Operation` is automatically deleted after
@@ -1373,6 +1449,44 @@ module Google
1373
1449
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1374
1450
  execute_or_queue_command(command, &block)
1375
1451
  end
1452
+
1453
+ # Removes the specified WebApp from the project.
1454
+ # @param [String] name
1455
+ # Required. The resource name of the WebApp, in the format: projects/
1456
+ # PROJECT_IDENTIFIER/webApps/APP_ID Since an APP_ID is a unique identifier, the
1457
+ # Unique Resource from Sub-Collection access pattern may be used here, in the
1458
+ # format: projects/-/webApps/APP_ID Refer to the WebApp [name](../projects.
1459
+ # webApps#WebApp.FIELDS.name) field for details about PROJECT_IDENTIFIER and
1460
+ # APP_ID values.
1461
+ # @param [Google::Apis::FirebaseV1beta1::RemoveWebAppRequest] remove_web_app_request_object
1462
+ # @param [String] fields
1463
+ # Selector specifying which fields to include in a partial response.
1464
+ # @param [String] quota_user
1465
+ # Available to use for quota purposes for server-side applications. Can be any
1466
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1467
+ # @param [Google::Apis::RequestOptions] options
1468
+ # Request-specific options
1469
+ #
1470
+ # @yield [result, err] Result & error if block supplied
1471
+ # @yieldparam result [Google::Apis::FirebaseV1beta1::Operation] parsed result object
1472
+ # @yieldparam err [StandardError] error object if request failed
1473
+ #
1474
+ # @return [Google::Apis::FirebaseV1beta1::Operation]
1475
+ #
1476
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1477
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1478
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1479
+ def remove_web_app(name, remove_web_app_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1480
+ command = make_simple_command(:post, 'v1beta1/{+name}:remove', options)
1481
+ command.request_representation = Google::Apis::FirebaseV1beta1::RemoveWebAppRequest::Representation
1482
+ command.request_object = remove_web_app_request_object
1483
+ command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
1484
+ command.response_class = Google::Apis::FirebaseV1beta1::Operation
1485
+ command.params['name'] = name unless name.nil?
1486
+ command.query['fields'] = fields unless fields.nil?
1487
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1488
+ execute_or_queue_command(command, &block)
1489
+ end
1376
1490
 
1377
1491
  protected
1378
1492
 
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.14.0
4
+ version: 0.15.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-03-28 00:00:00.000000000 Z
11
+ date: 2022-05-23 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebase_v1beta1/v0.15.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: []