google-apis-firebaseappcheck_v1beta 0.31.0 → 0.33.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: 7a1f325419950fffd6a74ab88c0a34b6bc5d9eb70db5adf29992cfbe261a7ea8
4
- data.tar.gz: '0069ce589f281dea903fc5f7f2866fdafc9e0b58f0a03e9aa4aa91ee5166434d'
3
+ metadata.gz: c762f388d2522adb4486fa75369a0072ac13f6f526a494ad8136104083b98c71
4
+ data.tar.gz: fb43c208385432f065163414dec615fbb376298071baea34c0899d1a4464c3de
5
5
  SHA512:
6
- metadata.gz: 83da60ba4fe4c14012fc23d5b526c2aead509d35c077d9df6c59b218edda3bcd526e9989ce3ee69bdd8c1a9cf7af13545e2ef5ccf81a79cfddc714417369fc56
7
- data.tar.gz: 8afeba46f223941dbd86f16e0e85feab792dbbdf178a228e7a977be838aec0a828227a4a2b7cfcfecd9eacb47ae84881496e35fce7dfe9bbd3adea7f46080ce9
6
+ metadata.gz: ab1e1743150a09a111211cb39cd0d193ea579b3c45041950a7d954eb71027f1ca811eb3a192a65cfa3aa19682c0f310a6bbef6f0f17e1883da0b8edc4c5a8b8d
7
+ data.tar.gz: bdfbc83453832c476b2c38fd0e2df794868d7f1b1290805e8925816c34f1ad2474a290083e2f5b9b96f0256a60aa5a53146a71129374a6e579be81a09868758b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-firebaseappcheck_v1beta
2
2
 
3
+ ### v0.33.0 (2023-10-15)
4
+
5
+ * Regenerated from discovery document revision 20231009
6
+
7
+ ### v0.32.0 (2023-08-27)
8
+
9
+ * Regenerated from discovery document revision 20230814
10
+
3
11
  ### v0.31.0 (2023-08-13)
4
12
 
5
13
  * Regenerated from discovery document revision 20230807
@@ -429,8 +429,10 @@ module Google
429
429
  # @return [String]
430
430
  attr_accessor :challenge
431
431
 
432
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
433
- # to impose stricter TTL requirements for this exchange. Default: false.
432
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
433
+ # session based* (`false`) context. To enable this attestation to be used with
434
+ # the *replay protection* feature, set this to `true`. The default value is `
435
+ # false`.
434
436
  # Corresponds to the JSON property `limitedUse`
435
437
  # @return [Boolean]
436
438
  attr_accessor :limited_use
@@ -473,8 +475,10 @@ module Google
473
475
  # @return [String]
474
476
  attr_accessor :key_id
475
477
 
476
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
477
- # to impose stricter TTL requirements for this exchange. Default: false.
478
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
479
+ # session based* (`false`) context. To enable this attestation to be used with
480
+ # the *replay protection* feature, set this to `true`. The default value is `
481
+ # false`.
478
482
  # Corresponds to the JSON property `limitedUse`
479
483
  # @return [Boolean]
480
484
  attr_accessor :limited_use
@@ -537,8 +541,10 @@ module Google
537
541
  # @return [String]
538
542
  attr_accessor :custom_token
539
543
 
540
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
541
- # to impose stricter TTL requirements for this exchange. Default: false.
544
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
545
+ # session based* (`false`) context. To enable this attestation to be used with
546
+ # the *replay protection* feature, set this to `true`. The default value is `
547
+ # false`.
542
548
  # Corresponds to the JSON property `limitedUse`
543
549
  # @return [Boolean]
544
550
  attr_accessor :limited_use
@@ -565,8 +571,10 @@ module Google
565
571
  # @return [String]
566
572
  attr_accessor :debug_token
567
573
 
568
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
569
- # to impose stricter TTL requirements for this exchange. Default: false.
574
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
575
+ # session based* (`false`) context. To enable this attestation to be used with
576
+ # the *replay protection* feature, set this to `true`. The default value is `
577
+ # false`.
570
578
  # Corresponds to the JSON property `limitedUse`
571
579
  # @return [Boolean]
572
580
  attr_accessor :limited_use
@@ -594,8 +602,10 @@ module Google
594
602
  # @return [String]
595
603
  attr_accessor :device_token
596
604
 
597
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
598
- # to impose stricter TTL requirements for this exchange. Default: false.
605
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
606
+ # session based* (`false`) context. To enable this attestation to be used with
607
+ # the *replay protection* feature, set this to `true`. The default value is `
608
+ # false`.
599
609
  # Corresponds to the JSON property `limitedUse`
