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.



1194
1195
1196
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1194

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 contain the value false. The given token will then be marked as already_consumed 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)


1191
1192
1193
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1191

def already_consumed
  @already_consumed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1199
1200
1201
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1199

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