public sealed class ResourcePolicySnapshotSchedulePolicyRetentionPolicy : IMessage<ResourcePolicySnapshotSchedulePolicyRetentionPolicy>, IEquatable<ResourcePolicySnapshotSchedulePolicyRetentionPolicy>, IDeepCloneable<ResourcePolicySnapshotSchedulePolicyRetentionPolicy>, IBufferMessage, IMessage
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-28 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, specifically within the context of .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe class manages the retention policy for scheduled snapshots, including setting the maximum age allowed for a snapshot and defining behavior upon source disk deletion, with the ability to set the \u003ccode\u003eMaxRetentionDays\u003c/code\u003e property as an integer and the \u003ccode\u003eOnSourceDiskDelete\u003c/code\u003e property as a string.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation outlines the class's inheritance from the base \u003ccode\u003eObject\u003c/code\u003e class, and the implementation of \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also provides access to different versions of the documentation, ranging from version 1.0.0 up to the latest version 3.6.0, allowing developers to refer to the documentation for their required versions.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains multiple properties that can be set or checked like \u003ccode\u003eHasMaxRetentionDays\u003c/code\u003e, \u003ccode\u003eHasOnSourceDiskDelete\u003c/code\u003e, \u003ccode\u003eMaxRetentionDays\u003c/code\u003e, and \u003ccode\u003eOnSourceDiskDelete\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]