# Class CacheConfig (0.10.1)

0.10.1 (latest) 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.24 0.2.0 0.1.0

    CacheConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration of the cache volume.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `cache_pre_populate` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.CachePrePopulate` Optional. Pre-populate cache volume with data from the origin volume. |
| `writeback_enabled` | `bool` Optional. Flag indicating whether writeback is enabled for the FlexCache volume. This field is a member of `oneof`_ `_writeback_enabled`. |
| `cifs_change_notify_enabled` | `bool` Optional. Flag indicating whether a CIFS change notification is enabled for the FlexCache volume. This field is a member of `oneof`_ `_cifs_change_notify_enabled`. |
| `cache_pre_populate_state` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.CacheConfig.CachePrePopulateState` Output only. State of the prepopulation job indicating how the prepopulation is progressing. |

## Classes

### CachePrePopulateState

    CachePrePopulateState(value)

State of the prepopulation job indicating how the
prepopulation is progressing.