public class Drive.Changes.List extends DriveRequest<ChangeList>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Drive.Changes.List()
Lists the changes for a user.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.Boolean |
getIncludeDeleted()
Whether to include deleted items.
|
java.lang.Boolean |
getIncludeSubscribed()
Whether to include public files the user has opened and shared files.
|
java.lang.Integer |
getMaxResults()
Maximum number of changes to return.
|
java.lang.String |
getPageToken()
Page token for changes.
|
java.lang.Long |
getStartChangeId()
Change ID to start listing changes from.
|
boolean |
isIncludeDeleted()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
boolean |
isIncludeSubscribed()
Convenience method that returns only
Boolean.TRUE or Boolean.FALSE. |
Drive.Changes.List |
set(java.lang.String parameterName,
java.lang.Object value) |
Drive.Changes.List |
setAlt(java.lang.String alt)
Data format for the response.
|
Drive.Changes.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Changes.List |
setIncludeDeleted(java.lang.Boolean includeDeleted)
Whether to include deleted items.
|
Drive.Changes.List |
setIncludeSubscribed(java.lang.Boolean includeSubscribed)
Whether to include public files the user has opened and shared files.
|
Drive.Changes.List |
setKey(java.lang.String key)
API key.
|
Drive.Changes.List |
setMaxResults(java.lang.Integer maxResults)
Maximum number of changes to return.
|
Drive.Changes.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Changes.List |
setPageToken(java.lang.String pageToken)
Page token for changes.
|
Drive.Changes.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Changes.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
Drive.Changes.List |
setStartChangeId(java.lang.Long startChangeId)
Change ID to start listing changes from.
|
Drive.Changes.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
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, setUnknownKeysprotected Drive.Changes.List()
AbstractGoogleClientRequest.execute() method to invoke the remote operation. Drive.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must be
called to initialize this instance immediately after invoking the constructor.
public com.google.api.client.http.HttpResponse executeUsingHead()
throws java.io.IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ChangeList>java.io.IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws java.io.IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ChangeList>java.io.IOExceptionpublic Drive.Changes.List setAlt(java.lang.String alt)
DriveRequestsetAlt in class DriveRequest<ChangeList>public Drive.Changes.List setFields(java.lang.String fields)
DriveRequestsetFields in class DriveRequest<ChangeList>public Drive.Changes.List setKey(java.lang.String key)
DriveRequestsetKey in class DriveRequest<ChangeList>public Drive.Changes.List setOauthToken(java.lang.String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<ChangeList>public Drive.Changes.List setPrettyPrint(java.lang.Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<ChangeList>public Drive.Changes.List setQuotaUser(java.lang.String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<ChangeList>public Drive.Changes.List setUserIp(java.lang.String userIp)
DriveRequestsetUserIp in class DriveRequest<ChangeList>public java.lang.Boolean getIncludeSubscribed()
public Drive.Changes.List setIncludeSubscribed(java.lang.Boolean includeSubscribed)
public boolean isIncludeSubscribed()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
Whether to include public files the user has opened and shared files. When set to false, the list only includes owned files plus any shared or public files the user has explicitly added to a folder they own.
public java.lang.Long getStartChangeId()
public Drive.Changes.List setStartChangeId(java.lang.Long startChangeId)
public java.lang.Boolean getIncludeDeleted()
public Drive.Changes.List setIncludeDeleted(java.lang.Boolean includeDeleted)
public boolean isIncludeDeleted()
Boolean.TRUE or Boolean.FALSE.
Boolean properties can have four possible values:
null, Data.NULL_BOOLEAN, Boolean.TRUE
or Boolean.FALSE.
This method returns Boolean.TRUE if the default of the property is Boolean.TRUE
and it is null or Data.NULL_BOOLEAN.
Boolean.FALSE is returned if the default of the property is Boolean.FALSE and
it is null or Data.NULL_BOOLEAN.
Whether to include deleted items.
public java.lang.Integer getMaxResults()
public Drive.Changes.List setMaxResults(java.lang.Integer maxResults)
public java.lang.String getPageToken()
public Drive.Changes.List setPageToken(java.lang.String pageToken)
public Drive.Changes.List set(java.lang.String parameterName, java.lang.Object value)
set in class DriveRequest<ChangeList>