Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start.
| JSON representation |
|---|
{ "startTime": { object ( |
| Fields | |
|---|---|
startTime |
Optional. Preferred time to start the maintenance operation on the specified day. |
day |
Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc. |
phase |
Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance |
DayOfWeek
Represents a day of the week.
| Enums | |
|---|---|
DAY_OF_WEEK_UNSPECIFIED |
The day of the week is unspecified. |
MONDAY |
Monday |
TUESDAY |
Tuesday |
WEDNESDAY |
Wednesday |
THURSDAY |
Thursday |
FRIDAY |
Friday |
SATURDAY |
Saturday |
SUNDAY |
Sunday |
Phase
Phase/Week of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance. This enum can be extended to support DB Center specific phases for recommendation plan generation.
| Enums | |
|---|---|
PHASE_UNSPECIFIED |
Phase is unspecified. |
PHASE_WEEK1 |
Week 1. |
PHASE_WEEK2 |
Week 2. |
PHASE_WEEK5 |
Week 5. |
PHASE_ANY |
Any phase. |