google-apis-firebaseappcheck_v1beta 0.33.0 → 0.34.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: c762f388d2522adb4486fa75369a0072ac13f6f526a494ad8136104083b98c71
4
- data.tar.gz: fb43c208385432f065163414dec615fbb376298071baea34c0899d1a4464c3de
3
+ metadata.gz: 924f9344262f32f69665303b2cb0c84feeb8f9f8f566ee50a2048d48d9908e05
4
+ data.tar.gz: 9f6f8aea107b22c2b8128684671c5aebcae4a55e51171f36fa879541da93c851
5
5
  SHA512:
6
- metadata.gz: ab1e1743150a09a111211cb39cd0d193ea579b3c45041950a7d954eb71027f1ca811eb3a192a65cfa3aa19682c0f310a6bbef6f0f17e1883da0b8edc4c5a8b8d
7
- data.tar.gz: bdfbc83453832c476b2c38fd0e2df794868d7f1b1290805e8925816c34f1ad2474a290083e2f5b9b96f0256a60aa5a53146a71129374a6e579be81a09868758b
6
+ metadata.gz: c440e40472a1978ff72a08e6ece79f5302e8561f74b3caaf711d2999ab7a6015ca8f58a3cedc2ffd35f4dcd3e6b01a7d61fc5c0c9291d8db1207fed17c95ed50
7
+ data.tar.gz: 65cf9f9f0332aaa3e367e4c1cfafef6480ff581314de35f4265bf02daf7f2359f92f293304200abccd62bd63ba916735b02e3eab2fc1bf214dbc613b45d0324d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-firebaseappcheck_v1beta
2
2
 
3
+ ### v0.34.0 (2023-12-10)
4
+
5
+ * Regenerated from discovery document revision 20231204
6
+
3
7
  ### v0.33.0 (2023-10-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20231009
@@ -257,6 +257,55 @@ module Google
257
257
  end
258
258
  end
259
259
 
260
+ # Request message for the BatchUpdateResourcePolicies method.
261
+ class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest
262
+ include Google::Apis::Core::Hashable
263
+
264
+ # Required. The request messages specifying the ResourcePolicys to update. A
265
+ # maximum of 100 objects can be updated in a batch.
266
+ # Corresponds to the JSON property `requests`
267
+ # @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest>]
268
+ attr_accessor :requests
269
+
270
+ # Optional. A comma-separated list of names of fields in the
271
+ # ResourceConfigurations to update. Example: `enforcement_mode`. If this field
272
+ # is present, the `update_mask` field in the UpdateResourcePolicyRequest
273
+ # messages must all match this field, or the entire batch fails and no updates
274
+ # will be committed.
275
+ # Corresponds to the JSON property `updateMask`
276
+ # @return [String]
277
+ attr_accessor :update_mask
278
+
279
+ def initialize(**args)
280
+ update!(**args)
281
+ end
282
+
283
+ # Update properties of this object
284
+ def update!(**args)
285
+ @requests = args[:requests] if args.key?(:requests)
286
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
287
+ end
288
+ end
289
+
290
+ # Response message for the BatchUpdateResourcePolicies method.
291
+ class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse
292
+ include Google::Apis::Core::Hashable
293
+
294
+ # ResourcePolicy objects after the updates have been applied.
295
+ # Corresponds to the JSON property `resourcePolicies`
296
+ # @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy>]
297
+ attr_accessor :resource_policies
298
+
299
+ def initialize(**args)
300
+ update!(**args)
301
+ end
302
+
303
+ # Update properties of this object
304
+ def update!(**args)
305
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
306
+ end
307
+ end
308
+
260
309
  # Request message for the BatchUpdateServices method.
261
310
  class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest
262
311
  include Google::Apis::Core::Hashable
@@ -866,6 +915,35 @@ module Google
866
915
  end
867
916
  end
868
917
 
