Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
- 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
Response message for the GeneratePlayIntegrityChallenge method.
Instance Attribute Summary collapse
-
#challenge ⇒ String
A one-time use challenge for the client to pass to the Play Integrity API.
-
#ttl ⇒ String
The duration from the time this challenge is minted until its expiration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
constructor
A new instance of GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse
Returns a new instance of GoogleFirebaseAppcheckV1betaGeneratePlayIntegrityChallengeResponse.
883 884 885 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 883 def initialize(**args) update!(**args) end |
Instance Attribute Details
#challenge ⇒ String
A one-time use challenge for the client to pass to the Play
Integrity API.
Corresponds to the JSON property challenge
874 875 876 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 874 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
881 882 883 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 881 def ttl @ttl end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
888 889 890 891 |
# File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 888 def update!(**args) @challenge = args[:challenge] if args.key?(:challenge) @ttl = args[:ttl] if args.key?(:ttl) end |