Reference documentation and code samples for the Google Cloud Memorystore V1 Client class Mode.
The mode config, which is used to enable/disable cluster mode.
Protobuf type google.cloud.memorystore.v1.Instance.Mode
Namespace
Google \ Cloud \ Memorystore \ V1 \ InstanceMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
MODE_UNSPECIFIED
Value: 0
Mode is not specified.
Generated from protobuf enum MODE_UNSPECIFIED = 0;
STANDALONE
Value: 1
Deprecated: Use CLUSTER_DISABLED instead.
Generated from protobuf enum STANDALONE = 1 [deprecated = true];
CLUSTER
Value: 2
Instance is in cluster mode.
Generated from protobuf enum CLUSTER = 2;
CLUSTER_DISABLED
Value: 4
Cluster mode is disabled for the instance.
Generated from protobuf enum CLUSTER_DISABLED = 4;