918
+ # Response message for the ListResourcePolicies method.
919
+ class GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse
920
+ include Google::Apis::Core::Hashable
921
+
922
+ # If the result list is too large to fit in a single response, then a token is
923
+ # returned. If the string is empty or omitted, then this response is the last
924
+ # page of results. This token can be used in a subsequent call to
925
+ # ListResourcePolicies to find the next group of ResourcePolicys. Page tokens
926
+ # are short-lived and should not be persisted.
927
+ # Corresponds to the JSON property `nextPageToken`
928
+ # @return [String]
929
+ attr_accessor :next_page_token
930
+
931
+ # The ResourcePolicys retrieved.
932
+ # Corresponds to the JSON property `resourcePolicies`
933
+ # @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy>]
934
+ attr_accessor :resource_policies
935
+
936
+ def initialize(**args)
937
+ update!(**args)
938
+ end
939
+
940
+ # Update properties of this object
941
+ def update!(**args)
942
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
943
+ @resource_policies = args[:resource_policies] if args.key?(:resource_policies)
944
+ end
945
+ end
946
+
869
947
  # Response message for the ListServices method.
870
948
  class GoogleFirebaseAppcheckV1betaListServicesResponse
871
949
  include Google::Apis::Core::Hashable
@@ -1146,6 +1224,67 @@ module Google
1146
1224
  end
1147
1225
  end
1148
1226
 
1227
+ # App Check enforcement policy for a specific resource of a Firebase service
1228
+ # supported by App Check. Note that this policy will override the Service level
1229
+ # enforcement mode configuration.
1230
+ class GoogleFirebaseAppcheckV1betaResourcePolicy
1231
+ include Google::Apis::Core::Hashable
1232
+
1233
+ # Required. The App Check enforcement mode for this resource. This will override
1234
+ # the EnforcementMode setting on the service. For new resources that you are
1235
+ # creating, you should consider setting an override and enable enforcement on
1236
+ # the resource immediately, if there are no outdated clients that can use it.
1237
+ # Corresponds to the JSON property `enforcementMode`
1238
+ # @return [String]
1239
+ attr_accessor :enforcement_mode
1240
+
1241
+ # This checksum is computed by the server based on the value of other fields,
1242
+ # and may be sent on update and delete requests to ensure the client has an up-
1243
+ # to-date value before proceeding. This etag is strongly validated.
1244
+ # Corresponds to the JSON property `etag`
1245
+ # @return [String]
1246
+ attr_accessor :etag
1247
+
1248
+ # Required. The relative name of the resource configuration object, in the
1249
+ # format: ``` projects/`project_number`/services/`service_id`/resourcePolicies/`
1250
+ # resource_policy_id` ``` Note that the `service_id` element must be a supported
1251
+ # service ID. Currently, the following service IDs are supported: * `oauth2.
1252
+ # googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-
1253
+ # generated UID used as the resource ID for the policy.
1254
+ # Corresponds to the JSON property `name`
1255
+ # @return [String]
1256
+ attr_accessor :name
1257
+
1258
+ # Required. Service specific name of the resource object to which this policy
1259
+ # applies, in the format: * `//oauth2.googleapis.com/projects/`project`/
1260
+ # oauthClients/`oauth_client_id`` (Google Identity for iOS) NOTE that the
1261
+ # resource must belong to the service specified in the `name` and be from the
1262
+ # same project as this policy, but it may or may not exist at the time of
1263
+ # creation of the policy.
1264
+ # Corresponds to the JSON property `targetResource`
1265
+ # @return [String]
1266
+ attr_accessor :target_resource
1267
+
1268
+ # Output only. Timestamp when this service configuration object was most
1269
+ # recently updated.
1270
+ # Corresponds to the JSON property `updateTime`
1271
+ # @return [String]
1272
+ attr_accessor :update_time
1273
+
1274
+ def initialize(**args)
1275
+ update!(**args)
1276
+ end
1277
+
1278
+ # Update properties of this object
1279
+ def update!(**args)
1280
+ @enforcement_mode = args[:enforcement_mode] if args.key?(:enforcement_mode)
1281
+ @etag = args[:etag] if args.key?(:etag)
1282
+ @name = args[:name] if args.key?(:name)
1283
+ @target_resource = args[:target_resource] if args.key?(:target_resource)
1284
+ @update_time = args[:update_time] if args.key?(:update_time)
1285
+ end
1286
+ end
1287
+
1149
1288
  # An app's SafetyNet configuration object. This configuration controls certain
