Class MaintenancePolicy (2.17.3)

MaintenancePolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

MaintenancePolicy defines the maintenance policy to be used for the cluster.

Attributes

NameDescription
window google.cloud.container_v1.types.MaintenanceWindow
Specifies the maintenance window in which maintenance may be performed.
resource_version str
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.