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 reference documentation for the `ResourcePolicySnapshotSchedulePolicyRetentionPolicy.Types.OnSourceDiskDelete` enum within the Google Compute Engine v1 API."],["The latest version of the API documented here is 3.6.0, with a historical record of versions available back to 1.0.0, and the current displayed version is 2.14.0."],["The `OnSourceDiskDelete` enum specifies how scheduled snapshots should behave when their source disk is deleted."],["There are four fields documented in the enum: `ApplyRetentionPolicy`, `KeepAutoSnapshots`, `UndefinedOnSourceDiskDelete`, and `UnspecifiedOnSourceDiskDelete`, each having their own functionality."],["The relevant namespace for this enum is `Google.Cloud.Compute.V1`, and it is part of the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]