public class Gmail.Users.Settings.Delegates.Delete extends GmailRequest<Void>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDelegateEmail()
The email address of the user to be removed as a delegate.
|
String |
getUserId()
User's email address.
|
Gmail.Users.Settings.Delegates.Delete |
set(String parameterName,
Object value) |
Gmail.Users.Settings.Delegates.Delete |
setAlt(String alt)
Data format for the response.
|
Gmail.Users.Settings.Delegates.Delete |
setDelegateEmail(String delegateEmail)
The email address of the user to be removed as a delegate.
|
Gmail.Users.Settings.Delegates.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Gmail.Users.Settings.Delegates.Delete |
setKey(String key)
API key.
|
Gmail.Users.Settings.Delegates.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Gmail.Users.Settings.Delegates.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Gmail.Users.Settings.Delegates.Delete |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Gmail.Users.Settings.Delegates.Delete |
setUserId(String userId)
User's email address.
|
Gmail.Users.Settings.Delegates.Delete |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Delete(String userId, String delegateEmail)
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Gmail.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
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.public Gmail.Users.Settings.Delegates.Delete setAlt(String alt)
GmailRequestsetAlt in class GmailRequest<Void>public Gmail.Users.Settings.Delegates.Delete setFields(String fields)
GmailRequestsetFields in class GmailRequest<Void>public Gmail.Users.Settings.Delegates.Delete setKey(String key)
GmailRequestsetKey in class GmailRequest<Void>public Gmail.Users.Settings.Delegates.Delete setOauthToken(String oauthToken)
GmailRequestsetOauthToken in class GmailRequest<Void>public Gmail.Users.Settings.Delegates.Delete setPrettyPrint(Boolean prettyPrint)
GmailRequestsetPrettyPrint in class GmailRequest<Void>public Gmail.Users.Settings.Delegates.Delete setQuotaUser(String quotaUser)
GmailRequestsetQuotaUser in class GmailRequest<Void>public Gmail.Users.Settings.Delegates.Delete setUserIp(String userIp)
GmailRequestsetUserIp in class GmailRequest<Void>public String getUserId()
public Gmail.Users.Settings.Delegates.Delete setUserId(String userId)
public String getDelegateEmail()
public Gmail.Users.Settings.Delegates.Delete setDelegateEmail(String delegateEmail)
public Gmail.Users.Settings.Delegates.Delete set(String parameterName, Object value)
set in class GmailRequest<Void>Copyright © 2011–2018 Google. All rights reserved.