files_labels
Creates, updates, deletes, gets or lists a files_labels
resource.
Overview
Name | files_labels |
Type | Resource |
Id | googleworkspace.drivev3.files_labels |
Fields
The following fields are returned by SELECT
queries:
- list_labels
Name | Datatype | Description |
---|---|---|
id | string | The ID of the label. |
fields | object | A map of the fields on the label, keyed by the field's ID. |
kind | string | This is always drive#label |
revisionId | string | The revision ID of the label. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_labels | select | fileId | maxResults , pageToken | Lists the labels on a file. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
fileId | string | |
maxResults | integer (int32) | |
pageToken | string |
SELECT
examples
- list_labels
Lists the labels on a file.
SELECT
id,
fields,
kind,
revisionId
FROM googleworkspace.drivev3.files_labels
WHERE fileId = '{{ fileId }}' -- required
AND maxResults = '{{ maxResults }}'
AND pageToken = '{{ pageToken }}'
;