Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest

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 ExchangeAppAttestAssertion

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest

Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest.



363
364
365
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 363

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

Instance Attribute Details

#artifactString

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

Returns:

  • (String)


349
350
351
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 349

def artifact
  @artifact
end

#assertionString

The CBOR encoded assertion provided by the Apple App Attest SDK. Corresponds to the JSON property assertion NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


355
356
357
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 355

def assertion
  @assertion
end

#challengeString

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

Returns:

  • (String)


361
362
363
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 361

def challenge
  @challenge
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



368
369
370
371
372
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 368

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