public sealed class ResourcePolicySnapshotSchedulePolicyRetentionPolicy : IMessage<ResourcePolicySnapshotSchedulePolicyRetentionPolicy>, IEquatable<ResourcePolicySnapshotSchedulePolicyRetentionPolicy>, IDeepCloneable<ResourcePolicySnapshotSchedulePolicyRetentionPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicySnapshotSchedulePolicyRetentionPolicy.
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
Check the OnSourceDiskDelete enum for the list of possible values.
[[["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\u003eThis webpage provides reference documentation for the \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe class is used to define the retention policy for scheduled snapshots in Google Cloud Compute Engine.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the versions of the API, ranging from the latest 3.6.0 down to 1.0.0, all pertaining to the \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eHasMaxRetentionDays\u003c/code\u003e, \u003ccode\u003eHasOnSourceDiskDelete\u003c/code\u003e, \u003ccode\u003eMaxRetentionDays\u003c/code\u003e, and \u003ccode\u003eOnSourceDiskDelete\u003c/code\u003e, which manage the snapshot retention behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role and capabilities within the .NET framework and protobuf.\u003c/p\u003e\n"]]],[],null,[]]