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 ForwardingAddress
IOException
public 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.IOException
public 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.IOException
public 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]IOException
Copyright © 2011–2024 Google. All rights reserved.