[[["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-09-04 UTC."],[[["\u003cp\u003eThe latest version of the LabelSelector class for the Google Cloud for Games v1beta API is 2.0.0-beta03.\u003c/p\u003e\n"],["\u003cp\u003eLabelSelector is a class used to group labels on resources within the Google Cloud for Games v1beta API.\u003c/p\u003e\n"],["\u003cp\u003eLabelSelector inherits from the object class and implements several interfaces, including IMessage, IEquatable, IDeepCloneable, and IBufferMessage.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a default constructor and one that takes another LabelSelector object as a parameter, allowing for object duplication.\u003c/p\u003e\n"],["\u003cp\u003eLabelSelector class contains a \u003ccode\u003eLabels\u003c/code\u003e property of the type MapField, that is used to define the resource labels for this selector.\u003c/p\u003e\n"]]],[],null,["# Google Cloud for Games v1beta API - Class LabelSelector (2.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.LabelSelector)\n- [2.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/2.0.0-beta02/Google.Cloud.Gaming.V1Beta.LabelSelector)\n- [1.0.0-beta09](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/1.0.0-beta09/Google.Cloud.Gaming.V1Beta.LabelSelector) \n\n public sealed class LabelSelector : IMessage\u003cLabelSelector\u003e, IEquatable\u003cLabelSelector\u003e, IDeepCloneable\u003cLabelSelector\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud for Games v1beta API class LabelSelector.\n\nThe label selector, used to group labels on the resources. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LabelSelector \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LabelSelector](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.LabelSelector), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LabelSelector](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.LabelSelector), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LabelSelector](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.LabelSelector), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Gaming.V1Beta](/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Gaming.V1Beta.dll\n\nConstructors\n------------\n\n### LabelSelector()\n\n public LabelSelector()\n\n### LabelSelector(LabelSelector)\n\n public LabelSelector(LabelSelector other)\n\nProperties\n----------\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nResource labels for this selector."]]