public class Gmail.Users.Settings.SendAs extends 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.SmimeInfo
The "smimeInfo" collection of methods.
|
class |
Gmail.Users.Settings.SendAs.Update |
class |
Gmail.Users.Settings.SendAs.Verify |
Constructor and Description |
---|
SendAs() |
Modifier and Type | Method and Description |
---|---|
Gmail.Users.Settings.SendAs.Create |
create(String userId,
SendAs content)
Creates a custom "from" send-as alias.
|
Gmail.Users.Settings.SendAs.Delete |
delete(String userId,
String sendAsEmail)
Deletes the specified send-as alias.
|
Gmail.Users.Settings.SendAs.Get |
get(String userId,
String sendAsEmail)
Gets the specified send-as alias.
|
Gmail.Users.Settings.SendAs.List |
list(String userId)
Lists the send-as aliases for the specified account.
|
Gmail.Users.Settings.SendAs.Patch |
patch(String userId,
String sendAsEmail,
SendAs content)
Patch the specified send-as alias.
|
Gmail.Users.Settings.SendAs.SmimeInfo |
smimeInfo()
An accessor for creating requests from the SmimeInfo collection.
|
Gmail.Users.Settings.SendAs.Update |
update(String userId,
String sendAsEmail,
SendAs content)
Updates a send-as alias.
|
Gmail.Users.Settings.SendAs.Verify |
verify(String userId,
String sendAsEmail)
Sends a verification email to the specified send-as alias address.
|
public Gmail.Users.Settings.SendAs.Create create(String userId, SendAs content) throws 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
IOException
public Gmail.Users.Settings.SendAs.Delete delete(String userId, String sendAsEmail) throws 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.IOException
public Gmail.Users.Settings.SendAs.Get get(String userId, String sendAsEmail) throws 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.IOException
public Gmail.Users.Settings.SendAs.List list(String userId) throws 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]IOException
public Gmail.Users.Settings.SendAs.Patch patch(String userId, String sendAsEmail, SendAs content) throws 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
IOException
public Gmail.Users.Settings.SendAs.Update update(String userId, String sendAsEmail, SendAs content) throws 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
IOException
public Gmail.Users.Settings.SendAs.Verify verify(String userId, String sendAsEmail) throws 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.IOException
public Gmail.Users.Settings.SendAs.SmimeInfo smimeInfo()
The typical use is:
Gmail gmail = new Gmail(...);
Gmail.SmimeInfo.List request = gmail.smimeInfo().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.