Drives
class Drives extends Resource (View source)
The "drives" collection of methods.
Typical usage is:
$driveService = new Google\Service\Drive(...);
$drives = $driveService->drives;
Methods
Permanently deletes a shared drive for which the user is an organizer
. The
shared drive cannot contain any untrashed items. (drives.delete)
Gets a shared drive's metadata by ID. (drives.get)
Hides a shared drive from the default view. (drives.hide)
Lists the user's shared drives. This method accepts the q
parameter, which
is a search query combining one or more search terms. For more information,
see the Search for shared drives
guide. (drives.listDrives)
Restores a shared drive to the default view. (drives.unhide)
Details
Drive
create(string $requestId, Drive $postBody, array $optParams = [])
Creates a shared drive. (drives.create)
delete(string $driveId, array $optParams = [])
Permanently deletes a shared drive for which the user is an organizer
. The
shared drive cannot contain any untrashed items. (drives.delete)
Drive
get(string $driveId, array $optParams = [])
Gets a shared drive's metadata by ID. (drives.get)
Drive
hide(string $driveId, array $optParams = [])
Hides a shared drive from the default view. (drives.hide)
DriveList
listDrives(array $optParams = [])
Lists the user's shared drives. This method accepts the q
parameter, which
is a search query combining one or more search terms. For more information,
see the Search for shared drives
guide. (drives.listDrives)
Drive
unhide(string $driveId, array $optParams = [])
Restores a shared drive to the default view. (drives.unhide)