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.



1196
1197
1198
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1196

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)


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

def already_consumed
  @already_consumed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1201
1202
1203
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 1201

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