class Teamdrives extends Resource (View source)

The "teamdrives" collection of methods.

Typical usage is:

 $driveService = new Google\Service\Drive(...);
 $teamdrives = $driveService->teamdrives;

Methods

create(string $requestId, TeamDrive $postBody, array $optParams = [])

Deprecated: Use drives.create instead. (teamdrives.create)

delete(string $teamDriveId, array $optParams = [])

Deprecated: Use drives.delete instead. (teamdrives.delete)

get(string $teamDriveId, array $optParams = [])

Deprecated: Use drives.get instead. (teamdrives.get)

listTeamdrives(array $optParams = [])

Deprecated: Use drives.list instead. (teamdrives.listTeamdrives)

update(string $teamDriveId, TeamDrive $postBody, array $optParams = [])

Deprecated: Use drives.update instead. (teamdrives.update)

Details

TeamDrive create(string $requestId, TeamDrive $postBody, array $optParams = [])

Deprecated: Use drives.create instead. (teamdrives.create)

Parameters

string $requestId

Required. An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned.

TeamDrive $postBody
array $optParams

Optional parameters.

Return Value

TeamDrive

Exceptions

Exception

delete(string $teamDriveId, array $optParams = [])

Deprecated: Use drives.delete instead. (teamdrives.delete)

Parameters

string $teamDriveId

The ID of the Team Drive

array $optParams

Optional parameters.

Exceptions

Exception

TeamDrive get(string $teamDriveId, array $optParams = [])

Deprecated: Use drives.get instead. (teamdrives.get)

Parameters

string $teamDriveId

The ID of the Team Drive

array $optParams

Optional parameters.

Return Value

TeamDrive

Exceptions

Exception

TeamDriveList listTeamdrives(array $optParams = [])

Deprecated: Use drives.list instead. (teamdrives.listTeamdrives)

Parameters

array $optParams

Optional parameters.

Return Value

TeamDriveList

Exceptions

Exception

TeamDrive update(string $teamDriveId, TeamDrive $postBody, array $optParams = [])

Deprecated: Use drives.update instead. (teamdrives.update)

Parameters

string $teamDriveId

The ID of the Team Drive

TeamDrive $postBody
array $optParams

Optional parameters.

Return Value

TeamDrive

Exceptions

Exception