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.



576
577
578
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 576

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

Instance Attribute Details

#app_check_tokenGoogle::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppCheckToken

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



562
563
564
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 562

def app_check_token
  @app_check_token
end

#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)


568
569
570
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 568

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



574
575
576
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 574

def attestation_token
  @attestation_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



581
582
583
584
585
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 581

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