Google Cloud Net App V1 Client - Class MonthlySchedule (0.3.1)

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

Make a snapshot once a month e.g. at 2nd 04:00, 7th 05:20, 24th 23:50

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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).

↳ days_of_month string

Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.

getSnapshotsToKeep

The maximum number of Snapshots to keep for the hourly schedule

Returns
Type Description
float

hasSnapshotsToKeep

clearSnapshotsToKeep

setSnapshotsToKeep

The maximum number of Snapshots to keep for the hourly schedule

Parameter
Name Description
var float
Returns
Type Description
$this

getMinute

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

Returns
Type Description
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
Name Description
var float
Returns
Type Description
$this

getHour

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

Returns
Type Description
float

hasHour

clearHour

setHour

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

Parameter
Name Description
var float
Returns
Type Description
$this

getDaysOfMonth

Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.

Returns
Type Description
string

hasDaysOfMonth

clearDaysOfMonth

setDaysOfMonth

Set the day or days of the month to make a snapshot (1-31). Accepts a comma separated number of days. Defaults to '1'.

Parameter
Name Description
var string
Returns
Type Description
$this