class Google::Apis::SqladminV1beta4::MaintenanceWindow

Maintenance window. This specifies when a Cloud SQL instance is restarted for system maintenance purposes.

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]

Maintenance timing setting: `canary` (Earlier) or `stable` (Later). [Learn more](cloud.google.com/sql/docs/mysql/instance-settings#maintenance- timing-2ndgen). Corresponds to the JSON property `updateTrack` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2135
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 2140
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