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\u003eThe webpage provides documentation for the \u003ccode\u003eLabel\u003c/code\u003e class within the Google Cloud Security Center v1 API, spanning versions from 2.2.0 to the latest 3.24.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabel\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.SecurityCenter.V1\u003c/code\u003e namespace, is designed to represent generic name-value labels used for filtering.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eLabel\u003c/code\u003e class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, extending functionality for data handling, equality checks, and deep cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLabel\u003c/code\u003e class includes two main properties: \u003ccode\u003eName\u003c/code\u003e, representing the label's name as a string, and \u003ccode\u003eValue\u003c/code\u003e, representing the corresponding value as a string.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors provided for the \u003ccode\u003eLabel\u003c/code\u003e class, one being an empty constructor, and another that takes a \u003ccode\u003eLabel\u003c/code\u003e object to be the parameter.\u003c/p\u003e\n"]]],[],null,[]]