Reference documentation and code samples for the Google Cloud Sql Admin V1beta4 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.v1beta4.MaintenanceWindow
Namespace
Google \ Cloud \ Sql \ V1beta4Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ hour
↳ day
↳ update_track
↳ kind
string
This is always sql#maintenanceWindow
.
getHour
hour of day - 0 to 23.
hasHour
clearHour
getHourValue
Returns the unboxed value from getHour()
hour of day - 0 to 23.
int|null
setHour
hour of day - 0 to 23.
$this
setHourValue
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
hour of day - 0 to 23.
var
int|null
$this
getDay
day of week (1-7), starting on Monday.
hasDay
clearDay
getDayValue
Returns the unboxed value from getDay()
day of week (1-7), starting on Monday.
int|null
setDay
day of week (1-7), starting on Monday.
$this
setDayValue
Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.
day of week (1-7), starting on Monday.
var
int|null
$this
getUpdateTrack
Maintenance timing setting: canary
(Earlier) or stable
(Later).
int
setUpdateTrack
Maintenance timing setting: canary
(Earlier) or stable
(Later).
var
int
$this
getKind
This is always sql#maintenanceWindow
.
string
setKind
This is always sql#maintenanceWindow
.
var
string
$this