Skip to content

Commit

Permalink
feat(drive): update the API
Browse files Browse the repository at this point in the history
#### drive:v2
The following keys were added:
- schemas.File.properties.capabilities.properties.canAddFolderFromAnotherDrive.description
- schemas.File.properties.capabilities.properties.canAddFolderFromAnotherDrive.type

The following keys were changed:
- resources.changes.methods.get.parameters.supportsAllDrives.description
- resources.changes.methods.getStartPageToken.parameters.supportsAllDrives.description
- resources.changes.methods.list.parameters.includeItemsFromAllDrives.description
- resources.changes.methods.list.parameters.supportsAllDrives.description
- resources.changes.methods.watch.parameters.includeItemsFromAllDrives.description
- resources.changes.methods.watch.parameters.supportsAllDrives.description
- resources.children.methods.insert.parameters.supportsAllDrives.description
- resources.files.methods.copy.parameters.supportsAllDrives.description
- resources.files.methods.delete.parameters.supportsAllDrives.description
- resources.files.methods.get.parameters.supportsAllDrives.description
- resources.files.methods.insert.parameters.supportsAllDrives.description
- resources.files.methods.list.parameters.includeItemsFromAllDrives.description
- resources.files.methods.list.parameters.supportsAllDrives.description
- resources.files.methods.patch.parameters.supportsAllDrives.description
- resources.files.methods.touch.parameters.supportsAllDrives.description
- resources.files.methods.trash.parameters.supportsAllDrives.description
- resources.files.methods.untrash.parameters.supportsAllDrives.description
- resources.files.methods.update.parameters.supportsAllDrives.description
- resources.files.methods.watch.parameters.supportsAllDrives.description
- resources.parents.methods.insert.parameters.supportsAllDrives.description
- resources.permissions.methods.delete.parameters.supportsAllDrives.description
- resources.permissions.methods.get.parameters.supportsAllDrives.description
- resources.permissions.methods.insert.parameters.supportsAllDrives.description
- resources.permissions.methods.list.parameters.supportsAllDrives.description
- resources.permissions.methods.patch.parameters.supportsAllDrives.description
- resources.permissions.methods.update.parameters.supportsAllDrives.description

#### drive:v3
The following keys were added:
- schemas.File.properties.capabilities.properties.canAddFolderFromAnotherDrive.description
- schemas.File.properties.capabilities.properties.canAddFolderFromAnotherDrive.type

The following keys were changed:
- resources.changes.methods.getStartPageToken.parameters.supportsAllDrives.description
- resources.changes.methods.list.parameters.includeItemsFromAllDrives.description
- resources.changes.methods.list.parameters.supportsAllDrives.description
- resources.changes.methods.watch.parameters.includeItemsFromAllDrives.description
- resources.changes.methods.watch.parameters.supportsAllDrives.description
- resources.files.methods.copy.parameters.supportsAllDrives.description
- resources.files.methods.create.parameters.supportsAllDrives.description
- resources.files.methods.delete.parameters.supportsAllDrives.description
- resources.files.methods.get.parameters.supportsAllDrives.description
- resources.files.methods.list.parameters.includeItemsFromAllDrives.description
- resources.files.methods.list.parameters.supportsAllDrives.description
- resources.files.methods.update.parameters.supportsAllDrives.description
- resources.files.methods.watch.parameters.supportsAllDrives.description
- resources.permissions.methods.create.parameters.supportsAllDrives.description
- resources.permissions.methods.delete.parameters.supportsAllDrives.description
- resources.permissions.methods.get.parameters.supportsAllDrives.description
- resources.permissions.methods.list.parameters.supportsAllDrives.description
- resources.permissions.methods.update.parameters.supportsAllDrives.description
  • Loading branch information
yoshi-automation authored and JustinBeckwith committed Jul 10, 2020
1 parent 8fbbc3f commit 4b468b7
Show file tree
Hide file tree
Showing 4 changed files with 190 additions and 180 deletions.
60 changes: 32 additions & 28 deletions discovery/drive-v2.json
Expand Up @@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
"etag": "\"u9GIe6H63LSGq-9_t39K2Zx_EAc/YHQWlCS_UdYiRxWbR3ICljRAiNg\"",
"etag": "\"-2NioU2H8y8siEzrBOV_qzRI6kQ/0HpFu_RDPkuIU_N39LrLS2PV3e0\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
Expand Down Expand Up @@ -225,7 +225,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -268,7 +268,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -323,7 +323,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
"description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items are included in the results.",
"description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -365,7 +365,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -421,7 +421,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
"description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items are included in the results.",
"description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -463,7 +463,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -619,7 +619,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1157,7 +1157,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1223,7 +1223,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1351,7 +1351,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1437,7 +1437,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1524,7 +1524,7 @@
},
"includeItemsFromAllDrives": {
"default": "false",
"description": "Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.",
"description": "Whether both My Drive and shared drive items should be included in results.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1577,7 +1577,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1696,7 +1696,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1761,7 +1761,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1800,7 +1800,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1838,7 +1838,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -1964,7 +1964,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2054,7 +2054,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2188,7 +2188,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2268,7 +2268,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2314,7 +2314,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2413,7 +2413,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2471,7 +2471,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2530,7 +2530,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -2594,7 +2594,7 @@
},
"supportsAllDrives": {
"default": "false",
"description": "Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.",
"description": "Whether the requesting application supports both My Drives and shared drives.",
"location": "query",
"type": "boolean"
},
Expand Down Expand Up @@ -3442,7 +3442,7 @@
}
}
},
"revision": "20200505",
"revision": "20200618",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
Expand Down Expand Up @@ -4527,6 +4527,10 @@
"description": "Whether the current user can add children to this folder. This is always false when the item is not a folder.",
"type": "boolean"
},
"canAddFolderFromAnotherDrive": {
"description": "Whether the current user can add a folder from another drive (different shared drive or My Drive) to this folder. This is false when the item is not a folder. Only populated for items in shared drives.",
"type": "boolean"
},
"canAddMyDriveParent": {
"description": "Whether the current user can add a parent for the item without removing an existing parent in the same request. Not populated for shared drive files.",
"type": "boolean"
Expand Down

0 comments on commit 4b468b7

Please sign in to comment.