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 the ExchangeAppAttestAttestation method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.



447
448
449
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 447

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

Instance Attribute Details

#artifactString

An artifact that can be used in future calls to ExchangeAppAttestAssertion. Corresponds to the JSON property artifact NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


439
440
441
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 439

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



445
446
447
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 445

def attestation_token
  @attestation_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



452
453
454
455
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 452

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