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(String userId,
Label content)
Creates a new label.
|
Gmail.Users.Labels.Patch |
Gmail.Users.Labels.patch(String userId,
String id,
Label content)
Patch the specified label.
|
Gmail.Users.Labels.Update |
Gmail.Users.Labels.update(String userId,
String id,
Label content)
Updates the specified label.
|
Constructor and Description |
---|
Create(String userId,
Label content)
Creates a new label.
|
Patch(String userId,
String id,
Label content)
Patch the specified label.
|
Update(String userId,
String id,
Label content)
Updates the specified label.
|
Modifier and Type | Method and Description |
---|---|
Label |
Label.clone() |
Label |
Label.set(String fieldName,
Object value) |
Label |
Label.setColor(LabelColor color)
The color to assign to the label.
|
Label |
Label.setId(String id)
The immutable ID of the label.
|
Label |
Label.setLabelListVisibility(String labelListVisibility)
The visibility of the label in the label list in the Gmail web interface.
|
Label |
Label.setMessageListVisibility(String messageListVisibility)
The visibility of messages with this label in the message list in the Gmail web interface.
|
Label |
Label.setMessagesTotal(Integer messagesTotal)
The total number of messages with the label.
|
Label |
Label.setMessagesUnread(Integer messagesUnread)
The number of unread messages with the label.
|
Label |
Label.setName(String name)
The display name of the label.
|
Label |
Label.setThreadsTotal(Integer threadsTotal)
The total number of threads with the label.
|
Label |
Label.setThreadsUnread(Integer threadsUnread)
The number of unread threads with the label.
|
Label |
Label.setType(String type)
The owner type for the label.
|
Modifier and Type | Method and Description |
---|---|
List<Label> |
ListLabelsResponse.getLabels()
List of labels.
|
Modifier and Type | Method and Description |
---|---|
ListLabelsResponse |
ListLabelsResponse.setLabels(List<Label> labels)
List of labels.
|
Copyright © 2011–2024 Google. All rights reserved.