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\u003eThis webpage provides documentation for the \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, specifically for version 2.12.0 of the library, which is one of several versions available, including the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly and implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GlobalSetLabelsRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GlobalSetLabelsRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default constructor \u003ccode\u003eGlobalSetLabelsRequest()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eGlobalSetLabelsRequest(GlobalSetLabelsRequest other)\u003c/code\u003e that accepts another \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e class include \u003ccode\u003eHasLabelFingerprint\u003c/code\u003e, which indicates whether the "label_fingerprint" field is set, \u003ccode\u003eLabelFingerprint\u003c/code\u003e, used for conflict detection when updating labels, and \u003ccode\u003eLabels\u003c/code\u003e, which is a map field for storing key-value label pairs.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation offers a listing of older versions, going back to version 1.0.0, and displays a link for each version to the \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e resource.\u003c/p\u003e\n"]]],[],null,[]]