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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eFilteringAttribute\u003c/code\u003e class within the Google Cloud Eventarc v1 API, with the latest version being 2.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilteringAttribute\u003c/code\u003e class is used to represent filtering attributes that are specific to each event type and is found in the \u003ccode\u003eGoogle.Cloud.Eventarc.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eFilteringAttribute\u003c/code\u003e class include \u003ccode\u003eAttribute\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003ePathPatternSupported\u003c/code\u003e, and \u003ccode\u003eRequired\u003c/code\u003e, all of which are output-only and used to define the criteria of event filtering.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFilteringAttribute\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also provides access to reference documents for older versions of this class, dating back to version 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Eventarc v1 API - Class FilteringAttribute (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.5.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.4.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.3.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.2.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.1.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/2.0.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.3.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.2.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.1.0/Google.Cloud.Eventarc.V1.FilteringAttribute)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/1.0.0/Google.Cloud.Eventarc.V1.FilteringAttribute) \n\n public sealed class FilteringAttribute : IMessage\u003cFilteringAttribute\u003e, IEquatable\u003cFilteringAttribute\u003e, IDeepCloneable\u003cFilteringAttribute\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Eventarc v1 API class FilteringAttribute.\n\nA representation of the FilteringAttribute resource.\nFiltering attributes are per event type. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e FilteringAttribute \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[FilteringAttribute](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1.FilteringAttribute), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[FilteringAttribute](/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](/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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Eventarc.V1](/dotnet/docs/reference/Google.Cloud.Eventarc.V1/latest/Google.Cloud.Eventarc.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Eventarc.V1.dll\n\nConstructors\n------------\n\n### FilteringAttribute()\n\n public FilteringAttribute()\n\n### FilteringAttribute(FilteringAttribute)\n\n public FilteringAttribute(FilteringAttribute other)\n\nProperties\n----------\n\n### Attribute\n\n public string Attribute { get; set; }\n\nOutput only. Attribute used for filtering the event type.\n\n### Description\n\n public string Description { get; set; }\n\nOutput only. Description of the purpose of the attribute.\n\n### PathPatternSupported\n\n public bool PathPatternSupported { get; set; }\n\nOutput only. If true, the attribute accepts matching expressions in the\nEventarc PathPattern format.\n\n### Required\n\n public bool Required { get; set; }\n\nOutput only. If true, the triggers for this provider should always specify\na filter on these attributes. Trigger creation will fail otherwise."]]