| Package | Description | 
|---|---|
| com.google.api.services.drive | 
| Modifier and Type | Method and Description | 
|---|---|
Drive.Changes.Watch | 
Drive.Changes.Watch.set(String parameterName,
   Object value)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.set$Xgafv(String $Xgafv)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setAccessToken(String accessToken)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setAlt(String alt)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setCallback(String callback)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setDriveId(String driveId)
The shared drive from which changes will be returned. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setFields(String fields)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.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.Watch | 
Drive.Changes.Watch.setIncludeItemsFromAllDrives(Boolean includeItemsFromAllDrives)
Whether both My Drive and shared drive items should be included in results. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setIncludeLabels(String includeLabels)
A comma-separated list of IDs of labels to include in the `labelInfo` part of the response. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setIncludePermissionsForView(String includePermissionsForView)
Specifies which additional view's permissions to include in the response. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.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.Watch | 
Drive.Changes.Watch.setIncludeTeamDriveItems(Boolean includeTeamDriveItems)
Deprecated: Use `includeItemsFromAllDrives` instead. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setKey(String key)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setOauthToken(String oauthToken)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setPageSize(Integer pageSize)
The maximum number of changes to return per page. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setPageToken(String pageToken)
The token for continuing a previous list request on the next page. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setPrettyPrint(Boolean prettyPrint)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setQuotaUser(String quotaUser)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setRestrictToMyDrive(Boolean restrictToMyDrive)
Whether to restrict the results to changes inside the My Drive hierarchy. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setSpaces(String spaces)
A comma-separated list of spaces to query within the corpora. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setSupportsAllDrives(Boolean supportsAllDrives)
Whether the requesting application supports both My Drives and shared drives. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setSupportsTeamDrives(Boolean supportsTeamDrives)
Deprecated: Use `supportsAllDrives` instead. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setTeamDriveId(String teamDriveId)
Deprecated: Use `driveId` instead. 
 | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setUploadProtocol(String uploadProtocol)  | 
Drive.Changes.Watch | 
Drive.Changes.Watch.setUploadType(String uploadType)  | 
Drive.Changes.Watch | 
Drive.Changes.watch(String pageToken,
     Channel content)
Subscribes to changes for a user. 
 | 
Copyright © 2011–2025 Google. All rights reserved.