|
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 & 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 & 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 & 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 & 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": "20250427", |
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": {
|
|
6743 | 6743 | "properties": {
|
6744 | 6744 | "displayName": {
|
6745 | 6745 | "description": "Output only. A plain text displayable name for this user.",
|
| 6746 | + "readOnly": true, |
6746 | 6747 | "type": "string"
|
6747 | 6748 | },
|
6748 | 6749 | "emailAddress": {
|
6749 |
| - "description": "Output only. The email address of the user.", |
| 6750 | + "description": "Output only. The email address of the user. This may not be present in certain contexts if the user has not made their email address visible to the requester.", |
| 6751 | + "readOnly": true, |
6750 | 6752 | "type": "string"
|
6751 | 6753 | },
|
6752 | 6754 | "isAuthenticatedUser": {
|
6753 | 6755 | "description": "Output only. Whether this user is the same as the authenticated user for whom the request was made.",
|
| 6756 | + "readOnly": true, |
6754 | 6757 | "type": "boolean"
|
6755 | 6758 | },
|
6756 | 6759 | "kind": {
|
6757 | 6760 | "default": "drive#user",
|
6758 |
| - "description": "Output only. This is always `drive#user`.", |
| 6761 | + "description": "Output only. Identifies what kind of resource this is. Value: the fixed string `drive#user`.", |
| 6762 | + "readOnly": true, |
6759 | 6763 | "type": "string"
|
6760 | 6764 | },
|
6761 | 6765 | "permissionId": {
|
6762 |
| - "description": "Output only. The user's ID as visible in the permissions collection.", |
| 6766 | + "description": "Output only. The user's ID as visible in Permission resources.", |
| 6767 | + "readOnly": true, |
6763 | 6768 | "type": "string"
|
6764 | 6769 | },
|
6765 | 6770 | "picture": {
|
6766 | 6771 | "description": "Output only. The user's profile picture.",
|
6767 | 6772 | "properties": {
|
6768 | 6773 | "url": {
|
6769 |
| - "description": "Output Only. A URL that points to a profile picture of this user.", |
| 6774 | + "description": "Output only. A URL that points to a profile picture of this user.", |
| 6775 | + "readOnly": true, |
6770 | 6776 | "type": "string"
|
6771 | 6777 | }
|
6772 | 6778 | },
|
| 6779 | + "readOnly": true, |
6773 | 6780 | "type": "object"
|
6774 | 6781 | }
|
6775 | 6782 | },
|
|
0 commit comments