public class Gmail.Users.Settings.SendAs.SmimeInfo.Insert extends GmailRequest<SmimeInfo>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Insert(String userId,
String sendAsEmail,
SmimeInfo content)
Insert (upload) the given S/MIME config for the specified send-as alias.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Insert(String userId, String sendAsEmail, SmimeInfo content)
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
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]sendAsEmail
- The email address that appears in the "From:" header for mail sent using this alias.content
- the SmimeInfo
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert set$Xgafv(String $Xgafv)
GmailRequest
set$Xgafv
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setAccessToken(String accessToken)
GmailRequest
setAccessToken
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setAlt(String alt)
GmailRequest
setAlt
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setCallback(String callback)
GmailRequest
setCallback
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setFields(String fields)
GmailRequest
setFields
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setKey(String key)
GmailRequest
setKey
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setOauthToken(String oauthToken)
GmailRequest
setOauthToken
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setPrettyPrint(Boolean prettyPrint)
GmailRequest
setPrettyPrint
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setQuotaUser(String quotaUser)
GmailRequest
setQuotaUser
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setUploadType(String uploadType)
GmailRequest
setUploadType
in class GmailRequest<SmimeInfo>
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setUploadProtocol(String uploadProtocol)
GmailRequest
setUploadProtocol
in class GmailRequest<SmimeInfo>
public String getUserId()
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setUserId(String userId)
public String getSendAsEmail()
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setSendAsEmail(String sendAsEmail)
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert set(String parameterName, Object value)
set
in class GmailRequest<SmimeInfo>
Copyright © 2011–2024 Google. All rights reserved.