Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest
- 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 ExchangeAppAttestAttestation method.
Instance Attribute Summary collapse
-
#attestation_statement ⇒ String
Required.
-
#challenge ⇒ String
Required.
-
#key_id ⇒ String
Required.
-
#limited_use ⇒ Boolean
(also: #limited_use?)
Specifies whether this attestation is for use in a limited use (
true
) or * session based* (false
) context.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest
constructor
A new instance of GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest
Returns a new instance of GoogleFirebaseAppcheckV1ExchangeAppAttestAttestationRequest.
487 488 489 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 487 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attestation_statement ⇒ String
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.
463 464 465 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 463 def attestation_statement @attestation_statement end |
#challenge ⇒ String
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.
470 471 472 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 470 def challenge @challenge end |
#key_id ⇒ String
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.
476 477 478 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 476 def key_id @key_id end |
#limited_use ⇒ Boolean Also known as: limited_use?
Specifies whether this attestation is for use in a limited use (true
) or *
session based* (false
) context. To enable this attestation to be used with
the replay protection feature, set this to true
. The default value is
false
.
Corresponds to the JSON property limitedUse
484 485 486 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 484 def limited_use @limited_use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
492 493 494 495 496 497 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 492 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) @limited_use = args[:limited_use] if args.key?(:limited_use) end |