Compute V1 Client - Class ResourcePolicySnapshotSchedulePolicySchedule (1.20.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 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
Type Description
Google\Cloud\Compute\V1\ResourcePolicyDailyCycle|null

hasDailySchedule

clearDailySchedule

setDailySchedule

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

Parameter
Name Description
var Google\Cloud\Compute\V1\ResourcePolicyDailyCycle
Returns
Type Description
$this

getHourlySchedule

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

Returns
Type Description
Google\Cloud\Compute\V1\ResourcePolicyHourlyCycle|null

hasHourlySchedule

clearHourlySchedule

setHourlySchedule

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

Parameter
Name Description
var Google\Cloud\Compute\V1\ResourcePolicyHourlyCycle
Returns
Type Description
$this

getWeeklySchedule

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

Returns
Type Description
Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycle|null

hasWeeklySchedule

clearWeeklySchedule

setWeeklySchedule

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

Parameter
Name Description
var Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycle
Returns
Type Description
$this