|
40 | 40 | "batchPath": "batch/drive/v2", |
41 | 41 | "description": "The Google Drive API allows clients to access resources from Google Drive.", |
42 | 42 | "discoveryVersion": "v1", |
43 | | - "documentationLink": "https://developers.google.com/drive/", |
| 43 | + "documentationLink": "https://developers.google.com/workspace/drive/", |
44 | 44 | "icons": { |
45 | 45 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
46 | 46 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
|
1134 | 1134 | ] |
1135 | 1135 | }, |
1136 | 1136 | "list": { |
1137 | | - "description": " Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](/drive/api/guides/search-shareddrives) guide.", |
| 1137 | + "description": " Lists the user's shared drives. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for shared drives](/workspace/drive/api/guides/search-shareddrives) guide.", |
1138 | 1138 | "flatPath": "drives", |
1139 | 1139 | "httpMethod": "GET", |
1140 | 1140 | "id": "drive.drives.list", |
|
1485 | 1485 | ] |
1486 | 1486 | }, |
1487 | 1487 | "get": { |
1488 | | - "description": " Gets a file's metadata or content by ID. If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](/drive/api/reference/rest/v2/files/export) instead. For more information, see [Download \u0026 export files](/drive/api/guides/manage-downloads).", |
| 1488 | + "description": " Gets a file's metadata or content by ID. If you provide the URL parameter `alt=media`, then the response includes the file contents in the response body. Downloading content with `alt=media` only works if the file is stored in Drive. To download Google Docs, Sheets, and Slides use [`files.export`](/workspace/drive/api/reference/rest/v2/files/export) instead. For more information, see [Download \u0026 export files](/workspace/drive/api/guides/manage-downloads).", |
1489 | 1489 | "flatPath": "files/{fileId}", |
1490 | 1490 | "httpMethod": "GET", |
1491 | 1491 | "id": "drive.files.get", |
|
1574 | 1574 | "useMediaDownloadService": true |
1575 | 1575 | }, |
1576 | 1576 | "insert": { |
1577 | | - "description": " Inserts a new file. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see [Upload file data](/drive/api/guides/manage-uploads). Apps creating shortcuts with `files.insert` must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `title` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `\"title\": \"cat.jpg\"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `title` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the title. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type.", |
| 1577 | + "description": " Inserts a new file. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads). Apps creating shortcuts with `files.insert` must specify the MIME type `application/vnd.google-apps.shortcut`. Apps should specify a file extension in the `title` property when inserting files with the API. For example, an operation to insert a JPEG file should specify something like `\"title\": \"cat.jpg\"` in the metadata. Subsequent `GET` requests include the read-only `fileExtension` property populated with the extension originally specified in the `title` property. When a Google Drive user requests to download a file, or when the file is downloaded through the sync client, Drive builds a full filename (with extension) based on the title. In cases where the extension is missing, Drive attempts to determine the extension based on the file's MIME type.", |
1578 | 1578 | "flatPath": "files", |
1579 | 1579 | "httpMethod": "POST", |
1580 | 1580 | "id": "drive.files.insert", |
|
1696 | 1696 | "supportsMediaUpload": true |
1697 | 1697 | }, |
1698 | 1698 | "list": { |
1699 | | - "description": " Lists the user's files. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for files \u0026 folders](/drive/api/guides/search-files) guide. *Note:* This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.", |
| 1699 | + "description": " Lists the user's files. This method accepts the `q` parameter, which is a search query combining one or more search terms. For more information, see the [Search for files \u0026 folders](/workspace/drive/api/guides/search-files) guide. *Note:* This method returns *all* files by default, including trashed files. If you don't want trashed files to appear in the list, use the `trashed=false` query parameter to remove trashed files from the results.", |
1700 | 1700 | "flatPath": "files", |
1701 | 1701 | "httpMethod": "GET", |
1702 | 1702 | "id": "drive.files.list", |
|
2202 | 2202 | ] |
2203 | 2203 | }, |
2204 | 2204 | "update": { |
2205 | | - "description": " Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see [Upload file data](/drive/api/guides/manage-uploads).", |
| 2205 | + "description": " Updates a file's metadata and/or content. When calling this method, only populate fields in the request that you want to modify. When updating fields, some fields might be changed automatically, such as `modifiedDate`. This method supports patch semantics. This method supports an */upload* URI and accepts uploaded media with the following characteristics: - *Maximum file size:* 5,120 GB - *Accepted Media MIME types:*`*/*` Note: Specify a valid MIME type, rather than the literal `*/*` value. The literal `*/*` is only used to indicate that any valid MIME type can be uploaded. For more information on uploading files, see [Upload file data](/workspace/drive/api/guides/manage-uploads).", |
2206 | 2206 | "flatPath": "files/{fileId}", |
2207 | 2207 | "httpMethod": "PUT", |
2208 | 2208 | "id": "drive.files.update", |
|
3887 | 3887 | } |
3888 | 3888 | } |
3889 | 3889 | }, |
3890 | | - "revision": "20250216", |
| 3890 | + "revision": "20250329", |
3891 | 3891 | "rootUrl": "https://www.googleapis.com/", |
3892 | 3892 | "schemas": { |
3893 | 3893 | "About": { |
|
4559 | 4559 | "id": "Comment", |
4560 | 4560 | "properties": { |
4561 | 4561 | "anchor": { |
4562 | | - "description": "A region of the document represented as a JSON string. For details on defining anchor properties, refer to [Add comments and replies](https://developers.google.com/drive/api/v2/manage-comments).", |
| 4562 | + "description": "A region of the document represented as a JSON string. For details on defining anchor properties, refer to [Add comments and replies](https://developers.google.com/workspace/drive/api/v2/manage-comments).", |
4563 | 4563 | "type": "string" |
4564 | 4564 | }, |
4565 | 4565 | "author": { |
|
0 commit comments