Reference documentation and code samples for the Compute V1 Client class NodeGroupMaintenanceWindow.
Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window.
Generated from protobuf message google.cloud.compute.v1.NodeGroupMaintenanceWindow
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ maintenance_duration |
Google\Cloud\Compute\V1\Duration
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. |
↳ start_time |
string
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. |
getMaintenanceDuration
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
Generated from protobuf field optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Returns | |
---|---|
Type | Description |
Google\Cloud\Compute\V1\Duration|null |
hasMaintenanceDuration
clearMaintenanceDuration
setMaintenanceDuration
[Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario.
Generated from protobuf field optional .google.cloud.compute.v1.Duration maintenance_duration = 525291840;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Compute\V1\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
Generated from protobuf field optional string start_time = 37467274;
Returns | |
---|---|
Type | Description |
string |
hasStartTime
clearStartTime
setStartTime
Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid.
Generated from protobuf field optional string start_time = 37467274;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |