Package | Description |
---|---|
com.google.api.services.gmail | |
com.google.api.services.gmail.model |
Modifier and Type | Method and Description |
---|---|
Gmail.Users.Drafts.Create |
Gmail.Users.Drafts.create(String userId,
Draft content)
Creates a new draft with the `DRAFT` label.
|
Gmail.Users.Drafts.Create |
Gmail.Users.Drafts.create(String userId,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Creates a new draft with the `DRAFT` label.
|
Gmail.Users.Drafts.Send |
Gmail.Users.Drafts.send(String userId,
Draft content)
Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Gmail.Users.Drafts.Send |
Gmail.Users.Drafts.send(String userId,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Gmail.Users.Drafts.Update |
Gmail.Users.Drafts.update(String userId,
String id,
Draft content)
Replaces a draft's content.
|
Gmail.Users.Drafts.Update |
Gmail.Users.Drafts.update(String userId,
String id,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Replaces a draft's content.
|
Constructor and Description |
---|
Create(String userId,
Draft content)
Creates a new draft with the `DRAFT` label.
|
Create(String userId,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Creates a new draft with the `DRAFT` label.
|
Send(String userId,
Draft content)
Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Send(String userId,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers.
|
Update(String userId,
String id,
Draft content)
Replaces a draft's content.
|
Update(String userId,
String id,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Replaces a draft's content.
|
Modifier and Type | Method and Description |
---|---|
Draft |
Draft.clone() |
Draft |
Draft.set(String fieldName,
Object value) |
Draft |
Draft.setId(String id)
The immutable ID of the draft.
|
Draft |
Draft.setMessage(Message message)
The message content of the draft.
|
Modifier and Type | Method and Description |
---|---|
List<Draft> |
ListDraftsResponse.getDrafts()
List of drafts.
|
Modifier and Type | Method and Description |
---|---|
ListDraftsResponse |
ListDraftsResponse.setDrafts(List<Draft> drafts)
List of drafts.
|
Copyright © 2011–2024 Google. All rights reserved.