public class Gmail.Users.Threads.Modify extends GmailRequest<Thread>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Gmail.Users.Threads.Modify(String userId,
String id,
ModifyThreadRequest content)
Modifies the labels applied to the thread.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
The ID of the thread to modify.
|
String |
getUserId()
The user's email address.
|
Gmail.Users.Threads.Modify |
set(String parameterName,
Object value) |
Gmail.Users.Threads.Modify |
setAlt(String alt)
Data format for the response.
|
Gmail.Users.Threads.Modify |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Gmail.Users.Threads.Modify |
setId(String id)
The ID of the thread to modify.
|
Gmail.Users.Threads.Modify |
setKey(String key)
API key.
|
Gmail.Users.Threads.Modify |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Gmail.Users.Threads.Modify |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Gmail.Users.Threads.Modify |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Gmail.Users.Threads.Modify |
setUserId(String userId)
The user's email address.
|
Gmail.Users.Threads.Modify |
setUserIp(String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, 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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Gmail.Users.Threads.Modify(String userId, String id, ModifyThreadRequest 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]id
- The ID of the thread to modify.content
- the ModifyThreadRequest
public Gmail.Users.Threads.Modify setAlt(String alt)
GmailRequest
setAlt
in class GmailRequest<Thread>
public Gmail.Users.Threads.Modify setFields(String fields)
GmailRequest
setFields
in class GmailRequest<Thread>
public Gmail.Users.Threads.Modify setKey(String key)
GmailRequest
setKey
in class GmailRequest<Thread>
public Gmail.Users.Threads.Modify setOauthToken(String oauthToken)
GmailRequest
setOauthToken
in class GmailRequest<Thread>
public Gmail.Users.Threads.Modify setPrettyPrint(Boolean prettyPrint)
GmailRequest
setPrettyPrint
in class GmailRequest<Thread>
public Gmail.Users.Threads.Modify setQuotaUser(String quotaUser)
GmailRequest
setQuotaUser
in class GmailRequest<Thread>
public Gmail.Users.Threads.Modify setUserIp(String userIp)
GmailRequest
setUserIp
in class GmailRequest<Thread>
public String getUserId()
public Gmail.Users.Threads.Modify setUserId(String userId)
public String getId()
public Gmail.Users.Threads.Modify setId(String id)
public Gmail.Users.Threads.Modify set(String parameterName, Object value)
set
in class GmailRequest<Thread>