public class Gmail.Users.Settings.Delegates extends 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(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(String userId,
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(String userId,
String delegateEmail)
Gets the specified delegate.
|
Gmail.Users.Settings.Delegates.List |
list(String userId)
Lists the delegates for the specified account.
|
public Gmail.Users.Settings.Delegates.Create create(String userId, Delegate 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 DelegateIOExceptionpublic Gmail.Users.Settings.Delegates.Delete delete(String userId, String delegateEmail) 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]delegateEmail - The email address of the user to be removed as a delegate.IOExceptionpublic Gmail.Users.Settings.Delegates.Get get(String userId, String delegateEmail) 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]delegateEmail - The email address of the user whose delegate relationship is to be retrieved.IOExceptionpublic Gmail.Users.Settings.Delegates.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.