Compute V1 Client - Class ResourcePolicyInstanceSchedulePolicySchedule (1.5.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

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.

Generated from protobuf field optional string schedule = 375820951;

Returns
TypeDescription
string

hasSchedule

clearSchedule

setSchedule

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

Generated from protobuf field optional string schedule = 375820951;

Parameter
NameDescription
var string
Returns
TypeDescription
$this