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 | |
---|---|
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.
Generated from protobuf field .google.container.v1.DailyMaintenanceWindow daily_maintenance_window = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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.
Generated from protobuf field .google.container.v1.RecurringTimeWindow recurring_window = 3;
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.
Generated from protobuf field .google.container.v1.RecurringTimeWindow recurring_window = 3;
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.
Generated from protobuf field map<string, .google.container.v1.TimeWindow> maintenance_exclusions = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getPolicy
Returns | |
---|---|
Type | Description |
string |