Enum Instance.ConnectMode (2.10.0)

publicenumInstance.ConnectModeextendsEnum<Instance.ConnectMode>implementsProtocolMessageEnum

Available connection modes.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONNECT_MODE_UNSPECIFIED

Not set.

CONNECT_MODE_UNSPECIFIED = 0;

CONNECT_MODE_UNSPECIFIED_VALUE

Not set.

CONNECT_MODE_UNSPECIFIED = 0;

DIRECT_PEERING

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

DIRECT_PEERING = 1;

DIRECT_PEERING_VALUE

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

DIRECT_PEERING = 1;

PRIVATE_SERVICE_ACCESS

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.

PRIVATE_SERVICE_ACCESS = 2;

PRIVATE_SERVICE_ACCESS_VALUE

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.

PRIVATE_SERVICE_ACCESS = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.