Skip to content

Commit d015972

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
feat(drive)!: update the API
BREAKING CHANGE: This release has breaking changes. #### drive:v3 The following keys were deleted: - resources.operations.methods.cancel.description - resources.operations.methods.cancel.flatPath - resources.operations.methods.cancel.httpMethod - resources.operations.methods.cancel.id - resources.operations.methods.cancel.parameterOrder - resources.operations.methods.cancel.parameters.name.description - resources.operations.methods.cancel.parameters.name.location - resources.operations.methods.cancel.parameters.name.required - resources.operations.methods.cancel.parameters.name.type - resources.operations.methods.cancel.path - resources.operations.methods.cancel.scopes - resources.operations.methods.delete.description - resources.operations.methods.delete.flatPath - resources.operations.methods.delete.httpMethod - resources.operations.methods.delete.id - resources.operations.methods.delete.parameterOrder - resources.operations.methods.delete.parameters.name.description - resources.operations.methods.delete.parameters.name.location - resources.operations.methods.delete.parameters.name.required - resources.operations.methods.delete.parameters.name.type - resources.operations.methods.delete.path - resources.operations.methods.delete.scopes - resources.operations.methods.list.description - resources.operations.methods.list.flatPath - resources.operations.methods.list.httpMethod - resources.operations.methods.list.id - resources.operations.methods.list.parameterOrder - resources.operations.methods.list.parameters.filter.description - resources.operations.methods.list.parameters.filter.location - resources.operations.methods.list.parameters.filter.type - resources.operations.methods.list.parameters.name.description - resources.operations.methods.list.parameters.name.location - resources.operations.methods.list.parameters.name.type - resources.operations.methods.list.parameters.pageSize.description - resources.operations.methods.list.parameters.pageSize.format - resources.operations.methods.list.parameters.pageSize.location - resources.operations.methods.list.parameters.pageSize.type - resources.operations.methods.list.parameters.pageToken.description - resources.operations.methods.list.parameters.pageToken.location - resources.operations.methods.list.parameters.pageToken.type - resources.operations.methods.list.path - resources.operations.methods.list.response.$ref - resources.operations.methods.list.scopes - schemas.ListOperationsResponse.description - schemas.ListOperationsResponse.id - schemas.ListOperationsResponse.properties.nextPageToken.description - schemas.ListOperationsResponse.properties.nextPageToken.type - schemas.ListOperationsResponse.properties.operations.description - schemas.ListOperationsResponse.properties.operations.items.$ref - schemas.ListOperationsResponse.properties.operations.type - schemas.ListOperationsResponse.type
1 parent 004d70e commit d015972

File tree

2 files changed

+1
-572
lines changed

2 files changed

+1
-572
lines changed

discovery/drive-v3.json

Lines changed: 1 addition & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,54 +1816,6 @@
18161816
},
18171817
"operations": {
18181818
"methods": {
1819-
"cancel": {
1820-
"description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.",
1821-
"flatPath": "operations/{name}:cancel",
1822-
"httpMethod": "POST",
1823-
"id": "drive.operations.cancel",
1824-
"parameterOrder": [
1825-
"name"
1826-
],
1827-
"parameters": {
1828-
"name": {
1829-
"description": "The name of the operation resource to be cancelled.",
1830-
"location": "path",
1831-
"required": true,
1832-
"type": "string"
1833-
}
1834-
},
1835-
"path": "operations/{name}:cancel",
1836-
"scopes": [
1837-
"https://www.googleapis.com/auth/drive",
1838-
"https://www.googleapis.com/auth/drive.file",
1839-
"https://www.googleapis.com/auth/drive.meet.readonly",
1840-
"https://www.googleapis.com/auth/drive.readonly"
1841-
]
1842-
},
1843-
"delete": {
1844-
"description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
1845-
"flatPath": "operations/{name}",
1846-
"httpMethod": "DELETE",
1847-
"id": "drive.operations.delete",
1848-
"parameterOrder": [
1849-
"name"
1850-
],
1851-
"parameters": {
1852-
"name": {
1853-
"description": "The name of the operation resource to be deleted.",
1854-
"location": "path",
1855-
"required": true,
1856-
"type": "string"
1857-
}
1858-
},
1859-
"path": "operations/{name}",
1860-
"scopes": [
1861-
"https://www.googleapis.com/auth/drive",
1862-
"https://www.googleapis.com/auth/drive.file",
1863-
"https://www.googleapis.com/auth/drive.meet.readonly",
1864-
"https://www.googleapis.com/auth/drive.readonly"
1865-
]
1866-
},
18671819
"get": {
18681820
"description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
18691821
"flatPath": "operations/{name}",
@@ -1890,46 +1842,6 @@
18901842
"https://www.googleapis.com/auth/drive.meet.readonly",
18911843
"https://www.googleapis.com/auth/drive.readonly"
18921844
]
1893-
},
1894-
"list": {
1895-
"description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.",
1896-
"flatPath": "operations",
1897-
"httpMethod": "GET",
1898-
"id": "drive.operations.list",
1899-
"parameterOrder": [],
1900-
"parameters": {
1901-
"filter": {
1902-
"description": "The standard list filter.",
1903-
"location": "query",
1904-
"type": "string"
1905-
},
1906-
"name": {
1907-
"description": "The name of the operation's parent resource.",
1908-
"location": "query",
1909-
"type": "string"
1910-
},
1911-
"pageSize": {
1912-
"description": "The standard list page size.",
1913-
"format": "int32",
1914-
"location": "query",
1915-
"type": "integer"
1916-
},
1917-
"pageToken": {
1918-
"description": "The standard list page token.",
1919-
"location": "query",
1920-
"type": "string"
1921-
}
1922-
},
1923-
"path": "operations",
1924-
"response": {
1925-
"$ref": "ListOperationsResponse"
1926-
},
1927-
"scopes": [
1928-
"https://www.googleapis.com/auth/drive",
1929-
"https://www.googleapis.com/auth/drive.file",
1930-
"https://www.googleapis.com/auth/drive.meet.readonly",
1931-
"https://www.googleapis.com/auth/drive.readonly"
1932-
]
19331845
}
19341846
}
19351847
},
@@ -2806,7 +2718,7 @@
28062718
}
28072719
}
28082720
},
2809-
"revision": "20250717",
2721+
"revision": "20250723",
28102722
"rootUrl": "https://www.googleapis.com/",
28112723
"schemas": {
28122724
"About": {
@@ -4620,24 +4532,6 @@
46204532
},
46214533
"type": "object"
46224534
},
4623-
"ListOperationsResponse": {
4624-
"description": "The response message for Operations.ListOperations.",
4625-
"id": "ListOperationsResponse",
4626-
"properties": {
4627-
"nextPageToken": {
4628-
"description": "The standard List next-page token.",
4629-
"type": "string"
4630-
},
4631-
"operations": {
4632-
"description": "A list of operations that matches the specified filter in the request.",
4633-
"items": {
4634-
"$ref": "Operation"
4635-
},
4636-
"type": "array"
4637-
}
4638-
},
4639-
"type": "object"
4640-
},
46414535
"ModifyLabelsRequest": {
46424536
"description": "A request to modify the set of labels on a file. This request may contain many modifications that will either all succeed or all fail atomically.",
46434537
"id": "ModifyLabelsRequest",

0 commit comments

Comments
 (0)