Skip to content

Commit 8c9152a

Browse files
yoshi-automationsofisl
authored andcommitted
fix(cloudshell): update the API
#### cloudshell:v1 The following keys were changed: - resources.operations.methods.cancel.description
1 parent c317757 commit 8c9152a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎discovery/cloudshell-v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"operations": {
109109
"methods": {
110110
"cancel": {
111-
"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`.",
111+
"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`.",
112112
"flatPath": "v1/operations/{operationsId}:cancel",
113113
"httpMethod": "POST",
114114
"id": "cloudshell.operations.cancel",
@@ -374,7 +374,7 @@
374374
}
375375
}
376376
},
377-
"revision": "20230807",
377+
"revision": "20241118",
378378
"rootUrl": "https://cloudshell.googleapis.com/",
379379
"schemas": {
380380
"AddPublicKeyMetadata": {

‎src/apis/cloudshell/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export namespace cloudshell_v1 {
341341
}
342342

343343
/**
344-
* 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`.
344+
* 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`.
345345
*
346346
* @param params - Parameters for request
347347
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)