Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebaseappcheck_v1/classes.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb,
lib/google/apis/firebaseappcheck_v1/representations.rb

Overview

Request message for the ExchangeAppAttestAssertion method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest

Returns a new instance of GoogleFirebaseAppcheckV1ExchangeAppAttestAssertionRequest.



378
379
380
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 378

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

Instance Attribute Details

#artifactString

Required. The artifact returned by a previous call to ExchangeAppAttestAttestation. Corresponds to the JSON property artifact NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


362
363
364
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 362

def artifact
  @artifact
end

#assertionString

Required. The CBOR-encoded assertion returned by the client-side App Attest API. Corresponds to the JSON property assertion NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


369
370
371
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 369

def assertion
  @assertion
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)


376
377
378
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 376

def challenge
  @challenge
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



383
384
385
386
387
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 383

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