class Google::Apis::FileV1beta1::UpdatePolicy
Maintenance policy applicable to instance updates.
Attributes
channel[RW]
Optional. Relative scheduling channel applied to resource. Corresponds to the JSON property `channel` @return [String]
deny_maintenance_periods[RW]
Deny Maintenance Period that is applied to resource to indicate when maintenance is forbidden. User can specify zero or more non-overlapping deny periods. Maximum number of deny_maintenance_periods
expected is one. Corresponds to the JSON property `denyMaintenancePeriods` @return [Array<Google::Apis::FileV1beta1::DenyMaintenancePeriod>]
window[RW]
MaintenanceWindow
definition. Corresponds to the JSON property `window` @return [Google::Apis::FileV1beta1::MaintenanceWindow]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/file_v1beta1/classes.rb, line 1519 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/file_v1beta1/classes.rb, line 1524 def update!(**args) @channel = args[:channel] if args.key?(:channel) @deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods) @window = args[:window] if args.key?(:window) end