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
.. attribute:: project_id
Deprecated. The Google Developers Console project ID or
project number <https://developers.google.com/console/help/new
/#projectnumber>__. This field has been deprecated and
replaced by the name field.
Deprecated. The name of the cluster. This field has been
deprecated and replaced by the name field.
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.
Classes
ResourceLabelsEntry
API documentation for container_v1.types.SetLabelsRequest.ResourceLabelsEntry class.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-03 UTC."],[],[]]