# Eventarc v1 API - Class FilteringAttribute (2.9.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.8.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.7.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.6.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.FilteringAttribute)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.FilteringAttribute)

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

Reference documentation and code samples for the Eventarc v1 API class FilteringAttribute.

A representation of the FilteringAttribute resource.
Filtering attributes are per event type.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Eventarc.V1.dll

## Constructors

### FilteringAttribute()

    public FilteringAttribute()

### FilteringAttribute(FilteringAttribute)

    public FilteringAttribute(FilteringAttribute other)

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

## Properties

### Attribute

    public string Attribute { get; set; }

Output only. Attribute used for filtering the event type.

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

### Description

    public string Description { get; set; }

Output only. Description of the purpose of the attribute.

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

### PathPatternSupported

    public bool PathPatternSupported { get; set; }

Output only. If true, the attribute accepts matching expressions in the
Eventarc PathPattern format.

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

### Required

    public bool Required { get; set; }

Output only. If true, the triggers for this provider should always specify
a filter on these attributes. Trigger creation will fail otherwise.

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