Google Cloud Container V1 Client - Class MaintenanceWindow (1.22.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
NameDescription
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
TypeDescription
Google\Cloud\Container\V1\DailyMaintenanceWindow|null

hasDailyMaintenanceWindow

setDailyMaintenanceWindow

DailyMaintenanceWindow specifies a daily maintenance operation window.

Parameter
NameDescription
var Google\Cloud\Container\V1\DailyMaintenanceWindow
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\Container\V1\RecurringTimeWindow
Returns
TypeDescription
$this

getMaintenanceExclusions

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setMaintenanceExclusions

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

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getPolicy

Returns
TypeDescription
string