Compute V1 Client - Class ResourcePolicySnapshotSchedulePolicySchedule (1.22.0)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ daily_schedule ResourcePolicyDailyCycle
↳ hourly_schedule ResourcePolicyHourlyCycle
↳ weekly_schedule ResourcePolicyWeeklyCycle

getDailySchedule

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

Returns
Type Description
ResourcePolicyDailyCycle|null

hasDailySchedule

clearDailySchedule

setDailySchedule

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

Parameter
Name Description
var ResourcePolicyDailyCycle
Returns
Type Description
$this

getHourlySchedule

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

Returns
Type Description
ResourcePolicyHourlyCycle|null

hasHourlySchedule

clearHourlySchedule

setHourlySchedule

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

Parameter
Name Description
var ResourcePolicyHourlyCycle
Returns
Type Description
$this

getWeeklySchedule

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

Returns
Type Description
ResourcePolicyWeeklyCycle|null

hasWeeklySchedule

clearWeeklySchedule

setWeeklySchedule

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

Parameter
Name Description
var ResourcePolicyWeeklyCycle
Returns
Type Description
$this