| Package | Description |
|---|---|
| com.google.api.services.gmail | |
| com.google.api.services.gmail.model |
| Modifier and Type | Method and Description |
|---|---|
Gmail.Users.Labels.Create |
Gmail.Users.Labels.create(java.lang.String userId,
Label content)
Creates a new label.
|
Gmail.Users.Labels.Patch |
Gmail.Users.Labels.patch(java.lang.String userId,
java.lang.String id,
Label content)
Updates the specified label.
|
Gmail.Users.Labels.Update |
Gmail.Users.Labels.update(java.lang.String userId,
java.lang.String id,
Label content)
Updates the specified label.
|
| Constructor and Description |
|---|
Create(java.lang.String userId,
Label content)
Creates a new label.
|
Patch(java.lang.String userId,
java.lang.String id,
Label content)
Updates the specified label.
|
Update(java.lang.String userId,
java.lang.String id,
Label content)
Updates the specified label.
|
| Modifier and Type | Method and Description |
|---|---|
Label |
Label.clone() |
Label |
Label.set(java.lang.String fieldName,
java.lang.Object value) |
Label |
Label.setColor(LabelColor color)
The color to assign to the label.
|
Label |
Label.setId(java.lang.String id)
The immutable ID of the label.
|
Label |
Label.setLabelListVisibility(java.lang.String labelListVisibility)
The visibility of the label in the label list in the Gmail web interface.
|
Label |
Label.setMessageListVisibility(java.lang.String messageListVisibility)
The visibility of the label in the message list in the Gmail web interface.
|
Label |
Label.setMessagesTotal(java.lang.Integer messagesTotal)
The total number of messages with the label.
|
Label |
Label.setMessagesUnread(java.lang.Integer messagesUnread)
The number of unread messages with the label.
|
Label |
Label.setName(java.lang.String name)
The display name of the label.
|
Label |
Label.setThreadsTotal(java.lang.Integer threadsTotal)
The total number of threads with the label.
|
Label |
Label.setThreadsUnread(java.lang.Integer threadsUnread)
The number of unread threads with the label.
|
Label |
Label.setType(java.lang.String type)
The owner type for the label.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Label> |
ListLabelsResponse.getLabels()
List of labels.
|
| Modifier and Type | Method and Description |
|---|---|
ListLabelsResponse |
ListLabelsResponse.setLabels(java.util.List<Label> labels)
List of labels.
|