2022-10-26
▼ ▲ drivelabels.labels.revisions.updatePermissions
HTTP Method: PATCH
Parameters:
useAdminAccess
Location: query
Type: boolean
Description: 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.
parent
Pattern: ^labels/[^/]+/revisions/[^/]+$
Required: Yes
Description: Required. The parent Label resource name.
Location: path
Type: string
Flat Path: v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions
Parameter Order: parent
Description: 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.
Path: v2beta/{+parent}/permissions
▼ ▲ drivelabels.labels.updatePermissions
Flat Path: v2beta/labels/{labelsId}/permissions
Description: 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.
HTTP Method: PATCH
Parameters:
useAdminAccess
Location: query
Description: 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.
Type: boolean
parent
Pattern: ^labels/[^/]+$
Type: string
Location: path
Required: Yes
Description: Required. The parent Label resource name.
Path: v2beta/{+parent}/permissions
Parameter Order: parent
▼ ▲ drivelabels.labels.revisions.permissions.batchDelete
Parameters:
parent
Type: string
Location: path
Description: Required. The parent Label resource name shared by all permissions being deleted. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.
Required: Yes
Pattern: ^labels/[^/]+/revisions/[^/]+$
labelsId
Location: path
Required: Yes
Type: string
revisionsId
Location: path
Required: Yes
Type: string
Parameter Order: labelsId ⟶ parent
Path: v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions:batchDelete ⟶ v2beta/{+parent}/permissions:batchDelete
▼ ▲ drivelabels.labels.permissions.batchDelete
Parameters:
parent
Description: Required. The parent Label resource name shared by all permissions being deleted. Format: labels/{label} If this is set, the parent field in the UpdateLabelPermissionRequest messages must either be empty or match this field.
Required: Yes
Pattern: ^labels/[^/]+$
Type: string
Location: path
labelsId
Required: Yes
Type: string
Location: path
Parameter Order: labelsId ⟶ parent
Path: v2beta/labels/{labelsId}/permissions:batchDelete ⟶ v2beta/{+parent}/permissions:batchDelete
▼ ▲ drivelabels.labels.permissions.patch
Parameter Order: parent
Description: 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.
Parameters:
useAdminAccess
Location: query
Description: 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.
Type: boolean
parent
Pattern: ^labels/[^/]+/permissions/[^/]+$
Type: string
Description: Required. The parent Label resource name.
Location: path
Required: Yes
Path: v2beta/{+parent}
Flat Path: v2beta/labels/{labelsId}/permissions/{permissionsId}
HTTP Method: PATCH
▼ ▲ drivelabels.labels.revisions.permissions.patch
Parameter Order: parent
Flat Path: v2beta/labels/{labelsId}/revisions/{revisionsId}/permissions/{permissionsId}
Description: 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.
HTTP Method: PATCH
Path: v2beta/{+parent}
Parameters:
parent
Type: string
Description: Required. The parent Label resource name.
Pattern: ^labels/[^/]+/revisions/[^/]+/permissions/[^/]+$
Required: Yes
Location: path
useAdminAccess
Type: boolean
Location: query
Description: 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.