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 available in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace and is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, providing a way to manage labels in Google Cloud Compute resources.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e is 3.6.0, but multiple versions from 1.0.0 to 3.5.0 are accessible through provided links, indicating a history of updates and compatibility across different releases.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGlobalSetLabelsRequest\u003c/code\u003e 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, which gives it functionality for message handling, equality checks, deep cloning, and buffer management within the Google Cloud environment.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eHasLabelFingerprint\u003c/code\u003e, \u003ccode\u003eLabelFingerprint\u003c/code\u003e, and \u003ccode\u003eLabels\u003c/code\u003e, allowing users to check if a label fingerprint is set, retrieve or modify the label fingerprint string, and manage a collection of labels, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabelFingerprint\u003c/code\u003e property is crucial for managing concurrent label updates, requiring an up-to-date fingerprint to prevent conflicts and ensuring data consistency when modifying resource labels.\u003c/p\u003e\n"]]],[],null,[]]