You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">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`.</p>
<pclass="firstline">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`.</p>
<pclass="firstline">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.</p>
<pre>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`.
99
+
100
+
Args:
101
+
name: string, The name of the operation resource to be cancelled. (required)
<pre>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`.
117
+
118
+
Args:
119
+
name: string, The name of the operation resource to be deleted. (required)
<pre>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.
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/drive.v3.json
+8-12
Original file line number
Diff line number
Diff line change
@@ -1814,13 +1814,13 @@
1814
1814
}
1815
1815
}
1816
1816
},
1817
-
"operation": {
1817
+
"operations": {
1818
1818
"methods": {
1819
1819
"cancel": {
1820
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": "operation/{name}:cancel",
1821
+
"flatPath": "operations/{name}:cancel",
1822
1822
"httpMethod": "POST",
1823
-
"id": "drive.operation.cancel",
1823
+
"id": "drive.operations.cancel",
1824
1824
"parameterOrder": [
1825
1825
"name"
1826
1826
],
@@ -1832,7 +1832,7 @@
1832
1832
"type": "string"
1833
1833
}
1834
1834
},
1835
-
"path": "operation/{name}:cancel",
1835
+
"path": "operations/{name}:cancel",
1836
1836
"scopes": [
1837
1837
"https://www.googleapis.com/auth/drive",
1838
1838
"https://www.googleapis.com/auth/drive.file",
@@ -1842,9 +1842,9 @@
1842
1842
},
1843
1843
"delete": {
1844
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`.",
"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.",
0 commit comments