Google Cloud Container V1 Client - Class MaintenanceWindow (1.9.1)

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

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.

Generated from protobuf field .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;

Returns
TypeDescription
Google\Cloud\Container\V1\DailyMaintenanceWindow|null

hasDailyMaintenanceWindow

setDailyMaintenanceWindow

DailyMaintenanceWindow specifies a daily maintenance operation window.

Generated from protobuf field .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;

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.

Generated from protobuf field .google.container.v1.RecurringTimeWindow recurring_window = 3;

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.

Generated from protobuf field .google.container.v1.RecurringTimeWindow recurring_window = 3;

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.

Generated from protobuf field map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setMaintenanceExclusions

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

Generated from protobuf field map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;

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

getPolicy

Returns
TypeDescription
string