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 page provides documentation for the \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class in the Google Cloud Compute Engine v1 API, specifically for the .NET library.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers versions ranging from 1.0.0 to 3.6.0, with 3.6.0 being the latest, allowing developers to access the documentation for different versions as needed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class is a part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, and it is used to manage the retention policies for scheduled snapshots.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eMaxRetentionDays\u003c/code\u003e and \u003ccode\u003eOnSourceDiskDelete\u003c/code\u003e to control the retention duration and behavior upon source disk deletion, offering customization options.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation shows that this class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces (\u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e), indicating its role in the message-based communication structure within the API.\u003c/p\u003e\n"]]],[],null,[]]