Enum BackendService.IpAddressSelectionPolicy (1.65.0)

public enum BackendService.IpAddressSelectionPolicy extends Enum<BackendService.IpAddressSelectionPolicy> implements ProtocolMessageEnum

Specifies a preference for traffic sent from the proxy to the backend (or from the client to the backend for proxyless gRPC). The possible values are: - IPV4_ONLY: Only send IPv4 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv4 health checks are used to check the health of the backends. This is the default setting. - PREFER_IPV6: Prioritize the connection to the endpoint's IPv6 address over its IPv4 address (provided there is a healthy IPv6 address). - IPV6_ONLY: Only send IPv6 traffic to the backends of the backend service (Instance Group, Managed Instance Group, Network Endpoint Group), regardless of traffic from the client to the proxy. Only IPv6 health checks are used to check the health of the backends. This field is applicable to either: - Advanced global external Application Load Balancer (load balancing scheme EXTERNAL_MANAGED), - Regional external Application Load Balancer, - Internal proxy Network Load Balancer (load balancing scheme INTERNAL_MANAGED), - Regional internal Application Load Balancer (load balancing scheme INTERNAL_MANAGED), - Traffic Director with Envoy proxies and proxyless gRPC (load balancing scheme INTERNAL_SELF_MANAGED).

Protobuf enum google.cloud.compute.v1.BackendService.IpAddressSelectionPolicy

Implements

ProtocolMessageEnum

Static Fields

Name Description
IPV4_ONLY

Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting.

IPV4_ONLY = 22373798;

IPV4_ONLY_VALUE

Only send IPv4 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv4 health-checks are used to check the health of the backends. This is the default setting.

IPV4_ONLY = 22373798;

IPV6_ONLY

Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends.

IPV6_ONLY = 79632100;

IPV6_ONLY_VALUE

Only send IPv6 traffic to the backends of the Backend Service (Instance Group, Managed Instance Group, Network Endpoint Group) regardless of traffic from the client to the proxy. Only IPv6 health-checks are used to check the health of the backends.

IPV6_ONLY = 79632100;

IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED

Unspecified IP address selection policy.

IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED = 36210144;

IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED_VALUE

Unspecified IP address selection policy.

IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED = 36210144;

PREFER_IPV6

Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address).

PREFER_IPV6 = 408601302;

PREFER_IPV6_VALUE

Prioritize the connection to the endpoints IPv6 address over its IPv4 address (provided there is a healthy IPv6 address).

PREFER_IPV6 = 408601302;

UNDEFINED_IP_ADDRESS_SELECTION_POLICY

A value indicating that the enum field is not set.

UNDEFINED_IP_ADDRESS_SELECTION_POLICY = 0;

UNDEFINED_IP_ADDRESS_SELECTION_POLICY_VALUE

A value indicating that the enum field is not set.

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