Google Cloud Net App V1 Client - Class WeeklySchedule (0.1.1)

Reference documentation and code samples for the Google Cloud Net App V1 Client class WeeklySchedule.

Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50

Generated from protobuf message google.cloud.netapp.v1.WeeklySchedule

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ snapshots_to_keep float

The maximum number of Snapshots to keep for the hourly schedule

↳ minute float

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

↳ hour float

Set the hour to start the snapshot (0-23), defaults to midnight (0).

↳ day string

Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

getSnapshotsToKeep

The maximum number of Snapshots to keep for the hourly schedule

Returns
TypeDescription
float

hasSnapshotsToKeep

clearSnapshotsToKeep

setSnapshotsToKeep

The maximum number of Snapshots to keep for the hourly schedule

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMinute

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

Returns
TypeDescription
float

hasMinute

clearMinute

setMinute

Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getHour

Set the hour to start the snapshot (0-23), defaults to midnight (0).

Returns
TypeDescription
float

hasHour

clearHour

setHour

Set the hour to start the snapshot (0-23), defaults to midnight (0).

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getDay

Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

Returns
TypeDescription
string

hasDay

clearDay

setDay

Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.

Parameter
NameDescription
var string
Returns
TypeDescription
$this