Google_Service_Drive_Resource_Teamdrives
extends Google_Service_Resource
in package
The "teamdrives" collection of methods.
Typical usage is:
$driveService = new Google_Service_Drive(...);
$teamdrives = $driveService->teamdrives;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- create() : Google_Service_Drive_TeamDrive
- Deprecated use drives.create instead. (teamdrives.create)
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : mixed
- Deprecated use drives.delete instead. (teamdrives.delete)
- get() : Google_Service_Drive_TeamDrive
- Deprecated use drives.get instead. (teamdrives.get)
- listTeamdrives() : Google_Service_Drive_TeamDriveList
- Deprecated use drives.list instead. (teamdrives.listTeamdrives)
- update() : Google_Service_Drive_TeamDrive
- Deprecated use drives.update instead (teamdrives.update)
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —create()
Deprecated use drives.create instead. (teamdrives.create)
public
create(string $requestId, Google_Service_Drive_TeamDrive $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Drive_TeamDrive
Parameters
- $requestId : string
-
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 : Google_Service_Drive_TeamDrive
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_Drive_TeamDrive —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
delete()
Deprecated use drives.delete instead. (teamdrives.delete)
public
delete(string $teamDriveId[, array<string|int, mixed> $optParams = array() ]) : mixed
Parameters
- $teamDriveId : string
-
The ID of the Team Drive
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
mixed —get()
Deprecated use drives.get instead. (teamdrives.get)
public
get(string $teamDriveId[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Drive_TeamDrive
Parameters
- $teamDriveId : string
-
The ID of the Team Drive
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_Drive_TeamDrive —listTeamdrives()
Deprecated use drives.list instead. (teamdrives.listTeamdrives)
public
listTeamdrives([array<string|int, mixed> $optParams = array() ]) : Google_Service_Drive_TeamDriveList
Parameters
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_Drive_TeamDriveList —update()
Deprecated use drives.update instead (teamdrives.update)
public
update(string $teamDriveId, Google_Service_Drive_TeamDrive $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_Drive_TeamDrive
Parameters
- $teamDriveId : string
-
The ID of the Team Drive
- $postBody : Google_Service_Drive_TeamDrive
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_Drive_TeamDrive —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed