Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::MaintenancePolicy (v0.27.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::MaintenancePolicy.

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

#window=

def window=(value) -> ::Google::Cloud::Container::V1::MaintenanceWindow
Parameter
Returns