Struct google_composer1::api::MaintenanceWindow
source · pub struct MaintenanceWindow {
pub end_time: Option<DateTime<Utc>>,
pub recurrence: Option<String>,
pub start_time: Option<DateTime<Utc>>,
}
Expand description
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.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>
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: Option<String>
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
.
start_time: Option<DateTime<Utc>>
Required. Start time of the first recurrence of the maintenance window.
Trait Implementations§
source§impl Clone for MaintenanceWindow
impl Clone for MaintenanceWindow
source§fn clone(&self) -> MaintenanceWindow
fn clone(&self) -> MaintenanceWindow
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more