Class: Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1::GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
- 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
Response message for the GenerateAppAttestChallenge method.
Instance Attribute Summary collapse
-
#challenge ⇒ String
A one-time use challenge for the client to pass to the App Attest API.
-
#ttl ⇒ String
The duration from the time this challenge is minted until its expiration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
constructor
A new instance of GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse
Returns a new instance of GoogleFirebaseAppcheckV1GenerateAppAttestChallengeResponse.
760 761 762 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 760 def initialize(**args) update!(**args) end |
Instance Attribute Details
#challenge ⇒ String
A one-time use challenge for the client to pass to the App Attest API.
Corresponds to the JSON property challenge
NOTE: Values are automatically base64 encoded/decoded in the client library.
751 752 753 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 751 def challenge @challenge end |
#ttl ⇒ String
The duration from the time this challenge is minted until its expiration. This
field is intended to ease client-side token management, since the client may
have clock skew, but is still able to accurately measure a duration.
Corresponds to the JSON property ttl
758 759 760 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 758 def ttl @ttl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
765 766 767 768 |
# File 'lib/google/apis/firebaseappcheck_v1/classes.rb', line 765 def update!(**args) @challenge = args[:challenge] if args.key?(:challenge) @ttl = args[:ttl] if args.key?(:ttl) end |