| Package | Description |
|---|---|
| com.google.api.services.gmail | |
| com.google.api.services.gmail.model |
| Modifier and Type | Method and Description |
|---|---|
Gmail.Users.Watch |
Gmail.Users.watch(java.lang.String userId,
WatchRequest content)
Set up or update a push notification watch on the given user mailbox.
|
| Constructor and Description |
|---|
Watch(java.lang.String userId,
WatchRequest content)
Set up or update a push notification watch on the given user mailbox.
|
| Modifier and Type | Method and Description |
|---|---|
WatchRequest |
WatchRequest.clone() |
WatchRequest |
WatchRequest.set(java.lang.String fieldName,
java.lang.Object value) |
WatchRequest |
WatchRequest.setLabelFilterAction(java.lang.String labelFilterAction)
Filtering behavior of labelIds list specified.
|
WatchRequest |
WatchRequest.setLabelIds(java.util.List<java.lang.String> labelIds)
List of label_ids to restrict notifications about.
|
WatchRequest |
WatchRequest.setTopicName(java.lang.String topicName)
A fully qualified Google Cloud Pub/Sub API topic name to publish the events to.
|