Class: Google::Apis::SqladminV1beta4::DataCacheConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb

Overview

Data cache configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DataCacheConfig

Returns a new instance of DataCacheConfig.



591
592
593
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 591

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#data_cache_enabledBoolean Also known as: data_cache_enabled?

Whether data cache is enabled for the instance. Corresponds to the JSON property dataCacheEnabled

Returns:

  • (Boolean)


588
589
590
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 588

def data_cache_enabled
  @data_cache_enabled
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



596
597
598
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 596

def update!(**args)
  @data_cache_enabled = args[:data_cache_enabled] if args.key?(:data_cache_enabled)
end