Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAttestationTokenResponse
 
 
- 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
Encapsulates an App Check token, which are used to access Firebase services protected by App Check.
Instance Attribute Summary collapse
- 
  
    
      #attestation_token  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An App Check token.
 - 
  
    
      #ttl  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The duration from the time this token is minted until its expiration.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleFirebaseAppcheckV1betaAttestationTokenResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleFirebaseAppcheckV1betaAttestationTokenResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaAttestationTokenResponse
Returns a new instance of GoogleFirebaseAppcheckV1betaAttestationTokenResponse.
      116 117 118  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 116 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#attestation_token ⇒ String
An App Check token. App Check tokens are signed JWTs containing claims that identify the attested app and Firebase
project. This token is used to access Firebase services protected by App Check.
Corresponds to the JSON property attestationToken
      107 108 109  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 107 def attestation_token @attestation_token end  | 
  
#ttl ⇒ String
The duration from the time this token 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
      114 115 116  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 114 def ttl @ttl end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      121 122 123 124  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 121 def update!(**args) @attestation_token = args[:attestation_token] if args.key?(:attestation_token) @ttl = args[:ttl] if args.key?(:ttl) end  |