Reference documentation and code samples for the Google Cloud Lustre V1 Client class MaintenancePolicy.
Defines a maintenance policy for a resource.
Generated from protobuf message google.cloud.lustre.v1.MaintenancePolicy
Namespace
Google \ Cloud \ Lustre \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ weekly_maintenance_windows |
array<MaintenancePolicy\WeeklyMaintenanceWindow>
Required. The weekly maintenance windows for the instance. Currently limited to 1 window. |
↳ maintenance_exclusion_window |
array<MaintenancePolicy\MaintenanceExclusionWindow>
Optional. The exclusion windows for the instance. Currently limited to 1 window. |
getWeeklyMaintenanceWindows
Required. The weekly maintenance windows for the instance. Currently limited to 1 window.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<MaintenancePolicy\WeeklyMaintenanceWindow> |
|
setWeeklyMaintenanceWindows
Required. The weekly maintenance windows for the instance. Currently limited to 1 window.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MaintenancePolicy\WeeklyMaintenanceWindow>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaintenanceExclusionWindow
Optional. The exclusion windows for the instance. Currently limited to 1 window.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<MaintenancePolicy\MaintenanceExclusionWindow> |
|
setMaintenanceExclusionWindow
Optional. The exclusion windows for the instance. Currently limited to 1 window.
| Parameter | |
|---|---|
| Name | Description |
var |
array<MaintenancePolicy\MaintenanceExclusionWindow>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|