Skip to content

Commit

Permalink
feat(privateca): update the api
Browse files Browse the repository at this point in the history
#### privateca:v1

The following keys were deleted:
- schemas.CaPool.properties.name.readOnly (Total Keys: 1)
- schemas.Certificate.properties.name.readOnly (Total Keys: 1)
- schemas.CertificateAuthority.properties.name.readOnly (Total Keys: 1)
- schemas.CertificateRevocationList.properties.name.readOnly (Total Keys: 1)
- schemas.CertificateTemplate.properties.name.readOnly (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Dec 17, 2024
1 parent f891c7e commit 8f7e7cd
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels with user-defined metadata.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.
&quot;pemCrl&quot;: &quot;A String&quot;, # Output only. The PEM-encoded X.509 CRL.
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.
&quot;revokedCertificates&quot;: [ # Output only. The revoked serial numbers that appear in pem_crl.
Expand Down Expand Up @@ -214,7 +214,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels with user-defined metadata.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.
&quot;pemCrl&quot;: &quot;A String&quot;, # Output only. The PEM-encoded X.509 CRL.
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.
&quot;revokedCertificates&quot;: [ # Output only. The revoked serial numbers that appear in pem_crl.
Expand Down Expand Up @@ -255,7 +255,7 @@ <h3>Method Details</h3>
<pre>Update a CertificateRevocationList.

Args:
name: string, Output only. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`. (required)
name: string, Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`. (required)
body: object, The request body.
The object takes the form of:

Expand All @@ -265,7 +265,7 @@ <h3>Method Details</h3>
&quot;labels&quot;: { # Optional. Labels with user-defined metadata.
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateRevocationList in the format `projects/*/locations/*/caPools/*certificateAuthorities/*/ certificateRevocationLists/*`.
&quot;pemCrl&quot;: &quot;A String&quot;, # Output only. The PEM-encoded X.509 CRL.
&quot;revisionId&quot;: &quot;A String&quot;, # Output only. The revision ID of this CertificateRevocationList. A new revision is committed whenever a new CRL is published. The format is an 8-character hexadecimal string.
&quot;revokedCertificates&quot;: [ # Output only. The revoked serial numbers that appear in pem_crl.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of the CA certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate.
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;pemCaCertificates&quot;: [ # Output only. This CertificateAuthority&#x27;s certificate chain, including the current CertificateAuthority&#x27;s certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority&#x27;s certificate.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -977,7 +977,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of the CA certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate.
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;pemCaCertificates&quot;: [ # Output only. This CertificateAuthority&#x27;s certificate chain, including the current CertificateAuthority&#x27;s certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority&#x27;s certificate.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -1312,7 +1312,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of the CA certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate.
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;pemCaCertificates&quot;: [ # Output only. This CertificateAuthority&#x27;s certificate chain, including the current CertificateAuthority&#x27;s certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority&#x27;s certificate.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -1358,7 +1358,7 @@ <h3>Method Details</h3>
<pre>Update a CertificateAuthority.

Args:
name: string, Output only. Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
name: string, Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
body: object, The request body.
The object takes the form of:

Expand Down Expand Up @@ -1656,7 +1656,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of the CA certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate.
&quot;name&quot;: &quot;A String&quot;, # Output only. Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
&quot;pemCaCertificates&quot;: [ # Output only. This CertificateAuthority&#x27;s certificate chain, including the current CertificateAuthority&#x27;s certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority&#x27;s certificate.
&quot;A String&quot;,
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down Expand Up @@ -698,7 +698,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down Expand Up @@ -1008,7 +1008,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down Expand Up @@ -1324,7 +1324,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down Expand Up @@ -1364,7 +1364,7 @@ <h3>Method Details</h3>
<pre>Update a Certificate. Currently, the only field you can update is the labels field.

Args:
name: string, Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. (required)
name: string, Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. (required)
body: object, The request body.
The object takes the form of:

Expand Down Expand Up @@ -1649,7 +1649,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down Expand Up @@ -1954,7 +1954,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down Expand Up @@ -2272,7 +2272,7 @@ <h3>Method Details</h3>
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
&quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
&quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
&quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
&quot;A String&quot;,
Expand Down
Loading

0 comments on commit 8f7e7cd

Please sign in to comment.