Class History
A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.
Implements
Inherited Members
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class History : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The mailbox sequence ID.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
LabelsAdded
Labels added to messages in this history record.
Declaration
[JsonProperty("labelsAdded")]
public virtual IList<HistoryLabelAdded> LabelsAdded { get; set; }
Property Value
Type | Description |
---|---|
IList<HistoryLabelAdded> |
LabelsRemoved
Labels removed from messages in this history record.
Declaration
[JsonProperty("labelsRemoved")]
public virtual IList<HistoryLabelRemoved> LabelsRemoved { get; set; }
Property Value
Type | Description |
---|---|
IList<HistoryLabelRemoved> |
Messages
List of messages changed in this history record. The fields for specific change types, such as
messagesAdded
may duplicate messages in this field. We recommend using the specific change-type fields
instead of this.
Declaration
[JsonProperty("messages")]
public virtual IList<Message> Messages { get; set; }
Property Value
Type | Description |
---|---|
IList<Message> |
MessagesAdded
Messages added to the mailbox in this history record.
Declaration
[JsonProperty("messagesAdded")]
public virtual IList<HistoryMessageAdded> MessagesAdded { get; set; }
Property Value
Type | Description |
---|---|
IList<HistoryMessageAdded> |
MessagesDeleted
Messages deleted (not Trashed) from the mailbox in this history record.
Declaration
[JsonProperty("messagesDeleted")]
public virtual IList<HistoryMessageDeleted> MessagesDeleted { get; set; }
Property Value
Type | Description |
---|---|
IList<HistoryMessageDeleted> |