Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::MaintenanceWindow.
Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#day
def day() -> ::Google::Protobuf::Int32Value
Returns
-
(::Google::Protobuf::Int32Value) — Day of week -
MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY, orSUNDAY. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where1equals Monday.
#day=
def day=(value) -> ::Google::Protobuf::Int32Value
Parameter
-
value (::Google::Protobuf::Int32Value) — Day of week -
MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY, orSUNDAY. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where1equals Monday.
Returns
-
(::Google::Protobuf::Int32Value) — Day of week -
MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY,SATURDAY, orSUNDAY. Specify in the UTC time zone. Returned in output as an integer, 1 to 7, where1equals Monday.
#hour
def hour() -> ::Google::Protobuf::Int32Value
Returns
- (::Google::Protobuf::Int32Value) — Hour of day - 0 to 23. Specify in the UTC time zone.
#hour=
def hour=(value) -> ::Google::Protobuf::Int32Value
Parameter
- value (::Google::Protobuf::Int32Value) — Hour of day - 0 to 23. Specify in the UTC time zone.
Returns
- (::Google::Protobuf::Int32Value) — Hour of day - 0 to 23. Specify in the UTC time zone.
#kind
def kind() -> ::String
Returns
-
(::String) — This is always
sql#maintenanceWindow.
#kind=
def kind=(value) -> ::String
Parameter
-
value (::String) — This is always
sql#maintenanceWindow.
Returns
-
(::String) — This is always
sql#maintenanceWindow.
#update_track
def update_track() -> ::Google::Cloud::Sql::V1::SqlUpdateTrack
Returns
-
(::Google::Cloud::Sql::V1::SqlUpdateTrack) — Maintenance timing settings:
canary,stable, orweek5. For more information, see About maintenance on Cloud SQL instances.
#update_track=
def update_track=(value) -> ::Google::Cloud::Sql::V1::SqlUpdateTrack
Parameter
-
value (::Google::Cloud::Sql::V1::SqlUpdateTrack) — Maintenance timing settings:
canary,stable, orweek5. For more information, see About maintenance on Cloud SQL instances.
Returns
-
(::Google::Cloud::Sql::V1::SqlUpdateTrack) — Maintenance timing settings:
canary,stable, orweek5. For more information, see About maintenance on Cloud SQL instances.