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 document provides reference information for the \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class is used to define the retention policy for scheduled snapshots, as a sub-section of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe document outlines the available versions of the API, from 1.0.0 to the latest version of 3.6.0, with the reference documentation of the 3.5.0 version being present.\u003c/p\u003e\n"],["\u003cp\u003eThe document details the class's properties, including \u003ccode\u003eMaxRetentionDays\u003c/code\u003e and \u003ccode\u003eOnSourceDiskDelete\u003c/code\u003e, and describes their functionality in controlling snapshot retention and deletion behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe content also shows that the class \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e implements multiple interfaces, such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage, for extended functionality.\u003c/p\u003e\n"]]],[],null,[]]