# Class SnapshotPolicy (0.10.1)

0.10.1 (latest) 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.24 0.2.0 0.1.0

    SnapshotPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Snapshot Policy for a volume.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `enabled` | `bool` If enabled, make snapshots automatically according to the schedules. Default is false. This field is a member of `oneof`_ `_enabled`. |
| `hourly_schedule` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.HourlySchedule` Hourly schedule policy. This field is a member of `oneof`_ `_hourly_schedule`. |
| `daily_schedule` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.DailySchedule` Daily schedule policy. This field is a member of `oneof`_ `_daily_schedule`. |
| `weekly_schedule` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.WeeklySchedule` Weekly schedule policy. This field is a member of `oneof`_ `_weekly_schedule`. |
| `monthly_schedule` | `https://docs.cloud.google.com/python/docs/reference/netapp/latest/google.cloud.netapp_v1.types.MonthlySchedule` Monthly schedule policy. This field is a member of `oneof`_ `_monthly_schedule`. |