#include <maintenance_window.h>
Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance purposes.
◆ MaintenanceWindow() [1/2]
| google_sqladmin_api::MaintenanceWindow::MaintenanceWindow |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ MaintenanceWindow() [2/2]
| google_sqladmin_api::MaintenanceWindow::MaintenanceWindow |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~MaintenanceWindow()
| google_sqladmin_api::MaintenanceWindow::~MaintenanceWindow |
( |
| ) |
|
|
virtual |
◆ clear_day()
| void google_sqladmin_api::MaintenanceWindow::clear_day |
( |
| ) |
|
|
inline |
Clears the 'day' attribute.
◆ clear_hour()
| void google_sqladmin_api::MaintenanceWindow::clear_hour |
( |
| ) |
|
|
inline |
Clears the 'hour' attribute.
◆ clear_kind()
| void google_sqladmin_api::MaintenanceWindow::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind' attribute.
◆ clear_update_track()
| void google_sqladmin_api::MaintenanceWindow::clear_update_track |
( |
| ) |
|
|
inline |
Clears the 'updateTrack' attribute.
◆ get_day()
| int32 google_sqladmin_api::MaintenanceWindow::get_day |
( |
| ) |
const |
|
inline |
Get the value of the 'day' attribute.
◆ get_hour()
| int32 google_sqladmin_api::MaintenanceWindow::get_hour |
( |
| ) |
const |
|
inline |
Get the value of the 'hour' attribute.
◆ get_kind()
| const StringPiece google_sqladmin_api::MaintenanceWindow::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind' attribute.
◆ get_update_track()
| const StringPiece google_sqladmin_api::MaintenanceWindow::get_update_track |
( |
| ) |
const |
|
inline |
Get the value of the 'updateTrack' attribute.
◆ GetTypeName()
| const StringPiece google_sqladmin_api::MaintenanceWindow::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_day()
| bool google_sqladmin_api::MaintenanceWindow::has_day |
( |
| ) |
const |
|
inline |
Determine if the 'day' attribute was set.
- Returns
- true if the '
day' attribute was set.
◆ has_hour()
| bool google_sqladmin_api::MaintenanceWindow::has_hour |
( |
| ) |
const |
|
inline |
Determine if the 'hour' attribute was set.
- Returns
- true if the '
hour' attribute was set.
◆ has_kind()
| bool google_sqladmin_api::MaintenanceWindow::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind' attribute was set.
- Returns
- true if the '
kind' attribute was set.
◆ has_update_track()
| bool google_sqladmin_api::MaintenanceWindow::has_update_track |
( |
| ) |
const |
|
inline |
Determine if the 'updateTrack' attribute was set.
- Returns
- true if the '
updateTrack' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_day()
| void google_sqladmin_api::MaintenanceWindow::set_day |
( |
int32 |
value | ) |
|
|
inline |
Change the 'day' attribute.
day of week (1-7), starting on Monday.
- Parameters
-
◆ set_hour()
| void google_sqladmin_api::MaintenanceWindow::set_hour |
( |
int32 |
value | ) |
|
|
inline |
Change the 'hour' attribute.
hour of day - 0 to 23.
- Parameters
-
◆ set_kind()
| void google_sqladmin_api::MaintenanceWindow::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind' attribute.
This is always sql::maintenanceWindow.
- Parameters
-
◆ set_update_track()
| void google_sqladmin_api::MaintenanceWindow::set_update_track |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'updateTrack' attribute.
Maintenance timing setting: canary (Earlier) or stable (Later). Learn more.
- Parameters
-
The documentation for this class was generated from the following files: