[[["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."],[],[],null,["# Google Cloud Game Servers V1 Client - Class LabelSelector (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-game-servers/latest/V1.LabelSelector)\n- [1.2.5](/php/docs/reference/cloud-game-servers/1.2.5/V1.LabelSelector)\n- [1.1.1](/php/docs/reference/cloud-game-servers/1.1.1/V1.LabelSelector)\n- [1.0.5](/php/docs/reference/cloud-game-servers/1.0.5/V1.LabelSelector) \nReference documentation and code samples for the Google Cloud Game Servers V1 Client class LabelSelector.\n\nThe label selector, used to group labels on the resources.\n\nGenerated from protobuf message `google.cloud.gaming.v1.LabelSelector`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Gaming \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getLabels\n\nResource labels for this selector.\n\n### setLabels\n\nResource labels for this selector."]]