class LabelsRevisions extends Resource (View source)

The "revisions" collection of methods.

Typical usage is:

 $drivelabelsService = new Google\Service\DriveLabels(...);
 $revisions = $drivelabelsService->labels_revisions;

Methods

updatePermissions(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. (revisions.updatePermissions)

Details

GoogleAppsDriveLabelsV2LabelPermission updatePermissions(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. (revisions.updatePermissions)

Parameters

string $parent

Required. The parent Label resource name.

GoogleAppsDriveLabelsV2LabelPermission $postBody
array $optParams

Optional parameters.

Return Value

GoogleAppsDriveLabelsV2LabelPermission

Exceptions

Exception