gmail  v1
Properties | List of all members
Google.Apis.Gmail.v1.Data.Label Class Reference

Labels are used to categorize messages and threads within the user's mailbox. More...

Inheritance diagram for Google.Apis.Gmail.v1.Data.Label:
Google::Apis::Requests::IDirectResponseSchema

Properties

virtual LabelColor Color [get, set]
 The color to assign to the label. Color is only available for labels that have their type set to user. More...
 
virtual string Id [get, set]
 The immutable ID of the label. More...
 
virtual string LabelListVisibility [get, set]
 The visibility of the label in the label list in the Gmail web interface. More...
 
virtual string MessageListVisibility [get, set]
 The visibility of the label in the message list in the Gmail web interface. More...
 
virtual System.Nullable< int > MessagesTotal [get, set]
 The total number of messages with the label. More...
 
virtual System.Nullable< int > MessagesUnread [get, set]
 The number of unread messages with the label. More...
 
virtual string Name [get, set]
 The display name of the label. More...
 
virtual System.Nullable< int > ThreadsTotal [get, set]
 The total number of threads with the label. More...
 
virtual System.Nullable< int > ThreadsUnread [get, set]
 The number of unread threads with the label. More...
 
virtual string Type [get, set]
 The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads. More...
 
virtual string ETag [get, set]
 The ETag of the item. More...
 
- Properties inherited from Google::Apis::Requests::IDirectResponseSchema
string ETag
 

Detailed Description

Labels are used to categorize messages and threads within the user's mailbox.

Property Documentation

◆ Color

virtual LabelColor Google.Apis.Gmail.v1.Data.Label.Color
getset

The color to assign to the label. Color is only available for labels that have their type set to user.

◆ ETag

virtual string Google.Apis.Gmail.v1.Data.Label.ETag
getset

The ETag of the item.

◆ Id

virtual string Google.Apis.Gmail.v1.Data.Label.Id
getset

The immutable ID of the label.

◆ LabelListVisibility

virtual string Google.Apis.Gmail.v1.Data.Label.LabelListVisibility
getset

The visibility of the label in the label list in the Gmail web interface.

◆ MessageListVisibility

virtual string Google.Apis.Gmail.v1.Data.Label.MessageListVisibility
getset

The visibility of the label in the message list in the Gmail web interface.

◆ MessagesTotal

virtual System.Nullable<int> Google.Apis.Gmail.v1.Data.Label.MessagesTotal
getset

The total number of messages with the label.

◆ MessagesUnread

virtual System.Nullable<int> Google.Apis.Gmail.v1.Data.Label.MessagesUnread
getset

The number of unread messages with the label.

◆ Name

virtual string Google.Apis.Gmail.v1.Data.Label.Name
getset

The display name of the label.

◆ ThreadsTotal

virtual System.Nullable<int> Google.Apis.Gmail.v1.Data.Label.ThreadsTotal
getset

The total number of threads with the label.

◆ ThreadsUnread

virtual System.Nullable<int> Google.Apis.Gmail.v1.Data.Label.ThreadsUnread
getset

The number of unread threads with the label.

◆ Type

virtual string Google.Apis.Gmail.v1.Data.Label.Type
getset

The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.


The documentation for this class was generated from the following file: