google-apis-firebaseappcheck_v1 0.22.0 → 0.24.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: ce237d9917721359e23fcf39dc78b56e22762bf11cb082995e268c0787a3ff93
4
- data.tar.gz: accb52fd954aac8b5265645426f5cad9fd76f8187ba4b5960b808f6499e1de4b
3
+ metadata.gz: 389ab4563e3ec9a89f84d5c1fd2b243ffcfc795d0e147b54dca225e8616659f9
4
+ data.tar.gz: 6c8a61746f595c8cb33fe1e79119a9d3863fa36f674e130390328946e01f05ec
5
5
  SHA512:
6
- metadata.gz: 508a4476503c94fb8c5654f85657b4d0ab1718566407a66e10a26835f49a5c635cb1bd5cc41aedeea1149424a73419ae158459f4784fc431a5daa3d770762d69
7
- data.tar.gz: a384e5ecd2e32f357084e940743519e35b688ee09ded5d9bc7b90dea804b114695190bdde497c6062d9b49a510c2e8cfd8db341ba1cb29f050a5b0f3cbddcdbe
6
+ metadata.gz: 1401ec13f8697f769638e25cdc91586d432881768b2df2b1f25620b21f097700be33dbd207a593fcb88bec8b65341aeaea17ba49bafed449a4b1008df5872cd6
7
+ data.tar.gz: d8bb3b8cc545b44806353a477efc4ec33930ef9703267107d56029d154c2e3155b2f6cd2915812739dee12c5860b82bd4bde57d958a50ef15b27f2eed2f61f81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseappcheck_v1
2
2
 
3
+ ### v0.24.0 (2026-07-19)
4
+
5
+ * Regenerated from discovery document revision 20260711
6
+
7
+ ### v0.23.0 (2026-06-14)
8
+
9
+ * Regenerated using generator version 0.19.0
10
+
3
11
  ### v0.22.0 (2026-04-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20260403
data/OVERVIEW.md CHANGED
@@ -83,7 +83,7 @@ The [product documentation](https://firebase.google.com/docs/app-check) may prov
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
86
- This library is supported on Ruby 3.1+.
86
+ This library is supported on Ruby 3.2+.
87
87
 
88
88
  Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
89
89
 
@@ -184,25 +184,6 @@ module Google
184
184
  end
185
185
  end
186
186
 
187
- # Response message for the BatchGetSafetyNetConfigs method.
188
- class GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse
189
- include Google::Apis::Core::Hashable
190
-
191
- # SafetyNetConfigs retrieved.
192
- # Corresponds to the JSON property `configs`
193
- # @return [Array<Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig>]
194
- attr_accessor :configs
195
-
196
- def initialize(**args)
197
- update!(**args)
198
- end
199
-
200
- # Update properties of this object
201
- def update!(**args)
202
- @configs = args[:configs] if args.key?(:configs)
203
- end
204
- end
205
-
206
187
  # Request message for the BatchUpdateResourcePolicies method.
207
188
  class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest
208
189
  include Google::Apis::Core::Hashable
@@ -327,7 +308,7 @@ module Google
327
308
 
328
309
  # Required. Input only. Immutable. The secret token itself. Must be provided
329
310
  # during creation, and must be a UUID4, case insensitive. This field is
330
- # immutable once set, and cannot be provided during an UpdateDebugToken request.
311
+ # immutable once set, and cannot be provided during a UpdateDebugToken request.
331
312
  # You can, however, delete this debug token using DeleteDebugToken to revoke it.
332
313
  # For security reasons, this field will never be populated in any response.
333
314
  # Corresponds to the JSON property `token`
@@ -543,6 +524,24 @@ module Google
543
524
  # @return [String]
544
525
  attr_accessor :custom_token
545
526
 
527
+ # Optional. When `limited_use` is set to `true`, this field specifies the
528
+ # desired `jti` claim (Section 4.1.7 of RFC 7519) in the returned App Check
529
+ # token. *Limited use* App Check tokens with the same `jti` will be counted as
530
+ # the same token for the purposes of replay protection. An error is returned if
531
+ # this field is specified without setting `limited_use` to `true`. The size of
532
+ # this field is limited to 500 bytes. If specified, its length must be at least
533
+ # 16 bytes. If this field is omitted or is empty and `limited_use` is set to `
534
+ # true`, a randomly generated `jti` claim with length between 16 and 500 bytes (
535
+ # inclusive) will be used in the returned App Check token. Leaving this field
536
+ # empty is only recommended if your custom attestation provider itself is not
537
+ # vulnerable to replay attacks. When `limited_use` is set to `false`, the
538
+ # presence and the contents of the `jti` claim in the returned App Check token
539
+ # are unspecified. To ensure that the returned App Check token is eligible for
540
+ # limited-use functionality, set `limited_use` to `true`.
541
+ # Corresponds to the JSON property `jti`
542
+ # @return [String]
543
+ attr_accessor :jti
544
+
546
545
  # Specifies whether this attestation is for use in a *limited use* (`true`) or *
547
546
  # session based* (`false`) context. To enable this attestation to be used with
548
547
  # the *replay protection* feature, set this to `true`. The default value is `
@@ -559,6 +558,7 @@ module Google
559
558
  # Update properties of this object
560
559
  def update!(**args)
561
560
  @custom_token = args[:custom_token] if args.key?(:custom_token)
561
+ @jti = args[:jti] if args.key?(:jti)
562
562
  @limited_use = args[:limited_use] if args.key?(:limited_use)
563
563
  end
564
564
  end
@@ -716,26 +716,6 @@ module Google
716
716
  end
717
717
  end
718
718
 
719
- # Request message for the ExchangeSafetyNetToken method.
720
- class GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest
721
- include Google::Apis::Core::Hashable
722
-
723
- # Required. The [SafetyNet attestation response](https://developer.android.com/
724
- # training/safetynet/attestation#request-attestation-step) issued to your app.
725
- # Corresponds to the JSON property `safetyNetToken`
726
- # @return [String]
727
- attr_accessor :safety_net_token
728
-
729
- def initialize(**args)
730
- update!(**args)
731
- end
732
-
733
- # Update properties of this object
734
- def update!(**args)
735
- @safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token)
736
- end
737
- end
738
-
739
719
  # Request message for the GenerateAppAttestChallenge method.
740
720
  class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest
741
721
  include Google::Apis::Core::Hashable
@@ -1304,8 +1284,8 @@ module Google
1304
1284
  class GoogleFirebaseAppcheckV1ResourcePolicy
1305
1285
  include Google::Apis::Core::Hashable
1306
1286
 
1307
- # Required. The App Check enforcement mode for this resource. This will override
1308
- # the App Check overall EnforcementMode setting on the service.
1287
+ # Required. The baseline protection EnforcementMode for this resource. This will
1288
+ # override the service-level baseline protection EnforcementMode.
1309
1289
  # Corresponds to the JSON property `enforcementMode`
1310
1290
  # @return [String]
1311
1291
  attr_accessor :enforcement_mode
@@ -1360,45 +1340,11 @@ module Google
1360
1340
  end
1361
1341
  end
1362
1342
 
