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 must comply with the requirements for labels. 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 for managing labels on Google Cloud resources within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, and it is implemented in the Google.Cloud.Compute.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows users to modify, update, or set labels, and includes properties such as \u003ccode\u003eLabelFingerprint\u003c/code\u003e to detect conflicts during updates, as well as a \u003ccode\u003eLabels\u003c/code\u003e property for the collection of labels themselves.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is \u003ccode\u003e3.6.0\u003c/code\u003e, while \u003ccode\u003e3.5.0\u003c/code\u003e is the current viewed version, and the API versions range from \u003ccode\u003e1.0.0\u003c/code\u003e to \u003ccode\u003e3.6.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e class implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and inherits from the object class.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e, one default and another that accepts another \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"]]],[],null,[]]