Compute V1 Client - Class ResourcePolicyInstanceSchedulePolicySchedule (1.7.1)

Reference documentation and code samples for the Compute V1 Client class ResourcePolicyInstanceSchedulePolicySchedule.

Schedule for an instance operation.

Generated from protobuf message google.cloud.compute.v1.ResourcePolicyInstanceSchedulePolicySchedule

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ schedule string

Specifies the frequency for the operation, using the unix-cron format.

getSchedule

Specifies the frequency for the operation, using the unix-cron format.

Returns
TypeDescription
string

hasSchedule

clearSchedule

setSchedule

Specifies the frequency for the operation, using the unix-cron format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this