Skip to content

Commit 36722ba

Browse files
yoshi-automationsofisl
authored andcommitted
feat(privateca)!: update the API
BREAKING CHANGE: This release has breaking changes. #### privateca:v1beta1 The following keys were changed: - resources.projects.resources.locations.resources.operations.methods.cancel.description #### privateca:v1 The following keys were deleted: - schemas.CaPool.properties.name.readOnly - schemas.Certificate.properties.name.readOnly - schemas.CertificateAuthority.properties.name.readOnly - schemas.CertificateRevocationList.properties.name.readOnly - schemas.CertificateTemplate.properties.name.readOnly The following keys were changed: - resources.projects.resources.locations.resources.caPools.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.caPools.resources.certificateAuthorities.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.caPools.resources.certificateAuthorities.resources.certificateRevocationLists.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.caPools.resources.certificates.methods.create.parameters.certificateId.description - resources.projects.resources.locations.resources.caPools.resources.certificates.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.certificateTemplates.methods.patch.parameters.name.description - resources.projects.resources.locations.resources.operations.methods.cancel.description - schemas.CaPool.properties.name.description - schemas.Certificate.properties.name.description - schemas.CertificateAuthority.properties.name.description - schemas.CertificateRevocationList.properties.name.description - schemas.CertificateTemplate.properties.name.description - schemas.ListCaPoolsResponse.properties.nextPageToken.description - schemas.ListCertificateAuthoritiesResponse.properties.nextPageToken.description - schemas.ListCertificateRevocationListsResponse.properties.nextPageToken.description - schemas.ListCertificateTemplatesResponse.properties.nextPageToken.description - schemas.ListCertificatesResponse.properties.nextPageToken.description - schemas.OperationMetadata.properties.requestedCancellation.description
1 parent c5b31ef commit 36722ba

File tree

4 files changed

+40
-45
lines changed

4 files changed

+40
-45
lines changed

