The "changes" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($changeId, $optParams=array()) |
| Gets a specific change.
|
|
| listChanges ($optParams=array()) |
| Lists the changes for a user.
|
|
| watch (Google_Service_Drive_Channel $postBody, $optParams=array()) |
| Subscribe to changes for a user.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "changes" collection of methods.
Typical usage is: $driveService = new Google_Service_Drive(...); $changes = $driveService->changes;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
Google_Service_Drive_Changes_Resource::get |
( |
| $changeId, |
|
|
| $optParams = array() ) |
Gets a specific change.
(changes.get)
- Parameters
-
string | $changeId | The ID of the change. |
array | $optParams | Optional parameters. |
- Return values
-
◆ listChanges()
Google_Service_Drive_Changes_Resource::listChanges |
( |
| $optParams = array() | ) |
|
Lists the changes for a user.
(changes.listChanges)
- Parameters
-
array | $optParams | Optional parameters. |
@opt_param bool includeSubscribed 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. @opt_param bool includeDeleted Whether to include deleted items. @opt_param int maxResults Maximum number of changes to return. @opt_param string pageToken Page token for changes. @opt_param string spaces A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'. @opt_param string startChangeId Change ID to start listing changes from.
- Return values
-
◆ watch()
Subscribe to changes for a user.
(changes.watch)
- Parameters
-
Google_Channel | $postBody | |
array | $optParams | Optional parameters. |
@opt_param bool includeSubscribed 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. @opt_param bool includeDeleted Whether to include deleted items. @opt_param int maxResults Maximum number of changes to return. @opt_param string pageToken Page token for changes. @opt_param string spaces A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'. @opt_param string startChangeId Change ID to start listing changes from.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Drive.php