public sealed class StatefulPolicyPreservedStateDiskDevice : IMessage<StatefulPolicyPreservedStateDiskDevice>, IEquatable<StatefulPolicyPreservedStateDiskDevice>, IDeepCloneable<StatefulPolicyPreservedStateDiskDevice>, IBufferMessage, IMessage
These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted.
Check the AutoDelete enum for the list of possible values.
[[["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-04-09 UTC."],[[["The webpage details the `StatefulPolicyPreservedStateDiskDevice` class within the `Google.Cloud.Compute.V1` namespace, specifically version 3.2.0, and references to past versions are included as well."],["This class is a sealed class that implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality comparisons, deep cloning, and buffered message operations."],["The class inherits from the base `object` class and provides two constructors: a default constructor and a copy constructor that takes another `StatefulPolicyPreservedStateDiskDevice` object as a parameter."],["Key properties of the `StatefulPolicyPreservedStateDiskDevice` class include `AutoDelete`, a string property indicating whether the disk should be automatically deleted, and `HasAutoDelete`, a boolean property that indicates if `auto_delete` field is set."],["The current latest version referenced in the document is 3.6.0, while the document itself refers to version 3.2.0 and lists past versions, going as far back as version 1.0.0, all related to `Google.Cloud.Compute.V1`."]]],[]]