public class Gmail.Users.Settings.UpdateAutoForwarding extends GmailRequest<AutoForwarding>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
UpdateAutoForwarding(String userId,
AutoForwarding content)
Updates the auto-forwarding setting for the specified account.
|
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 UpdateAutoForwarding(String userId, AutoForwarding content)
AbstractGoogleClientRequest.execute() method to invoke the remote
operation. UpdateAutoForwarding#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]content - the AutoForwardingpublic Gmail.Users.Settings.UpdateAutoForwarding setAlt(String alt)
GmailRequestsetAlt in class GmailRequest<AutoForwarding>public Gmail.Users.Settings.UpdateAutoForwarding setFields(String fields)
GmailRequestsetFields in class GmailRequest<AutoForwarding>public Gmail.Users.Settings.UpdateAutoForwarding setKey(String key)
GmailRequestsetKey in class GmailRequest<AutoForwarding>public Gmail.Users.Settings.UpdateAutoForwarding setOauthToken(String oauthToken)
GmailRequestsetOauthToken in class GmailRequest<AutoForwarding>public Gmail.Users.Settings.UpdateAutoForwarding setPrettyPrint(Boolean prettyPrint)
GmailRequestsetPrettyPrint in class GmailRequest<AutoForwarding>public Gmail.Users.Settings.UpdateAutoForwarding setQuotaUser(String quotaUser)
GmailRequestsetQuotaUser in class GmailRequest<AutoForwarding>public Gmail.Users.Settings.UpdateAutoForwarding setUserIp(String userIp)
GmailRequestsetUserIp in class GmailRequest<AutoForwarding>public String getUserId()
public Gmail.Users.Settings.UpdateAutoForwarding setUserId(String userId)
public Gmail.Users.Settings.UpdateAutoForwarding set(String parameterName, Object value)
set in class GmailRequest<AutoForwarding>Copyright © 2011–2018 Google. All rights reserved.