Google Cloud Redis V1 Client - Class ConnectMode (2.1.2)

Reference documentation and code samples for the Google Cloud Redis V1 Client class ConnectMode.

Available connection modes.

Protobuf type google.cloud.redis.v1.Instance.ConnectMode

Namespace

Google \ Cloud \ Redis \ V1 \ Instance

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

CONNECT_MODE_UNSPECIFIED

Value: 0

Not set.

Generated from protobuf enum CONNECT_MODE_UNSPECIFIED = 0;

DIRECT_PEERING

Value: 1

Connect via direct peering to the Memorystore for Redis hosted service.

Generated from protobuf enum DIRECT_PEERING = 1;

PRIVATE_SERVICE_ACCESS

Value: 2

Connect your Memorystore for Redis instance using Private Service Access. Private services access provides an IP address range for multiple Google Cloud services, including Memorystore.

Generated from protobuf enum PRIVATE_SERVICE_ACCESS = 2;