class Google::Apis::SqladminV1beta4::MaintenanceWindow
Maintenance window. This specifies when a v2 Cloud SQL instance should preferably be restarted for system maintenance puruposes.
Attributes
day[RW]
day of week (1-7), starting on Monday. Corresponds to the JSON property `day` @return [Fixnum]
hour[RW]
hour of day - 0 to 23. Corresponds to the JSON property `hour` @return [Fixnum]
kind[RW]
This is always sql#maintenanceWindow. Corresponds to the JSON property `kind` @return [String]
update_track[RW]
Corresponds to the JSON property `updateTrack` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1148 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/sqladmin_v1beta4/classes.rb, line 1153 def update!(**args) @day = args[:day] if args.key?(:day) @hour = args[:hour] if args.key?(:hour) @kind = args[:kind] if args.key?(:kind) @update_track = args[:update_track] if args.key?(:update_track) end