Class Google_Service_Drive_Teamdrives_Resource
The "teamdrives" collection of methods. Typical usage is:
$driveService = new Google_Service_Drive(...);
$teamdrives = $driveService->teamdrives;
-
Google_Service_Resource
-
Google_Service_Drive_Teamdrives_Resource
Located at Drive.php
Methods summary
public
Google_Service_Drive_TeamDrive
|
#
create( string $requestId, Google_Service_Drive_TeamDrive $postBody, array $optParams = array() )
Deprecated use drives.create instead. (teamdrives.create)
Deprecated use drives.create instead. (teamdrives.create)
Parameters
- $requestId
- 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.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
|
#
delete( string $teamDriveId, array $optParams = array() )
Deprecated use drives.delete instead. (teamdrives.delete)
Deprecated use drives.delete instead. (teamdrives.delete)
Parameters
- $teamDriveId
- The ID of the Team Drive
- $optParams
- Optional parameters.
|
public
Google_Service_Drive_TeamDrive
|
#
get( string $teamDriveId, array $optParams = array() )
Deprecated use drives.get instead. (teamdrives.get)
Deprecated use drives.get instead. (teamdrives.get)
Parameters
- $teamDriveId
- The ID of the Team Drive
- $optParams
- Optional parameters.
Returns
Opt_param
bool useDomainAdminAccess Issue the request as a domain administrator; if set to
true, then the requester will be granted access if they are an administrator of
the domain to which the Team Drive belongs.
|
public
Google_Service_Drive_TeamDriveList
|
#
listTeamdrives( array $optParams = array() )
Deprecated use drives.list instead. (teamdrives.listTeamdrives)
Deprecated use drives.list instead. (teamdrives.listTeamdrives)
Parameters
- $optParams
- Optional parameters.
Returns
Opt_param
int pageSize Maximum number of Team Drives to return.
string pageToken Page token for Team Drives.
string q Query string for searching Team Drives.
bool useDomainAdminAccess Issue the request as a domain administrator; if set to
true, then all Team Drives of the domain in which the requester is an
administrator are returned.
|
public
Google_Service_Drive_TeamDrive
|
#
update( string $teamDriveId, Google_Service_Drive_TeamDrive $postBody, array $optParams = array() )
Deprecated use drives.update instead (teamdrives.update)
Deprecated use drives.update instead (teamdrives.update)
Parameters
- $teamDriveId
- The ID of the Team Drive
- $postBody
- $optParams
- Optional parameters.
Returns
Opt_param
bool useDomainAdminAccess Issue the request as a domain administrator; if set to
true, then the requester will be granted access if they are an administrator of
the domain to which the Team Drive belongs.
|