public class Gmail.Users.Settings.Delegates
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Gmail.Users.Settings.Delegates.Create |
class |
Gmail.Users.Settings.Delegates.Delete |
class |
Gmail.Users.Settings.Delegates.Get |
class |
Gmail.Users.Settings.Delegates.List |
| Constructor and Description |
|---|
Delegates() |
| Modifier and Type | Method and Description |
|---|---|
Gmail.Users.Settings.Delegates.Create |
create(java.lang.String userId,
Delegate content)
Adds a delegate with its verification status set directly to accepted, without sending any
verification email.
|
Gmail.Users.Settings.Delegates.Delete |
delete(java.lang.String userId,
java.lang.String delegateEmail)
Removes the specified delegate (which can be of any verification status), and revokes any
verification that may have been required for using it.
|
Gmail.Users.Settings.Delegates.Get |
get(java.lang.String userId,
java.lang.String delegateEmail)
Gets the specified delegate.
|
Gmail.Users.Settings.Delegates.List |
list(java.lang.String userId)
Lists the delegates for the specified account.
|
public Gmail.Users.Settings.Delegates.Create create(java.lang.String userId, Delegate 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 Delegatejava.io.IOExceptionpublic Gmail.Users.Settings.Delegates.Delete delete(java.lang.String userId, java.lang.String delegateEmail) 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]delegateEmail - The email address of the user to be removed as a delegate.java.io.IOExceptionpublic Gmail.Users.Settings.Delegates.Get get(java.lang.String userId, java.lang.String delegateEmail) 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]delegateEmail - The email address of the user whose delegate relationship is to be retrieved.java.io.IOExceptionpublic Gmail.Users.Settings.Delegates.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