Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class MaintenanceWindow.
MaintenanceWindow specifies a preferred day and time for maintenance.
Generated from protobuf message google.cloud.alloydb.v1.MaintenanceUpdatePolicy.MaintenanceWindow
Namespace
Google \ Cloud \ AlloyDb \ V1 \ MaintenanceUpdatePolicyMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ day |
int
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. |
↳ start_time |
Google\Type\TimeOfDay
Preferred time to start the maintenance operation on the specified day. Maintenance will start within 1 hour of this time. |
getDay
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
Returns | |
---|---|
Type | Description |
int |
setDay
Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
Returns | |
---|---|
Type | Description |
Google\Type\TimeOfDay|null |
hasStartTime
clearStartTime
setStartTime
Preferred time to start the maintenance operation on the specified day.
Maintenance will start within 1 hour of this time.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\TimeOfDay
|
Returns | |
---|---|
Type | Description |
$this |