Table of Contents

Class FilterCriteria

Namespace
Google.Apis.Gmail.v1.Data
Assembly
Google.Apis.Gmail.v1.dll

Message matching criteria.

public class FilterCriteria : IDirectResponseSchema
Inheritance
FilterCriteria
Implements
IDirectResponseSchema
Inherited Members

Constructors

FilterCriteria()

public FilterCriteria()

Properties

ETag

The ETag of the item.

public virtual string ETag { get; set; }

Property Value

string

ExcludeChats

Whether the response should exclude chats.

public virtual bool? ExcludeChats { get; set; }

Property Value

bool?

From

The sender's display name or email address.

public virtual string From { get; set; }

Property Value

string

HasAttachment

Whether the message has any attachment.

public virtual bool? HasAttachment { get; set; }

Property Value

bool?

NegatedQuery

Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".

public virtual string NegatedQuery { get; set; }

Property Value

string

Query

Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser@example.com rfc822msgid: is:unread".

public virtual string Query { get; set; }

Property Value

string

Size

The size of the entire RFC822 message in bytes, including all headers and attachments.

public virtual int? Size { get; set; }

Property Value

int?

SizeComparison

How the message size in bytes should be in relation to the size field.

public virtual string SizeComparison { get; set; }

Property Value

string

Subject

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

public virtual string Subject { get; set; }

Property Value

string

To

The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example@" both match "example@gmail.com". This field is case-insensitive.

public virtual string To { get; set; }

Property Value

string