Compute V1 Client - Class ResourcePolicyInstanceSchedulePolicySchedule (1.18.0)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

hasSchedule

clearSchedule

setSchedule

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

Parameter
Name Description
var string
Returns
Type Description
$this