Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ConnectionType.
Type of a PSC connection, for cluster access purpose.
Protobuf type google.cloud.redis.cluster.v1.ConnectionType
Namespace
Google \ Cloud \ Redis \ Cluster \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
CONNECTION_TYPE_UNSPECIFIED
Value: 0
Cluster endpoint Type is not set
Generated from protobuf enum CONNECTION_TYPE_UNSPECIFIED = 0;
CONNECTION_TYPE_DISCOVERY
Value: 1
Cluster endpoint that will be used as for cluster topology discovery.
Generated from protobuf enum CONNECTION_TYPE_DISCOVERY = 1;
CONNECTION_TYPE_PRIMARY
Value: 2
Cluster endpoint that will be used as primary endpoint to access primary.
Generated from protobuf enum CONNECTION_TYPE_PRIMARY = 2;
CONNECTION_TYPE_READER
Value: 3
Cluster endpoint that will be used as reader endpoint to access replicas.
Generated from protobuf enum CONNECTION_TYPE_READER = 3;