Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse

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 ExchangeAppAttestAttestation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.



343
344
345
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 343

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

Instance Attribute Details

#artifactString

An artifact that should be passed back during the Assertion flow. Corresponds to the JSON property artifact NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


335
336
337
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 335

def artifact
  @artifact
end

#attestation_tokenGoogle::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse

Encapsulates an App Check token, which are used to access Firebase services protected by App Check. Corresponds to the JSON property attestationToken



341
342
343
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 341

def attestation_token
  @attestation_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



348
349
350
351
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 348

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