Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest

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

Request message for ExchangeAppAttestAttestation

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.



399
400
401
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 399

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

Instance Attribute Details

#attestation_statementString

Required. The App Attest statement as returned by Apple's client-side App Attest API. This is the CBOR object returned by Apple, which will be Base64 encoded in the JSON API. Corresponds to the JSON property attestationStatement NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


385
386
387
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 385

def attestation_statement
  @attestation_statement
end

#challengeString

Required. The challenge previously generated by the FAC backend. Corresponds to the JSON property challenge NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


391
392
393
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 391

def challenge
  @challenge
end

#key_idString

Required. The key ID generated by App Attest for the client app. Corresponds to the JSON property keyId NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


397
398
399
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 397

def key_id
  @key_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



404
405
406
407
408
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 404

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