Method: labels.revisions.locks.list

Lists the LabelLocks on a Label.

HTTP request

GET https://drivelabels.googleapis.com/v2/{parent=labels/*/revisions/*}/locks

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Label on which Locks are applied. Format: labels/{label}

Query parameters

Parameters
pageSize

integer

Maximum number of Locks to return per page. Default: 100. Max: 200.

pageToken

string

The token of the page to return.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of ListLabelLocksResponse.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/drive.labels
  • https://www.googleapis.com/auth/drive.labels.readonly
  • https://www.googleapis.com/auth/drive.admin.labels
  • https://www.googleapis.com/auth/drive.admin.labels.readonly

For more information, see the Authorization guide.