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 | |
---|---|
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.
Generated from protobuf field repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setDayOfWeeks
Up to 7 intervals/windows, one for each day of the week.
Generated from protobuf field repeated .google.cloud.compute.v1.ResourcePolicyWeeklyCycleDayOfWeek day_of_weeks = 257871834;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Compute\V1\ResourcePolicyWeeklyCycleDayOfWeek>
|
Returns | |
---|---|
Type | Description |
$this |