Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
- 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 ExchangeCustomToken method.
Instance Attribute Summary collapse
-
#custom_token ⇒ String
Required.
-
#limited_use ⇒ Boolean
(also: #limited_use?)
Forces a short-lived token with a 5 minute TTL.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeCustomTokenRequest.
547 548 549 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 547 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_token ⇒ String
Required. A custom token signed using your project's Admin SDK service account
credentials.
Corresponds to the JSON property customToken
538 539 540 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 538 def custom_token @custom_token end |
#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
544 545 546 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 544 def limited_use @limited_use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
552 553 554 555 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 552 def update!(**args) @custom_token = args[:custom_token] if args.key?(:custom_token) @limited_use = args[:limited_use] if args.key?(:limited_use) end |