public class Gmail.Users.Settings.ForwardingAddresses.Get extends GmailRequest<ForwardingAddress>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String userId,
String forwardingEmail)
Gets the specified forwarding address.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Get(String userId, String forwardingEmail)
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]forwardingEmail - The forwarding address to be retrieved.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ForwardingAddress>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ForwardingAddress>IOExceptionpublic Gmail.Users.Settings.ForwardingAddresses.Get set$Xgafv(String $Xgafv)
GmailRequestset$Xgafv in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setAccessToken(String accessToken)
GmailRequestsetAccessToken in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setAlt(String alt)
GmailRequestsetAlt in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setCallback(String callback)
GmailRequestsetCallback in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setFields(String fields)
GmailRequestsetFields in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setKey(String key)
GmailRequestsetKey in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setOauthToken(String oauthToken)
GmailRequestsetOauthToken in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setPrettyPrint(Boolean prettyPrint)
GmailRequestsetPrettyPrint in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setQuotaUser(String quotaUser)
GmailRequestsetQuotaUser in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setUploadType(String uploadType)
GmailRequestsetUploadType in class GmailRequest<ForwardingAddress>public Gmail.Users.Settings.ForwardingAddresses.Get setUploadProtocol(String uploadProtocol)
GmailRequestsetUploadProtocol in class GmailRequest<ForwardingAddress>public String getUserId()
public Gmail.Users.Settings.ForwardingAddresses.Get setUserId(String userId)
public String getForwardingEmail()
public Gmail.Users.Settings.ForwardingAddresses.Get setForwardingEmail(String forwardingEmail)
public Gmail.Users.Settings.ForwardingAddresses.Get set(String parameterName, Object value)
set in class GmailRequest<ForwardingAddress>Copyright © 2011–2025 Google. All rights reserved.