Skip to content

Commit 66f4593

Browse files
yoshi-automationsofisl
authored andcommitted
fix(privateca): update the API
#### privateca:v1 The following keys were changed: - schemas.CaOptions.description - schemas.CaOptions.properties.isCa.description - schemas.CaOptions.properties.maxIssuerPathLength.description - schemas.X509Parameters.properties.caOptions.description
1 parent a460f9b commit 66f4593

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

discovery/privateca-v1.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,7 +1605,7 @@
16051605
}
16061606
}
16071607
},
1608-
"revision": "20240424",
1608+
"revision": "20240619",
16091609
"rootUrl": "https://privateca.googleapis.com/",
16101610
"schemas": {
16111611
"AccessUrls": {
@@ -1731,15 +1731,15 @@
17311731
"type": "object"
17321732
},
17331733
"CaOptions": {
1734-
"description": "Describes values that are relevant in a CA certificate.",
1734+
"description": "Describes the X.509 basic constraints extension, per [RFC 5280 section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9)",
17351735
"id": "CaOptions",
17361736
"properties": {
17371737
"isCa": {
1738-
"description": "Optional. Refers to the \"CA\" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.",
1738+
"description": "Optional. Refers to the \"CA\" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.",
17391739
"type": "boolean"
17401740
},
17411741
"maxIssuerPathLength": {
1742-
"description": "Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.",
1742+
"description": "Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.",
17431743
"format": "int32",
17441744
"type": "integer"
17451745
}
@@ -3510,7 +3510,7 @@
35103510
},
35113511
"caOptions": {
35123512
"$ref": "CaOptions",
3513-
"description": "Optional. Describes options in this X509Parameters that are relevant in a CA certificate."
3513+
"description": "Optional. Describes options in this X509Parameters that are relevant in a CA certificate. If not specified, a default basic constraints extension with `is_ca=false` will be added for leaf certificates."
35143514
},
35153515
"keyUsage": {
35163516
"$ref": "KeyUsage",

src/apis/privateca/v1.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ export namespace privateca_v1 {
215215
*/
216216
export interface Schema$CancelOperationRequest {}
217217
/**
218-
* Describes values that are relevant in a CA certificate.
218+
* Describes the X.509 basic constraints extension, per [RFC 5280 section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9)
219219
*/
220220
export interface Schema$CaOptions {
221221
/**
222-
* Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
222+
* Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.
223223
*/
224224
isCa?: boolean | null;
225225
/**
226-
* Optional. Refers to the path length restriction X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the CA certificate.
226+
* Optional. Refers to the path length constraint field in the X.509 extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. If this value is missing, the max path length will be omitted from the certificate.
227227
*/
228228
maxIssuerPathLength?: number | null;
229229
}
@@ -1403,7 +1403,7 @@ export namespace privateca_v1 {
14031403
*/
14041404
aiaOcspServers?: string[] | null;
14051405
/**
1406-
* Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
1406+
* Optional. Describes options in this X509Parameters that are relevant in a CA certificate. If not specified, a default basic constraints extension with `is_ca=false` will be added for leaf certificates.
14071407
*/
14081408
caOptions?: Schema$CaOptions;
14091409
/**

0 commit comments

Comments
 (0)