Class SetLabelsRequest

SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster

Attributes
NameDescription
strproject_id
Deprecated. The Google Developers Console `project ID or project number
strzone
Deprecated. The name of the Google Compute Engine `zone
strcluster_id
Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
Sequence[google.cloud.container_v1.types.SetLabelsRequest.ResourceLabelsEntry]resource_labels
Required. The labels to set for that cluster.
strlabel_fingerprint
Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a ``get()`` request to the resource to get the latest fingerprint.
strname
The name (project, location, cluster id) of the cluster to set labels. Specified in the format ``projects/*/locations/*/clusters/*``.

Inheritance

builtins.object > proto.message.Message > SetLabelsRequest

Classes

ResourceLabelsEntry

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

API documentation for container_v1.types.SetLabelsRequest.ResourceLabelsEntry class.