public class Gmail.Users.Settings.ForwardingAddresses extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Gmail.Users.Settings.ForwardingAddresses.Create |
class |
Gmail.Users.Settings.ForwardingAddresses.Delete |
class |
Gmail.Users.Settings.ForwardingAddresses.Get |
class |
Gmail.Users.Settings.ForwardingAddresses.List |
| Constructor and Description |
|---|
ForwardingAddresses() |
| Modifier and Type | Method and Description |
|---|---|
Gmail.Users.Settings.ForwardingAddresses.Create |
create(String userId,
ForwardingAddress content)
Creates a forwarding address.
|
Gmail.Users.Settings.ForwardingAddresses.Delete |
delete(String userId,
String forwardingEmail)
Deletes the specified forwarding address and revokes any verification that may have been
required.
|
Gmail.Users.Settings.ForwardingAddresses.Get |
get(String userId,
String forwardingEmail)
Gets the specified forwarding address.
|
Gmail.Users.Settings.ForwardingAddresses.List |
list(String userId)
Lists the forwarding addresses for the specified account.
|
public Gmail.Users.Settings.ForwardingAddresses.Create create(String userId, ForwardingAddress 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 ForwardingAddressIOExceptionpublic Gmail.Users.Settings.ForwardingAddresses.Delete delete(String userId, String forwardingEmail) 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]forwardingEmail - The forwarding address to be deleted.IOExceptionpublic Gmail.Users.Settings.ForwardingAddresses.Get get(String userId, String forwardingEmail) 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]forwardingEmail - The forwarding address to be retrieved.IOExceptionpublic Gmail.Users.Settings.ForwardingAddresses.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]IOExceptionCopyright © 2011–2025 Google. All rights reserved.