2.1.0 (latest) 2.0.0 1.1.0 1.0.0

    public sealed class DataFilter : IMessage<DataFilter>, IEquatable<DataFilter>, IDeepCloneable<DataFilter>, IBufferMessage, IMessage

Reference documentation and code samples for the Data Analytics API with Gemini v1 API class DataFilter.

A filter on a datasource's underlying data. Filter syntax documentation:
<https://cloud.google.com/looker/docs/filter-expressions>

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DataFilter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataFilter), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DataFilter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataFilter), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DataFilter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataFilter), [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)

## 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.GeminiDataAnalytics.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1)

## Assembly

Google.Cloud.GeminiDataAnalytics.V1.dll

## Constructors

### DataFilter()

    public DataFilter()

### DataFilter(DataFilter)

    public DataFilter(DataFilter other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataFilter` |

## Properties

### Field

    public string Field { get; set; }

Optional. The field to filter on. For example: \["event_date",
"customer_id", "product_category"\]

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Type

    public DataFilterType Type { get; set; }

Optional. The type of filter present on a datasource, such as
ALWAYS_FILTER.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.GeminiDataAnalytics.V1/latest/Google.Cloud.GeminiDataAnalytics.V1.DataFilterType` |   |

### Value

    public string Value { get; set; }

Optional. The default value used for this filter if the filter is not
overridden in a query. For example: \["after 2024-01-01", "123", "-fashion"\]

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |