Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::SnapshotPolicy.
Snapshot Policy for a volume.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#daily_schedule
def daily_schedule() -> ::Google::Cloud::NetApp::V1::DailySchedule
Returns
- (::Google::Cloud::NetApp::V1::DailySchedule) — Daily schedule policy.
#daily_schedule=
def daily_schedule=(value) -> ::Google::Cloud::NetApp::V1::DailySchedule
Parameter
- value (::Google::Cloud::NetApp::V1::DailySchedule) — Daily schedule policy.
Returns
- (::Google::Cloud::NetApp::V1::DailySchedule) — Daily schedule policy.
#enabled
def enabled() -> ::Boolean
Returns
- (::Boolean) — If enabled, make snapshots automatically according to the schedules. Default is false.
#enabled=
def enabled=(value) -> ::Boolean
Parameter
- value (::Boolean) — If enabled, make snapshots automatically according to the schedules. Default is false.
Returns
- (::Boolean) — If enabled, make snapshots automatically according to the schedules. Default is false.
#hourly_schedule
def hourly_schedule() -> ::Google::Cloud::NetApp::V1::HourlySchedule
Returns
- (::Google::Cloud::NetApp::V1::HourlySchedule) — Hourly schedule policy.
#hourly_schedule=
def hourly_schedule=(value) -> ::Google::Cloud::NetApp::V1::HourlySchedule
Parameter
- value (::Google::Cloud::NetApp::V1::HourlySchedule) — Hourly schedule policy.
Returns
- (::Google::Cloud::NetApp::V1::HourlySchedule) — Hourly schedule policy.
#monthly_schedule
def monthly_schedule() -> ::Google::Cloud::NetApp::V1::MonthlySchedule
Returns
- (::Google::Cloud::NetApp::V1::MonthlySchedule) — Monthly schedule policy.
#monthly_schedule=
def monthly_schedule=(value) -> ::Google::Cloud::NetApp::V1::MonthlySchedule
Parameter
- value (::Google::Cloud::NetApp::V1::MonthlySchedule) — Monthly schedule policy.
Returns
- (::Google::Cloud::NetApp::V1::MonthlySchedule) — Monthly schedule policy.
#weekly_schedule
def weekly_schedule() -> ::Google::Cloud::NetApp::V1::WeeklySchedule
Returns
- (::Google::Cloud::NetApp::V1::WeeklySchedule) — Weekly schedule policy.
#weekly_schedule=
def weekly_schedule=(value) -> ::Google::Cloud::NetApp::V1::WeeklySchedule
Parameter
- value (::Google::Cloud::NetApp::V1::WeeklySchedule) — Weekly schedule policy.
Returns
- (::Google::Cloud::NetApp::V1::WeeklySchedule) — Weekly schedule policy.