Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class MaintenanceUpdatePolicy.
MaintenanceUpdatePolicy defines the policy for system updates.
Generated from protobuf message google.cloud.alloydb.v1.MaintenanceUpdatePolicy
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ maintenance_windows |
array<MaintenanceUpdatePolicy\MaintenanceWindow>
Preferred windows to perform maintenance. Currently limited to 1. |
getMaintenanceWindows
Preferred windows to perform maintenance. Currently limited to 1.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMaintenanceWindows
Preferred windows to perform maintenance. Currently limited to 1.
Parameter | |
---|---|
Name | Description |
var |
array<MaintenanceUpdatePolicy\MaintenanceWindow>
|
Returns | |
---|---|
Type | Description |
$this |