Interface PrivatePoolV1Config.PrivateServiceConnectOrBuilder (3.55.0)

public static interface PrivatePoolV1Config.PrivateServiceConnectOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetworkAttachment()

public abstract String getNetworkAttachment()

Required. Immutable. The network attachment that the worker network interface is peered to. Must be in the format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. The region of network attachment must be the same as the worker pool. See Network Attachments

string network_attachment = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The networkAttachment.

getNetworkAttachmentBytes()

public abstract ByteString getNetworkAttachmentBytes()

Required. Immutable. The network attachment that the worker network interface is peered to. Must be in the format projects/{project}/regions/{region}/networkAttachments/{networkAttachment}. The region of network attachment must be the same as the worker pool. See Network Attachments

string network_attachment = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for networkAttachment.

getPublicIpAddressDisabled()

public abstract boolean getPublicIpAddressDisabled()

Required. Immutable. Disable public IP on the primary network interface.

If true, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured. If false, workers are created with a public address which allows for public internet egress. The public address only applies to traffic through the primary network interface. If route_all_traffic is set to true, all traffic will go through the non-primary network interface, this boolean has no effect.

bool public_ip_address_disabled = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

The publicIpAddressDisabled.

getRouteAllTraffic()

public abstract boolean getRouteAllTraffic()

Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet.

If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.

bool route_all_traffic = 3 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

The routeAllTraffic.