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.
HTTP request
POST https://drivelabels.googleapis.com/v2beta/{parent=labels/*/revisions/*}/permissions:batchUpdate
Required. The parent Label resource name shared by all permissions being updated. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.
Request body
The request body contains data with the following structure:
Required. The request message specifying the resources to update.
useAdminAccess
boolean
Set to true in order to use the user's admin credentials. The server will verify the user is an admin for the Label before allowing access. If this is set, the useAdminAccess field in the UpdateLabelPermissionRequest messages must either be empty or match this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["This document outlines the process for updating Drive label permissions using the `batchUpdate` method."],["Label permissions are updated for the entire Label resource and are not version-controlled."],["The request body should include an array of `UpdateLabelPermissionRequest` objects specifying the desired updates."],["Users can utilize their admin credentials by setting `useAdminAccess` to `true`, enabling modifications based on their admin privileges."],["Successful requests will return a `BatchUpdateLabelPermissionsResponse` object, providing confirmation of the changes."]]],[]]