Skip to content

Google: Lists the labels on a file For more information, see List labels on a file (https: developers google com workspace drive api guides list-labels) — response body

Lists the labels on a file. For more information, see [List labels on a file](https://developers.google.com/workspace/drive/api/guides/list-labels).: response body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Lists the labels on a file For more information, see List labels on a file (https: developers google com workspace drive api guides list-labels) — response body

FieldTypePresenceDescription and constraints
$objectRootA list of labels applied to a file.
kindstringOptionalThis is always `“drive#labelList”`.
labelsarrayOptionalThe list of labels.
labels[]ModelEach itemExpand Lists the labels on a file For more information, see List labels on a file (https: developers google com workspace drive api guides list-labels) — response body — labels item
nextPageTokenstringOptionalThe page token for the next page of labels. This field will be absent if the end of the list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results. The page token is typically valid for several hours. However, if new items are added or removed, your expected results might differ.

Referenced models: Lists the labels on a file For more information, see List labels on a file (https: developers google com workspace drive api guides list-labels) — response body — labels item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.