public class Drive.Changes.List extends DriveRequest<ChangeList>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description | 
|---|---|
protected  | 
List(String pageToken)
Lists the changes for a user or shared drive. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
com.google.api.client.http.HttpRequest | 
buildHttpRequestUsingHead()  | 
com.google.api.client.http.HttpResponse | 
executeUsingHead()  | 
String | 
getDriveId()
The shared drive from which changes will be returned. 
 | 
Boolean | 
getIncludeCorpusRemovals()
Whether changes should include the file resource if the file is still accessible by the user at the
     time of the request, even when a file was removed from the list of changes and there will be no
     further change entries for this file. 
 | 
Boolean | 
getIncludeItemsFromAllDrives()
Whether both My Drive and shared drive items should be included in results. 
 | 
String | 
getIncludeLabels()
A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. 
 | 
String | 
getIncludePermissionsForView()
Specifies which additional view's permissions to include in the response. 
 | 
Boolean | 
getIncludeRemoved()
Whether to include changes indicating that items have been removed from the list of changes, for
     example by deletion or loss of access. 
 | 
Boolean | 
getIncludeTeamDriveItems()
Deprecated: Use `includeItemsFromAllDrives` instead. 
 | 
Integer | 
getPageSize()
The maximum number of changes to return per page. 
 | 
String | 
getPageToken()
The token for continuing a previous list request on the next page. 
 | 
Boolean | 
getRestrictToMyDrive()
Whether to restrict the results to changes inside the My Drive hierarchy. 
 | 
String | 
getSpaces()
A comma-separated list of spaces to query within the corpora. 
 | 
Boolean | 
getSupportsAllDrives()
Whether the requesting application supports both My Drives and shared drives. 
 | 
Boolean | 
getSupportsTeamDrives()
Deprecated: Use `supportsAllDrives` instead. 
 | 
String | 
getTeamDriveId()
Deprecated: Use `driveId` instead. 
 | 
boolean | 
isIncludeCorpusRemovals()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
boolean | 
isIncludeItemsFromAllDrives()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
boolean | 
isIncludeRemoved()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
boolean | 
isIncludeTeamDriveItems()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
boolean | 
isRestrictToMyDrive()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
boolean | 
isSupportsAllDrives()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
boolean | 
isSupportsTeamDrives()
Convenience method that returns only  
Boolean.TRUE or Boolean.FALSE. | 
Drive.Changes.List | 
set(String parameterName,
   Object value)  | 
Drive.Changes.List | 
set$Xgafv(String $Xgafv)
V1 error format. 
 | 
Drive.Changes.List | 
setAccessToken(String accessToken)
OAuth access token. 
 | 
Drive.Changes.List | 
setAlt(String alt)
Data format for response. 
 | 
Drive.Changes.List | 
setCallback(String callback)
JSONP 
 | 
Drive.Changes.List | 
setDriveId(String driveId)
The shared drive from which changes will be returned. 
 | 
Drive.Changes.List | 
setFields(String fields)
Selector specifying which fields to include in a partial response. 
 | 
Drive.Changes.List | 
setIncludeCorpusRemovals(Boolean includeCorpusRemovals)
Whether changes should include the file resource if the file is still accessible by the
 user at the time of the request, even when a file was removed from the list of changes and
 there will be no further change entries for this file. 
 | 
Drive.Changes.List | 
setIncludeItemsFromAllDrives(Boolean includeItemsFromAllDrives)
Whether both My Drive and shared drive items should be included in results. 
 | 
Drive.Changes.List | 
setIncludeLabels(String includeLabels)
A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. 
 | 
Drive.Changes.List | 
setIncludePermissionsForView(String includePermissionsForView)
Specifies which additional view's permissions to include in the response. 
 | 
Drive.Changes.List | 
setIncludeRemoved(Boolean includeRemoved)
Whether to include changes indicating that items have been removed from the list of
 changes, for example by deletion or loss of access. 
 | 
Drive.Changes.List | 
setIncludeTeamDriveItems(Boolean includeTeamDriveItems)
Deprecated: Use `includeItemsFromAllDrives` instead. 
 | 
Drive.Changes.List | 
setKey(String key)
API key. 
 | 
Drive.Changes.List | 
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user. 
 | 
Drive.Changes.List | 
setPageSize(Integer pageSize)
The maximum number of changes to return per page. 
 | 
