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 \ AllocationPolicyMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network_interfaces |
array<NetworkInterface>
Network configurations. |
getNetworkInterfaces
Network configurations.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNetworkInterfaces
Network configurations.
Parameter | |
---|---|
Name | Description |
var |
array<NetworkInterface>
|
Returns | |
---|---|
Type | Description |
$this |