Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class MaintenanceWindow.
Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.
Generated from protobuf message google.cloud.sql.v1.MaintenanceWindow
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ hour
↳ day
Google\Protobuf\Int32Value
Day of week - MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, or SUNDAY
. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where 1
equals Monday.
↳ update_track
int
Maintenance timing settings: canary
, stable
, or week5
. For more information, see About maintenance on Cloud SQL instances
.
↳ kind
string
This is always sql#maintenanceWindow
.
getHour
Hour of day - 0 to 23. Specify in the UTC time zone.
hasHour
clearHour
getHourUnwrapped
Returns the unboxed value from getHour()
Hour of day - 0 to 23. Specify in the UTC time zone.
int|null
setHour
Hour of day - 0 to 23. Specify in the UTC time zone.
$this
setHourUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
Hour of day - 0 to 23. Specify in the UTC time zone.
var
int|null
$this
getDay
Day of week - MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, or SUNDAY
. Specify in the UTC time zone.
Returned in output as an integer, 1 to 7, where 1
equals Monday.
hasDay
clearDay
getDayUnwrapped
Returns the unboxed value from getDay()
Day of week - MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, or SUNDAY
. Specify in the UTC time zone.
Returned in output as an integer, 1 to 7, where 1
equals Monday.
int|null
setDay
Day of week - MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, or SUNDAY
. Specify in the UTC time zone.
Returned in output as an integer, 1 to 7, where 1
equals Monday.
$this
setDayUnwrapped
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
Day of week - MONDAY
, TUESDAY
, WEDNESDAY
, THURSDAY
, FRIDAY
, SATURDAY
, or SUNDAY
. Specify in the UTC time zone.
Returned in output as an integer, 1 to 7, where 1
equals Monday.
var
int|null
$this
getUpdateTrack
Maintenance timing settings: canary
, stable
, or week5
.
For more information, see About maintenance on Cloud SQL instances .
int
setUpdateTrack
Maintenance timing settings: canary
, stable
, or week5
.
For more information, see About maintenance on Cloud SQL instances .
var
int
$this
getKind
This is always sql#maintenanceWindow
.
string
setKind
This is always sql#maintenanceWindow
.
var
string
$this