MaintenancePolicy defines the maintenance policy to be used for the cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#resource_version
def resource_version() -> ::String
Returns
-
(::String) — A hash identifying the version of this policy, so that updates to fields of
the policy won't accidentally undo intermediate changes (and so that users
of the API unaware of some fields won't accidentally remove other fields).
Make a
get()
request to the cluster to get the current resource version and include it with requests to set the policy.
#resource_version=
def resource_version=(value) -> ::String
Parameter
-
value (::String) — A hash identifying the version of this policy, so that updates to fields of
the policy won't accidentally undo intermediate changes (and so that users
of the API unaware of some fields won't accidentally remove other fields).
Make a
get()
request to the cluster to get the current resource version and include it with requests to set the policy.
Returns
-
(::String) — A hash identifying the version of this policy, so that updates to fields of
the policy won't accidentally undo intermediate changes (and so that users
of the API unaware of some fields won't accidentally remove other fields).
Make a
get()
request to the cluster to get the current resource version and include it with requests to set the policy.
#window
def window() -> ::Google::Cloud::Container::V1::MaintenanceWindow
Returns
- (::Google::Cloud::Container::V1::MaintenanceWindow) — Specifies the maintenance window in which maintenance may be performed.
#window=
def window=(value) -> ::Google::Cloud::Container::V1::MaintenanceWindow
Parameter
- value (::Google::Cloud::Container::V1::MaintenanceWindow) — Specifies the maintenance window in which maintenance may be performed.
Returns
- (::Google::Cloud::Container::V1::MaintenanceWindow) — Specifies the maintenance window in which maintenance may be performed.