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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ daily_maintenance_window |
DailyMaintenanceWindow
DailyMaintenanceWindow specifies a daily maintenance operation window. |
↳ recurring_window |
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 |
DailyMaintenanceWindow|null |
hasDailyMaintenanceWindow
setDailyMaintenanceWindow
DailyMaintenanceWindow specifies a daily maintenance operation window.
Parameter | |
---|---|
Name | Description |
var |
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 |
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 |
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 |