Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
- 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
-
#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) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAttestationRequest.
541 542 543 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 541 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.
517 518 519 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 517 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.
524 525 526 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 524 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.
530 531 532 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 530 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
538 539 540 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 538 def limited_use @limited_use end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
546 547 548 549 550 551 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 546 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 |