Class: Google::Apis::SqladminV1::DataCacheConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SqladminV1::DataCacheConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/sqladmin_v1/classes.rb,
lib/google/apis/sqladmin_v1/representations.rb,
lib/google/apis/sqladmin_v1/representations.rb 
Overview
Data cache configurations.
Instance Attribute Summary collapse
- 
  
    
      #data_cache_enabled  ⇒ Boolean 
    
    
      (also: #data_cache_enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether data cache is enabled for the instance.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DataCacheConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DataCacheConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DataCacheConfig
Returns a new instance of DataCacheConfig.
      711 712 713  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 711 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#data_cache_enabled ⇒ Boolean Also known as: data_cache_enabled?
Whether data cache is enabled for the instance.
Corresponds to the JSON property dataCacheEnabled
      708 709 710  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 708 def data_cache_enabled @data_cache_enabled end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      716 717 718  | 
    
      # File 'lib/google/apis/sqladmin_v1/classes.rb', line 716 def update!(**args) @data_cache_enabled = args[:data_cache_enabled] if args.key?(:data_cache_enabled) end  |