Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest
- 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 ExchangeDebugToken method.
Instance Attribute Summary collapse
-
#debug_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) ⇒ GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeDebugTokenRequest.
575 576 577 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 575 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_token ⇒ String
Required. A debug token secret. This string must match a debug token secret
previously created using CreateDebugToken.
Corresponds to the JSON property debugToken
566 567 568 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 566 def debug_token @debug_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
572 573 574 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 572 def limited_use @limited_use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
580 581 582 583 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 580 def update!(**args) @debug_token = args[:debug_token] if args.key?(:debug_token) @limited_use = args[:limited_use] if args.key?(:limited_use) end |