1150
1289
  # properties of the `AppCheckToken` returned by ExchangeSafetyNetToken, such as
1151
1290
  # its ttl. Note that your registered SHA-256 certificate fingerprints are used
@@ -1227,6 +1366,35 @@ module Google
1227
1366
  end
1228
1367
  end
1229
1368
 
1369
+ # Request message for the UpdateResourcePolicy method as well as an individual
1370
+ # update message for the BatchUpdateResourcePolicies method.
1371
+ class GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest
1372
+ include Google::Apis::Core::Hashable
1373
+
1374
+ # App Check enforcement policy for a specific resource of a Firebase service
1375
+ # supported by App Check. Note that this policy will override the Service level
1376
+ # enforcement mode configuration.
1377
+ # Corresponds to the JSON property `resourcePolicy`
1378
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy]
1379
+ attr_accessor :resource_policy
1380
+
1381
+ # Required. A comma-separated list of names of fields in the ResourcePolicy to
1382
+ # update. Example: `enforcement_mode`.
1383
+ # Corresponds to the JSON property `updateMask`
1384
+ # @return [String]
1385
+ attr_accessor :update_mask
1386
+
1387
+ def initialize(**args)
1388
+ update!(**args)
1389
+ end
1390
+
1391
+ # Update properties of this object
1392
+ def update!(**args)
1393
+ @resource_policy = args[:resource_policy] if args.key?(:resource_policy)
1394
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
1395
+ end
1396
+ end
1397
+
1230
1398
  # Request message for the UpdateService method as well as an individual update
1231
1399
  # message for the BatchUpdateServices method.
1232
1400
  class GoogleFirebaseAppcheckV1betaUpdateServiceRequest
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebaseappcheckV1beta
18
18
  # Version of the google-apis-firebaseappcheck_v1beta gem
19
- GEM_VERSION = "0.33.0"
19
+ GEM_VERSION = "0.34.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231009"
25
+ REVISION = "20231204"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,18 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
85
97
  class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest
86
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
99
 
@@ -202,6 +214,12 @@ module Google
202
214
  include Google::Apis::Core::JsonObjectSupport
203
215
  end
204
216
 
217
+ class GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
205
223
  class GoogleFirebaseAppcheckV1betaListServicesResponse
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
225
 
@@ -244,6 +262,12 @@ module Google
244
262
  include Google::Apis::Core::JsonObjectSupport
245
263
  end
246
264
 
265
+ class GoogleFirebaseAppcheckV1betaResourcePolicy
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
247
271
  class GoogleFirebaseAppcheckV1betaSafetyNetConfig
248
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
273
 
@@ -256,6 +280,12 @@ module Google
256
280
  include Google::Apis::Core::JsonObjectSupport
257
281
  end
258
282
 
283
+ class GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest
284
+ class Representation < Google::Apis::Core::JsonRepresentation; end
285
+
286
+ include Google::Apis::Core::JsonObjectSupport
287
+ end
288
+
259
289
  class GoogleFirebaseAppcheckV1betaUpdateServiceRequest
260
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
291
 
@@ -361,6 +391,23 @@ module Google
361
391
  end
362
392
  end
363
393
 
394
+ class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest
395
+ # @private
396
+ class Representation < Google::Apis::Core::JsonRepresentation
397
+ collection :requests, as: 'requests', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest::Representation
398
+
399
+ property :update_mask, as: 'updateMask'
400
+ end
401
+ end
402
+
403
+ class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse
404
+ # @private
405
+ class Representation < Google::Apis::Core::JsonRepresentation
406
+ collection :resource_policies, as: 'resourcePolicies', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
407
+
408
+ end
409
+ end
410
+
364
411
  class GoogleFirebaseAppcheckV1betaBatchUpdateServicesRequest
365
412
  # @private
366
413
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -528,6 +575,15 @@ module Google
528
575
  end
529
576
  end
530
577
 
578
+ class GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :next_page_token, as: 'nextPageToken'
582
+ collection :resource_policies, as: 'resourcePolicies', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
583
+
584
+ end
585
+ end
586
+
531
587
  class GoogleFirebaseAppcheckV1betaListServicesResponse
