Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse
- 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
Response message for the VerifyAppCheckToken method.
Instance Attribute Summary collapse
-
#already_consumed ⇒ Boolean
(also: #already_consumed?)
Whether this token was already consumed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse
constructor
A new instance of GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse
Returns a new instance of GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse.
1474 1475 1476 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1474 def initialize(**args) update!(**args) end |
Instance Attribute Details
#already_consumed ⇒ Boolean Also known as: already_consumed?
Whether this token was already consumed. If this is the first time this method
has seen the given App Check token, this field will be omitted from the
response. The given token will then be marked as already_consumed
(set to
true
) for all future invocations of this method for that token. Note that if
the given App Check token is invalid, an HTTP 403 error is returned instead of
a response containing this field, regardless whether the token was already
consumed.
Corresponds to the JSON property alreadyConsumed
1471 1472 1473 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1471 def already_consumed @already_consumed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1479 1480 1481 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1479 def update!(**args) @already_consumed = args[:already_consumed] if args.key?(:already_consumed) end |