Cloud Composer v1 API - Class MaintenanceWindow (2.2.0)

public sealed class MaintenanceWindow : IMessage<MaintenanceWindow>, IEquatable<MaintenanceWindow>, IDeepCloneable<MaintenanceWindow>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Composer v1 API class MaintenanceWindow.

The configuration settings for Cloud Composer maintenance window. The following example:

{
&quot;startTime&quot;:&quot;2019-08-01T01:00:00Z&quot;
&quot;endTime&quot;:&quot;2019-08-01T07:00:00Z&quot;
&quot;recurrence&quot;:&quot;FREQ=WEEKLY;BYDAY=TU,WE&quot;
}

would define a maintenance window between 01 and 07 hours UTC during each Tuesday and Wednesday.

Inheritance

Object > MaintenanceWindow

Namespace

Google.Cloud.Orchestration.Airflow.Service.V1

Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

Constructors

MaintenanceWindow()

public MaintenanceWindow()

MaintenanceWindow(MaintenanceWindow)

public MaintenanceWindow(MaintenanceWindow other)
Parameter
NameDescription
otherMaintenanceWindow

Properties

EndTime

public Timestamp EndTime { get; set; }

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.

Property Value
TypeDescription
Timestamp

Recurrence

public string Recurrence { get; set; }

Required. Maintenance window recurrence. Format is a subset of RFC-5545 RRULE. The only allowed values for FREQ field are FREQ=DAILY and FREQ=WEEKLY;BYDAY=... Example values: FREQ=WEEKLY;BYDAY=TU,WE, FREQ=DAILY.

Property Value
TypeDescription
String

StartTime

public Timestamp StartTime { get; set; }

Required. Start time of the first recurrence of the maintenance window.

Property Value
TypeDescription
Timestamp