1.0.0 (latest) 1.0.0-beta01

    public sealed class Fleet.Types.LabelSelector : IMessage<Fleet.Types.LabelSelector>, IEquatable<Fleet.Types.LabelSelector>, IDeepCloneable<Fleet.Types.LabelSelector>, IBufferMessage, IMessage

Reference documentation and code samples for the Config Delivery v1 API class Fleet.Types.LabelSelector.

A label selector is a label query over a set of resources. An empty label
selector matches all objects.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> Fleet.Types.LabelSelector

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Fleet](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.Types.md.txt)[LabelSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.Types.LabelSelector.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Fleet](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.Types.md.txt)[LabelSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.Types.LabelSelector.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Fleet](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.Types.md.txt)[LabelSelector](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.Fleet.Types.LabelSelector.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ConfigDelivery.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ConfigDelivery.V1/latest/Google.Cloud.ConfigDelivery.V1.md.txt)

## Assembly

Google.Cloud.ConfigDelivery.V1.dll

## Constructors

### LabelSelector()

    public LabelSelector()

### LabelSelector(LabelSelector)

    public LabelSelector(Fleet.Types.LabelSelector other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `FleetTypesLabelSelector` |

## Properties

### MatchLabels

    public MapField<string, string> MatchLabels { get; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `MapFieldstringstring` |   |