Class FilterCriteria
Message matching criteria.
Implements
Inherited Members
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class FilterCriteria : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExcludeChats
Whether the response should exclude chats.
Declaration
[JsonProperty("excludeChats")]
public virtual bool? ExcludeChats { get; set; }
Property Value
Type | Description |
---|---|
bool? |
From
The sender's display name or email address.
Declaration
[JsonProperty("from")]
public virtual string From { get; set; }
Property Value
Type | Description |
---|---|
string |
HasAttachment
Whether the message has any attachment.
Declaration
[JsonProperty("hasAttachment")]
public virtual bool? HasAttachment { get; set; }
Property Value
Type | Description |
---|---|
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"
.
Declaration
[JsonProperty("negatedQuery")]
public virtual string NegatedQuery { get; set; }
Property Value
Type | Description |
---|---|
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"
.
Declaration
[JsonProperty("query")]
public virtual string Query { get; set; }
Property Value
Type | Description |
---|---|
string |
Size
The size of the entire RFC822 message in bytes, including all headers and attachments.
Declaration
[JsonProperty("size")]
public virtual int? Size { get; set; }
Property Value
Type | Description |
---|---|
int? |
SizeComparison
How the message size in bytes should be in relation to the size field.
Declaration
[JsonProperty("sizeComparison")]
public virtual string SizeComparison { get; set; }
Property Value
Type | Description |
---|---|
string |
Subject
Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.
Declaration
[JsonProperty("subject")]
public virtual string Subject { get; set; }
Property Value
Type | Description |
---|---|
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.
Declaration
[JsonProperty("to")]
public virtual string To { get; set; }
Property Value
Type | Description |
---|---|
string |