Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
-
(::Google::Protobuf::Timestamp) — 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
.
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
-
value (::Google::Protobuf::Timestamp) — 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
.
-
(::Google::Protobuf::Timestamp) — 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
.
#recurrence
def recurrence() -> ::String
-
(::String) — Required. Maintenance window recurrence. Format is a subset of
RFC-5545
RRULE
. The only allowed values forFREQ
field areFREQ=DAILY
andFREQ=WEEKLY;BYDAY=...
Example values:FREQ=WEEKLY;BYDAY=TU,WE
,FREQ=DAILY
.
#recurrence=
def recurrence=(value) -> ::String
-
value (::String) — Required. Maintenance window recurrence. Format is a subset of
RFC-5545
RRULE
. The only allowed values forFREQ
field areFREQ=DAILY
andFREQ=WEEKLY;BYDAY=...
Example values:FREQ=WEEKLY;BYDAY=TU,WE
,FREQ=DAILY
.
-
(::String) — Required. Maintenance window recurrence. Format is a subset of
RFC-5545
RRULE
. The only allowed values forFREQ
field areFREQ=DAILY
andFREQ=WEEKLY;BYDAY=...
Example values:FREQ=WEEKLY;BYDAY=TU,WE
,FREQ=DAILY
.
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Required. Start time of the first recurrence of the maintenance window.
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Required. Start time of the first recurrence of the maintenance window.
- (::Google::Protobuf::Timestamp) — Required. Start time of the first recurrence of the maintenance window.