1363
- # An app's SafetyNet configuration object. This configuration controls certain
1364
- # properties of the `AppCheckToken` returned by ExchangeSafetyNetToken, such as
1365
- # its ttl. Note that your registered SHA-256 certificate fingerprints are used
1366
- # to validate tokens issued by SafetyNet; please register them via the Firebase
1367
- # Console or programmatically via the [Firebase Management Service](https://
1368
- # firebase.google.com/docs/projects/api/reference/rest/v11/projects.androidApps.
1369
- # sha/create).
1370
- class GoogleFirebaseAppcheckV1SafetyNetConfig
1371
- include Google::Apis::Core::Hashable
1372
-
1373
- # Required. The relative resource name of the SafetyNet configuration object, in
1374
- # the format: ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ```
1375
- # Corresponds to the JSON property `name`
1376
- # @return [String]
1377
- attr_accessor :name
1378
-
1379
- # Specifies the duration for which App Check tokens exchanged from SafetyNet
1380
- # tokens will be valid. If unset, a default value of 1 hour is assumed. Must be
1381
- # between 30 minutes and 7 days, inclusive.
1382
- # Corresponds to the JSON property `tokenTtl`
1383
- # @return [String]
1384
- attr_accessor :token_ttl
1385
-
1386
- def initialize(**args)
1387
- update!(**args)
1388
- end
1389
-
1390
- # Update properties of this object
1391
- def update!(**args)
1392
- @name = args[:name] if args.key?(:name)
1393
- @token_ttl = args[:token_ttl] if args.key?(:token_ttl)
1394
- end
1395
- end
1396
-
1397
1343
  # The enforcement configuration for a Firebase service supported by App Check.
1398
1344
  class GoogleFirebaseAppcheckV1Service
1399
1345
  include Google::Apis::Core::Hashable
1400
1346
 
1401
- # Required. The App Check enforcement mode for this service.
1347
+ # Required. The baseline protection EnforcementMode for this service.
1402
1348
  # Corresponds to the JSON property `enforcementMode`
1403
1349
  # @return [String]
1404
1350
  attr_accessor :enforcement_mode
@@ -1414,24 +1360,29 @@ module Google
1414
1360
  # Required. The relative resource name of the service configuration object, in
1415
1361
  # the format: ``` projects/`project_number`/services/`service_id` ``` Note that
1416
1362
  # the `service_id` element must be a supported service ID. Currently, the
1417
- # following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud
1418
- # Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime
1419
- # Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.
1420
- # com` (Google Identity for iOS)
1363
+ # following service IDs are supported. Firebase and Google Cloud services: * `
1364
+ # identitytoolkit.googleapis.com` (Firebase Authentication) * `
1365
+ # firebasedataconnect.googleapis.com` (Firebase SQL Connect) * `firestore.
1366
+ # googleapis.com` (Cloud Firestore) * `firebasedatabase.googleapis.com` (
1367
+ # Firebase Realtime Database) * `firebasestorage.googleapis.com` (Cloud Storage
1368
+ # for Firebase) * `firebaseml.googleapis.com` (Firebase AI Logic) Google Maps
1369
+ # Platform services: * `maps-backend.googleapis.com` (Maps JavaScript API) * `
1370
+ # places.googleapis.com` (Places API (New)) Other supported Google services: * `
1371
+ # oauth2.googleapis.com` (Google Identity for iOS)
1421
1372
  # Corresponds to the JSON property `name`
1422
1373
  # @return [String]
1423
1374
  attr_accessor :name
1424
1375
 
1425
- # Optional. The replay protection enforcement mode for this service. Note that
1426
- # this field cannot be set to a level higher than the overall App Check
1427
- # enforcement mode. For example, if the overall App Check enforcement mode is
1428
- # set to `UNENFORCED`, this field cannot be set to `ENFORCED`. In order to
1429
- # enforce replay protection, you must first enforce App Check. An HTTP 400 error
1430
- # will be returned in this case. By default, this field is set to `OFF`. Setting
1431
- # this field to `UNENFORCED` or `ENFORCED` is considered opting into replay
1432
- # protection. Once opted in, requests to your protected services may experience
1433
- # higher latency. To opt out of replay protection after opting in, set this
1434
- # field to `OFF`.
1376
+ # Optional. The replay protection EnforcementMode for this service. Note that
1377
+ # this field cannot be set to a level higher than that of baseline protection.
1378
+ # For example, if the enforcement mode for baseline protection is set to `
1379
+ # UNENFORCED`, this field cannot be set to `ENFORCED`. In order to enforce
1380
+ # replay protection, you must first enforce App Check's baseline protection. An
1381
+ # HTTP 400 error will be returned in this case. By default, this field is set to
1382
+ # `OFF`. Setting this field to `UNENFORCED` or `ENFORCED` is considered opting
1383
+ # into replay protection. Opting in can impact your requests by adding some
1384
+ # latency and sometimes cost (depending on your attestation provider). To opt
1385
+ # out of replay protection after opting in, set this field to `OFF`.
1435
1386
  # Corresponds to the JSON property `replayProtection`
