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