Class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyMaintenanceWindow
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicyMaintenanceWindow
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
A maintenance window for VMs. When set, we restrict our maintenance operations to this window.
Instance Attribute Summary collapse
-
#daily_maintenance_window ⇒ Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle
Time window specified for daily operations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourcePolicyVmMaintenancePolicyMaintenanceWindow
constructor
A new instance of ResourcePolicyVmMaintenancePolicyMaintenanceWindow.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResourcePolicyVmMaintenancePolicyMaintenanceWindow
Returns a new instance of ResourcePolicyVmMaintenancePolicyMaintenanceWindow
23113 23114 23115 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23113 def initialize(**args) update!(**args) end |
Instance Attribute Details
#daily_maintenance_window ⇒ Google::Apis::ComputeAlpha::ResourcePolicyDailyCycle
Time window specified for daily operations.
Corresponds to the JSON property dailyMaintenanceWindow
23111 23112 23113 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23111 def daily_maintenance_window @daily_maintenance_window end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
23118 23119 23120 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 23118 def update!(**args) @daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window) end |