Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::Disk.
Describes the data disk used by a workflow job.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#disk_type
defdisk_type()->::String
Returns
(::String) — Disk storage type, as defined by Google Compute Engine. This
must be a disk type appropriate to the project and zone in which
the workers will run. If unknown or unspecified, the service
will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name
typically ending in "pd-standard". If SSD persistent disks are
available, the resource name typically ends with "pd-ssd". The
actual valid values are defined the Google Compute Engine API,
not by the Cloud Dataflow API; consult the Google Compute Engine
documentation for more information about determining the set of
available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular
project in a particular zone, and so the resource name will
typically look something like this:
value (::String) — Disk storage type, as defined by Google Compute Engine. This
must be a disk type appropriate to the project and zone in which
the workers will run. If unknown or unspecified, the service
will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name
typically ending in "pd-standard". If SSD persistent disks are
available, the resource name typically ends with "pd-ssd". The
actual valid values are defined the Google Compute Engine API,
not by the Cloud Dataflow API; consult the Google Compute Engine
documentation for more information about determining the set of
available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular
project in a particular zone, and so the resource name will
typically look something like this:
(::String) — Disk storage type, as defined by Google Compute Engine. This
must be a disk type appropriate to the project and zone in which
the workers will run. If unknown or unspecified, the service
will attempt to choose a reasonable default.
For example, the standard persistent disk type is a resource name
typically ending in "pd-standard". If SSD persistent disks are
available, the resource name typically ends with "pd-ssd". The
actual valid values are defined the Google Compute Engine API,
not by the Cloud Dataflow API; consult the Google Compute Engine
documentation for more information about determining the set of
available disk types for a particular project and zone.
Google Compute Engine Disk types are local to a particular
project in a particular zone, and so the resource name will
typically look something like this:
[[["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::Disk (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-Disk)\n- [0.13.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.13.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.12.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.12.1/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.11.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.11.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.10.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.10.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.9.1](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.9.1/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.8.2](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.8.2/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.7.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.7.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.6.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.6.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.5.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.5.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.4.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.4.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.3.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.3.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.2.0](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.2.0/Google-Cloud-Dataflow-V1beta3-Disk)\n- [0.1.4](/ruby/docs/reference/google-cloud-dataflow-v1beta3/0.1.4/Google-Cloud-Dataflow-V1beta3-Disk) \nReference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::Disk.\n\nDescribes the data disk used by a workflow job. \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### #disk_type\n\n def disk_type() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.\n\n For example, the standard persistent disk type is a resource name\n typically ending in \"pd-standard\". If SSD persistent disks are\n available, the resource name typically ends with \"pd-ssd\". The\n actual valid values are defined the Google Compute Engine API,\n not by the Cloud Dataflow API; consult the Google Compute Engine\n documentation for more information about determining the set of\n available disk types for a particular project and zone.\n\n Google Compute Engine Disk types are local to a particular\n project in a particular zone, and so the resource name will\n typically look something like this:\n\n compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard\n\n### #disk_type=\n\n def disk_type=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.\n\n\n For example, the standard persistent disk type is a resource name\n typically ending in \"pd-standard\". If SSD persistent disks are\n available, the resource name typically ends with \"pd-ssd\". The\n actual valid values are defined the Google Compute Engine API,\n not by the Cloud Dataflow API; consult the Google Compute Engine\n documentation for more information about determining the set of\n available disk types for a particular project and zone.\n\n Google Compute Engine Disk types are local to a particular\n project in a particular zone, and so the resource name will\n typically look something like this:\n\ncompute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard \n**Returns**\n\n- (::String) --- Disk storage type, as defined by Google Compute Engine. This must be a disk type appropriate to the project and zone in which the workers will run. If unknown or unspecified, the service will attempt to choose a reasonable default.\n\n For example, the standard persistent disk type is a resource name\n typically ending in \"pd-standard\". If SSD persistent disks are\n available, the resource name typically ends with \"pd-ssd\". The\n actual valid values are defined the Google Compute Engine API,\n not by the Cloud Dataflow API; consult the Google Compute Engine\n documentation for more information about determining the set of\n available disk types for a particular project and zone.\n\n Google Compute Engine Disk types are local to a particular\n project in a particular zone, and so the resource name will\n typically look something like this:\n\n compute.googleapis.com/projects/project-id/zones/zone/diskTypes/pd-standard\n\n### #mount_point\n\n def mount_point() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Directory in a VM where disk is mounted.\n\n### #mount_point=\n\n def mount_point=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Directory in a VM where disk is mounted. \n**Returns**\n\n- (::String) --- Directory in a VM where disk is mounted.\n\n### #size_gb\n\n def size_gb() -\u003e ::Integer\n\n**Returns**\n\n- (::Integer) --- Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default.\n\n### #size_gb=\n\n def size_gb=(value) -\u003e ::Integer\n\n**Parameter**\n\n- **value** (::Integer) --- Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default. \n**Returns**\n\n- (::Integer) --- Size of disk in GB. If zero or unspecified, the service will attempt to choose a reasonable default."]]