1436
1387
  # @return [String]
1437
1388
  attr_accessor :replay_protection
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FirebaseappcheckV1
18
18
  # Version of the google-apis-firebaseappcheck_v1 gem
19
- GEM_VERSION = "0.22.0"
19
+ GEM_VERSION = "0.24.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.18.0"
22
+ GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260403"
25
+ REVISION = "20260711"
26
26
  end
27
27
  end
28
28
  end
@@ -64,12 +64,6 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
67
  class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest
74
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
69
 
@@ -160,12 +154,6 @@ module Google
160
154
  include Google::Apis::Core::JsonObjectSupport
161
155
  end
162
156
 
163
- class GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest
164
- class Representation < Google::Apis::Core::JsonRepresentation; end
165
-
166
- include Google::Apis::Core::JsonObjectSupport
167
- end
168
-
169
157
  class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest
170
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
159
 
@@ -268,12 +256,6 @@ module Google
268
256
  include Google::Apis::Core::JsonObjectSupport
269
257
  end
270
258
 
271
- class GoogleFirebaseAppcheckV1SafetyNetConfig
272
- class Representation < Google::Apis::Core::JsonRepresentation; end
273
-
274
- include Google::Apis::Core::JsonObjectSupport
275
- end
276
-
277
259
  class GoogleFirebaseAppcheckV1Service
278
260
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
261
 
@@ -354,14 +336,6 @@ module Google
354
336
  end
355
337
  end
356
338
 
357
- class GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse
358
- # @private
359
- class Representation < Google::Apis::Core::JsonRepresentation
360
- collection :configs, as: 'configs', class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig, decorator: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig::Representation
361
-
362
- end
363
- end
364
-
365
339
  class GoogleFirebaseAppcheckV1BatchUpdateResourcePoliciesRequest
366
340
  # @private
367
341
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -451,6 +425,7 @@ module Google
451
425
  # @private
452
426
  class Representation < Google::Apis::Core::JsonRepresentation
453
427
  property :custom_token, as: 'customToken'
428
+ property :jti, as: 'jti'
454
429
  property :limited_use, as: 'limitedUse'
455
430
  end
456
431
  end
@@ -495,13 +470,6 @@ module Google
495
470
  end
496
471
  end
497
472
 
498
- class GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest
499
- # @private
500
- class Representation < Google::Apis::Core::JsonRepresentation
501
- property :safety_net_token, as: 'safetyNetToken'
502
- end
503
- end
504
-
505
473
  class GoogleFirebaseAppcheckV1GenerateAppAttestChallengeRequest
506
474
  # @private
507
475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -652,14 +620,6 @@ module Google
652
620
  end
653
621
  end
654
622
 
655
- class GoogleFirebaseAppcheckV1SafetyNetConfig
656
- # @private
657
- class Representation < Google::Apis::Core::JsonRepresentation
658
- property :name, as: 'name'
659
- property :token_ttl, as: 'tokenTtl'
660
- end
661
- end
662
-
663
623
  class GoogleFirebaseAppcheckV1Service
664
624
  # @private
665
625
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -560,44 +560,6 @@ module Google
560
560
  execute_or_queue_command(command, &block)
561
561
  end
562
562
 
