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 and ExchangeAppAttestDebugAttestation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationResponse.



428
429
430
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 428

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)


420
421
422
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 420

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



426
427
428
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 426

def attestation_token
  @attestation_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



433
434
435
436
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 433

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