Google Cloud Batch V1 Client - Class NetworkPolicy (1.2.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< NetworkInterface >

Network configurations.

getNetworkInterfaces

Network configurations.

Returns
Type
Description

setNetworkInterfaces

Network configurations.

Parameter
Name
Description
var
array< NetworkInterface >
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: