The "children" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| delete ($folderId, $childId, $optParams=array()) |
| Removes a child from a folder.
|
|
| get ($folderId, $childId, $optParams=array()) |
| Gets a specific child reference.
|
|
| insert ($folderId, Google_Service_Drive_ChildReference $postBody, $optParams=array()) |
| Inserts a file into a folder.
|
|
| listChildren ($folderId, $optParams=array()) |
| Lists a folder's children.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "children" collection of methods.
Typical usage is: $driveService = new Google_Service_Drive(...); $children = $driveService->children;
◆ 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
-
◆ delete()
Google_Service_Drive_Children_Resource::delete |
( |
| $folderId, |
|
|
| $childId, |
|
|
| $optParams = array() ) |
Removes a child from a folder.
(children.delete)
- Parameters
-
string | $folderId | The ID of the folder. |
string | $childId | The ID of the child. |
array | $optParams | Optional parameters. |
◆ get()
Google_Service_Drive_Children_Resource::get |
( |
| $folderId, |
|
|
| $childId, |
|
|
| $optParams = array() ) |
Gets a specific child reference.
(children.get)
- Parameters
-
string | $folderId | The ID of the folder. |
string | $childId | The ID of the child. |
array | $optParams | Optional parameters. |
- Return values
-
◆ insert()
Inserts a file into a folder.
(children.insert)
- Parameters
-
string | $folderId | The ID of the folder. |
Google_ChildReference | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listChildren()
Google_Service_Drive_Children_Resource::listChildren |
( |
| $folderId, |
|
|
| $optParams = array() ) |
Lists a folder's children.
(children.listChildren)
- Parameters
-
string | $folderId | The ID of the folder. |
array | $optParams | Optional parameters. |
@opt_param string orderBy A comma-separated list of sort keys. Valid keys are 'createdDate', 'folder', 'lastViewedByMeDate', 'modifiedByMeDate', 'modifiedDate', 'quotaBytesUsed', 'recency', 'sharedWithMeDate', 'starred', and 'title'. Each key sorts ascending by default, but may be reversed with the 'desc' modifier. Example usage: ?orderBy=folder,modifiedDate desc,title. Please note that there is a current limitation for users with approximately one million files in which the requested sort order is ignored. @opt_param string pageToken Page token for children. @opt_param string q Query string for searching children. @opt_param int maxResults Maximum number of children to return.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Drive.php