Class SetMaintenancePolicyRequest

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

SetMaintenancePolicyRequest sets the maintenance policy for a cluster.

Attributes

NameDescription
project_id str
Required. The Google Developers Console `project ID or project number
zone str
Required. The name of the Google Compute Engine `zone
cluster_id str
Required. The name of the cluster to update.
maintenance_policy google.cloud.container_v1beta1.types.MaintenancePolicy
Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
name str
The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format ``projects/*/locations/*/clusters/*``.

Inheritance

builtins.object > proto.message.Message > SetMaintenancePolicyRequest