# NetApp v1 API - Class CacheConfig (1.16.0)

1.16.0 (latest) 1.15.0 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class CacheConfig : IMessage<CacheConfig>, IEquatable<CacheConfig>, IDeepCloneable<CacheConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the NetApp v1 API class CacheConfig.

Configuration of the cache volume.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CacheConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CacheConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CacheConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CacheConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.NetApp.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1)

## Assembly

Google.Cloud.NetApp.V1.dll

## Constructors

### CacheConfig()

    public CacheConfig()

### CacheConfig(CacheConfig)

    public CacheConfig(CacheConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfig` |

## Properties

### CachePrePopulate

    public CachePrePopulate CachePrePopulate { get; set; }

Optional. Pre-populate cache volume with data from the origin volume.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CachePrePopulate` |   |

### CachePrePopulateState

    public CacheConfig.Types.CachePrePopulateState CachePrePopulateState { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.CacheConfig.Types.CachePrePopulateState` |   |

### CifsChangeNotifyEnabled

    public bool CifsChangeNotifyEnabled { get; set; }

Optional. Flag indicating whether a CIFS change notification is enabled for
the FlexCache volume.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasCifsChangeNotifyEnabled

    public bool HasCifsChangeNotifyEnabled { get; }

Gets whether the "cifs_change_notify_enabled" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### HasWritebackEnabled

    public bool HasWritebackEnabled { get; }

Gets whether the "writeback_enabled" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### WritebackEnabled

    public bool WritebackEnabled { get; set; }

Optional. Flag indicating whether writeback is enabled for the FlexCache
volume.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |