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(java.lang.String userId,
Draft content)
Creates a new draft with the DRAFT label.
|
Gmail.Users.Drafts.Create |
Gmail.Users.Drafts.create(java.lang.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(java.lang.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(java.lang.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(java.lang.String userId,
java.lang.String id,
Draft content)
Replaces a draft's content.
|
Gmail.Users.Drafts.Update |
Gmail.Users.Drafts.update(java.lang.String userId,
java.lang.String id,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Replaces a draft's content.
|
Constructor and Description |
---|
Create(java.lang.String userId,
Draft content)
Creates a new draft with the DRAFT label.
|
Create(java.lang.String userId,
Draft content,
com.google.api.client.http.AbstractInputStreamContent mediaContent)
Creates a new draft with the DRAFT label.
|
Send(java.lang.String userId,
Draft content)
Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.
|
Send(java.lang.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(java.lang.String userId,
java.lang.String id,
Draft content)
Replaces a draft's content.
|
Update(java.lang.String userId,
java.lang.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(java.lang.String fieldName,
java.lang.Object value) |
Draft |
Draft.setId(java.lang.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 |
---|---|
java.util.List<Draft> |
ListDraftsResponse.getDrafts()
List of drafts.
|
Modifier and Type | Method and Description |
---|---|
ListDraftsResponse |
ListDraftsResponse.setDrafts(java.util.List<Draft> drafts)
List of drafts.
|