Google Cloud Batch V1 Client - Class NetworkInterface (0.2.2)

Reference documentation and code samples for the Google Cloud Batch V1 Client class NetworkInterface.

A network interface.

Generated from protobuf message google.cloud.batch.v1.AllocationPolicy.NetworkInterface

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ network
string

The URL of the network resource.

↳ subnetwork
string

The URL of the Subnetwork resource.

↳ no_external_ip_address
bool

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.

getNetwork

The URL of the network resource.

Generated from protobuf field string network = 1;

Returns
Type
Description
string

setNetwork

The URL of the network resource.

Generated from protobuf field string network = 1;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSubnetwork

The URL of the Subnetwork resource.

Generated from protobuf field string subnetwork = 2;

Returns
Type
Description
string

setSubnetwork

The URL of the Subnetwork resource.

Generated from protobuf field string subnetwork = 2;

Parameter
Name
Description
var
string
Returns
Type
Description
$this

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.

Generated from protobuf field bool no_external_ip_address = 3;

Returns
Type
Description
bool

setNoExternalIpAddress

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.

Generated from protobuf field bool no_external_ip_address = 3;

Parameter
Name
Description
var
bool
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: