public sealed class DetachDiskInstanceRequest : IMessage<DetachDiskInstanceRequest>, IEquatable<DetachDiskInstanceRequest>, IDeepCloneable<DetachDiskInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class DetachDiskInstanceRequest.
A request message for Instances.DetachDisk. See the method description for details.
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
[[["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-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDetachDiskInstanceRequest\u003c/code\u003e class is part of the Google Cloud Compute Engine v1 API, and is used to represent a request for detaching a disk from an instance.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers various versions of the API, with the latest being version 3.6.0 and version 3.4.0 as a specific point of reference for the class details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDetachDiskInstanceRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, defining its functionality and how it interacts with other classes.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eDetachDiskInstanceRequest\u003c/code\u003e class include \u003ccode\u003eDeviceName\u003c/code\u003e, \u003ccode\u003eInstance\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, and \u003ccode\u003eZone\u003c/code\u003e, which specify the disk, instance, project, request identifier, and zone for the detach operation.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors: a parameterless one and another allowing for cloning an existing \u003ccode\u003eDetachDiskInstanceRequest\u003c/code\u003e object, shown by the method \u003ccode\u003eDetachDiskInstanceRequest(DetachDiskInstanceRequest other)\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]