Skip to content

Commit e5495ab

Browse files
yoshi-automationsofisl
authored andcommitted
fix(certificatemanager): update the API
#### certificatemanager:v1 The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.Certificate.properties.scope.enumDescriptions - schemas.OperationMetadata.properties.requestedCancellation.description
1 parent e24934a commit e5495ab

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

‎discovery/certificatemanager-v1.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@
10171017
"operations": {
10181018
"methods": {
10191019
"cancel": {
1020-
"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`.",
1020+
"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`.",
10211021
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
10221022
"httpMethod": "POST",
10231023
"id": "certificatemanager.projects.locations.operations.cancel",
@@ -1314,7 +1314,7 @@
13141314
}
13151315
}
13161316
},
1317-
"revision": "20240729",
1317+
"revision": "20241204",
13181318
"rootUrl": "https://certificatemanager.googleapis.com/",
13191319
"schemas": {
13201320
"AllowlistedCertificate": {
@@ -1441,9 +1441,9 @@
14411441
"ALL_REGIONS"
14421442
],
14431443
"enumDescriptions": [
1444-
"Certificates with default scope are served from core Google data centers. If unsure, choose this option.",
1445-
"Certificates with scope EDGE_CACHE are special-purposed certificates, served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations.",
1446-
"Certificates with ALL_REGIONS scope are served from all Google Cloud regions. See https://cloud.google.com/compute/docs/regions-zones."
1444+
"Use the DEFAULT scope if you plan to use the certificate with global external Application Load Balancer, global external proxy Network Load Balancer, or any of the regional Google Cloud services.",
1445+
"Use the EDGE_CACHE scope if you plan to use the certificate with Media CDN. The certificates are served from Edge Points of Presence. See https://cloud.google.com/vpc/docs/edge-locations.",
1446+
"Use the ALL_REGIONS scope if you plan to use the certificate with cross-region internal Application Load Balancer. The certificates are served from all Google Cloud regions. See https://cloud.google.com/compute/docs/regions-zones."
14471447
],
14481448
"type": "string"
14491449
},
@@ -2129,7 +2129,7 @@
21292129
"type": "string"
21302130
},
21312131
"requestedCancellation": {
2132-
"description": "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`.",
2132+
"description": "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`.",
21332133
"type": "boolean"
21342134
},
21352135
"statusMessage": {

‎src/apis/certificatemanager/v1.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ export namespace certificatemanager_v1 {
657657
*/
658658
endTime?: string | null;
659659
/**
660-
* 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`.
660+
* 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`.
661661
*/
662662
requestedCancellation?: boolean | null;
663663
/**
@@ -3663,7 +3663,7 @@ export namespace certificatemanager_v1 {
36633663
}
36643664

36653665
/**
3666-
* 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`.
3666+
* 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`.
36673667
*
36683668
* @param params - Parameters for request
36693669
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.

0 commit comments

Comments
 (0)