Google Cloud Dataflow V1beta3 Client - Class DataDiskAssignment (0.6.3)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class DataDiskAssignment.

Data disk assignment for a given VM instance.

Generated from protobuf message google.dataflow.v1beta3.DataDiskAssignment

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vm_instance string

VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".

↳ data_disks array

Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.

getVmInstance

VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".

Returns
Type Description
string

setVmInstance

VM instance name the data disks mounted to, for example "myproject-1014-104817-4c2-harness-0".

Parameter
Name Description
var string
Returns
Type Description
$this

getDataDisks

Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDataDisks

Mounted data disks. The order is important a data disk's 0-based index in this list defines which persistent directory the disk is mounted to, for example the list of { "myproject-1014-104817-4c2-harness-0-disk-0" }, { "myproject-1014-104817-4c2-harness-0-disk-1" }.

Parameter
Name Description
var string[]
Returns
Type Description
$this