public sealed class GlobalSetLabelsRequest : IMessage<GlobalSetLabelsRequest>, IEquatable<GlobalSetLabelsRequest>, IDeepCloneable<GlobalSetLabelsRequest>, IBufferMessage, IMessage
The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute 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, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint.
A list of labels to apply for this resource. Each label key & value must comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": "").
[[["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 2025-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e class is used to manage labels for Google Cloud Compute resources and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, with the latest version being 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties such as \u003ccode\u003eHasLabelFingerprint\u003c/code\u003e, \u003ccode\u003eLabelFingerprint\u003c/code\u003e, and \u003ccode\u003eLabels\u003c/code\u003e, enabling users to manage the fingerprint and the list of labels associated with a given resource, with the labels having specific formatting requirements.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided, a default one and one that takes another \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e object for cloning purposes, with the list of versions ranging from 1.0.0 to 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions for \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e range from 1.0.0 to the latest 3.6.0, allowing users to reference and utilize the class in different versions of the Google.Cloud.Compute.V1 library.\u003c/p\u003e\n"]]],[],null,[]]