public sealed class AllocationPolicy.Types.AttachedDisk : IMessage<AllocationPolicy.Types.AttachedDisk>, IEquatable<AllocationPolicy.Types.AttachedDisk>, IDeepCloneable<AllocationPolicy.Types.AttachedDisk>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.AttachedDisk.
A new or an existing persistent disk (PD) or a local ssd attached to a VM
instance.
Device name that the guest operating system will see.
It is used by Runnable.volumes field to mount disks. So please specify
the device_name if you want Batch to help mount the disk, and it should
match the device_name field in volumes.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation page covers the \u003ccode\u003eAllocationPolicy.Types.AttachedDisk\u003c/code\u003e class within the Google Cloud Batch v1 API, providing reference information for different versions.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 2.13.0, and the documentation includes versions ranging from 1.0.0 to 2.13.0 for the \u003ccode\u003eAllocationPolicy.Types.AttachedDisk\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAllocationPolicy.Types.AttachedDisk\u003c/code\u003e represents a persistent disk or a local SSD that can be attached to a VM instance, and can be either new or an existing disk.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering methods for message handling, equality checks, deep cloning, and buffer message operations.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides details on the class's constructors (\u003ccode\u003eAttachedDisk()\u003c/code\u003e, \u003ccode\u003eAttachedDisk(AttachedDisk)\u003c/code\u003e), properties like \u003ccode\u003eDeviceName\u003c/code\u003e, \u003ccode\u003eExistingDisk\u003c/code\u003e, \u003ccode\u003eNewDisk\u003c/code\u003e, \u003ccode\u003eAttachedCase\u003c/code\u003e, and \u003ccode\u003eHasExistingDisk\u003c/code\u003e, and other information, such as the namespace and assembly for the \u003ccode\u003eAllocationPolicy.Types.AttachedDisk\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]