Interface NetworkSpecOrBuilder (3.47.0)

public interface NetworkSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableInternetAccess()

public abstract boolean getEnableInternetAccess()

Whether to enable public internet access. Default false.

bool enable_internet_access = 1;

Returns
Type Description
boolean

The enableInternetAccess.

getNetwork()

public abstract String getNetwork()

The full name of the Google Compute Engine network

string network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The full name of the Google Compute Engine network

string network = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for network.

getSubnetwork()

public abstract String getSubnetwork()

The name of the subnet that this instance is in. Format: projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}

string subnetwork = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

The name of the subnet that this instance is in. Format: projects/{project_id_or_number}/regions/{region}/subnetworks/{subnetwork_id}

string subnetwork = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for subnetwork.