Compute V1 Client - Class ResourcePolicyWeeklyCycle (1.16.2)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setDayOfWeeks

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

Parameter
Name Description
var array<Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycleDayOfWeek>
Returns
Type Description
$this