Compute V1 Client - Class ResourcePolicyWeeklyCycle (1.8.3)

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

Time window specified for weekly operations.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ day_of_weeks array<Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycleDayOfWeek>

Up to 7 intervals/windows, one for each day of the week.

getDayOfWeeks

Up to 7 intervals/windows, one for each day of the week.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDayOfWeeks

Up to 7 intervals/windows, one for each day of the week.

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycleDayOfWeek>
Returns
TypeDescription
$this