Google Cloud Compute V1 API - Module Google::Cloud::Compute::V1::UsableSubnetwork::Purpose (v2.3.0)

Reference documentation and code samples for the Google Cloud Compute V1 API module Google::Cloud::Compute::V1::UsableSubnetwork::Purpose.

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.

Constants

UNDEFINED_PURPOSE

value: 0
A value indicating that the enum field is not set.

INTERNAL_HTTPS_LOAD_BALANCER

value: 248_748_889
Subnet reserved for Internal HTTP(S) Load Balancing.

PRIVATE

value: 403_485_027
Regular user created or automatically created subnet.

PRIVATE_RFC_1918

value: 254_902_107
Regular user created or automatically created subnet.

PRIVATE_SERVICE_CONNECT

value: 48_134_724
Subnetworks created for Private Service Connect in the producer network.

REGIONAL_MANAGED_PROXY

value: 153_049_966
Subnetwork used for Regional Internal/External HTTP(S) Load Balancing.