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.\u003c/p\u003e\n"],["\u003cp\u003eThe class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, specifically dealing with the policy for retention of scheduled snapshots.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the available versions of the API, with 3.6.0 as the latest and the content being represented with version 2.11.0, alongside its inheritance, implemented interfaces, and inherited members.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eMaxRetentionDays\u003c/code\u003e, which sets the maximum age of snapshots, and \u003ccode\u003eOnSourceDiskDelete\u003c/code\u003e, which controls the behavior of snapshots when the source disk is deleted, each with its own property type and description.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for creating instances of the \u003ccode\u003eResourcePolicySnapshotSchedulePolicyRetentionPolicy\u003c/code\u003e class are available, including a default constructor and a copy constructor.\u003c/p\u003e\n"]]],[],null,[]]