Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebaseappcheck_v1beta/classes.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb,
lib/google/apis/firebaseappcheck_v1beta/representations.rb
Overview
Request message for the ExchangePlayIntegrityToken method.
Instance Attribute Summary collapse
-
#limited_use ⇒ Boolean
(also: #limited_use?)
Forces a short-lived token with a 5 minute TTL.
-
#play_integrity_token ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangePlayIntegrityTokenRequest.
633 634 635 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 633 def initialize(**args) update!(**args) end |
Instance Attribute Details
#limited_use ⇒ Boolean Also known as: limited_use?
Forces a short-lived token with a 5 minute TTL. Useful when the client wishes
to impose stricter TTL requirements for this exchange. Default: false.
Corresponds to the JSON property limitedUse
623 624 625 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 623 def limited_use @limited_use end |
#play_integrity_token ⇒ String
Required. The integrity verdict response token from Play Integrity issued to
your app.
Corresponds to the JSON property playIntegrityToken
631 632 633 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 631 def play_integrity_token @play_integrity_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
638 639 640 641 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 638 def update!(**args) @limited_use = args[:limited_use] if args.key?(:limited_use) @play_integrity_token = args[:play_integrity_token] if args.key?(:play_integrity_token) end |