Reference documentation and code samples for the Google Cloud Net App V1 Client class SnapshotPolicy.
Snapshot Policy for a volume.
Generated from protobuf message google.cloud.netapp.v1.SnapshotPolicy
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ enabled
bool
If enabled, make snapshots automatically according to the schedules. Default is false.
↳ hourly_schedule
↳ daily_schedule
↳ weekly_schedule
↳ monthly_schedule
getEnabled
If enabled, make snapshots automatically according to the schedules.
Default is false.
bool
hasEnabled
clearEnabled
setEnabled
If enabled, make snapshots automatically according to the schedules.
Default is false.
var
bool
$this
getHourlySchedule
Hourly schedule policy.
hasHourlySchedule
clearHourlySchedule
setHourlySchedule
Hourly schedule policy.
$this
getDailySchedule
Daily schedule policy.
hasDailySchedule
clearDailySchedule
setDailySchedule
Daily schedule policy.
$this
getWeeklySchedule
Weekly schedule policy.
hasWeeklySchedule
clearWeeklySchedule
setWeeklySchedule
Weekly schedule policy.
$this
getMonthlySchedule
Monthly schedule policy.
hasMonthlySchedule
clearMonthlySchedule
setMonthlySchedule
Monthly schedule policy.
$this