public class Drive.Changes.List extends DriveRequest<ChangeList>
GenericData.Flags
AbstractMap.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 public files the user has opened and shared files.
|
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 public files the user has opened and shared files.
|
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, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 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>
IOException
public HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class AbstractGoogleClientRequest<ChangeList>
IOException
public Drive.Changes.List setAlt(String alt)
DriveRequest
setAlt
in class DriveRequest<ChangeList>
public Drive.Changes.List setFields(String fields)
DriveRequest
setFields
in class DriveRequest<ChangeList>
public Drive.Changes.List setKey(String key)
DriveRequest
setKey
in class DriveRequest<ChangeList>
public Drive.Changes.List setOauthToken(String oauthToken)
DriveRequest
setOauthToken
in class DriveRequest<ChangeList>
public Drive.Changes.List setPrettyPrint(Boolean prettyPrint)
DriveRequest
setPrettyPrint
in class DriveRequest<ChangeList>
public Drive.Changes.List setQuotaUser(String quotaUser)
DriveRequest
setQuotaUser
in class DriveRequest<ChangeList>
public Drive.Changes.List setUserIp(String userIp)
DriveRequest
setUserIp
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 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 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>