Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::DataDiskAssignment.
Data disk assignment for a given VM instance.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#data_disks
defdata_disks()->::Array<::String>
Returns
(::Array<::String>) — 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" }.
#data_disks=
defdata_disks=(value)->::Array<::String>
Parameter
value (::Array<::String>) — 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
(::Array<::String>) — 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" }.
#vm_instance
defvm_instance()->::String
Returns
(::String) — VM instance name the data disks mounted to, for example
"myproject-1014-104817-4c2-harness-0".
#vm_instance=
defvm_instance=(value)->::String
Parameter
value (::String) — VM instance name the data disks mounted to, for example
"myproject-1014-104817-4c2-harness-0".
Returns
(::String) — VM instance name the data disks mounted to, for example
"myproject-1014-104817-4c2-harness-0".
[[["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-09-09 UTC."],[],[],null,["# Dataflow V1beta3 API - Class Google::Cloud::Dataflow::V1beta3::DataDiskAssignment (v0.13.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.13.1 (latest)](/ruby/docs/reference/google-cloud-dataflow-v1beta3/latest/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.13.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.13.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.12.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.12.1/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.11.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.11.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.10.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.10.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.9.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.9.1/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.8.2](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.8.2/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.7.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.7.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.6.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.6.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.5.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.5.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.4.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.3.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.2.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.2.0/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment)\n- [0.1.4](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.1.4/Google-Cloud-Dataflow-V1beta3-DataDiskAssignment) \nReference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::DataDiskAssignment.\n\nData disk assignment for a given VM instance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #data_disks\n\n def data_disks() -\u003e ::Array\u003c::String\u003e\n\n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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\" }.\n\n### #data_disks=\n\n def data_disks=(value) -\u003e ::Array\u003c::String\u003e\n\n**Parameter**\n\n- **value** (::Array\\\u003c::String\\\u003e) --- 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\" }. \n**Returns**\n\n- (::Array\\\u003c::String\\\u003e) --- 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\" }.\n\n### #vm_instance\n\n def vm_instance() -\u003e ::String\n\n**Returns**\n\n- (::String) --- VM instance name the data disks mounted to, for example \"myproject-1014-104817-4c2-harness-0\".\n\n### #vm_instance=\n\n def vm_instance=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- VM instance name the data disks mounted to, for example \"myproject-1014-104817-4c2-harness-0\". \n**Returns**\n\n- (::String) --- VM instance name the data disks mounted to, for example \"myproject-1014-104817-4c2-harness-0\"."]]