Class: Google::Apis::SqladminV1beta4::Reschedule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Reschedule

Returns a new instance of Reschedule.



2284
2285
2286
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2284

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#reschedule_typeString

Required. The type of the reschedule. Corresponds to the JSON property rescheduleType

Returns:

  • (String)


2275
2276
2277
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2275

def reschedule_type
  @reschedule_type
end

#schedule_timeString

Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example 2012-11-15T16: 19:00.094Z. Corresponds to the JSON property scheduleTime

Returns:

  • (String)


2282
2283
2284
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2282

def schedule_time
  @schedule_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2289
2290
2291
2292
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 2289

def update!(**args)
  @reschedule_type = args[:reschedule_type] if args.key?(:reschedule_type)
  @schedule_time = args[:schedule_time] if args.key?(:schedule_time)
end