532
588
  # @private
533
589
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -594,6 +650,17 @@ module Google
594
650
  end
595
651
  end
596
652
 
653
+ class GoogleFirebaseAppcheckV1betaResourcePolicy
654
+ # @private
655
+ class Representation < Google::Apis::Core::JsonRepresentation
656
+ property :enforcement_mode, as: 'enforcementMode'
657
+ property :etag, as: 'etag'
658
+ property :name, as: 'name'
659
+ property :target_resource, as: 'targetResource'
660
+ property :update_time, as: 'updateTime'
661
+ end
662
+ end
663
+
597
664
  class GoogleFirebaseAppcheckV1betaSafetyNetConfig
598
665
  # @private
599
666
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -612,6 +679,15 @@ module Google
612
679
  end
613
680
  end
614
681
 
682
+ class GoogleFirebaseAppcheckV1betaUpdateResourcePolicyRequest
683
+ # @private
684
+ class Representation < Google::Apis::Core::JsonRepresentation
685
+ property :resource_policy, as: 'resourcePolicy', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
686
+
687
+ property :update_mask, as: 'updateMask'
688
+ end
689
+ end
690
+
615
691
  class GoogleFirebaseAppcheckV1betaUpdateServiceRequest
616
692
  # @private
617
693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1899,6 +1899,239 @@ module Google
1899
1899
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1900
1900
  execute_or_queue_command(command, &block)
1901
1901
  end
