Skip to content

Commit aa96c66

Browse files
yoshi-automationsofisl
authored andcommitted
fix(webrisk): update the API
#### webrisk:v1 The following keys were changed: - resources.projects.resources.operations.methods.cancel.description
1 parent 4bf4239 commit aa96c66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discovery/webrisk-v1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"operations": {
157157
"methods": {
158158
"cancel": {
159-
"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`.",
159+
"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`.",
160160
"flatPath": "v1/projects/{projectsId}/operations/{operationsId}:cancel",
161161
"httpMethod": "POST",
162162
"id": "webrisk.projects.operations.cancel",
@@ -420,7 +420,7 @@
420420
}
421421
}
422422
},
423-
"revision": "20230806",
423+
"revision": "20241117",
424424
"rootUrl": "https://webrisk.googleapis.com/",
425425
"schemas": {
426426
"GoogleCloudWebriskV1ComputeThreatListDiffResponse": {

src/apis/webrisk/v1.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ export namespace webrisk_v1 {
482482
}
483483

484484
/**
485-
* 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`.
485+
* 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`.
486486
*
487487
* @param params - Parameters for request
488488
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)