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.
1467 1468 1469 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1467 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
1464 1465 1466 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1464 def already_consumed @already_consumed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1472 1473 1474 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1472 def update!(**args) @already_consumed = args[:already_consumed] if args.key?(:already_consumed) end |