Reference documentation and code samples for the Compute Engine v1 API enum ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Types.OnSourceDiskDelete.
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-24 UTC."],[[["This page provides versioned documentation for the `OnSourceDiskDelete` enum within the `Google.Cloud.Compute.V1` API, specifically for managing snapshot retention policies."],["The latest version documented is 3.6.0, with a range of previous versions from 3.5.0 down to 1.0.0 also available for reference."],["The `OnSourceDiskDelete` enum defines how scheduled snapshots should behave when the original source disk is removed."],["The `OnSourceDiskDelete` enum fields available include `ApplyRetentionPolicy`, `KeepAutoSnapshots`, `UndefinedOnSourceDiskDelete`, and `UnspecifiedOnSourceDiskDelete`, each with a brief explanation of what it means."]]],[]]