public class Drive.Changes.List extends DriveRequest<ChangeList>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Drive.Changes.List()
Lists the changes for a user.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
Boolean |
getIncludeDeleted()
Whether to include deleted items.
|
Boolean |
getIncludeSubscribed()
Whether to include shared files and public files the user has opened.
|
Integer |
getMaxResults()
Maximum number of changes to return.
|
String |
getPageToken()
Page token for changes.
|
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(String parameterName,
Object value) |
Drive.Changes.List |
setAlt(String alt)
Data format for the response.
|
Drive.Changes.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Drive.Changes.List |
setIncludeDeleted(Boolean includeDeleted)
Whether to include deleted items.
|
Drive.Changes.List |
setIncludeSubscribed(Boolean includeSubscribed)
Whether to include shared files and public files the user has opened.
|
Drive.Changes.List |
setKey(String key)
API key.
|
Drive.Changes.List |
setMaxResults(Integer maxResults)
Maximum number of changes to return.
|
Drive.Changes.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Drive.Changes.List |
setPageToken(String pageToken)
Page token for changes.
|
Drive.Changes.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Drive.Changes.List |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Drive.Changes.List |
setStartChangeId(Long startChangeId)
Change ID to start listing changes from.
|
Drive.Changes.List |
setUserIp(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, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected 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 HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<ChangeList>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<ChangeList>IOExceptionpublic Drive.Changes.List setAlt(String alt)
DriveRequestsetAlt in class DriveRequest<ChangeList>public Drive.Changes.List setFields(String fields)
DriveRequestsetFields in class DriveRequest<ChangeList>public Drive.Changes.List setKey(String key)
DriveRequestsetKey in class DriveRequest<ChangeList>public Drive.Changes.List setOauthToken(String oauthToken)
DriveRequestsetOauthToken in class DriveRequest<ChangeList>public Drive.Changes.List setPrettyPrint(Boolean prettyPrint)
DriveRequestsetPrettyPrint in class DriveRequest<ChangeList>public Drive.Changes.List setQuotaUser(String quotaUser)
DriveRequestsetQuotaUser in class DriveRequest<ChangeList>public Drive.Changes.List setUserIp(String userIp)
DriveRequestsetUserIp in class DriveRequest<ChangeList>public Boolean getIncludeSubscribed()
public Drive.Changes.List setIncludeSubscribed(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 shared files and public files the user has opened. When set to false, the list will include owned files plus any shared or public files the user has explictly added to a folder in Drive.
public Long getStartChangeId()
public Drive.Changes.List setStartChangeId(Long startChangeId)
public Boolean getIncludeDeleted()
public Drive.Changes.List setIncludeDeleted(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 Integer getMaxResults()
public Drive.Changes.List setMaxResults(Integer maxResults)
public String getPageToken()
public Drive.Changes.List setPageToken(String pageToken)
public Drive.Changes.List set(String parameterName, Object value)
set in class DriveRequest<ChangeList>