Compute V1 Client - Class NodeGroupMaintenanceWindow (1.10.1)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Returns
TypeDescription
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.

Parameter
NameDescription
var Google\Cloud\Compute\V1\Duration
Returns
TypeDescription
$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.

Returns
TypeDescription
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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this