# Google Cloud Net App V1 Client - Class CacheState (1.12.0)

1.12.0 (latest) 1.11.0 1.10.2 1.9.0 1.8.1 1.7.0 1.6.1 1.4.0 1.3.1 1.2.1 1.1.1 1.0.1 0.3.1 0.2.6 0.1.1 Reference documentation and code samples for the Google Cloud Net App V1 Client class CacheState.

State of the cache volume indicating the peering status.

Protobuf type `google.cloud.netapp.v1.CacheParameters.CacheState`

## Namespace

Google \\ Cloud \\ NetApp \\ V1 \\ CacheParameters

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### CACHE_STATE_UNSPECIFIED

    Value: 0

Default unspecified state.

Generated from protobuf enum `CACHE_STATE_UNSPECIFIED = 0;`

### PENDING_CLUSTER_PEERING

    Value: 1

State indicating waiting for cluster peering to be established.

Generated from protobuf enum `PENDING_CLUSTER_PEERING = 1;`

### PENDING_SVM_PEERING

    Value: 2

State indicating waiting for SVM peering to be established.

Generated from protobuf enum `PENDING_SVM_PEERING = 2;`

### PEERED

    Value: 3

State indicating successful establishment of peering with origin
volumes's ONTAP cluster.

Generated from protobuf enum `PEERED = 3;`

### ERROR

    Value: 4

Terminal state wherein peering with origin volume's ONTAP cluster
has failed.

Generated from protobuf enum `ERROR = 4;`