public class Gmail.Users.Settings.SendAs.SmimeInfo.Insert extends GmailRequest<SmimeInfo>
com.google.api.client.util.GenericData.FlagsAbstractMap.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.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSendAsEmail()
The email address that appears in the "From:" header for mail sent using this alias.
|
String |
getUserId()
The user's email address.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
set(String parameterName,
Object value) |
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setAlt(String alt)
Data format for the response.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setKey(String key)
API key.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setSendAsEmail(String sendAsEmail)
The email address that appears in the "From:" header for mail sent using this alias.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
setUserId(String userId)
The user's email address.
|
Gmail.Users.Settings.SendAs.SmimeInfo.Insert |
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 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 SmimeInfopublic Gmail.Users.Settings.SendAs.SmimeInfo.Insert setAlt(String alt)
GmailRequestsetAlt in class GmailRequest<SmimeInfo>public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setFields(String fields)
GmailRequestsetFields in class GmailRequest<SmimeInfo>public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setKey(String key)
GmailRequestsetKey in class GmailRequest<SmimeInfo>public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setOauthToken(String oauthToken)
GmailRequestsetOauthToken in class GmailRequest<SmimeInfo>public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setPrettyPrint(Boolean prettyPrint)
GmailRequestsetPrettyPrint in class GmailRequest<SmimeInfo>public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setQuotaUser(String quotaUser)
GmailRequestsetQuotaUser in class GmailRequest<SmimeInfo>public Gmail.Users.Settings.SendAs.SmimeInfo.Insert setUserIp(String userIp)
GmailRequestsetUserIp 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–2018 Google. All rights reserved.