class Google::Apis::AutoscalerV1beta2::Zone::MaintenanceWindow

Attributes

begin_time[RW]

Corresponds to the JSON property `beginTime` @return [String]

description[RW]

Corresponds to the JSON property `description` @return [String]

end_time[RW]

Corresponds to the JSON property `endTime` @return [String]

name[RW]

Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 694
def update!(**args)
  @begin_time = args[:begin_time] if args.key?(:begin_time)
  @description = args[:description] if args.key?(:description)
  @end_time = args[:end_time] if args.key?(:end_time)
  @name = args[:name] if args.key?(:name)
end