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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This webpage details the `GlobalSetLabelsRequest` class within the `Google.Cloud.Compute.V1` namespace, specifically version 2.15.0 of the library, and links to every version of that request as far back as version 1.0.0."],["The `GlobalSetLabelsRequest` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, as well as inheriting from `object`."],["The class has two constructors: a parameterless `GlobalSetLabelsRequest()` and `GlobalSetLabelsRequest(GlobalSetLabelsRequest other)` to create a new request based off of another request."],["Key properties of `GlobalSetLabelsRequest` include `HasLabelFingerprint` (a boolean), `LabelFingerprint` (a string), and `Labels` (a map of string key-value pairs) which allows a user to add labels to a resource."],["The `LabelFingerprint` property is crucial for ensuring updates to labels are conflict-free, requiring an up-to-date fingerprint acquired via a get request to the resource."]]],[]]