LabelsPermissions
class LabelsPermissions extends Resource (View source)
The "permissions" collection of methods.
Typical usage is:
$drivelabelsService = new Google\Service\DriveLabels(...);
$permissions = $drivelabelsService->labels_permissions;
Methods
Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing. (permissions.batchDelete)
Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing. (permissions.batchUpdate)
Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing. (permissions.create)
Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
Lists a Label's permissions. (permissions.listLabelsPermissions)
Details
GoogleProtobufEmpty
batchDelete(string $parent, GoogleAppsDriveLabelsV2BatchDeleteLabelPermissionsRequest $postBody, array $optParams = [])
Deletes Label permissions. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing. (permissions.batchDelete)
GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsResponse
batchUpdate(string $parent, GoogleAppsDriveLabelsV2BatchUpdateLabelPermissionsRequest $postBody, array $optParams = [])
Updates Label permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing. (permissions.batchUpdate)
GoogleAppsDriveLabelsV2LabelPermission
create(string $parent, GoogleAppsDriveLabelsV2LabelPermission $postBody, array $optParams = [])
Updates a Label's permissions. If a permission for the indicated principal doesn't exist, a new Label Permission is created, otherwise the existing permission is updated. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing. (permissions.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a Label's permission. Permissions affect the Label resource as a whole, are not revisioned, and do not require publishing.
(permissions.delete)
GoogleAppsDriveLabelsV2ListLabelPermissionsResponse
listLabelsPermissions(string $parent, array $optParams = [])
Lists a Label's permissions. (permissions.listLabelsPermissions)