Reference documentation and code samples for the Google Cloud Config Delivery V1 Client class LabelSelector.
A label selector is a label query over a set of resources. An empty label selector matches all objects.
Generated from protobuf message google.cloud.configdelivery.v1.Fleet.LabelSelector
Namespace
Google \ Cloud \ ConfigDelivery \ V1 \ FleetMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ match_labels |
array|Google\Protobuf\Internal\MapField
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match. |
getMatchLabels
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setMatchLabels
Optional. match_labels is a map of {key,value} pairs. Each {key,value} pair must match an existing label key and value exactly in order to satisfy the match.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |