Google Cloud Container V1 Client - Class MaintenanceWindow (2.2.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class MaintenanceWindow.

MaintenanceWindow defines the maintenance window to be used for the cluster.

Generated from protobuf message google.container.v1.MaintenanceWindow

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ daily_maintenance_window Google\Cloud\Container\V1\DailyMaintenanceWindow

DailyMaintenanceWindow specifies a daily maintenance operation window.

↳ recurring_window Google\Cloud\Container\V1\RecurringTimeWindow

RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.

↳ maintenance_exclusions array|Google\Protobuf\Internal\MapField

Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.

getDailyMaintenanceWindow

DailyMaintenanceWindow specifies a daily maintenance operation window.

Returns
Type Description
Google\Cloud\Container\V1\DailyMaintenanceWindow|null

hasDailyMaintenanceWindow

setDailyMaintenanceWindow

DailyMaintenanceWindow specifies a daily maintenance operation window.

Parameter
Name Description
var Google\Cloud\Container\V1\DailyMaintenanceWindow
Returns
Type Description
$this

getRecurringWindow

RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.

Returns
Type Description
Google\Cloud\Container\V1\RecurringTimeWindow|null

hasRecurringWindow

setRecurringWindow

RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.

Parameter
Name Description
var Google\Cloud\Container\V1\RecurringTimeWindow
Returns
Type Description
$this

getMaintenanceExclusions

Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.

Returns
Type Description
Google\Protobuf\Internal\MapField

setMaintenanceExclusions

Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getPolicy

Returns
Type Description
string