Class ModifyMessageRequest
Implements
Inherited Members
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class ModifyMessageRequest : IDirectResponseSchema
Properties
AddClassificationLabels
A list of classification label values to add. If a Classification Label with the same label ID is already applied to the message, fields with existing field IDs will be updated and fields with new field IDs will be added. There's a limit of 20 Classification Label values per request. If the message is already classified and the final total number of Classification Label values exceeds the maximum allowed number of Classification Label values per message, the modification fails.
Declaration
[JsonProperty("addClassificationLabels")]
public virtual IList<ClassificationLabelValue> AddClassificationLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<ClassificationLabelValue> |
AddLabelIds
A list of IDs of labels to add to this message. You can add up to 100 labels with each update.
Declaration
[JsonProperty("addLabelIds")]
public virtual IList<string> AddLabelIds { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RemoveClassificationLabelIds
A list of Classification Label values to remove from this message.
Declaration
[JsonProperty("removeClassificationLabelIds")]
public virtual IList<string> RemoveClassificationLabelIds { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
RemoveLabelIds
A list IDs of labels to remove from this message. You can remove up to 100 labels with each update.
Declaration
[JsonProperty("removeLabelIds")]
public virtual IList<string> RemoveLabelIds { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |