Class SetLocationsRequest (2.24.0)

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

SetLocationsRequest sets the locations of the cluster.

Attributes

NameDescription
project_id str
Deprecated. The Google Developers Console `project ID or project number
zone str
Deprecated. The name of the Google Compute Engine zone __ in which the cluster resides. This field has been deprecated and replaced by the name field.
cluster_id str
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
locations MutableSequence[str]
Required. The desired list of Google Compute Engine zones __ in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.
name str
The name (project, location, cluster) of the cluster to set locations. Specified in the format projects/*/locations/*/clusters/*.