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.
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.
414 415 416 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 414 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.
399 400 401 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 399 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.
406 407 408 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 406 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.
412 413 414 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 412 def key_id @key_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
419 420 421 422 423 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 419 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 |