Overview

Classes

  • Google_Service_Drive
  • Google_Service_Drive_About
  • Google_Service_Drive_About_Resource
  • Google_Service_Drive_AboutDriveThemes
  • Google_Service_Drive_AboutStorageQuota
  • Google_Service_Drive_AboutTeamDriveThemes
  • Google_Service_Drive_Change
  • Google_Service_Drive_ChangeList
  • Google_Service_Drive_Changes_Resource
  • Google_Service_Drive_Channel
  • Google_Service_Drive_Channels_Resource
  • Google_Service_Drive_Comment
  • Google_Service_Drive_CommentList
  • Google_Service_Drive_CommentQuotedFileContent
  • Google_Service_Drive_Comments_Resource
  • Google_Service_Drive_Drive
  • Google_Service_Drive_DriveBackgroundImageFile
  • Google_Service_Drive_DriveCapabilities
  • Google_Service_Drive_DriveFile
  • Google_Service_Drive_DriveFileCapabilities
  • Google_Service_Drive_DriveFileContentHints
  • Google_Service_Drive_DriveFileContentHintsThumbnail
  • Google_Service_Drive_DriveFileImageMediaMetadata
  • Google_Service_Drive_DriveFileImageMediaMetadataLocation
  • Google_Service_Drive_DriveFileShortcutDetails
  • Google_Service_Drive_DriveFileVideoMediaMetadata
  • Google_Service_Drive_DriveList
  • Google_Service_Drive_DriveRestrictions
  • Google_Service_Drive_Drives_Resource
  • Google_Service_Drive_FileList
  • Google_Service_Drive_Files_Resource
  • Google_Service_Drive_GeneratedIds
  • Google_Service_Drive_Permission
  • Google_Service_Drive_PermissionList
  • Google_Service_Drive_PermissionPermissionDetails
  • Google_Service_Drive_Permissions_Resource
  • Google_Service_Drive_PermissionTeamDrivePermissionDetails
  • Google_Service_Drive_Replies_Resource
  • Google_Service_Drive_Reply
  • Google_Service_Drive_ReplyList
  • Google_Service_Drive_Revision
  • Google_Service_Drive_RevisionList
  • Google_Service_Drive_Revisions_Resource
  • Google_Service_Drive_StartPageToken
  • Google_Service_Drive_TeamDrive
  • Google_Service_Drive_TeamDriveBackgroundImageFile
  • Google_Service_Drive_TeamDriveCapabilities
  • Google_Service_Drive_TeamDriveList
  • Google_Service_Drive_TeamDriveRestrictions
  • Google_Service_Drive_Teamdrives_Resource
  • Google_Service_Drive_User
  • Overview
  • Class
  • Tree

Class Google_Service_Drive_Changes_Resource

The "changes" collection of methods. Typical usage is:

 $driveService = new Google_Service_Drive(...);
 $changes = $driveService->changes;
Google_Service_Resource
Extended by Google_Service_Drive_Changes_Resource
Located at Drive.php
Methods summary
public Google_Service_Drive_StartPageToken
# getStartPageToken( array $optParams = array() )

Gets the starting pageToken for listing future changes. (changes.getStartPageToken)

Gets the starting pageToken for listing future changes. (changes.getStartPageToken)

Parameters

$optParams
Optional parameters.

Returns

Google_Service_Drive_StartPageToken
Google_Service_Drive_StartPageToken

Opt_param

string driveId The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.
bool supportsAllDrives Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
bool supportsTeamDrives Deprecated use supportsAllDrives instead.
string teamDriveId Deprecated use driveId instead.
public Google_Service_Drive_ChangeList
# listChanges( string $pageToken, array $optParams = array() )

Lists the changes for a user or shared drive. (changes.listChanges)

Lists the changes for a user or shared drive. (changes.listChanges)

Parameters

$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.
$optParams
Optional parameters.

Returns

Google_Service_Drive_ChangeList
Google_Service_Drive_ChangeList

Opt_param

string driveId The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
bool 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.
bool includeItemsFromAllDrives Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.
bool includeRemoved Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.
bool includeTeamDriveItems Deprecated use includeItemsFromAllDrives instead.
int pageSize The maximum number of changes to return per page.
bool restrictToMyDrive 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.
string spaces A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
bool supportsAllDrives Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
bool supportsTeamDrives Deprecated use supportsAllDrives instead.
string teamDriveId Deprecated use driveId instead.
public Google_Service_Drive_Channel
# watch( string $pageToken, Google_Service_Drive_Channel $postBody, array $optParams = array() )

Subscribes to changes for a user. (changes.watch)

Subscribes to changes for a user. (changes.watch)

Parameters

$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.
$postBody
$optParams
Optional parameters.

Returns

Google_Service_Drive_Channel
Google_Service_Drive_Channel

Opt_param

string driveId The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
bool 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.
bool includeItemsFromAllDrives Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.
bool includeRemoved Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.
bool includeTeamDriveItems Deprecated use includeItemsFromAllDrives instead.
int pageSize The maximum number of changes to return per page.
bool restrictToMyDrive 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.
string spaces A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.
bool supportsAllDrives Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
bool supportsTeamDrives Deprecated use supportsAllDrives instead.
string teamDriveId Deprecated use driveId instead.
© 2020 Google Inc.
Drive API documentation generated by ApiGen 2.8.0