class Google::Apis::ContainerV1beta1::MaintenanceWindow

MaintenanceWindow defines the maintenance window to be used for the cluster.

Attributes

daily_maintenance_window[RW]

Time window specified for daily maintenance operations. Corresponds to the JSON property `dailyMaintenanceWindow` @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow]

maintenance_exclusions[RW]

Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows. Corresponds to the JSON property `maintenanceExclusions` @return [Hash<String,Google::Apis::ContainerV1beta1::TimeWindow>]

recurring_window[RW]

Represents an arbitrary window of time that recurs. Corresponds to the JSON property `recurringWindow` @return [Google::Apis::ContainerV1beta1::RecurringTimeWindow]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 2626
def update!(**args)
  @daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window)
  @maintenance_exclusions = args[:maintenance_exclusions] if args.key?(:maintenance_exclusions)
  @recurring_window = args[:recurring_window] if args.key?(:recurring_window)
end