Class Filter
Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.
Inheritance
System.Object
Filter
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class Filter : IDirectResponseSchema
Properties
Action
Action that the filter performs.
Declaration
[JsonProperty("action")]
public virtual FilterAction Action { get; set; }
Property Value
| Type | Description |
|---|---|
| FilterAction |
Criteria
Matching criteria for the filter.
Declaration
[JsonProperty("criteria")]
public virtual FilterCriteria Criteria { get; set; }
Property Value
| Type | Description |
|---|---|
| FilterCriteria |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Id
The server assigned ID of the filter.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |