Google Cloud Net App V1 Client - Class HourlySchedule (0.2.0)

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

Make a snapshot every hour e.g. at 04:00, 05:00, 06:00.

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

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).

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