public class Gmail.Users.History.List extends GmailRequest<ListHistoryResponse>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
List(String userId)
Lists the history of all changes to the given mailbox.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
List<String> |
getHistoryTypes()
History types to be returned by the function
|
String |
getLabelId()
Only return messages with a label matching the ID.
|
Long |
getMaxResults()
Maximum number of history records to return.
|
String |
getPageToken()
Page token to retrieve a specific page of results in the list.
|
BigInteger |
getStartHistoryId()
Required.
|
String |
getUserId()
The user's email address.
|
Gmail.Users.History.List |
set(String parameterName,
Object value) |
Gmail.Users.History.List |
set$Xgafv(String $Xgafv)
V1 error format.
|
Gmail.Users.History.List |
setAccessToken(String accessToken)
OAuth access token.
|
Gmail.Users.History.List |
setAlt(String alt)
Data format for response.
|
Gmail.Users.History.List |
setCallback(String callback)
JSONP
|
Gmail.Users.History.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Gmail.Users.History.List |
setHistoryTypes(List<String> historyTypes)
History types to be returned by the function
|
Gmail.Users.History.List |
setKey(String key)
API key.
|
Gmail.Users.History.List |
setLabelId(String labelId)
Only return messages with a label matching the ID.
|
Gmail.Users.History.List |
setMaxResults(Long maxResults)
Maximum number of history records to return.
|
Gmail.Users.History.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Gmail.Users.History.List |
setPageToken(String pageToken)
Page token to retrieve a specific page of results in the list.
|
Gmail.Users.History.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Gmail.Users.History.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Gmail.Users.History.List |
setStartHistoryId(BigInteger startHistoryId)
Required.
|
Gmail.Users.History.List |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Gmail.Users.History.List |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
Gmail.Users.History.List |
setUserId(String userId)
The user's email address.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 List(String userId)
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]public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListHistoryResponse>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListHistoryResponse>
IOException
public Gmail.Users.History.List set$Xgafv(String $Xgafv)
GmailRequest
set$Xgafv
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setAccessToken(String accessToken)
GmailRequest
setAccessToken
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setAlt(String alt)
GmailRequest
setAlt
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setCallback(String callback)
GmailRequest
setCallback
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setFields(String fields)
GmailRequest
setFields
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setKey(String key)
GmailRequest
setKey
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setOauthToken(String oauthToken)
GmailRequest
setOauthToken
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setPrettyPrint(Boolean prettyPrint)
GmailRequest
setPrettyPrint
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setQuotaUser(String quotaUser)
GmailRequest
setQuotaUser
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setUploadType(String uploadType)
GmailRequest
setUploadType
in class GmailRequest<ListHistoryResponse>
public Gmail.Users.History.List setUploadProtocol(String uploadProtocol)
GmailRequest
setUploadProtocol
in class GmailRequest<ListHistoryResponse>
public String getUserId()
public Gmail.Users.History.List setUserId(String userId)
public Gmail.Users.History.List setHistoryTypes(List<String> historyTypes)
public String getLabelId()
public Gmail.Users.History.List setLabelId(String labelId)
public Long getMaxResults()
public Gmail.Users.History.List setMaxResults(Long maxResults)
public String getPageToken()
public Gmail.Users.History.List setPageToken(String pageToken)
public BigInteger getStartHistoryId()
public Gmail.Users.History.List setStartHistoryId(BigInteger startHistoryId)
public Gmail.Users.History.List set(String parameterName, Object value)
set
in class GmailRequest<ListHistoryResponse>
Copyright © 2011–2024 Google. All rights reserved.