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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.



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

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

Instance Attribute Details

#attestation_statementString

Required. The App Attest statement returned by the client-side App Attest API. This is a base64url encoded CBOR object in the JSON response. Corresponds to the JSON property attestationStatement NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


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

def attestation_statement
  @attestation_statement
end

#challengeString

Required. A one-time challenge returned by an immediately prior call to GenerateAppAttestChallenge. Corresponds to the JSON property challenge NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


411
412
413
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 411

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)


417
418
419
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 417

def key_id
  @key_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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