public sealed class LabelSet : IMessage<OSPolicyAssignment.Types.LabelSet>, IEquatable<OSPolicyAssignment.Types.LabelSet>, IDeepCloneable<OSPolicyAssignment.Types.LabelSet>, IBufferMessage, IMessage
Message representing label set.
A label is a key value pair set for a VM.
A LabelSet is a set of labels.
Labels within a LabelSet are ANDed. In other words, a LabelSet is
applicable for a VM only if it matches all the labels in the
LabelSet.
Example: A LabelSet with 2 labels: env=prod and type=webserver will
only be applicable for those VMs with both labels
present.
[[["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 document provides information on the `LabelSet` class within the `Google.Cloud.OsConfig.V1` namespace, specifically for version 2.0.0."],["A `LabelSet` is a collection of key-value pairs (labels) used to identify VMs, where a VM must possess all labels in a `LabelSet` to be considered a match."],["The document also covers the versions of `Google.Cloud.OsConfig.V1.OSPolicyAssignment.Types.LabelSet` ranging from 2.4.0 (latest) to 1.3.0."],["The `LabelSet` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and has constructors to create new `LabelSet` objects."],["The `LabelSet` class contains the `Labels` property, a map that holds string key-value pairs, representing the labels associated with the set."]]],[]]