563
- # Validates a [SafetyNet token](https://developer.android.com/training/safetynet/
564
- # attestation#request-attestation-step). If valid, returns an AppCheckToken.
565
- # @param [String] app
566
- # Required. The relative resource name of the Android app, in the format: ```
567
- # projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
568
- # element can be replaced with the project ID of the Firebase project. Learn
569
- # more about using project identifiers in Google's [AIP 2510](https://google.aip.
570
- # dev/cloud/2510) standard.
571
- # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest] google_firebase_appcheck_v1_exchange_safety_net_token_request_object
572
- # @param [String] fields
573
- # Selector specifying which fields to include in a partial response.
574
- # @param [String] quota_user
575
- # Available to use for quota purposes for server-side applications. Can be any
576
- # arbitrary string assigned to a user, but should not exceed 40 characters.
577
- # @param [Google::Apis::RequestOptions] options
578
- # Request-specific options
579
- #
580
- # @yield [result, err] Result & error if block supplied
581
- # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken] parsed result object
582
- # @yieldparam err [StandardError] error object if request failed
583
- #
584
- # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken]
585
- #
586
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
587
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
588
- # @raise [Google::Apis::AuthorizationError] Authorization is required
589
- def exchange_project_app_safety_net_token(app, google_firebase_appcheck_v1_exchange_safety_net_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
590
- command = make_simple_command(:post, 'v1/{+app}:exchangeSafetyNetToken', options)
591
- command.request_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeSafetyNetTokenRequest::Representation
592
- command.request_object = google_firebase_appcheck_v1_exchange_safety_net_token_request_object
593
- command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken::Representation
594
- command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1AppCheckToken
595
- command.params['app'] = app unless app.nil?
596
- command.query['fields'] = fields unless fields.nil?
597
- command.query['quotaUser'] = quota_user unless quota_user.nil?
598
- execute_or_queue_command(command, &block)
599
- end
600
-
601
563
  # Generates a challenge that protects the integrity of an immediately following
602
564
  # call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
603
565
  # challenge should not be reused for multiple calls.
@@ -1392,7 +1354,7 @@ module Google
1392
1354
  end
1393
1355
 
1394
1356
  # Updates the RecaptchaV3Config for the specified app. While this configuration
1395
- # is incomplete or invalid, the app will be unable to exchange reCAPTCHA V3
1357
+ # is incomplete or invalid, the app will be unable to exchange reCAPTCHA v3
1396
1358
  # tokens for App Check tokens. For security reasons, the `site_secret` field is
1397
1359
  # never populated in the response.
1398
1360
  # @param [String] name
@@ -1433,115 +1395,6 @@ module Google
1433
1395
  execute_or_queue_command(command, &block)
1434
1396
  end
1435
1397
 
1436
- # Atomically gets the SafetyNetConfigs for the specified list of apps.
1437
- # @param [String] parent
1438
- # Required. The parent project name shared by all SafetyNetConfigs being
1439
- # retrieved, in the format ``` projects/`project_number` ``` The parent
1440
- # collection in the `name` field of any resource being retrieved must match this
1441
- # field, or the entire batch fails.
1442
- # @param [Array<String>, String] names
1443
- # Required. The relative resource names of the SafetyNetConfigs to retrieve, in
1444
- # the format ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ``` A
1445
- # maximum of 100 objects can be retrieved in a batch.
1446
- # @param [String] fields
1447
- # Selector specifying which fields to include in a partial response.
1448
- # @param [String] quota_user
1449
- # Available to use for quota purposes for server-side applications. Can be any
1450
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1451
- # @param [Google::Apis::RequestOptions] options
1452
- # Request-specific options
1453
- #
1454
- # @yield [result, err] Result & error if block supplied
1455
- # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse] parsed result object
1456
- # @yieldparam err [StandardError] error object if request failed
1457
- #
1458
- # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse]
1459
- #
1460
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1461
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1462
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1463
- def batch_project_app_safety_net_config_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
1464
- command = make_simple_command(:get, 'v1/{+parent}/apps/-/safetyNetConfig:batchGet', options)
1465
- command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse::Representation
1466
- command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1BatchGetSafetyNetConfigsResponse
1467
- command.params['parent'] = parent unless parent.nil?
1468
- command.query['names'] = names unless names.nil?
1469
- command.query['fields'] = fields unless fields.nil?
1470
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1471
- execute_or_queue_command(command, &block)
1472
- end
1473
-
1474
- # Gets the SafetyNetConfig for the specified app.
1475
- # @param [String] name
1476
- # Required. The relative resource name of the SafetyNetConfig, in the format: ```
1477
- # projects/`project_number`/apps/`app_id`/safetyNetConfig ```
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::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig] parsed result object
1488
- # @yieldparam err [StandardError] error object if request failed
1489
- #
1490
- # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig]
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 get_project_app_safety_net_config(name, fields: nil, quota_user: nil, options: nil, &block)
1496
- command = make_simple_command(:get, 'v1/{+name}', options)
1497
- command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig::Representation
1498
- command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig
1499
- command.params['name'] = name unless name.nil?
1500
- command.query['fields'] = fields unless fields.nil?
1501
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1502
- execute_or_queue_command(command, &block)
1503
- end
1504
-
1505
- # Updates the SafetyNetConfig for the specified app. While this configuration is
1506
- # incomplete or invalid, the app will be unable to exchange SafetyNet tokens for
1507
- # App Check tokens.
1508
- # @param [String] name
1509
- # Required. The relative resource name of the SafetyNet configuration object, in
1510
- # the format: ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ```
1511
- # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig] google_firebase_appcheck_v1_safety_net_config_object
1512
- # @param [String] update_mask
1513
- # Required. A comma-separated list of names of fields in the SafetyNetConfig to
1514
- # update. Example: `token_ttl`.
1515
- # @param [String] fields
1516
- # Selector specifying which fields to include in a partial response.
1517
- # @param [String] quota_user
1518
- # Available to use for quota purposes for server-side applications. Can be any
1519
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1520
- # @param [Google::Apis::RequestOptions] options
1521
- # Request-specific options
1522
- #
1523
- # @yield [result, err] Result & error if block supplied
1524
- # @yieldparam result [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig] parsed result object
1525
- # @yieldparam err [StandardError] error object if request failed
1526
- #
1527
- # @return [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig]
1528
- #
1529
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1530
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1531
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1532
- def patch_project_app_safety_net_config(name, google_firebase_appcheck_v1_safety_net_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
1533
- command = make_simple_command(:patch, 'v1/{+name}', options)
1534
- command.request_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig::Representation
1535
- command.request_object = google_firebase_appcheck_v1_safety_net_config_object
1536
- command.response_representation = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig::Representation
1537
- command.response_class = Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1SafetyNetConfig
1538
- command.params['name'] = name unless name.nil?
1539
- command.query['updateMask'] = update_mask unless update_mask.nil?
1540
- command.query['fields'] = fields unless fields.nil?
1541
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1542
- execute_or_queue_command(command, &block)
1543
- end
1544
-
1545
1398
  # Atomically updates the specified Service configurations.
1546
1399
  # @param [String] parent
1547
1400
  # Required. The parent project name shared by all Service configurations being
@@ -1582,11 +1435,8 @@ module Google
1582
1435
  # @param [String] name
1583
1436
  # Required. The relative resource name of the Service to retrieve, in the format:
1584
1437
  # ``` projects/`project_number`/services/`service_id` ``` Note that the `
1585
- # service_id` element must be a supported service ID. Currently, the following
1586
- # service IDs are supported: * `firebasestorage.googleapis.com` (Cloud Storage
1587
- # for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database)
1588
- # * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.com` (
1589
- # Google Identity for iOS)
1438
+ # service_id` element must be a supported service ID. Consult the Service.name
1439
+ # field for a list of supported service IDs.
1590
1440
  # @param [String] fields
1591
1441
  # Selector specifying which fields to include in a partial response.
1592
1442
  # @param [String] quota_user
@@ -1665,10 +1515,15 @@ module Google
1665
1515
  # Required. The relative resource name of the service configuration object, in
1666
1516
  # the format: ``` projects/`project_number`/services/`service_id` ``` Note that
1667
1517
  # the `service_id` element must be a supported service ID. Currently, the
1668
- # following service IDs are supported: * `firebasestorage.googleapis.com` (Cloud
1669
- # Storage for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime
1670
- # Database) * `firestore.googleapis.com` (Cloud Firestore) * `oauth2.googleapis.
1671
- # com` (Google Identity for iOS)
1518
+ # following service IDs are supported. Firebase and Google Cloud services: * `
1519
+ # identitytoolkit.googleapis.com` (Firebase Authentication) * `
1520
+ # firebasedataconnect.googleapis.com` (Firebase SQL Connect) * `firestore.
1521
+ # googleapis.com` (Cloud Firestore) * `firebasedatabase.googleapis.com` (
1522
+ # Firebase Realtime Database) * `firebasestorage.googleapis.com` (Cloud Storage
1523
+ # for Firebase) * `firebaseml.googleapis.com` (Firebase AI Logic) Google Maps
1524
+ # Platform services: * `maps-backend.googleapis.com` (Maps JavaScript API) * `
1525
+ # places.googleapis.com` (Places API (New)) Other supported Google services: * `
1526
+ # oauth2.googleapis.com` (Google Identity for iOS)
1672
1527
  # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1Service] google_firebase_appcheck_v1_service_object
1673
1528
  # @param [String] update_mask
1674
1529
  # Required. A comma-separated list of names of fields in the Service to update.
@@ -1743,8 +1598,8 @@ module Google
1743
1598
  # Required. The relative resource name of the parent Service in which the
1744
1599
  # specified ResourcePolicy will be created, in the format: ``` projects/`
1745
1600
  # project_number`/services/`service_id` ``` Note that the `service_id` element
1746
- # must be a supported service ID. Currently, the following service IDs are
1747
- # supported: * `oauth2.googleapis.com` (Google Identity for iOS)
1601
+ # must be a supported service ID. Consult the ResourcePolicy.name field for a
1602
+ # list of supported service IDs.
1748
1603
  # @param [Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ResourcePolicy] google_firebase_appcheck_v1_resource_policy_object
1749
1604
  # @param [String] fields
1750
1605
  # Selector specifying which fields to include in a partial response.
@@ -1821,8 +1676,8 @@ module Google
1821
1676
  # Required. The relative resource name of the ResourcePolicy to retrieve, in the
1822
1677
  # format: ``` projects/`project_number`/services/`service_id`/resourcePolicies/`
1823
1678
  # resource_policy_id` ``` Note that the `service_id` element must be a supported
1824
- # service ID. Currently, the following service IDs are supported: * `oauth2.
1825
- # googleapis.com` (Google Identity for iOS)
1679
+ # service ID. Consult the ResourcePolicy.name field for a list of supported
1680
+ # service IDs.
1826
1681
  # @param [String] fields
1827
1682
  # Selector specifying which fields to include in a partial response.
1828
1683
  # @param [String] quota_user
@@ -1855,8 +1710,8 @@ module Google
1855
1710
  # Required. The relative resource name of the parent Service for which to list
1856
1711
  # each associated ResourcePolicy, in the format: ``` projects/`project_number`/
1857
1712
  # services/`service_id` ``` Note that the `service_id` element must be a
1858
- # supported service ID. Currently, the following service IDs are supported: * `
1859
- # oauth2.googleapis.com` (Google Identity for iOS)
1713
+ # supported service ID. Consult the ResourcePolicy.name field for a list of
1714
+ # supported service IDs.
1860
1715
  # @param [String] filter
1861
1716
  # Optional. Filters the results by the specified rule. For the exact syntax of
1862
1717
  # this field, please consult the [AIP-160](https://google.aip.dev/160) standard.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-firebaseappcheck_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1/v0.22.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1/v0.24.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1
62
62
  rdoc_options: []
63
63
  require_paths:
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: '3.1'
69
+ version: '3.2'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
72
  - - ">="