I created a folder using Zend Gdata function createFolder('FOLDERNAME')
, but how to share this folder with someone with $name
and $email
?
Actually, I succeeded with google-api-php-client by add permission into the folder:
$permission = new Google_Permission();
$permission->setValue($email);
$permission->setType('user');
$permission->setRole('writer');
...
$service->permissions->insert($fileid, $permission);
Seems like no api is provided for this job in Zend. What I want to do is to share it with Zend. Thank you in advance.