Drive.Changes.List | 
setPageToken(String pageToken)
The token for continuing a previous list request on the next page. 
 | 
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 | 
setRestrictToMyDrive(Boolean restrictToMyDrive)
Whether to restrict the results to changes inside the My Drive hierarchy. 
 | 
Drive.Changes.List | 
setSpaces(String spaces)
A comma-separated list of spaces to query within the corpora. 
 | 
Drive.Changes.List | 
setSupportsAllDrives(Boolean supportsAllDrives)
Whether the requesting application supports both My Drives and shared drives. 
 | 
Drive.Changes.List | 
setSupportsTeamDrives(Boolean supportsTeamDrives)
Deprecated: Use `supportsAllDrives` instead. 
 | 
Drive.Changes.List | 
setTeamDriveId(String teamDriveId)
Deprecated: Use `driveId` instead. 
 | 
Drive.Changes.List | 
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g. 
 | 
Drive.Changes.List | 
setUploadType(String uploadType)
Legacy upload protocol for media (e.g. 
 | 
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected List(String pageToken)
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. 
pageToken - The token for continuing a previous list request on the next page. This should be set to the value
        of 'nextPageToken' from the previous response or to the response from the
        getStartPageToken method.public com.google.api.client.http.HttpResponse executeUsingHead()
                                                         throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ChangeList>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
                                                                 throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ChangeList>IOExceptionpublic Drive.Changes.List set$Xgafv(String $Xgafv)
DriveRequestset$Xgafv in class DriveRequest<ChangeList>public Drive.Changes.List setAccessToken(String accessToken)
DriveRequestsetAccessToken in class DriveRequest<ChangeList>public Drive.Changes.List setAlt(String alt)
DriveRequestsetAlt in class DriveRequest<ChangeList>public Drive.Changes.List setCallback(String callback)
DriveRequestsetCallback 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 setUploadType(String uploadType)
DriveRequestsetUploadType in class DriveRequest<ChangeList>public Drive.Changes.List setUploadProtocol(String uploadProtocol)
DriveRequestsetUploadProtocol in class DriveRequest<ChangeList>public String getPageToken()
public Drive.Changes.List setPageToken(String pageToken)
public String getDriveId()
public Drive.Changes.List setDriveId(String driveId)
public Boolean getIncludeCorpusRemovals()
public Drive.Changes.List setIncludeCorpusRemovals(Boolean includeCorpusRemovals)
public boolean isIncludeCorpusRemovals()
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 changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.
public Boolean getIncludeItemsFromAllDrives()
public Drive.Changes.List setIncludeItemsFromAllDrives(Boolean includeItemsFromAllDrives)
public boolean isIncludeItemsFromAllDrives()
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 both My Drive and shared drive items should be included in results.
public String getIncludeLabels()
public Drive.Changes.List setIncludeLabels(String includeLabels)
public String getIncludePermissionsForView()
public Drive.Changes.List setIncludePermissionsForView(String includePermissionsForView)
public Boolean getIncludeRemoved()
public Drive.Changes.List setIncludeRemoved(Boolean includeRemoved)
public boolean isIncludeRemoved()
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 changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.
public Boolean getIncludeTeamDriveItems()
public Drive.Changes.List setIncludeTeamDriveItems(Boolean includeTeamDriveItems)
public boolean isIncludeTeamDriveItems()
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.
 
Deprecated: Use `includeItemsFromAllDrives` instead.
public Integer getPageSize()
public Drive.Changes.List setPageSize(Integer pageSize)
public Boolean getRestrictToMyDrive()
public Drive.Changes.List setRestrictToMyDrive(Boolean restrictToMyDrive)
public boolean isRestrictToMyDrive()
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 restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.
public String getSpaces()
public Drive.Changes.List setSpaces(String spaces)
public Boolean getSupportsAllDrives()
public Drive.Changes.List setSupportsAllDrives(Boolean supportsAllDrives)
public boolean isSupportsAllDrives()
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 the requesting application supports both My Drives and shared drives.
public Boolean getSupportsTeamDrives()
public Drive.Changes.List setSupportsTeamDrives(Boolean supportsTeamDrives)
public boolean isSupportsTeamDrives()
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.
 
Deprecated: Use `supportsAllDrives` instead.
public String getTeamDriveId()
public Drive.Changes.List setTeamDriveId(String teamDriveId)
public Drive.Changes.List set(String parameterName, Object value)
set in class DriveRequest<ChangeList>Copyright © 2011–2025 Google. All rights reserved.