Skip to content

Commit c525784

Browse files
yoshi-automationsofisl
authored andcommitted
fix(apigateway): update the API
#### apigateway:v1beta The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.ApigatewayOperationMetadata.properties.requestedCancellation.description #### apigateway:v1 The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.ApigatewayOperationMetadata.properties.requestedCancellation.description
1 parent 4276bda commit c525784

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

‎discovery/apigateway-v1.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@
958958
"operations": {
959959
"methods": {
960960
"cancel": {
961-
"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`.",
961+
"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`.",
962962
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
963963
"httpMethod": "POST",
964964
"id": "apigateway.projects.locations.operations.cancel",
@@ -1083,7 +1083,7 @@
10831083
}
10841084
}
10851085
},
1086-
"revision": "20240118",
1086+
"revision": "20241204",
10871087
"rootUrl": "https://apigateway.googleapis.com/",
10881088
"schemas": {
10891089
"ApigatewayApi": {
@@ -1653,7 +1653,7 @@
16531653
"type": "string"
16541654
},
16551655
"requestedCancellation": {
1656-
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1656+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
16571657
"readOnly": true,
16581658
"type": "boolean"
16591659
},

‎discovery/apigateway-v1beta.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@
958958
"operations": {
959959
"methods": {
960960
"cancel": {
961-
"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`.",
961+
"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`.",
962962
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
963963
"httpMethod": "POST",
964964
"id": "apigateway.projects.locations.operations.cancel",
@@ -1083,7 +1083,7 @@
10831083
}
10841084
}
10851085
},
1086-
"revision": "20240118",
1086+
"revision": "20241204",
10871087
"rootUrl": "https://apigateway.googleapis.com/",
10881088
"schemas": {
10891089
"ApigatewayApi": {
@@ -1681,7 +1681,7 @@
16811681
"type": "string"
16821682
},
16831683
"requestedCancellation": {
1684-
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
1684+
"description": "Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
16851685
"readOnly": true,
16861686
"type": "boolean"
16871687
},

‎src/apis/apigateway/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ export namespace apigateway_v1 {
494494
*/
495495
endTime?: string | null;
496496
/**
497-
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
497+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
498498
*/
499499
requestedCancellation?: boolean | null;
500500
/**
@@ -3351,7 +3351,7 @@ export namespace apigateway_v1 {
33513351
}
33523352

33533353
/**
3354-
* 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`.
3354+
* 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`.
33553355
*
33563356
* @param params - Parameters for request
33573357
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

‎src/apis/apigateway/v1beta.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ export namespace apigateway_v1beta {
516516
*/
517517
endTime?: string | null;
518518
/**
519-
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
519+
* Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have google.longrunning.Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.
520520
*/
521521
requestedCancellation?: boolean | null;
522522
/**
@@ -3379,7 +3379,7 @@ export namespace apigateway_v1beta {
33793379
}
33803380

33813381
/**
3382-
* 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`.
3382+
* 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`.
33833383
*
33843384
* @param params - Parameters for request
33853385
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)