public class Gmail.Users.Settings.SendAs
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Gmail.Users.Settings.SendAs.Create |
class |
Gmail.Users.Settings.SendAs.Delete |
class |
Gmail.Users.Settings.SendAs.Get |
class |
Gmail.Users.Settings.SendAs.List |
class |
Gmail.Users.Settings.SendAs.Patch |
class |
Gmail.Users.Settings.SendAs.Update |
class |
Gmail.Users.Settings.SendAs.Verify |
Constructor and Description |
---|
Gmail.Users.Settings.SendAs() |
Modifier and Type | Method and Description |
---|---|
Gmail.Users.Settings.SendAs.Create |
create(java.lang.String userId,
SendAs content)
Creates a custom "from" send-as alias.
|
Gmail.Users.Settings.SendAs.Delete |
delete(java.lang.String userId,
java.lang.String sendAsEmail)
Deletes the specified send-as alias.
|
Gmail.Users.Settings.SendAs.Get |
get(java.lang.String userId,
java.lang.String sendAsEmail)
Gets the specified send-as alias.
|
Gmail.Users.Settings.SendAs.List |
list(java.lang.String userId)
Lists the send-as aliases for the specified account.
|
Gmail.Users.Settings.SendAs.Patch |
patch(java.lang.String userId,
java.lang.String sendAsEmail,
SendAs content)
Updates a send-as alias.
|
Gmail.Users.Settings.SendAs.Update |
update(java.lang.String userId,
java.lang.String sendAsEmail,
SendAs content)
Updates a send-as alias.
|
Gmail.Users.Settings.SendAs.Verify |
verify(java.lang.String userId,
java.lang.String sendAsEmail)
Sends a verification email to the specified send-as alias address.
|
public Gmail.Users.Settings.SendAs.Create create(java.lang.String userId, SendAs content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]content
- the SendAs
java.io.IOException
public Gmail.Users.Settings.SendAs.Delete delete(java.lang.String userId, java.lang.String sendAsEmail) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]sendAsEmail
- The send-as alias to be deleted.java.io.IOException
public Gmail.Users.Settings.SendAs.Get get(java.lang.String userId, java.lang.String sendAsEmail) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]sendAsEmail
- The send-as alias to be retrieved.java.io.IOException
public Gmail.Users.Settings.SendAs.List list(java.lang.String userId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]java.io.IOException
public Gmail.Users.Settings.SendAs.Patch patch(java.lang.String userId, java.lang.String sendAsEmail, SendAs content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]sendAsEmail
- The send-as alias to be updated.content
- the SendAs
java.io.IOException
public Gmail.Users.Settings.SendAs.Update update(java.lang.String userId, java.lang.String sendAsEmail, SendAs content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]sendAsEmail
- The send-as alias to be updated.content
- the SendAs
java.io.IOException
public Gmail.Users.Settings.SendAs.Verify verify(java.lang.String userId, java.lang.String sendAsEmail) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.userId
- User's email address. The special value "me" can be used to indicate the authenticated user.
[default: me]sendAsEmail
- The send-as alias to be verified.java.io.IOException