Class: Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::FirebaseappcheckV1beta::GoogleFirebaseAppcheckV1betaAppAttestConfig
 
 
- 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
An app's App Attest configuration object. This configuration controls certain
properties of the AppCheckToken returned by ExchangeAppAttestAttestation and
ExchangeAppAttestAssertion, such as its ttl. Note that the Team ID registered
with your app is used as part of the validation process. Please register it
via the Firebase Console or programmatically via the Firebase Management
Service.
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Required.
 - 
  
    
      #token_ttl  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Specifies the duration for which App Check tokens exchanged from App Attest artifacts will be valid.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleFirebaseAppcheckV1betaAppAttestConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleFirebaseAppcheckV1betaAppAttestConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseAppcheckV1betaAppAttestConfig
Returns a new instance of GoogleFirebaseAppcheckV1betaAppAttestConfig.
      48 49 50  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 48 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#name ⇒ String
Required. The relative resource name of the App Attest configuration object,
in the format: projects/`project_number`/apps/`app_id`/appAttestConfig
Corresponds to the JSON property name
      39 40 41  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 39 def name @name end  | 
  
#token_ttl ⇒ String
Specifies the duration for which App Check tokens exchanged from App Attest
artifacts will be valid. If unset, a default value of 1 hour is assumed. Must
be between 30 minutes and 7 days, inclusive.
Corresponds to the JSON property tokenTtl
      46 47 48  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 46 def token_ttl @token_ttl end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      53 54 55 56  | 
    
      # File 'lib/google/apis/firebaseappcheck_v1beta/classes.rb', line 53 def update!(**args) @name = args[:name] if args.key?(:name) @token_ttl = args[:token_ttl] if args.key?(:token_ttl) end  |