class Google::Apis::ComposerV1beta1::MaintenanceWindow

The configuration settings for Cloud Composer maintenance window. The following example: ` “startTime”:“2019-08-01T01:00:00Z” “endTime”:“2019-08- 01T07:00:00Z” “recurrence”:“FREQ=WEEKLY;BYDAY=TU,WE” ` would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday.

Attributes

end_time[RW]

Required. Maintenance window end time. It is used only to calculate the duration of the maintenance window. The value for end_time must be in the future, relative to `start_time`. Corresponds to the JSON property `endTime` @return [String]

recurrence[RW]

Required. Maintenance window recurrence. Format is a subset of [RFC-5545]( tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for ` FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=…` Example values: `FREQ= WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`. Corresponds to the JSON property `recurrence` @return [String]

start_time[RW]

Required. Start time of the first recurrence of the maintenance window. Corresponds to the JSON property `startTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/composer_v1beta1/classes.rb, line 664
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @recurrence = args[:recurrence] if args.key?(:recurrence)
  @start_time = args[:start_time] if args.key?(:start_time)
end