google-apis-firebaseappcheck_v1beta 0.49.0 → 0.50.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/firebaseappcheck_v1beta/classes.rb +27 -96
- data/lib/google/apis/firebaseappcheck_v1beta/gem_version.rb +2 -2
- data/lib/google/apis/firebaseappcheck_v1beta/representations.rb +0 -41
- data/lib/google/apis/firebaseappcheck_v1beta/service.rb +18 -165
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cdb4b7d877f48e5d7377cafb19c44b2b559fbe3d13621c747b78dd9355212a9a
|
|
4
|
+
data.tar.gz: 4838d866afbe217032e05dbe895df93ce7b99e005dd68bbc54d673d8ed516617
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e16794a8ec52f3c15b42333f7c4a33df0b128862a57e7333ce042762dce49bae3e7d00437666e5291240d230c5f0a42eb5a88187b5080d258fa3d36ab34da76d
|
|
7
|
+
data.tar.gz: 79475bd040e650bd6ac76131e816f69f9a5914e99cc058ed9b39398b9428d20f778b371d35d23fb43766826d25ad9309cd1e7412242365e00632be19a280d535
|
data/CHANGELOG.md
CHANGED
|
@@ -244,25 +244,6 @@ module Google
|
|
|
244
244
|
end
|
|
245
245
|
end
|
|
246
246
|
|
|
247
|
-
# Response message for the BatchGetSafetyNetConfigs method.
|
|
248
|
-
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
|
249
|
-
include Google::Apis::Core::Hashable
|
|
250
|
-
|
|
251
|
-
# SafetyNetConfigs retrieved.
|
|
252
|
-
# Corresponds to the JSON property `configs`
|
|
253
|
-
# @return [Array<Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig>]
|
|
254
|
-
attr_accessor :configs
|
|
255
|
-
|
|
256
|
-
def initialize(**args)
|
|
257
|
-
update!(**args)
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
# Update properties of this object
|
|
261
|
-
def update!(**args)
|
|
262
|
-
@configs = args[:configs] if args.key?(:configs)
|
|
263
|
-
end
|
|
264
|
-
end
|
|
265
|
-
|
|
266
247
|
# Request message for the BatchUpdateResourcePolicies method.
|
|
267
248
|
class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest
|
|
268
249
|
include Google::Apis::Core::Hashable
|
|
@@ -387,7 +368,7 @@ module Google
|
|
|
387
368
|
|
|
388
369
|
# Required. Input only. Immutable. The secret token itself. Must be provided
|
|
389
370
|
# during creation, and must be a UUID4, case insensitive. This field is
|
|
390
|
-
# immutable once set, and cannot be provided during
|
|
371
|
+
# immutable once set, and cannot be provided during a UpdateDebugToken request.
|
|
391
372
|
# You can, however, delete this debug token using DeleteDebugToken to revoke it.
|
|
392
373
|
# For security reasons, this field will never be populated in any response.
|
|
393
374
|
# Corresponds to the JSON property `token`
|
|
@@ -620,10 +601,10 @@ module Google
|
|
|
620
601
|
# true`, a randomly generated `jti` claim with length between 16 and 500 bytes (
|
|
621
602
|
# inclusive) will be used in the returned App Check token. Leaving this field
|
|
622
603
|
# empty is only recommended if your custom attestation provider itself is not
|
|
623
|
-
# vulnerable to replay attacks. When `limited_use` is set to `false`,
|
|
624
|
-
#
|
|
625
|
-
#
|
|
626
|
-
#
|
|
604
|
+
# vulnerable to replay attacks. When `limited_use` is set to `false`, the
|
|
605
|
+
# presence and the contents of the `jti` claim in the returned App Check token
|
|
606
|
+
# are unspecified. To ensure that the returned App Check token is eligible for
|
|
607
|
+
# limited-use functionality, set `limited_use` to `true`.
|
|
627
608
|
# Corresponds to the JSON property `jti`
|
|
628
609
|
# @return [String]
|
|
629
610
|
attr_accessor :jti
|
|
@@ -822,26 +803,6 @@ module Google
|
|
|
822
803
|
end
|
|
823
804
|
end
|
|
824
805
|
|
|
825
|
-
# Request message for the ExchangeSafetyNetToken method.
|
|
826
|
-
class GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest
|
|
827
|
-
include Google::Apis::Core::Hashable
|
|
828
|
-
|
|
829
|
-
# Required. The [SafetyNet attestation response](https://developer.android.com/
|
|
830
|
-
# training/safetynet/attestation#request-attestation-step) issued to your app.
|
|
831
|
-
# Corresponds to the JSON property `safetyNetToken`
|
|
832
|
-
# @return [String]
|
|
833
|
-
attr_accessor :safety_net_token
|
|
834
|
-
|
|
835
|
-
def initialize(**args)
|
|
836
|
-
update!(**args)
|
|
837
|
-
end
|
|
838
|
-
|
|
839
|
-
# Update properties of this object
|
|
840
|
-
def update!(**args)
|
|
841
|
-
@safety_net_token = args[:safety_net_token] if args.key?(:safety_net_token)
|
|
842
|
-
end
|
|
843
|
-
end
|
|
844
|
-
|
|
845
806
|
# Request message for the GenerateAppAttestChallenge method.
|
|
846
807
|
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest
|
|
847
808
|
include Google::Apis::Core::Hashable
|
|
@@ -1467,8 +1428,8 @@ module Google
|
|
|
1467
1428
|
class GoogleFirebaseAppcheckV1betaResourcePolicy
|
|
1468
1429
|
include Google::Apis::Core::Hashable
|
|
1469
1430
|
|
|
1470
|
-
# Required. The
|
|
1471
|
-
# the
|
|
1431
|
+
# Required. The baseline protection EnforcementMode for this resource. This will
|
|
1432
|
+
# override the service-level baseline protection EnforcementMode.
|
|
1472
1433
|
# Corresponds to the JSON property `enforcementMode`
|
|
1473
1434
|
# @return [String]
|
|
1474
1435
|
attr_accessor :enforcement_mode
|
|
@@ -1523,45 +1484,11 @@ module Google
|
|
|
1523
1484
|
end
|
|
1524
1485
|
end
|
|
1525
1486
|
|
|
1526
|
-
# An app's SafetyNet configuration object. This configuration controls certain
|
|
1527
|
-
# properties of the `AppCheckToken` returned by ExchangeSafetyNetToken, such as
|
|
1528
|
-
# its ttl. Note that your registered SHA-256 certificate fingerprints are used
|
|
1529
|
-
# to validate tokens issued by SafetyNet; please register them via the Firebase
|
|
1530
|
-
# Console or programmatically via the [Firebase Management Service](https://
|
|
1531
|
-
# firebase.google.com/docs/projects/api/reference/rest/v1beta1/projects.
|
|
1532
|
-
# androidApps.sha/create).
|
|
1533
|
-
class GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
|
1534
|
-
include Google::Apis::Core::Hashable
|
|
1535
|
-
|
|
1536
|
-
# Required. The relative resource name of the SafetyNet configuration object, in
|
|
1537
|
-
# the format: ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ```
|
|
1538
|
-
# Corresponds to the JSON property `name`
|
|
1539
|
-
# @return [String]
|
|
1540
|
-
attr_accessor :name
|
|
1541
|
-
|
|
1542
|
-
# Specifies the duration for which App Check tokens exchanged from SafetyNet
|
|
1543
|
-
# tokens will be valid. If unset, a default value of 1 hour is assumed. Must be
|
|
1544
|
-
# between 30 minutes and 7 days, inclusive.
|
|
1545
|
-
# Corresponds to the JSON property `tokenTtl`
|
|
1546
|
-
# @return [String]
|
|
1547
|
-
attr_accessor :token_ttl
|
|
1548
|
-
|
|
1549
|
-
def initialize(**args)
|
|
1550
|
-
update!(**args)
|
|
1551
|
-
end
|
|
1552
|
-
|
|
1553
|
-
# Update properties of this object
|
|
1554
|
-
def update!(**args)
|
|
1555
|
-
@name = args[:name] if args.key?(:name)
|
|
1556
|
-
@token_ttl = args[:token_ttl] if args.key?(:token_ttl)
|
|
1557
|
-
end
|
|
1558
|
-
end
|
|
1559
|
-
|
|
1560
1487
|
# The enforcement configuration for a Firebase service supported by App Check.
|
|
1561
1488
|
class GoogleFirebaseAppcheckV1betaService
|
|
1562
1489
|
include Google::Apis::Core::Hashable
|
|
1563
1490
|
|
|
1564
|
-
# Required. The
|
|
1491
|
+
# Required. The baseline protection EnforcementMode for this service.
|
|
1565
1492
|
# Corresponds to the JSON property `enforcementMode`
|
|
1566
1493
|
# @return [String]
|
|
1567
1494
|
attr_accessor :enforcement_mode
|
|
@@ -1577,25 +1504,29 @@ module Google
|
|
|
1577
1504
|
# Required. The relative resource name of the service configuration object, in
|
|
1578
1505
|
# the format: ``` projects/`project_number`/services/`service_id` ``` Note that
|
|
1579
1506
|
# the `service_id` element must be a supported service ID. Currently, the
|
|
1580
|
-
# following service IDs are supported: * `
|
|
1581
|
-
#
|
|
1582
|
-
#
|
|
1583
|
-
# googleapis.com` (
|
|
1584
|
-
# googleapis.com` (
|
|
1507
|
+
# following service IDs are supported. Firebase and Google Cloud services: * `
|
|
1508
|
+
# identitytoolkit.googleapis.com` (Firebase Authentication) * `
|
|
1509
|
+
# firebasedataconnect.googleapis.com` (Firebase SQL Connect) * `firestore.
|
|
1510
|
+
# googleapis.com` (Cloud Firestore) * `firebasedatabase.googleapis.com` (
|
|
1511
|
+
# Firebase Realtime Database) * `firebasestorage.googleapis.com` (Cloud Storage
|
|
1512
|
+
# for Firebase) * `firebaseml.googleapis.com` (Firebase AI Logic) Google Maps
|
|
1513
|
+
# Platform services: * `maps-backend.googleapis.com` (Maps JavaScript API) * `
|
|
1514
|
+
# places.googleapis.com` (Places API (New)) Other supported Google services: * `
|
|
1515
|
+
# oauth2.googleapis.com` (Google Identity for iOS)
|
|
1585
1516
|
# Corresponds to the JSON property `name`
|
|
1586
1517
|
# @return [String]
|
|
1587
1518
|
attr_accessor :name
|
|
1588
1519
|
|
|
1589
|
-
# Optional. The replay protection
|
|
1590
|
-
# this field cannot be set to a level higher than
|
|
1591
|
-
#
|
|
1592
|
-
#
|
|
1593
|
-
#
|
|
1594
|
-
# will be returned in this case. By default, this field is set to
|
|
1595
|
-
# this field to `UNENFORCED` or `ENFORCED` is considered opting
|
|
1596
|
-
# protection.
|
|
1597
|
-
#
|
|
1598
|
-
# field to `OFF`.
|
|
1520
|
+
# Optional. The replay protection EnforcementMode for this service. Note that
|
|
1521
|
+
# this field cannot be set to a level higher than that of baseline protection.
|
|
1522
|
+
# For example, if the enforcement mode for baseline protection is set to `
|
|
1523
|
+
# UNENFORCED`, this field cannot be set to `ENFORCED`. In order to enforce
|
|
1524
|
+
# replay protection, you must first enforce App Check's baseline protection. An
|
|
1525
|
+
# HTTP 400 error will be returned in this case. By default, this field is set to
|
|
1526
|
+
# `OFF`. Setting this field to `UNENFORCED` or `ENFORCED` is considered opting
|
|
1527
|
+
# into replay protection. Opting in can impact your requests by adding some
|
|
1528
|
+
# latency and sometimes cost (depending on your attestation provider). To opt
|
|
1529
|
+
# out of replay protection after opting in, set this field to `OFF`.
|
|
1599
1530
|
# Corresponds to the JSON property `replayProtection`
|
|
1600
1531
|
# @return [String]
|
|
1601
1532
|
attr_accessor :replay_protection
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.50.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260711"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -76,12 +76,6 @@ module Google
|
|
|
76
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
79
|
class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest
|
|
86
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
81
|
|
|
@@ -178,12 +172,6 @@ module Google
|
|
|
178
172
|
include Google::Apis::Core::JsonObjectSupport
|
|
179
173
|
end
|
|
180
174
|
|
|
181
|
-
class GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest
|
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
183
|
-
|
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
185
|
-
end
|
|
186
|
-
|
|
187
175
|
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest
|
|
188
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
189
177
|
|
|
@@ -292,12 +280,6 @@ module Google
|
|
|
292
280
|
include Google::Apis::Core::JsonObjectSupport
|
|
293
281
|
end
|
|
294
282
|
|
|
295
|
-
class GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
|
296
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
297
|
-
|
|
298
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
299
|
-
end
|
|
300
|
-
|
|
301
283
|
class GoogleFirebaseAppcheckV1betaService
|
|
302
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
303
285
|
|
|
@@ -407,14 +389,6 @@ module Google
|
|
|
407
389
|
end
|
|
408
390
|
end
|
|
409
391
|
|
|
410
|
-
class GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
|
411
|
-
# @private
|
|
412
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
413
|
-
collection :configs, as: 'configs', class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig, decorator: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
|
|
414
|
-
|
|
415
|
-
end
|
|
416
|
-
end
|
|
417
|
-
|
|
418
392
|
class GoogleFirebaseAppcheckV1betaBatchUpdateResourcePoliciesRequest
|
|
419
393
|
# @private
|
|
420
394
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -558,13 +532,6 @@ module Google
|
|
|
558
532
|
end
|
|
559
533
|
end
|
|
560
534
|
|
|
561
|
-
class GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest
|
|
562
|
-
# @private
|
|
563
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
564
|
-
property :safety_net_token, as: 'safetyNetToken'
|
|
565
|
-
end
|
|
566
|
-
end
|
|
567
|
-
|
|
568
535
|
class GoogleFirebaseAppcheckV1betaGenerateAppAttestChallengeRequest
|
|
569
536
|
# @private
|
|
570
537
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -726,14 +693,6 @@ module Google
|
|
|
726
693
|
end
|
|
727
694
|
end
|
|
728
695
|
|
|
729
|
-
class GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
|
730
|
-
# @private
|
|
731
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
732
|
-
property :name, as: 'name'
|
|
733
|
-
property :token_ttl, as: 'tokenTtl'
|
|
734
|
-
end
|
|
735
|
-
end
|
|
736
|
-
|
|
737
696
|
class GoogleFirebaseAppcheckV1betaService
|
|
738
697
|
# @private
|
|
739
698
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -697,44 +697,6 @@ module Google
|
|
|
697
697
|
execute_or_queue_command(command, &block)
|
|
698
698
|
end
|
|
699
699
|
|
|
700
|
-
# Validates a [SafetyNet token](https://developer.android.com/training/safetynet/
|
|
701
|
-
# attestation#request-attestation-step). If valid, returns an AppCheckToken.
|
|
702
|
-
# @param [String] app
|
|
703
|
-
# Required. The relative resource name of the Android app, in the format: ```
|
|
704
|
-
# projects/`project_number`/apps/`app_id` ``` If necessary, the `project_number`
|
|
705
|
-
# element can be replaced with the project ID of the Firebase project. Learn
|
|
706
|
-
# more about using project identifiers in Google's [AIP 2510](https://google.aip.
|
|
707
|
-
# dev/cloud/2510) standard.
|
|
708
|
-
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest] google_firebase_appcheck_v1beta_exchange_safety_net_token_request_object
|
|
709
|
-
# @param [String] fields
|
|
710
|
-
# Selector specifying which fields to include in a partial response.
|
|
711
|
-
# @param [String] quota_user
|
|
712
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
713
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
714
|
-
# @param [Google::Apis::RequestOptions] options
|
|
715
|
-
# Request-specific options
|
|
716
|
-
#
|
|
717
|
-
# @yield [result, err] Result & error if block supplied
|
|
718
|
-
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken] parsed result object
|
|
719
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
720
|
-
#
|
|
721
|
-
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken]
|
|
722
|
-
#
|
|
723
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
724
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
725
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
726
|
-
def exchange_project_app_safety_net_token(app, google_firebase_appcheck_v1beta_exchange_safety_net_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
727
|
-
command = make_simple_command(:post, 'v1beta/{+app}:exchangeSafetyNetToken', options)
|
|
728
|
-
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeSafetyNetTokenRequest::Representation
|
|
729
|
-
command.request_object = google_firebase_appcheck_v1beta_exchange_safety_net_token_request_object
|
|
730
|
-
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken::Representation
|
|
731
|
-
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken
|
|
732
|
-
command.params['app'] = app unless app.nil?
|
|
733
|
-
command.query['fields'] = fields unless fields.nil?
|
|
734
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
735
|
-
execute_or_queue_command(command, &block)
|
|
736
|
-
end
|
|
737
|
-
|
|
738
700
|
# Generates a challenge that protects the integrity of an immediately following
|
|
739
701
|
# call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
|
|
740
702
|
# challenge should not be reused for multiple calls.
|
|
@@ -1647,7 +1609,7 @@ module Google
|
|
|
1647
1609
|
end
|
|
1648
1610
|
|
|
1649
1611
|
# Updates the RecaptchaV3Config for the specified app. While this configuration
|
|
1650
|
-
# is incomplete or invalid, the app will be unable to exchange reCAPTCHA
|
|
1612
|
+
# is incomplete or invalid, the app will be unable to exchange reCAPTCHA v3
|
|
1651
1613
|
# tokens for App Check tokens. For security reasons, the `site_secret` field is
|
|
1652
1614
|
# never populated in the response.
|
|
1653
1615
|
# @param [String] name
|
|
@@ -1688,115 +1650,6 @@ module Google
|
|
|
1688
1650
|
execute_or_queue_command(command, &block)
|
|
1689
1651
|
end
|
|
1690
1652
|
|
|
1691
|
-
# Atomically gets the SafetyNetConfigs for the specified list of apps.
|
|
1692
|
-
# @param [String] parent
|
|
1693
|
-
# Required. The parent project name shared by all SafetyNetConfigs being
|
|
1694
|
-
# retrieved, in the format ``` projects/`project_number` ``` The parent
|
|
1695
|
-
# collection in the `name` field of any resource being retrieved must match this
|
|
1696
|
-
# field, or the entire batch fails.
|
|
1697
|
-
# @param [Array<String>, String] names
|
|
1698
|
-
# Required. The relative resource names of the SafetyNetConfigs to retrieve, in
|
|
1699
|
-
# the format ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ``` A
|
|
1700
|
-
# maximum of 100 objects can be retrieved in a batch.
|
|
1701
|
-
# @param [String] fields
|
|
1702
|
-
# Selector specifying which fields to include in a partial response.
|
|
1703
|
-
# @param [String] quota_user
|
|
1704
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1705
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1706
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1707
|
-
# Request-specific options
|
|
1708
|
-
#
|
|
1709
|
-
# @yield [result, err] Result & error if block supplied
|
|
1710
|
-
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse] parsed result object
|
|
1711
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1712
|
-
#
|
|
1713
|
-
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse]
|
|
1714
|
-
#
|
|
1715
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1716
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1717
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1718
|
-
def batch_project_app_safety_net_config_get(parent, names: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1719
|
-
command = make_simple_command(:get, 'v1beta/{+parent}/apps/-/safetyNetConfig:batchGet', options)
|
|
1720
|
-
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse::Representation
|
|
1721
|
-
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaBatchGetSafetyNetConfigsResponse
|
|
1722
|
-
command.params['parent'] = parent unless parent.nil?
|
|
1723
|
-
command.query['names'] = names unless names.nil?
|
|
1724
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1725
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1726
|
-
execute_or_queue_command(command, &block)
|
|
1727
|
-
end
|
|
1728
|
-
|
|
1729
|
-
# Gets the SafetyNetConfig for the specified app.
|
|
1730
|
-
# @param [String] name
|
|
1731
|
-
# Required. The relative resource name of the SafetyNetConfig, in the format: ```
|
|
1732
|
-
# projects/`project_number`/apps/`app_id`/safetyNetConfig ```
|
|
1733
|
-
# @param [String] fields
|
|
1734
|
-
# Selector specifying which fields to include in a partial response.
|
|
1735
|
-
# @param [String] quota_user
|
|
1736
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1737
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1738
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1739
|
-
# Request-specific options
|
|
1740
|
-
#
|
|
1741
|
-
# @yield [result, err] Result & error if block supplied
|
|
1742
|
-
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig] parsed result object
|
|
1743
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1744
|
-
#
|
|
1745
|
-
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig]
|
|
1746
|
-
#
|
|
1747
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1748
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1749
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1750
|
-
def get_project_app_safety_net_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1751
|
-
command = make_simple_command(:get, 'v1beta/{+name}', options)
|
|
1752
|
-
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
|
|
1753
|
-
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
|
1754
|
-
command.params['name'] = name unless name.nil?
|
|
1755
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1756
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1757
|
-
execute_or_queue_command(command, &block)
|
|
1758
|
-
end
|
|
1759
|
-
|
|
1760
|
-
# Updates the SafetyNetConfig for the specified app. While this configuration is
|
|
1761
|
-
# incomplete or invalid, the app will be unable to exchange SafetyNet tokens for
|
|
1762
|
-
# App Check tokens.
|
|
1763
|
-
# @param [String] name
|
|
1764
|
-
# Required. The relative resource name of the SafetyNet configuration object, in
|
|
1765
|
-
# the format: ``` projects/`project_number`/apps/`app_id`/safetyNetConfig ```
|
|
1766
|
-
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig] google_firebase_appcheck_v1beta_safety_net_config_object
|
|
1767
|
-
# @param [String] update_mask
|
|
1768
|
-
# Required. A comma-separated list of names of fields in the SafetyNetConfig to
|
|
1769
|
-
# update. Example: `token_ttl`.
|
|
1770
|
-
# @param [String] fields
|
|
1771
|
-
# Selector specifying which fields to include in a partial response.
|
|
1772
|
-
# @param [String] quota_user
|
|
1773
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
1774
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1775
|
-
# @param [Google::Apis::RequestOptions] options
|
|
1776
|
-
# Request-specific options
|
|
1777
|
-
#
|
|
1778
|
-
# @yield [result, err] Result & error if block supplied
|
|
1779
|
-
# @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig] parsed result object
|
|
1780
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
1781
|
-
#
|
|
1782
|
-
# @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig]
|
|
1783
|
-
#
|
|
1784
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1785
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1786
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1787
|
-
def patch_project_app_safety_net_config(name, google_firebase_appcheck_v1beta_safety_net_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1788
|
-
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
|
1789
|
-
command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
|
|
1790
|
-
command.request_object = google_firebase_appcheck_v1beta_safety_net_config_object
|
|
1791
|
-
command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig::Representation
|
|
1792
|
-
command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaSafetyNetConfig
|
|
1793
|
-
command.params['name'] = name unless name.nil?
|
|
1794
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
1795
|
-
command.query['fields'] = fields unless fields.nil?
|
|
1796
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1797
|
-
execute_or_queue_command(command, &block)
|
|
1798
|
-
end
|
|
1799
|
-
|
|
1800
1653
|
# Atomically updates the specified Service configurations.
|
|
1801
1654
|
# @param [String] parent
|
|
1802
1655
|
# Required. The parent project name shared by all Service configurations being
|
|
@@ -1837,12 +1690,8 @@ module Google
|
|
|
1837
1690
|
# @param [String] name
|
|
1838
1691
|
# Required. The relative resource name of the Service to retrieve, in the format:
|
|
1839
1692
|
# ``` projects/`project_number`/services/`service_id` ``` Note that the `
|
|
1840
|
-
# service_id` element must be a supported service ID.
|
|
1841
|
-
#
|
|
1842
|
-
# for Firebase) * `firebasedatabase.googleapis.com` (Firebase Realtime Database)
|
|
1843
|
-
# * `firestore.googleapis.com` (Cloud Firestore) * `identitytoolkit.googleapis.
|
|
1844
|
-
# com` (Firebase Authentication with Identity Platform) * `oauth2.googleapis.com`
|
|
1845
|
-
# (Google Identity for iOS)
|
|
1693
|
+
# service_id` element must be a supported service ID. Consult the Service.name
|
|
1694
|
+
# field for a list of supported service IDs.
|
|
1846
1695
|
# @param [String] fields
|
|
1847
1696
|
# Selector specifying which fields to include in a partial response.
|
|
1848
1697
|
# @param [String] quota_user
|
|
@@ -1921,11 +1770,15 @@ module Google
|
|
|
1921
1770
|
# Required. The relative resource name of the service configuration object, in
|
|
1922
1771
|
# the format: ``` projects/`project_number`/services/`service_id` ``` Note that
|
|
1923
1772
|
# the `service_id` element must be a supported service ID. Currently, the
|
|
1924
|
-
# following service IDs are supported: * `
|
|
1925
|
-
#
|
|
1926
|
-
#
|
|
1927
|
-
# googleapis.com` (
|
|
1928
|
-
# googleapis.com` (
|
|
1773
|
+
# following service IDs are supported. Firebase and Google Cloud services: * `
|
|
1774
|
+
# identitytoolkit.googleapis.com` (Firebase Authentication) * `
|
|
1775
|
+
# firebasedataconnect.googleapis.com` (Firebase SQL Connect) * `firestore.
|
|
1776
|
+
# googleapis.com` (Cloud Firestore) * `firebasedatabase.googleapis.com` (
|
|
1777
|
+
# Firebase Realtime Database) * `firebasestorage.googleapis.com` (Cloud Storage
|
|
1778
|
+
# for Firebase) * `firebaseml.googleapis.com` (Firebase AI Logic) Google Maps
|
|
1779
|
+
# Platform services: * `maps-backend.googleapis.com` (Maps JavaScript API) * `
|
|
1780
|
+
# places.googleapis.com` (Places API (New)) Other supported Google services: * `
|
|
1781
|
+
# oauth2.googleapis.com` (Google Identity for iOS)
|
|
1929
1782
|
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaService] google_firebase_appcheck_v1beta_service_object
|
|
1930
1783
|
# @param [String] update_mask
|
|
1931
1784
|
# Required. A comma-separated list of names of fields in the Service to update.
|
|
@@ -2000,8 +1853,8 @@ module Google
|
|
|
2000
1853
|
# Required. The relative resource name of the parent Service in which the
|
|
2001
1854
|
# specified ResourcePolicy will be created, in the format: ``` projects/`
|
|
2002
1855
|
# project_number`/services/`service_id` ``` Note that the `service_id` element
|
|
2003
|
-
# must be a supported service ID.
|
|
2004
|
-
# supported
|
|
1856
|
+
# must be a supported service ID. Consult the ResourcePolicy.name field for a
|
|
1857
|
+
# list of supported service IDs.
|
|
2005
1858
|
# @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaResourcePolicy] google_firebase_appcheck_v1beta_resource_policy_object
|
|
2006
1859
|
# @param [String] fields
|
|
2007
1860
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -2078,8 +1931,8 @@ module Google
|
|
|
2078
1931
|
# Required. The relative resource name of the ResourcePolicy to retrieve, in the
|
|
2079
1932
|
# format: ``` projects/`project_number`/services/`service_id`/resourcePolicies/`
|
|
2080
1933
|
# resource_policy_id` ``` Note that the `service_id` element must be a supported
|
|
2081
|
-
# service ID.
|
|
2082
|
-
#
|
|
1934
|
+
# service ID. Consult the ResourcePolicy.name field for a list of supported
|
|
1935
|
+
# service IDs.
|
|
2083
1936
|
# @param [String] fields
|
|
2084
1937
|
# Selector specifying which fields to include in a partial response.
|
|
2085
1938
|
# @param [String] quota_user
|
|
@@ -2112,8 +1965,8 @@ module Google
|
|
|
2112
1965
|
# Required. The relative resource name of the parent Service for which to list
|
|
2113
1966
|
# each associated ResourcePolicy, in the format: ``` projects/`project_number`/
|
|
2114
1967
|
# services/`service_id` ``` Note that the `service_id` element must be a
|
|
2115
|
-
# supported service ID.
|
|
2116
|
-
#
|
|
1968
|
+
# supported service ID. Consult the ResourcePolicy.name field for a list of
|
|
1969
|
+
# supported service IDs.
|
|
2117
1970
|
# @param [String] filter
|
|
2118
1971
|
# Optional. Filters the results by the specified rule. For the exact syntax of
|
|
2119
1972
|
# 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_v1beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.50.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_v1beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.50.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseappcheck_v1beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|