# NetApp V1 API - Class Google::Cloud::NetApp::V1::CacheConfig (v2.11.0)

2.11.0 (latest) 2.10.0 2.9.0 2.8.0 2.7.0 2.6.1 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.2 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.6.0 0.5.2 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CacheConfig.

Configuration of the cache volume.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #cache_pre_populate

    def cache_pre_populate() -> ::Google::Cloud::NetApp::V1::CachePrePopulate

**Returns**

- ([::Google::Cloud::NetApp::V1::CachePrePopulate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-CachePrePopulate)) --- Optional. Pre-populate cache volume with data from the origin volume.

### #cache_pre_populate=

    def cache_pre_populate=(value) -> ::Google::Cloud::NetApp::V1::CachePrePopulate

**Parameter**

- **value** ([::Google::Cloud::NetApp::V1::CachePrePopulate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-CachePrePopulate)) --- Optional. Pre-populate cache volume with data from the origin volume.
**Returns**

- ([::Google::Cloud::NetApp::V1::CachePrePopulate](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-CachePrePopulate)) --- Optional. Pre-populate cache volume with data from the origin volume.

### #cache_pre_populate_state

    def cache_pre_populate_state() -> ::Google::Cloud::NetApp::V1::CacheConfig::CachePrePopulateState

**Returns**

- ([::Google::Cloud::NetApp::V1::CacheConfig::CachePrePopulateState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-netapp-v1/latest/Google-Cloud-NetApp-V1-CacheConfig-CachePrePopulateState)) --- Output only. State of the prepopulation job indicating how the prepopulation is progressing.

### #cifs_change_notify_enabled

    def cifs_change_notify_enabled() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.

### #cifs_change_notify_enabled=

    def cifs_change_notify_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.
**Returns**

- (::Boolean) --- Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume.

### #writeback_enabled

    def writeback_enabled() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Flag indicating whether writeback is enabled for the FlexCache volume.

### #writeback_enabled=

    def writeback_enabled=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Flag indicating whether writeback is enabled for the FlexCache volume.
**Returns**

- (::Boolean) --- Optional. Flag indicating whether writeback is enabled for the FlexCache volume.