Google Cloud Batch V1 Client - Class NetworkPolicy (1.0.2)

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

NetworkPolicy describes VM instance network configurations.

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

Namespace

Google \ Cloud \ Batch \ V1 \ AllocationPolicy

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ network_interfaces array<Google\Cloud\Batch\V1\AllocationPolicy\NetworkInterface>

Network configurations.

getNetworkInterfaces

Network configurations.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNetworkInterfaces

Network configurations.

Parameter
Name Description
var array<Google\Cloud\Batch\V1\AllocationPolicy\NetworkInterface>
Returns
Type Description
$this