Skip to content

Commit c6f1431

Browse files
feat(privateca): update the api
#### privateca:v1 The following keys were added: - resources.projects.resources.locations.resources.caPools.methods.delete.parameters.ignoreDependentResources (Total Keys: 2) - resources.projects.resources.locations.resources.caPools.resources.certificateAuthorities.methods.delete.parameters.ignoreDependentResources (Total Keys: 2) - schemas.DisableCertificateAuthorityRequest.properties.ignoreDependentResources.type (Total Keys: 1)
1 parent b6a4afe commit c6f1431

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

docs/dyn/privateca_v1.projects.locations.caPools.certificateAuthorities.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ <h2>Instance Methods</h2>
8989
<code><a href="#create">create(parent, body=None, certificateAuthorityId=None, requestId=None, x__xgafv=None)</a></code></p>
9090
<p class="firstline">Create a new CertificateAuthority in a given Project and Location.</p>
9191
<p class="toc_element">
92-
<code><a href="#delete">delete(name, ignoreActiveCertificates=None, requestId=None, skipGracePeriod=None, x__xgafv=None)</a></code></p>
92+
<code><a href="#delete">delete(name, ignoreActiveCertificates=None, ignoreDependentResources=None, requestId=None, skipGracePeriod=None, x__xgafv=None)</a></code></p>
9393
<p class="firstline">Delete a CertificateAuthority.</p>
9494
<p class="toc_element">
9595
<code><a href="#disable">disable(name, body=None, x__xgafv=None)</a></code></p>
@@ -521,12 +521,13 @@ <h3>Method Details</h3>
521521
</div>
522522

523523
<div class="method">
524-
<code class="details" id="delete">delete(name, ignoreActiveCertificates=None, requestId=None, skipGracePeriod=None, x__xgafv=None)</code>
524+
<code class="details" id="delete">delete(name, ignoreActiveCertificates=None, ignoreDependentResources=None, requestId=None, skipGracePeriod=None, x__xgafv=None)</code>
525525
<pre>Delete a CertificateAuthority.
526526

527527
Args:
528528
name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
529529
ignoreActiveCertificates: boolean, Optional. This field allows the CA to be deleted even if the CA has active certs. Active certs include both unrevoked and unexpired certs.
530+
ignoreDependentResources: boolean, Optional. This field allows this ca to be deleted even if it&#x27;s being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resource(s) since the CA will no longer be able to issue certificates.
530531
requestId: string, Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
531532
skipGracePeriod: boolean, Optional. If this flag is set, the Certificate Authority will be deleted as soon as possible without a 30-day grace period where undeletion would have been allowed. If you proceed, there will be no way to recover this CA.
532533
x__xgafv: string, V1 error format.
@@ -568,6 +569,7 @@ <h3>Method Details</h3>
568569
The object takes the form of:
569570

570571
{ # Request message for CertificateAuthorityService.DisableCertificateAuthority.
572+
&quot;ignoreDependentResources&quot;: True or False, # Optional. This field allows this CA to be disabled even if it&#x27;s being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resource(s) since the CA will no longer be able to issue certificates.
571573
&quot;requestId&quot;: &quot;A String&quot;, # Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
572574
}
573575

docs/dyn/privateca_v1.projects.locations.caPools.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h2>Instance Methods</h2>
9191
<code><a href="#create">create(parent, body=None, caPoolId=None, requestId=None, x__xgafv=None)</a></code></p>
9292
<p class="firstline">Create a CaPool.</p>
9393
<p class="toc_element">
94-
<code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
94+
<code><a href="#delete">delete(name, ignoreDependentResources=None, requestId=None, x__xgafv=None)</a></code></p>
9595
<p class="firstline">Delete a CaPool.</p>
9696
<p class="toc_element">
9797
<code><a href="#fetchCaCerts">fetchCaCerts(caPool, body=None, x__xgafv=None)</a></code></p>
@@ -298,11 +298,12 @@ <h3>Method Details</h3>
298298
</div>
299299

300300
<div class="method">
301-
<code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
301+
<code class="details" id="delete">delete(name, ignoreDependentResources=None, requestId=None, x__xgafv=None)</code>
302302
<pre>Delete a CaPool.
303303

304304
Args:
305305
name: string, Required. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`. (required)
306+
ignoreDependentResources: boolean, Optional. This field allows this pool to be deleted even if it&#x27;s being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resource(s) since the pool will no longer be able to issue certificates.
306307
requestId: string, Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
307308
x__xgafv: string, V1 error format.
308309
Allowed values

googleapiclient/discovery_cache/documents/privateca.v1.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@
226226
"name"
227227
],
228228
"parameters": {
229+
"ignoreDependentResources": {
230+
"description": "Optional. This field allows this pool to be deleted even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resource(s) since the pool will no longer be able to issue certificates.",
231+
"location": "query",
232+
"type": "boolean"
233+
},
229234
"name": {
230235
"description": "Required. The resource name for this CaPool in the format `projects/*/locations/*/caPools/*`.",
231236
"location": "path",
@@ -556,6 +561,11 @@
556561
"location": "query",
557562
"type": "boolean"
558563
},
564+
"ignoreDependentResources": {
565+
"description": "Optional. This field allows this ca to be deleted even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resource(s) since the CA will no longer be able to issue certificates.",
566+
"location": "query",
567+
"type": "boolean"
568+
},
559569
"name": {
560570
"description": "Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.",
561571
"location": "path",
@@ -1595,7 +1605,7 @@
15951605
}
15961606
}
15971607
},
1598-
"revision": "20230315",
1608+
"revision": "20230403",
15991609
"rootUrl": "https://privateca.googleapis.com/",
16001610
"schemas": {
16011611
"AccessUrls": {
@@ -2280,6 +2290,10 @@
22802290
"description": "Request message for CertificateAuthorityService.DisableCertificateAuthority.",
22812291
"id": "DisableCertificateAuthorityRequest",
22822292
"properties": {
2293+
"ignoreDependentResources": {
2294+
"description": "Optional. This field allows this CA to be disabled even if it's being depended on by another resource. However, doing so may result in unintended and unrecoverable effects on any dependent resource(s) since the CA will no longer be able to issue certificates.",
2295+
"type": "boolean"
2296+
},
22832297
"requestId": {
22842298
"description": "Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
22852299
"type": "string"
@@ -3024,7 +3038,7 @@
30243038
],
30253039
"enumDescriptions": [
30263040
"Unknown repair action.",
3027-
"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel. For more information - go/ccfe-delete-on-upsert, go/ccfe-reconciliation-protocol-ug#apply_delete",
3041+
"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.",
30283042
"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource."
30293043
],
30303044
"type": "string"

googleapiclient/discovery_cache/documents/privateca.v1beta1.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@
580580
}
581581
}
582582
},
583-
"revision": "20230315",
583+
"revision": "20230403",
584584
"rootUrl": "https://privateca.googleapis.com/",
585585
"schemas": {
586586
"AuditConfig": {
@@ -841,7 +841,7 @@
841841
],
842842
"enumDescriptions": [
843843
"Unknown repair action.",
844-
"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel. For more information - go/ccfe-delete-on-upsert, go/ccfe-reconciliation-protocol-ug#apply_delete",
844+
"The resource has to be deleted. When using this bit, the CLH should fail the operation. DEPRECATED. Instead use DELETE_RESOURCE OperationSignal in SideChannel.",
845845
"This resource could not be repaired but the repair should be tried again at a later time. This can happen if there is a dependency that needs to be resolved first- e.g. if a parent resource must be repaired before a child resource."
846846
],
847847
"type": "string"

0 commit comments

Comments
 (0)