public sealed class Label : IMessage<Label>, IEquatable<Label>, IDeepCloneable<Label>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Security Command Center v1 API class Label.
Represents a generic name-value label. A label has separate name and value
fields to support filtering with the contains() function. For more
information, see Filtering on array-type
fields.
[[["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-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eLabel\u003c/code\u003e class within the Google Cloud Security Center v1 API, with the current version being 3.18.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabel\u003c/code\u003e class is used to represent a generic name-value label, supporting filtering operations such as \u003ccode\u003econtains()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists various versions of the API, ranging from version 3.24.0 (latest) down to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabel\u003c/code\u003e class has properties for \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eValue\u003c/code\u003e, both of which are strings, and it inherits and implements several interfaces such as IMessage, IEquatable, and IDeepCloneable.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides two constructor overloads, Label() and Label(Label other).\u003c/p\u003e\n"]]],[],null,[]]