public class Gmail.Users.History.List extends GmailRequest<ListHistoryResponse>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
List(java.lang.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() |
java.util.List<java.lang.String> |
getHistoryTypes()
History types to be returned by the function
|
java.lang.String |
getLabelId()
Only return messages with a label matching the ID.
|
java.lang.Long |
getMaxResults()
The maximum number of history records to return.
|
java.lang.String |
getPageToken()
Page token to retrieve a specific page of results in the list.
|
java.math.BigInteger |
getStartHistoryId()
Required.
|
java.lang.String |
getUserId()
The user's email address.
|
Gmail.Users.History.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Gmail.Users.History.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Gmail.Users.History.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Gmail.Users.History.List |
setHistoryTypes(java.util.List<java.lang.String> historyTypes)
History types to be returned by the function
|
Gmail.Users.History.List |
setKey(java.lang.String key)
API key.
|
Gmail.Users.History.List |
setLabelId(java.lang.String labelId)
Only return messages with a label matching the ID.
|
Gmail.Users.History.List |
setMaxResults(java.lang.Long maxResults)
The maximum number of history records to return.
|
Gmail.Users.History.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Gmail.Users.History.List |
setPageToken(java.lang.String pageToken)
Page token to retrieve a specific page of results in the list.
|
Gmail.Users.History.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Gmail.Users.History.List |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Gmail.Users.History.List |
setStartHistoryId(java.math.BigInteger startHistoryId)
Required.
|
Gmail.Users.History.List |
setUserId(java.lang.String userId)
The user's email address.
|
Gmail.Users.History.List |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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, valuesprotected List(java.lang.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 java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListHistoryResponse>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ListHistoryResponse>java.io.IOExceptionpublic Gmail.Users.History.List setAlt(java.lang.String alt)
GmailRequestsetAlt in class GmailRequest<ListHistoryResponse>public Gmail.Users.History.List setFields(java.lang.String fields)
GmailRequestsetFields in class GmailRequest<ListHistoryResponse>public Gmail.Users.History.List setKey(java.lang.String key)
GmailRequestsetKey in class GmailRequest<ListHistoryResponse>public Gmail.Users.History.List setOauthToken(java.lang.String oauthToken)
GmailRequestsetOauthToken in class GmailRequest<ListHistoryResponse>public Gmail.Users.History.List setPrettyPrint(java.lang.Boolean prettyPrint)
GmailRequestsetPrettyPrint in class GmailRequest<ListHistoryResponse>public Gmail.Users.History.List setQuotaUser(java.lang.String quotaUser)
GmailRequestsetQuotaUser in class GmailRequest<ListHistoryResponse>public Gmail.Users.History.List setUserIp(java.lang.String userIp)
GmailRequestsetUserIp in class GmailRequest<ListHistoryResponse>public java.lang.String getUserId()
public Gmail.Users.History.List setUserId(java.lang.String userId)
public java.util.List<java.lang.String> getHistoryTypes()
public Gmail.Users.History.List setHistoryTypes(java.util.List<java.lang.String> historyTypes)
public java.lang.String getLabelId()
public Gmail.Users.History.List setLabelId(java.lang.String labelId)
public java.lang.Long getMaxResults()
public Gmail.Users.History.List setMaxResults(java.lang.Long maxResults)
public java.lang.String getPageToken()
public Gmail.Users.History.List setPageToken(java.lang.String pageToken)
public java.math.BigInteger getStartHistoryId()
public Gmail.Users.History.List setStartHistoryId(java.math.BigInteger startHistoryId)
public Gmail.Users.History.List set(java.lang.String parameterName, java.lang.Object value)
set in class GmailRequest<ListHistoryResponse>