Google Cloud Game Servers V1 Client - Class LabelSelector (1.0.5)

Reference documentation and code samples for the Google Cloud Game Servers V1 Client class LabelSelector.

The label selector, used to group labels on the resources.

Generated from protobuf message google.cloud.gaming.v1.LabelSelector

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ labels array|Google\Protobuf\Internal\MapField

Resource labels for this selector.

getLabels

Resource labels for this selector.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Resource labels for this selector.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this