1902
+
1903
+ # Atomically updates the specified ResourcePolicy configurations.
1904
+ # @param [String] parent
1905
+ # Required. The parent project name and the service, in the format ``` projects/`
1906
+ # project_number`/services/`service_id` ``` The parent collection in the `name`
1907
+ # field of any resource being updated must match this field, or the entire batch
1908
+ # fails.
1909
+ # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest] google_firebase_appcheck_v1beta_batch_update_resource_policies_request_object
1910
+ # @param [String] fields
1911
+ # Selector specifying which fields to include in a partial response.
1912
+ # @param [String] quota_user
1913
+ # Available to use for quota purposes for server-side applications. Can be any
1914
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1915
+ # @param [Google::Apis::RequestOptions] options
1916
+ # Request-specific options
1917
+ #
1918
+ # @yield [result, err] Result & error if block supplied
1919
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse] parsed result object
1920
+ # @yieldparam err [StandardError] error object if request failed
1921
+ #
1922
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse]
1923
+ #
1924
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1925
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1926
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1927
+ def batch_project_service_resource_policy_update(parent, google_firebase_appcheck_v1beta_batch_update_resource_policies_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1928
+ command = make_simple_command(:post, 'v1beta/{+parent}/resourcePolicies:batchUpdate', options)
1929
+ command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest::Representation
1930
+ command.request_object = google_firebase_appcheck_v1beta_batch_update_resource_policies_request_object
1931
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse::Representation
1932
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesResponse
1933
+ command.params['parent'] = parent unless parent.nil?
1934
+ command.query['fields'] = fields unless fields.nil?
1935
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1936
+ execute_or_queue_command(command, &block)
1937
+ end
1938
+
1939
+ # Creates the specified ResourcePolicy configuration.
1940
+ # @param [String] parent
1941
+ # Required. The relative resource name of the parent service in which the
1942
+ # specified ResourcePolicy will be created, in the format: ``` projects/`
1943
+ # project_number`/services/`service_id` ``` Note that the `service_id` element
1944
+ # must be a supported service ID. Currently, the following service IDs are
1945
+ # supported: * `oauth2.googleapis.com` (Google Identity for iOS)
1946
+ # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy] google_firebase_appcheck_v1beta_resource_policy_object
1947
+ # @param [String] fields
1948
+ # Selector specifying which fields to include in a partial response.
1949
+ # @param [String] quota_user
1950
+ # Available to use for quota purposes for server-side applications. Can be any
1951
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1952
+ # @param [Google::Apis::RequestOptions] options
1953
+ # Request-specific options
1954
+ #
1955
+ # @yield [result, err] Result & error if block supplied
1956
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy] parsed result object
1957
+ # @yieldparam err [StandardError] error object if request failed
1958
+ #
1959
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy]
1960
+ #
1961
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1962
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1963
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1964
+ def create_project_service_resource_policy(parent, google_firebase_appcheck_v1beta_resource_policy_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1965
+ command = make_simple_command(:post, 'v1beta/{+parent}/resourcePolicies', options)
1966
+ command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
1967
+ command.request_object = google_firebase_appcheck_v1beta_resource_policy_object
1968
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
1969
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy
1970
+ command.params['parent'] = parent unless parent.nil?
1971
+ command.query['fields'] = fields unless fields.nil?
1972
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1973
+ execute_or_queue_command(command, &block)
1974
+ end
1975
+
1976
+ # Deletes the specified ResourcePolicy configuration.
1977
+ # @param [String] name
1978
+ # Required. The relative resource name of the ResourcePolicy to delete, in the
1979
+ # format: ``` projects/`project_number`/services/`service_id`/resourcePolicies/`
1980
+ # resource_name` ```
1981
+ # @param [String] etag
1982
+ # The checksum to be validated against the current ResourcePolicy, to ensure the
1983
+ # client has an up-to-date value before proceeding. The user can obtain this
1984
+ # from the ResourcePolicy object that they last received. This etag is strongly
1985
+ # validated.
1986
+ # @param [String] fields
1987
+ # Selector specifying which fields to include in a partial response.
1988
+ # @param [String] quota_user
1989
+ # Available to use for quota purposes for server-side applications. Can be any
1990
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1991
+ # @param [Google::Apis::RequestOptions] options
1992
+ # Request-specific options
1993
+ #
1994
+ # @yield [result, err] Result & error if block supplied
1995
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleProtobufEmpty] parsed result object
1996
+ # @yieldparam err [StandardError] error object if request failed
1997
+ #
1998
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleProtobufEmpty]
1999
+ #
2000
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2001
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2002
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2003
+ def delete_project_service_resource_policy(name, etag: nil, fields: nil, quota_user: nil, options: nil, &block)
2004
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
2005
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleProtobufEmpty::Representation
2006
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleProtobufEmpty
2007
+ command.params['name'] = name unless name.nil?
2008
+ command.query['etag'] = etag unless etag.nil?
2009
+ command.query['fields'] = fields unless fields.nil?
2010
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2011
+ execute_or_queue_command(command, &block)
2012
+ end
2013
+
2014
+ # Gets the requested ResourcePolicy configuration.
2015
+ # @param [String] name
2016
+ # Required. The relative resource name of the ResourcePolicy to retrieve, in the
2017
+ # format: ``` projects/`project_number`/services/`service_id`/resourcePolicies/`
2018
+ # resource_policy_id` ``` Note that the `service_id` element must be a supported
2019
+ # service ID. Currently, the following service IDs are supported: * `oauth2.
2020
+ # googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-
2021
+ # generated UID used as the resource ID for the policy.
2022
+ # @param [String] fields
2023
+ # Selector specifying which fields to include in a partial response.
2024
+ # @param [String] quota_user
2025
+ # Available to use for quota purposes for server-side applications. Can be any
2026
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2027
+ # @param [Google::Apis::RequestOptions] options
2028
+ # Request-specific options
2029
+ #
2030
+ # @yield [result, err] Result & error if block supplied
2031
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy] parsed result object
2032
+ # @yieldparam err [StandardError] error object if request failed
2033
+ #
2034
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy]
2035
+ #
2036
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2037
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2038
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2039
+ def get_project_service_resource_policy(name, fields: nil, quota_user: nil, options: nil, &block)
2040
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
2041
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
2042
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy
2043
+ command.params['name'] = name unless name.nil?
2044
+ command.query['fields'] = fields unless fields.nil?
2045
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2046
+ execute_or_queue_command(command, &block)
2047
+ end
2048
+
2049
+ # Lists all ResourcePolicy configurations for the specified project and service.
2050
+ # @param [String] parent
2051
+ # Required. The relative resource name of the parent project and service for
2052
+ # which to list each associated ResourcePolicy, in the format: ``` projects/`
2053
+ # project_number`/services/`service_name` ```
2054
+ # @param [Fixnum] page_size
2055
+ # The maximum number of ResourcePolicys to return in the response. Only
2056
+ # explicitly configured policies are returned. The server may return fewer than
2057
+ # this at its own discretion. If no value is specified (or too large a value is
2058
+ # specified), the server will impose its own limit.
2059
+ # @param [String] page_token
2060
+ # Token returned from a previous call to ListResourcePolicies indicating where
2061
+ # in the set of ResourcePolicys to resume listing. Provide this to retrieve the
2062
+ # subsequent page. When paginating, all other parameters provided to
2063
+ # ListResourcePolicies must match the call that provided the page token; if they
2064
+ # do not match, the result is undefined.
2065
+ # @param [String] fields
2066
+ # Selector specifying which fields to include in a partial response.
2067
+ # @param [String] quota_user
2068
+ # Available to use for quota purposes for server-side applications. Can be any
2069
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2070
+ # @param [Google::Apis::RequestOptions] options
2071
+ # Request-specific options
2072
+ #
2073
+ # @yield [result, err] Result & error if block supplied
2074
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse] parsed result object
2075
+ # @yieldparam err [StandardError] error object if request failed
2076
+ #
2077
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse]
2078
+ #
2079
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2080
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2081
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2082
+ def list_project_service_resource_policies(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2083
+ command = make_simple_command(:get, 'v1beta/{+parent}/resourcePolicies', options)
2084
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse::Representation
2085
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaListResourcePoliciesResponse
2086
+ command.params['parent'] = parent unless parent.nil?
2087
+ command.query['pageSize'] = page_size unless page_size.nil?
2088
+ command.query['pageToken'] = page_token unless page_token.nil?
2089
+ command.query['fields'] = fields unless fields.nil?
2090
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2091
+ execute_or_queue_command(command, &block)
2092
+ end
2093
+
2094
+ # Updates the specified ResourcePolicy configuration.
2095
+ # @param [String] name
2096
+ # Required. The relative name of the resource configuration object, in the
2097
+ # format: ``` projects/`project_number`/services/`service_id`/resourcePolicies/`
2098
+ # resource_policy_id` ``` Note that the `service_id` element must be a supported
2099
+ # service ID. Currently, the following service IDs are supported: * `oauth2.
2100
+ # googleapis.com` (Google Identity for iOS) `resource_policy_id` is a system-
2101
+ # generated UID used as the resource ID for the policy.
2102
+ # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy] google_firebase_appcheck_v1beta_resource_policy_object
2103
+ # @param [String] update_mask
2104
+ # Required. A comma-separated list of names of fields in the ResourcePolicy to
2105
+ # update. Example: `enforcement_mode`.
2106
+ # @param [String] fields
2107
+ # Selector specifying which fields to include in a partial response.
2108
+ # @param [String] quota_user
2109
+ # Available to use for quota purposes for server-side applications. Can be any
2110
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2111
+ # @param [Google::Apis::RequestOptions] options
2112
+ # Request-specific options
2113
+ #
2114
+ # @yield [result, err] Result & error if block supplied
2115
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy] parsed result object
2116
+ # @yieldparam err [StandardError] error object if request failed
2117
+ #
2118
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy]
2119
+ #
2120
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2121
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2122
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2123
+ def patch_project_service_resource_policy(name, google_firebase_appcheck_v1beta_resource_policy_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2124
+ command = make_simple_command(:patch, 'v1beta/{+name}', options)
2125
+ command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
2126
+ command.request_object = google_firebase_appcheck_v1beta_resource_policy_object
2127
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy::Representation
2128
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy
2129
+ command.params['name'] = name unless name.nil?
2130
+ command.query['updateMask'] = update_mask unless update_mask.nil?
2131
+ command.query['fields'] = fields unless fields.nil?
2132
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2133
+ execute_or_queue_command(command, &block)
2134
+ end
1902
2135
 
1903
2136
  protected
1904
2137
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseappcheck_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.34.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: 2023-10-15 00:00:00.000000000 Z
11
+ date: 2023-12-10 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-firebaseappcheck_v1beta/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.33.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.34.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1beta
63
63
  post_install_message:
64
64
  rdoc_options: []