v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13178889.9 KB
labels

Updates label permissions. If a permission for the indicated principal doesn't exist, a label permission is created, otherwise the existing permission is updated. Permissions affect the label resource as a whole, aren't revisioned, and don't require publishing.

post/v2/{+parent}/permissions:batchUpdate

Path parameters

parentstring required

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

useAdminAccessboolean

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 use_admin_access field in the UpdateLabelPermissionRequest messages must either be empty or match this field.

Response

Successful response