Interface AllocationPolicy.NetworkInterfaceOrBuilder (0.4.0)

public static interface AllocationPolicy.NetworkInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetwork()

public abstract String getNetwork()

The URL of the network resource.

string network = 1;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The URL of the network resource.

string network = 1;

Returns
TypeDescription
ByteString

The bytes for network.

getNoExternalIpAddress()

public abstract boolean getNoExternalIpAddress()

Default is false (with an external IP address). Required if no external public IP address is attached to the VM. If no external public IP address, additional configuration is required to allow the VM to access Google Services. See https://cloud.google.com/vpc/docs/configure-private-google-access and https://cloud.google.com/nat/docs/gce-example#create-nat for more information.

bool no_external_ip_address = 3;

Returns
TypeDescription
boolean

The noExternalIpAddress.

getSubnetwork()

public abstract String getSubnetwork()

The URL of the Subnetwork resource.

string subnetwork = 2;

Returns
TypeDescription
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

The URL of the Subnetwork resource.

string subnetwork = 2;

Returns
TypeDescription
ByteString

The bytes for subnetwork.