600
610
  # @return [Boolean]
601
611
  attr_accessor :limited_use
@@ -616,8 +626,10 @@ module Google
616
626
  class GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
617
627
  include Google::Apis::Core::Hashable
618
628
 
619
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
620
- # to impose stricter TTL requirements for this exchange. Default: false.
629
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
630
+ # session based* (`false`) context. To enable this attestation to be used with
631
+ # the *replay protection* feature, set this to `true`. The default value is `
632
+ # false`.
621
633
  # Corresponds to the JSON property `limitedUse`
622
634
  # @return [Boolean]
623
635
  attr_accessor :limited_use
@@ -645,8 +657,10 @@ module Google
645
657
  class GoogleFirebaseAppcheckV1betaExchangeRecaptchaEnterpriseTokenRequest
646
658
  include Google::Apis::Core::Hashable
647
659
 
648
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
649
- # to impose stricter TTL requirements for this exchange. Default: false.
660
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
661
+ # session based* (`false`) context. To enable this attestation to be used with
662
+ # the *replay protection* feature, set this to `true`. The default value is `
663
+ # false`.
650
664
  # Corresponds to the JSON property `limitedUse`
651
665
  # @return [Boolean]
652
666
  attr_accessor :limited_use
@@ -694,8 +708,10 @@ module Google
694
708
  class GoogleFirebaseAppcheckV1betaExchangeRecaptchaV3TokenRequest
695
709
  include Google::Apis::Core::Hashable
696
710
 
697
- # Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
698
- # to impose stricter TTL requirements for this exchange. Default: false.
711
+ # Specifies whether this attestation is for use in a *limited use* (`true`) or *
712
+ # session based* (`false`) context. To enable this attestation to be used with
713
+ # the *replay protection* feature, set this to `true`. The default value is `
714
+ # false`.
699
715
  # Corresponds to the JSON property `limitedUse`
700
716
  # @return [Boolean]
701
717
  attr_accessor :limited_use
@@ -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.31.0"
19
+ GEM_VERSION = "0.33.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 = "20230807"
25
+ REVISION = "20231009"
26
26
  end
27
27
  end
28
28
  end
@@ -165,6 +165,46 @@ module Google
165
165
  execute_or_queue_command(command, &block)
166
166
  end
167
167
 
168
+ # Validates a debug token secret that you have previously created using
169
+ # CreateDebugToken. If valid, returns an AppCheckToken. Note that a restrictive
170
+ # quota is enforced on this method to prevent accidental exposure of the app to
171
+ # abuse.
172
+ # @param [String] app
173
+ # Required. The relative resource name of the app, in the format: ``` projects/`
174
+ # project_number`/apps/`app_id` ``` If necessary, the `project_number` element
175
+ # can be replaced with the project ID of the Firebase project. Learn more about
176
+ # using project identifiers in Google's [AIP 2510](https://google.aip.dev/cloud/
177
+ # 2510) standard.
178
+ # @param [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest] google_firebase_appcheck_v1beta_exchange_debug_token_request_object
179
+ # @param [String] fields
180
+ # Selector specifying which fields to include in a partial response.
181
+ # @param [String] quota_user
182
+ # Available to use for quota purposes for server-side applications. Can be any
183
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
184
+ # @param [Google::Apis::RequestOptions] options
185
+ # Request-specific options
186
+ #
187
+ # @yield [result, err] Result & error if block supplied
188
+ # @yieldparam result [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken] parsed result object
189
+ # @yieldparam err [StandardError] error object if request failed
190
+ #
191
+ # @return [Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken]
192
+ #
193
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
196
+ def exchange_oauth_client_debug_token(app, google_firebase_appcheck_v1beta_exchange_debug_token_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
197
+ command = make_simple_command(:post, 'v1beta/{+app}:exchangeDebugToken', options)
198
+ command.request_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest::Representation
199
+ command.request_object = google_firebase_appcheck_v1beta_exchange_debug_token_request_object
200
+ command.response_representation = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken::Representation
201
+ command.response_class = Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken
202
+ command.params['app'] = app unless app.nil?
203
+ command.query['fields'] = fields unless fields.nil?
204
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
205
+ execute_or_queue_command(command, &block)
206
+ end
207
+
168
208
  # Generates a challenge that protects the integrity of an immediately following
169
209
  # call to ExchangeAppAttestAttestation or ExchangeAppAttestAssertion. A
170
210
  # challenge should not be reused for multiple calls.
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.31.0
4
+ version: 0.33.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-08-20 00:00:00.000000000 Z
11
+ date: 2023-10-15 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.31.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseappcheck_v1beta/v0.33.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Firebase App Check API V1beta