Class: Google::Apis::LookerV1::MaintenanceSchedule

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

Overview

Published upcoming future maintenance schedule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MaintenanceSchedule

Returns a new instance of MaintenanceSchedule.



935
936
937
# File 'lib/google/apis/looker_v1/classes.rb', line 935

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

Instance Attribute Details

#end_timeString

The scheduled end time for the maintenance. Corresponds to the JSON property endTime

Returns:

  • (String)


928
929
930
# File 'lib/google/apis/looker_v1/classes.rb', line 928

def end_time
  @end_time
end

#start_timeString

The scheduled start time for the maintenance. Corresponds to the JSON property startTime

Returns:

  • (String)


933
934
935
# File 'lib/google/apis/looker_v1/classes.rb', line 933

def start_time
  @start_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



940
941
942
943
# File 'lib/google/apis/looker_v1/classes.rb', line 940

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