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
-
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
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
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
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.
|