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" }.
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" }.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class DataDiskAssignment (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.DataDiskAssignment)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.DataDiskAssignment)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.DataDiskAssignment)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.DataDiskAssignment)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.DataDiskAssignment)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.DataDiskAssignment)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.DataDiskAssignment) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class DataDiskAssignment.\n\nData disk assignment for a given VM instance.\n\nGenerated from protobuf message `google.dataflow.v1beta3.DataDiskAssignment`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getVmInstance\n\nVM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".\n\n### setVmInstance\n\nVM instance name the data disks mounted to, for example\n\"myproject-1014-104817-4c2-harness-0\".\n\n### getDataDisks\n\nMounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }.\n\n### setDataDisks\n\nMounted data disks. The order is important a data disk's 0-based index in\nthis list defines which persistent directory the disk is mounted to, for\nexample the list of { \"myproject-1014-104817-4c2-harness-0-disk-0\" },\n{ \"myproject-1014-104817-4c2-harness-0-disk-1\" }."]]