Compute V1 Client - Class ResourcePolicySnapshotSchedulePolicySchedule (1.7.1)

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

A schedule for disks where the schedueled operations are performed.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ daily_schedule Google\Cloud\Compute\V1\ResourcePolicyDailyCycle
↳ hourly_schedule Google\Cloud\Compute\V1\ResourcePolicyHourlyCycle
↳ weekly_schedule Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycle

getDailySchedule

Generated from protobuf field optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;

Returns
TypeDescription
Google\Cloud\Compute\V1\ResourcePolicyDailyCycle|null

hasDailySchedule

clearDailySchedule

setDailySchedule

Generated from protobuf field optional .google.cloud.compute.v1.ResourcePolicyDailyCycle daily_schedule = 86159869;

Parameter
NameDescription
var Google\Cloud\Compute\V1\ResourcePolicyDailyCycle
Returns
TypeDescription
$this

getHourlySchedule

Generated from protobuf field optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;

Returns
TypeDescription
Google\Cloud\Compute\V1\ResourcePolicyHourlyCycle|null

hasHourlySchedule

clearHourlySchedule

setHourlySchedule

Generated from protobuf field optional .google.cloud.compute.v1.ResourcePolicyHourlyCycle hourly_schedule = 38328485;

Parameter
NameDescription
var Google\Cloud\Compute\V1\ResourcePolicyHourlyCycle
Returns
TypeDescription
$this

getWeeklySchedule

Generated from protobuf field optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;

Returns
TypeDescription
Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycle|null

hasWeeklySchedule

clearWeeklySchedule

setWeeklySchedule

Generated from protobuf field optional .google.cloud.compute.v1.ResourcePolicyWeeklyCycle weekly_schedule = 359548053;

Parameter
NameDescription
var Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycle
Returns
TypeDescription
$this