标签: php google-drive-team-drive
我想使用服务帐户和 php google client 库创建Team drive。这是示例代码,但我不确定它是否正确:
Team drive
$client = \GoogleApi::getClient(GOOGLE_DRIVE); $service = new \Google_Service_Drive($client); $teamdrives = $service->teamdrives; $teamdrives->create()