Enum UsableSubnetwork.Purpose (1.33.0)

public enum UsableSubnetwork.Purpose extends Enum<UsableSubnetwork.Purpose> implements ProtocolMessageEnum

The purpose of the resource. This field can be either PRIVATE, REGIONAL_MANAGED_PROXY, PRIVATE_SERVICE_CONNECT, or INTERNAL_HTTPS_LOAD_BALANCER. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. A subnet with purpose set to REGIONAL_MANAGED_PROXY is a user-created subnetwork that is reserved for regional Envoy-based load balancers. A subnet with purpose set to PRIVATE_SERVICE_CONNECT is used to publish services using Private Service Connect. A subnet with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a proxy-only subnet that can be used only by regional internal HTTP(S) load balancers. Note that REGIONAL_MANAGED_PROXY is the preferred setting for all regional Envoy load balancers. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to REGIONAL_MANAGED_PROXY.

Protobuf enum google.cloud.compute.v1.UsableSubnetwork.Purpose

Implements

ProtocolMessageEnum

Static Fields

NameDescription
INTERNAL_HTTPS_LOAD_BALANCER

Subnet reserved for Internal HTTP(S) Load Balancing.

INTERNAL_HTTPS_LOAD_BALANCER = 248748889;

INTERNAL_HTTPS_LOAD_BALANCER_VALUE

Subnet reserved for Internal HTTP(S) Load Balancing.

INTERNAL_HTTPS_LOAD_BALANCER = 248748889;

PRIVATE

Regular user created or automatically created subnet.

PRIVATE = 403485027;

PRIVATE_RFC_1918

Regular user created or automatically created subnet.

PRIVATE_RFC_1918 = 254902107;

PRIVATE_RFC_1918_VALUE

Regular user created or automatically created subnet.

PRIVATE_RFC_1918 = 254902107;

PRIVATE_SERVICE_CONNECT

Subnetworks created for Private Service Connect in the producer network.

PRIVATE_SERVICE_CONNECT = 48134724;

PRIVATE_SERVICE_CONNECT_VALUE

Subnetworks created for Private Service Connect in the producer network.

PRIVATE_SERVICE_CONNECT = 48134724;

PRIVATE_VALUE

Regular user created or automatically created subnet.

PRIVATE = 403485027;

REGIONAL_MANAGED_PROXY

Subnetwork used for Regional Internal/External HTTP(S) Load Balancing.

REGIONAL_MANAGED_PROXY = 153049966;

REGIONAL_MANAGED_PROXY_VALUE

Subnetwork used for Regional Internal/External HTTP(S) Load Balancing.

REGIONAL_MANAGED_PROXY = 153049966;

UNDEFINED_PURPOSE

A value indicating that the enum field is not set.

UNDEFINED_PURPOSE = 0;

UNDEFINED_PURPOSE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_PURPOSE = 0;

UNRECOGNIZED

Static Methods

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()