Enum Subnetwork.Purpose (1.65.0)

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

The purpose of the resource. This field can be either PRIVATE, GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY, PEER_MIGRATION or PRIVATE_SERVICE_CONNECT. PRIVATE is the default purpose for user-created subnets or subnets that are automatically created in auto mode networks. Subnets with purpose set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY are user-created subnetworks that are reserved for 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 PEER_MIGRATION is used for subnet migration from one peered VPC to another. If unspecified, the subnet purpose defaults to PRIVATE. The enableFlowLogs field isn't supported if the subnet purpose field is set to GLOBAL_MANAGED_PROXY or REGIONAL_MANAGED_PROXY.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
GLOBAL_MANAGED_PROXY

Subnet reserved for Global Envoy-based Load Balancing.

GLOBAL_MANAGED_PROXY = 236463602;

GLOBAL_MANAGED_PROXY_VALUE

Subnet reserved for Global Envoy-based Load Balancing.

GLOBAL_MANAGED_PROXY = 236463602;

INTERNAL_HTTPS_LOAD_BALANCER

Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.

INTERNAL_HTTPS_LOAD_BALANCER = 248748889;

INTERNAL_HTTPS_LOAD_BALANCER_VALUE

Subnet reserved for Internal HTTP(S) Load Balancing. This is a legacy purpose, please use REGIONAL_MANAGED_PROXY instead.

INTERNAL_HTTPS_LOAD_BALANCER = 248748889;

PEER_MIGRATION

Subnetwork will be used for Migration from one peered VPC to another. (a transient state of subnetwork while migrating resources from one project to another).

PEER_MIGRATION = 491902225;

PEER_MIGRATION_VALUE

Subnetwork will be used for Migration from one peered VPC to another. (a transient state of subnetwork while migrating resources from one project to another).

PEER_MIGRATION = 491902225;

PRIVATE

Regular user created or automatically created subnet.

PRIVATE = 403485027;

PRIVATE_NAT

Subnetwork used as source range for Private NAT Gateways.

PRIVATE_NAT = 367764517;

PRIVATE_NAT_VALUE

Subnetwork used as source range for Private NAT Gateways.

PRIVATE_NAT = 367764517;

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 Envoy-based Load Balancing.

REGIONAL_MANAGED_PROXY = 153049966;

REGIONAL_MANAGED_PROXY_VALUE

Subnetwork used for Regional Envoy-based 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

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()