IntegrationsGoogle workspaceActions
List Google shared drives
List shared drives visible to the connected principal for knowledge-source selection.
drive.drives.list · Google Workspace · v1
Details
Scopes
https://www.googleapis.com/auth/drive.readonly
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
page_size | integer | No | minimum 1; maximum 100 |
page_token | string | No | minLength 1; maxLength 512 |
q | string | No | maxLength 1024 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
drives | array<object> | Yes | maxItems 100 |
drives[] | object | Yes | additionalProperties false |
drives[].id | string | Yes | minLength 1; maxLength 256 |
drives[].name | string | Yes | maxLength 512 |
drives[].created_at | string | No | maxLength 64 |
drives[].hidden | boolean | No | — |
next_page_token | string | No | maxLength 512 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"page_token": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"q": {
"type": "string",
"maxLength": 1024
}
}
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"drives": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 256
},
"name": {
"type": "string",
"maxLength": 512
},
"created_at": {
"type": "string",
"maxLength": 64
},
"hidden": {
"type": "boolean"
}
},
"required": [
"id",
"name"
]
},
"maxItems": 100
},
"next_page_token": {
"type": "string",
"maxLength": 512
}
},
"required": [
"drives"
]
}