Class: Google::Apis::LookerV1::MaintenanceWindow
- Inherits:
-
Object
- Object
- Google::Apis::LookerV1::MaintenanceWindow
- 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
Specifies the recurring maintenance window.
Instance Attribute Summary collapse
-
#day_of_week ⇒ String
Required.
-
#start_time ⇒ Google::Apis::LookerV1::TimeOfDay
Represents a time of day.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MaintenanceWindow
constructor
A new instance of MaintenanceWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MaintenanceWindow
Returns a new instance of MaintenanceWindow.
1001 1002 1003 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#day_of_week ⇒ String
Required. Day of the week for this MaintenanceWindow (in UTC).
Corresponds to the JSON property dayOfWeek
992 993 994 |
# File 'lib/google/apis/looker_v1/classes.rb', line 992 def day_of_week @day_of_week end |
#start_time ⇒ Google::Apis::LookerV1::TimeOfDay
Represents a time of day. The date and time zone are either not significant or
are specified elsewhere. An API may choose to allow leap seconds. Related
types are google.type.Date and google.protobuf.Timestamp.
Corresponds to the JSON property startTime
999 1000 1001 |
# File 'lib/google/apis/looker_v1/classes.rb', line 999 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1006 1007 1008 1009 |
# File 'lib/google/apis/looker_v1/classes.rb', line 1006 def update!(**args) @day_of_week = args[:day_of_week] if args.key?(:day_of_week) @start_time = args[:start_time] if args.key?(:start_time) end |