[[["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-09-09 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eSnapshotPolicy\u003c/code\u003e class in the Google.Cloud.NetApp.V1 API provides functionality for defining and managing snapshot schedules for volumes.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows for the creation of daily, hourly, monthly, and weekly snapshot schedules, each configurable through its respective schedule property.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSnapshotPolicy\u003c/code\u003e has a property called \u003ccode\u003eEnabled\u003c/code\u003e that determines whether automatic snapshots will be created based on the defined schedules.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent version of Snapshot Policy available is version 1.8.0, while several older versions are also accessible through their own links.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSnapshotPolicy\u003c/code\u003e class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing for diverse uses.\u003c/p\u003e\n"]]],[],null,["# NetApp v1 API - Class SnapshotPolicy (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.9.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.8.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.7.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.6.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.5.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.4.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.3.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.2.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.1.0/Google.Cloud.NetApp.V1.SnapshotPolicy)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetApp.V1/1.0.0/Google.Cloud.NetApp.V1.SnapshotPolicy) \n\n public sealed class SnapshotPolicy : IMessage\u003cSnapshotPolicy\u003e, IEquatable\u003cSnapshotPolicy\u003e, IDeepCloneable\u003cSnapshotPolicy\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the NetApp v1 API class SnapshotPolicy.\n\nSnapshot Policy for a volume. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e SnapshotPolicy \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[SnapshotPolicy](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.SnapshotPolicy), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[SnapshotPolicy](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.SnapshotPolicy), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[SnapshotPolicy](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1.SnapshotPolicy), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetApp.V1](/dotnet/docs/reference/Google.Cloud.NetApp.V1/latest/Google.Cloud.NetApp.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetApp.V1.dll\n\nConstructors\n------------\n\n### SnapshotPolicy()\n\n public SnapshotPolicy()\n\n### SnapshotPolicy(SnapshotPolicy)\n\n public SnapshotPolicy(SnapshotPolicy other)\n\nProperties\n----------\n\n### DailySchedule\n\n public DailySchedule DailySchedule { get; set; }\n\nDaily schedule policy.\n\n### Enabled\n\n public bool Enabled { get; set; }\n\nIf enabled, make snapshots automatically according to the schedules.\nDefault is false.\n\n### HasEnabled\n\n public bool HasEnabled { get; }\n\nGets whether the \"enabled\" field is set\n\n### HourlySchedule\n\n public HourlySchedule HourlySchedule { get; set; }\n\nHourly schedule policy.\n\n### MonthlySchedule\n\n public MonthlySchedule MonthlySchedule { get; set; }\n\nMonthly schedule policy.\n\n### WeeklySchedule\n\n public WeeklySchedule WeeklySchedule { get; set; }\n\nWeekly schedule policy."]]