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"]],[["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-12 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eLabelSet\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.OsConfig.V1\u003c/code\u003e namespace, specifically for version 1.8.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLabelSet\u003c/code\u003e represents a collection of key-value pairs (labels) that are used to identify virtual machines (VMs).\u003c/p\u003e\n"],["\u003cp\u003eA VM must contain all the key-value pairs specified within a \u003ccode\u003eLabelSet\u003c/code\u003e to be considered a match, functioning as an AND operation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabelSet\u003c/code\u003e class includes a \u003ccode\u003eLabels\u003c/code\u003e property, which is a map field that stores the key-value pairs representing the labels, and has constructors to make new instances.\u003c/p\u003e\n"],["\u003cp\u003eThe 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.\u003c/p\u003e\n"]]],[],null,[]]