‎discovery/privateca-v1.json

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@
392392
],
393393
"parameters": {
394394
"name": {
395-
"description": "Output only. Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.",
395+
"description": "Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.",
396396
"location": "path",
397397
"pattern": "^projects/[^/]+/locations/[^/]+/caPools/[^/]+$",
398398
"required": true,
@@ -754,7 +754,7 @@
754754
],
755755
"parameters": {
756756
"name": {
757-
"description": "Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.",
757+
"description": "Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.",
758758
"location": "path",
759759
"pattern": "^projects/[^/]+/locations/[^/]+/caPools/[^/]+/certificateAuthorities/[^/]+$",
760760
"required": true,
@@ -927,7 +927,7 @@
927927
],
928928
"parameters": {
929929
"name": {
930-
"description": "Output only. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.",
930+
"description": "Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.",
931931
"location": "path",
932932
"pattern": "^projects/[^/]+/locations/[^/]+/caPools/[^/]+/certificateAuthorities/[^/]+/certificateRevocationLists/[^/]+$",
933933
"required": true,
@@ -1028,7 +1028,7 @@
10281028
],
10291029
"parameters": {
10301030
"certificateId": {
1031-
"description": "Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.Tier, but is optional and its value is ignored otherwise.",
1031+
"description": "Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.tier, but is optional and its value is ignored otherwise.",
10321032
"location": "query",
10331033
"type": "string"
10341034
},
@@ -1147,7 +1147,7 @@
11471147
],
11481148
"parameters": {
11491149
"name": {
1150-
"description": "Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.",
1150+
"description": "Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.",
11511151
"location": "path",
11521152
"pattern": "^projects/[^/]+/locations/[^/]+/caPools/[^/]+/certificates/[^/]+$",
11531153
"required": true,
@@ -1390,7 +1390,7 @@
13901390
],
13911391
"parameters": {
13921392
"name": {
1393-
"description": "Output only. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`.",
1393+
"description": "Identifier. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`.",
13941394
"location": "path",
13951395
"pattern": "^projects/[^/]+/locations/[^/]+/certificateTemplates/[^/]+$",
13961396
"required": true,
@@ -1480,7 +1480,7 @@
14801480
"operations": {
14811481
"methods": {
14821482
"cancel": {
1483-
"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`.",
1483+
"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`.",
14841484
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
14851485
"httpMethod": "POST",
14861486
"id": "privateca.projects.locations.operations.cancel",
@@ -1605,7 +1605,7 @@
16051605
}
16061606
}
16071607
},
1608-
"revision": "20240918",
1608+
"revision": "20241204",
16091609
"rootUrl": "https://privateca.googleapis.com/",
16101610
"schemas": {
16111611
"AccessUrls": {
@@ -1762,8 +1762,7 @@
17621762
"type": "object"
17631763
},
17641764
"name": {
1765-
"description": "Output only. Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.",
1766-
"readOnly": true,
1765+
"description": "Identifier. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.",
17671766
"type": "string"
17681767
},
17691768
"publishingOptions": {
@@ -1847,8 +1846,7 @@
18471846
"type": "string"
18481847
},
18491848
"name": {
1850-
"description": "Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.",
1851-
"readOnly": true,
1849+
"description": "Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.",
18521850
"type": "string"
18531851
},
18541852
"pemCertificate": {
@@ -1956,8 +1954,7 @@
19561954
"type": "string"
19571955
},
19581956
"name": {
1959-
"description": "Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.",
1960-
"readOnly": true,
1957+
"description": "Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.",
19611958
"type": "string"
19621959
},
19631960
"pemCaCertificates": {
@@ -2216,8 +2213,7 @@
22162213
"type": "object"
22172214
},
22182215
"name": {
2219-
"description": "Output only. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.",
2220-
"readOnly": true,
2216+
"description": "Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.",
22212217
"type": "string"
22222218
},
22232219
"pemCrl": {
@@ -2299,8 +2295,7 @@
22992295
"type": "string"
23002296
},
23012297
"name": {
2302-
"description": "Output only. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`.",
2303-
"readOnly": true,
2298+
"description": "Identifier. The resource name for this CertificateTemplate in the format `projects/*/locations/*/certificateTemplates/*`.",
23042299
"type": "string"
23052300
},
23062301
"passthroughExtensions": {
@@ -2641,7 +2636,7 @@
26412636
"type": "array"
26422637
},
26432638
"nextPageToken": {
2644-
"description": "A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.next_page_token to retrieve the next page of results.",
2639+
"description": "A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.page_token to retrieve the next page of results.",
26452640
"type": "string"
26462641
},
26472642
"unreachable": {
@@ -2666,7 +2661,7 @@
26662661
"type": "array"
26672662
},
26682663
"nextPageToken": {
2669-
"description": "A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.next_page_token to retrieve the next page of results.",
2664+
"description": "A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.page_token to retrieve the next page of results.",
26702665
"type": "string"
26712666
},
26722667
"unreachable": {
@@ -2691,7 +2686,7 @@
26912686
"type": "array"
26922687
},
26932688
"nextPageToken": {
2694-
"description": "A token to retrieve next page of results. Pass this value in ListCertificateRevocationListsRequest.next_page_token to retrieve the next page of results.",
2689+
"description": "A token to retrieve next page of results. Pass this value in ListCertificateRevocationListsRequest.page_token to retrieve the next page of results.",
26952690
"type": "string"
26962691
},
26972692
"unreachable": {
@@ -2716,7 +2711,7 @@
27162711
"type": "array"
27172712
},
27182713
"nextPageToken": {
2719-
"description": "A token to retrieve next page of results. Pass this value in ListCertificateTemplatesRequest.next_page_token to retrieve the next page of results.",
2714+
"description": "A token to retrieve next page of results. Pass this value in ListCertificateTemplatesRequest.page_token to retrieve the next page of results.",
27202715
"type": "string"
27212716
},
27222717
"unreachable": {
@@ -2741,7 +2736,7 @@
27412736
"type": "array"
27422737
},
27432738
"nextPageToken": {
2744-
"description": "A token to retrieve next page of results. Pass this value in ListCertificatesRequest.next_page_token to retrieve the next page of results.",
2739+
"description": "A token to retrieve next page of results. Pass this value in ListCertificatesRequest.page_token to retrieve the next page of results.",
27452740
"type": "string"
27462741
},
27472742
"unreachable": {
@@ -2963,7 +2958,7 @@
29632958
"type": "string"
29642959
},
29652960
"requestedCancellation": {
2966-
"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`.",
2961+
"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`.",
29672962
"readOnly": true,
29682963
"type": "boolean"
29692964
},

‎discovery/privateca-v1beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@
364364
"operations": {
365365
"methods": {
366366
"cancel": {
367-
"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`.",
367+
"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`.",
368368
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
369369
"httpMethod": "POST",
370370
"id": "privateca.projects.locations.operations.cancel",
@@ -580,7 +580,7 @@
580580
}
581581
}
582582
},
583-
"revision": "20240129",
583+
"revision": "20241204",
584584
"rootUrl": "https://privateca.googleapis.com/",
585585
"schemas": {
586586
"AuditConfig": {

0 commit comments

Comments
 (0)