Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse

Returns a new instance of GoogleFirebaseAppcheckV1betaVerifyAppCheckTokenResponse.



1268
1269
1270
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1268

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#already_consumedBoolean 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

Returns:

  • (Boolean)


1265
1266
1267
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1265

def already_consumed
  @already_consumed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1273
1274
1275
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1273

def update!(**args)
  @already_consumed = args[:already_consumed] if args.key?(:already_consumed)
end