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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ day_of_weeks |
array<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<ResourcePolicyWeeklyCycleDayOfWeek>
|
Returns | |
---|---|
Type | Description |
$this |