# Class CacheParameters (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

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

Cache Parameters for the volume.

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `peer_volume_name` | `str` Required. Name of the origin volume for the cache volume. |
| `peer_cluster_name` | `str` Required. Name of the origin volume's ONTAP cluster. |
| `peer_svm_name` | `str` Required. Name of the origin volume's SVM. |
| `peer_ip_addresses` | `MutableSequence[str]` Required. List of IC LIF addresses of the origin volume's ONTAP cluster. |
| `enable_global_file_lock` | `bool` Optional. Indicates whether the cache volume has global file lock enabled. This field is a member of `oneof`_ `_enable_global_file_lock`. |
| `cache_config` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.CacheConfig` Optional. Configuration of the cache volume. |
| `cache_state` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.CacheParameters.CacheState` Output only. State of the cache volume indicating the peering status. |
| `command` | `str` Output only. Copy-paste-able commands to be used on user's ONTAP to accept peering requests. |
| `peering_command_expiry_time` | `google.protobuf.timestamp_pb2.Timestamp` Optional. Expiration time for the peering command to be executed on user's ONTAP. |
| `passphrase` | `str` Output only. Temporary passphrase generated to accept cluster peering command. |
| `state_details` | `str` Output only. Detailed description of the current cache state. |

## Classes

### CacheState

    CacheState(value)

State of the cache volume indicating the peering status.