Reference documentation and code samples for the Compute V1 Client class ResourcePolicyHourlyCycle.
Time window specified for hourly operations.
Generated from protobuf message google.cloud.compute.v1.ResourcePolicyHourlyCycle
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ duration
string
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
↳ hours_in_cycle
int
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
↳ start_time
string
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
getDuration
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
string
hasDuration
clearDuration
setDuration
[Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
var
string
$this
getHoursInCycle
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
int
hasHoursInCycle
clearHoursInCycle
setHoursInCycle
Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle.
var
int
$this
getStartTime
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
string
hasStartTime
clearStartTime
setStartTime
Time within the window to start the operations. It must be in format "HH:MM", where HH : [00-23] and MM : [00-00] GMT.
var
string
$this