Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
- 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 ExchangeAppAttestAssertion method.
Instance Attribute Summary collapse
-
#artifact ⇒ String
Required.
-
#assertion ⇒ String
Required.
-
#challenge ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
constructor
A new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest
Returns a new instance of GoogleFirebaseAppcheckV1betaExchangeAppAttestAssertionRequest.
383 384 385 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 383 def initialize(**args) update!(**args) end |
Instance Attribute Details
#artifact ⇒ String
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.
367 368 369 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 367 def artifact @artifact end |
#assertion ⇒ String
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.
374 375 376 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 374 def assertion @assertion 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.
381 382 383 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 381 def challenge @challenge end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
388 389 390 391 392 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 388 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 |