Reference documentation and code samples for the Distributed Cloud Edge Container V1 API class Google::Cloud::EdgeContainer::V1::MaintenancePolicy.
Maintenance policy configuration.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#maintenance_exclusions
def maintenance_exclusions() -> ::Array<::Google::Cloud::EdgeContainer::V1::MaintenanceExclusionWindow>
Returns
- (::Array<::Google::Cloud::EdgeContainer::V1::MaintenanceExclusionWindow>) — Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.
#maintenance_exclusions=
def maintenance_exclusions=(value) -> ::Array<::Google::Cloud::EdgeContainer::V1::MaintenanceExclusionWindow>
Parameter
- value (::Array<::Google::Cloud::EdgeContainer::V1::MaintenanceExclusionWindow>) — Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.
Returns
- (::Array<::Google::Cloud::EdgeContainer::V1::MaintenanceExclusionWindow>) — Optional. Exclusions to automatic maintenance. Non-emergency maintenance should not occur in these windows. Each exclusion has a unique name and may be active or expired. The max number of maintenance exclusions allowed at a given time is 3.
#window
def window() -> ::Google::Cloud::EdgeContainer::V1::MaintenanceWindow
Returns
- (::Google::Cloud::EdgeContainer::V1::MaintenanceWindow) — Specifies the maintenance window in which maintenance may be performed.
#window=
def window=(value) -> ::Google::Cloud::EdgeContainer::V1::MaintenanceWindow
Parameter
- value (::Google::Cloud::EdgeContainer::V1::MaintenanceWindow) — Specifies the maintenance window in which maintenance may be performed.
Returns
- (::Google::Cloud::EdgeContainer::V1::MaintenanceWindow) — Specifies the maintenance window in which maintenance may be performed.