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-04-17 UTC."],[[["This webpage provides documentation for the `LabelSet` class within the `Google.Cloud.OsConfig.V1` namespace, specifically for version 1.8.0."],["`LabelSet` represents a collection of key-value pairs (labels) that are used to identify virtual machines (VMs)."],["A VM must contain all the key-value pairs specified within a `LabelSet` to be considered a match, functioning as an AND operation."],["The `LabelSet` class includes a `Labels` property, which is a map field that stores the key-value pairs representing the labels, and has constructors to make new instances."],["The current page also provides a list of all versions and their documentation from 1.3.0 to 2.4.0, with 2.4.0 being the most recent."]]],[]]