Permissions Google驱动器API权限插入sendNotificationEmails错误请求

Permissions Google驱动器API权限插入sendNotificationEmails错误请求,permissions,google-drive-api,google-api-php-client,Permissions,Google Drive Api,Google Api Php Client,我正在使用google Drive的google api php客户端库(LIBVER=“1.0.5-beta”),发布此文件时: $permission = new Google_Service_Drive_Permission(); $permission->setType('user'); $permission->setValue($email); $permission->setRole($role); $service->permissions->ins

我正在使用google Drive的google api php客户端库(LIBVER=“1.0.5-beta”),发布此文件时:

$permission = new Google_Service_Drive_Permission();
$permission->setType('user');
$permission->setValue($email);
$permission->setRole($role);
$service->permissions->insert($folder_id, $permission, array('sendNotificationEmails'=>false));
我收到了一个错误的请求


在所有相同的设置下,如果我删除sendNotificationEmails选项,它可以正常工作。客户端库似乎只是将其作为查询字符串值附加到POST请求中,所以这可能是API中的错误吗?

Google API专家对此有何想法?