Google Cloud Net App V1 Client - Class SnapshotPolicy (1.4.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
HourlySchedule

Hourly schedule policy.

↳ daily_schedule
DailySchedule

Daily schedule policy.

↳ weekly_schedule
WeeklySchedule

Weekly schedule policy.

↳ monthly_schedule
MonthlySchedule

Monthly schedule policy.

getEnabled

If enabled, make snapshots automatically according to the schedules.

Default is false.

Returns
Type
Description
bool

hasEnabled

clearEnabled

setEnabled

If enabled, make snapshots automatically according to the schedules.

Default is false.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getHourlySchedule

Hourly schedule policy.

Returns
Type
Description

hasHourlySchedule

clearHourlySchedule

setHourlySchedule

Hourly schedule policy.

Parameter
Name
Description
Returns
Type
Description
$this

getDailySchedule

Daily schedule policy.

Returns
Type
Description

hasDailySchedule

clearDailySchedule

setDailySchedule

Daily schedule policy.

Parameter
Name
Description
Returns
Type
Description
$this

getWeeklySchedule

Weekly schedule policy.

Returns
Type
Description

hasWeeklySchedule

clearWeeklySchedule

setWeeklySchedule

Weekly schedule policy.

Parameter
Name
Description
Returns
Type
Description
$this

getMonthlySchedule

Monthly schedule policy.

Returns
Type
Description

hasMonthlySchedule

clearMonthlySchedule

setMonthlySchedule

Monthly schedule policy.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: