Google Cloud Dataflow V1beta3 Client - Class DataDiskAssignment (0.4.1)

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
NameDescription
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
TypeDescription
string

setVmInstance

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string[]
Returns
TypeDescription
$this