blob: a3e9183d466ff11b909e203cec1231480b9523cc [file] [log] [blame]
yoshi-code-bot31fbcc02021-06-02 00:52:03 -07001<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13}
14
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="privateca_v1.html">Certificate Authority API</a> . <a href="privateca_v1.projects.html">projects</a> . <a href="privateca_v1.projects.locations.html">locations</a> . <a href="privateca_v1.projects.locations.caPools.html">caPools</a> . <a href="privateca_v1.projects.locations.caPools.certificateAuthorities.html">certificateAuthorities</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="privateca_v1.projects.locations.caPools.certificateAuthorities.certificateRevocationLists.html">certificateRevocationLists()</a></code>
79</p>
80<p class="firstline">Returns the certificateRevocationLists Resource.</p>
81
82<p class="toc_element">
yoshi-code-bot87595382021-06-05 00:38:05 -070083 <code><a href="#activate">activate(name, body=None, x__xgafv=None)</a></code></p>
84<p class="firstline">Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process.</p>
85<p class="toc_element">
yoshi-code-bot31fbcc02021-06-02 00:52:03 -070086 <code><a href="#close">close()</a></code></p>
87<p class="firstline">Close httplib2 connections.</p>
yoshi-code-bot87595382021-06-05 00:38:05 -070088<p class="toc_element">
89 <code><a href="#create">create(parent, body=None, certificateAuthorityId=None, requestId=None, x__xgafv=None)</a></code></p>
90<p class="firstline">Create a new CertificateAuthority in a given Project and Location.</p>
91<p class="toc_element">
92 <code><a href="#delete">delete(name, ignoreActiveCertificates=None, requestId=None, x__xgafv=None)</a></code></p>
93<p class="firstline">Delete a CertificateAuthority.</p>
94<p class="toc_element">
95 <code><a href="#disable">disable(name, body=None, x__xgafv=None)</a></code></p>
96<p class="firstline">Disable a CertificateAuthority.</p>
97<p class="toc_element">
98 <code><a href="#enable">enable(name, body=None, x__xgafv=None)</a></code></p>
99<p class="firstline">Enable a CertificateAuthority.</p>
100<p class="toc_element">
101 <code><a href="#fetch">fetch(name, x__xgafv=None)</a></code></p>
102<p class="firstline">Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.</p>
103<p class="toc_element">
104 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
105<p class="firstline">Returns a CertificateAuthority.</p>
106<p class="toc_element">
107 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
108<p class="firstline">Lists CertificateAuthorities.</p>
109<p class="toc_element">
110 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
111<p class="firstline">Retrieves the next page of results.</p>
112<p class="toc_element">
113 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
114<p class="firstline">Update a CertificateAuthority.</p>
115<p class="toc_element">
116 <code><a href="#undelete">undelete(name, body=None, x__xgafv=None)</a></code></p>
117<p class="firstline">Undelete a CertificateAuthority that has been deleted.</p>
yoshi-code-bot31fbcc02021-06-02 00:52:03 -0700118<h3>Method Details</h3>
119<div class="method">
yoshi-code-bot87595382021-06-05 00:38:05 -0700120 <code class="details" id="activate">activate(name, body=None, x__xgafv=None)</code>
121 <pre>Activate a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. After the parent Certificate Authority signs a certificate signing request from FetchCertificateAuthorityCsr, this method can complete the activation process.
122
123Args:
124 name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
125 body: object, The request body.
126 The object takes the form of:
127
128{ # Request message for CertificateAuthorityService.ActivateCertificateAuthority.
129 &quot;pemCaCertificate&quot;: &quot;A String&quot;, # Required. The signed CA certificate issued from FetchCertificateAuthorityCsrResponse.pem_csr.
130 &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 t he 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).
131 &quot;subordinateConfig&quot;: { # Describes a subordinate CA&#x27;s issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain. # Required. Must include information about the issuer of &#x27;pem_ca_certificate&#x27;, and any further issuers until the self-signed CA.
132 &quot;certificateAuthority&quot;: &quot;A String&quot;, # Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
133 &quot;pemIssuerChain&quot;: { # This message describes a subordinate CA&#x27;s issuer certificate chain. This wrapper exists for compatibility reasons. # Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
134 &quot;pemCertificates&quot;: [ # Required. Expected to be in leaf-to-root order according to RFC 5246.
135 &quot;A String&quot;,
136 ],
137 },
138 },
139}
140
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146Returns:
147 An object of the form:
148
149 { # This resource represents a long-running operation that is the result of a network API call.
150 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
151 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
152 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
153 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
154 {
155 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
156 },
157 ],
158 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
159 },
160 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
162 },
163 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
164 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
165 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
166 },
167}</pre>
168</div>
169
170<div class="method">
yoshi-code-bot31fbcc02021-06-02 00:52:03 -0700171 <code class="details" id="close">close()</code>
172 <pre>Close httplib2 connections.</pre>
173</div>
174
yoshi-code-bot87595382021-06-05 00:38:05 -0700175<div class="method">
176 <code class="details" id="create">create(parent, body=None, certificateAuthorityId=None, requestId=None, x__xgafv=None)</code>
177 <pre>Create a new CertificateAuthority in a given Project and Location.
178
179Args:
180 parent: string, Required. The resource name of the CaPool associated with the CertificateAuthorities, in the format `projects/*/locations/*/caPools/*`. (required)
181 body: object, The request body.
182 The object takes the form of:
183
184{ # A CertificateAuthority represents an individual Certificate Authority. A CertificateAuthority can be used to create Certificates.
185 &quot;accessUrls&quot;: { # URLs where a CertificateAuthority will publish content. # Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
186 &quot;caCertificateAccessUrl&quot;: &quot;A String&quot;, # The URL where this CertificateAuthority&#x27;s CA certificate is published. This will only be set for CAs that have been activated.
187 &quot;crlAccessUrls&quot;: [ # The URLs where this CertificateAuthority&#x27;s CRLs are published. This will only be set for CAs that have been activated.
188 &quot;A String&quot;,
189 ],
190 },
191 &quot;caCertificateDescriptions&quot;: [ # Output only. A structured description of this CertificateAuthority&#x27;s CA certificate and its issuers. Ordered as self-to-root.
192 { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
193 &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
194 &quot;A String&quot;,
195 ],
196 &quot;authorityKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1
197 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
198 },
199 &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
200 &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
201 },
202 &quot;crlDistributionPoints&quot;: [ # Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13
203 &quot;A String&quot;,
204 ],
205 &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
206 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
207 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
208 },
209 &quot;subjectDescription&quot;: { # These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime. # Describes some of the values in a certificate that are related to the subject and lifetime.
210 &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
211 &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate. Corresponds to &#x27;not_after_time&#x27; - &#x27;not_before_time&#x27;.
212 &quot;notAfterTime&quot;: &quot;A String&quot;, # The time at which the certificate expires.
213 &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
214 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Contains distinguished name fields such as the common name, location and / organization.
215 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
216 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
217 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
218 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
219 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
220 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
221 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
222 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
223 },
224 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # The subject alternative name fields.
225 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
226 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
227 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
228 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
229 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
230 42,
231 ],
232 },
233 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
234 },
235 ],
236 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
237 &quot;A String&quot;,
238 ],
239 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
240 &quot;A String&quot;,
241 ],
242 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
243 &quot;A String&quot;,
244 ],
245 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
246 &quot;A String&quot;,
247 ],
248 },
249 },
250 &quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.
251 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
252 },
253 &quot;x509Description&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Describes some of the technical X.509 fields in a certificate.
254 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
255 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
256 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
257 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
258 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
259 42,
260 ],
261 },
262 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
263 },
264 ],
265 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
266 &quot;A String&quot;,
267 ],
268 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
269 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
270 &quot;maxIssuerPathLength&quot;: 42, # 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.
271 },
272 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
273 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
274 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
275 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
276 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
277 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
278 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
279 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
280 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
281 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
282 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
283 },
284 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
285 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
286 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
287 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
288 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
289 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
290 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
291 },
292 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
293 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
294 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
295 42,
296 ],
297 },
298 ],
299 },
300 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
301 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
302 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
303 42,
304 ],
305 },
306 ],
307 },
308 },
309 ],
310 &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
311 &quot;publicKey&quot;: { # A PublicKey describes a public key. # Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
312 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
313 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
314 },
315 &quot;subjectConfig&quot;: { # These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate. # Required. Specifies some of the values in a certificate that are related to the subject.
316 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Required. Contains distinguished name fields such as the common name, location and organization.
317 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
318 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
319 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
320 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
321 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
322 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
323 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
324 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
325 },
326 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # Optional. The subject alternative name fields.
327 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
328 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
329 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
330 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
331 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
332 42,
333 ],
334 },
335 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
336 },
337 ],
338 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
339 &quot;A String&quot;,
340 ],
341 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
342 &quot;A String&quot;,
343 ],
344 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
345 &quot;A String&quot;,
346 ],
347 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
348 &quot;A String&quot;,
349 ],
350 },
351 },
352 &quot;x509Config&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
353 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
354 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
355 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
356 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
357 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
358 42,
359 ],
360 },
361 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
362 },
363 ],
364 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
365 &quot;A String&quot;,
366 ],
367 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
368 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
369 &quot;maxIssuerPathLength&quot;: 42, # 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.
370 },
371 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
372 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
373 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
374 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
375 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
376 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
377 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
378 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
379 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
380 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
381 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
382 },
383 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
384 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
385 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
386 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
387 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
388 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
389 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
390 },
391 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
392 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
393 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
394 42,
395 ],
396 },
397 ],
398 },
399 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
400 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
401 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
402 42,
403 ],
404 },
405 ],
406 },
407 },
408 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was created.
409 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
410 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
411 &quot;gcsBucket&quot;: &quot;A String&quot;, # Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as `gs://`) or suffixes (such as `.googleapis.com`). For example, to use a bucket named `my-bucket`, you would simply specify `my-bucket`. If not specified, a managed bucket will be created.
412 &quot;keySpec&quot;: { # A Cloud KMS key configuration that a CertificateAuthority will use. # Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
413 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`.
414 &quot;cloudKmsKeyVersion&quot;: &quot;A String&quot;, # The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key&#x27;s capabilities and properties.
415 },
416 &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
417 &quot;a_key&quot;: &quot;A String&quot;,
418 },
419 &quot;lifetime&quot;: &quot;A String&quot;, # Required. 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.
420 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
421 &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.
422 &quot;A String&quot;,
423 ],
424 &quot;state&quot;: &quot;A String&quot;, # Output only. The State for this CertificateAuthority.
425 &quot;subordinateConfig&quot;: { # Describes a subordinate CA&#x27;s issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain. # Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
426 &quot;certificateAuthority&quot;: &quot;A String&quot;, # Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
427 &quot;pemIssuerChain&quot;: { # This message describes a subordinate CA&#x27;s issuer certificate chain. This wrapper exists for compatibility reasons. # Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
428 &quot;pemCertificates&quot;: [ # Required. Expected to be in leaf-to-root order according to RFC 5246.
429 &quot;A String&quot;,
430 ],
431 },
432 },
433 &quot;tier&quot;: &quot;A String&quot;, # Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority.
434 &quot;type&quot;: &quot;A String&quot;, # Required. Immutable. The Type of this CertificateAuthority.
435 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was last updated.
436}
437
438 certificateAuthorityId: string, Required. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`
439 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 t he 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).
440 x__xgafv: string, V1 error format.
441 Allowed values
442 1 - v1 error format
443 2 - v2 error format
444
445Returns:
446 An object of the form:
447
448 { # This resource represents a long-running operation that is the result of a network API call.
449 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
450 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
451 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
452 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
453 {
454 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
455 },
456 ],
457 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
458 },
459 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
460 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
461 },
462 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
463 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
464 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
465 },
466}</pre>
467</div>
468
469<div class="method">
470 <code class="details" id="delete">delete(name, ignoreActiveCertificates=None, requestId=None, x__xgafv=None)</code>
471 <pre>Delete a CertificateAuthority.
472
473Args:
474 name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
475 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.
476 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 t he 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).
477 x__xgafv: string, V1 error format.
478 Allowed values
479 1 - v1 error format
480 2 - v2 error format
481
482Returns:
483 An object of the form:
484
485 { # This resource represents a long-running operation that is the result of a network API call.
486 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
487 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
488 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
489 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
490 {
491 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
492 },
493 ],
494 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
495 },
496 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
497 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
498 },
499 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
500 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
501 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
502 },
503}</pre>
504</div>
505
506<div class="method">
507 <code class="details" id="disable">disable(name, body=None, x__xgafv=None)</code>
508 <pre>Disable a CertificateAuthority.
509
510Args:
511 name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
512 body: object, The request body.
513 The object takes the form of:
514
515{ # Request message for CertificateAuthorityService.DisableCertificateAuthority.
516 &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 t he 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).
517}
518
519 x__xgafv: string, V1 error format.
520 Allowed values
521 1 - v1 error format
522 2 - v2 error format
523
524Returns:
525 An object of the form:
526
527 { # This resource represents a long-running operation that is the result of a network API call.
528 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
529 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
530 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
531 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
532 {
533 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
534 },
535 ],
536 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
537 },
538 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
539 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
540 },
541 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
542 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
543 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
544 },
545}</pre>
546</div>
547
548<div class="method">
549 <code class="details" id="enable">enable(name, body=None, x__xgafv=None)</code>
550 <pre>Enable a CertificateAuthority.
551
552Args:
553 name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
554 body: object, The request body.
555 The object takes the form of:
556
557{ # Request message for CertificateAuthorityService.EnableCertificateAuthority.
558 &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 t he 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).
559}
560
561 x__xgafv: string, V1 error format.
562 Allowed values
563 1 - v1 error format
564 2 - v2 error format
565
566Returns:
567 An object of the form:
568
569 { # This resource represents a long-running operation that is the result of a network API call.
570 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
571 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
572 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
573 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
574 {
575 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
576 },
577 ],
578 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
579 },
580 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
581 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
582 },
583 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
584 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
585 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
586 },
587}</pre>
588</div>
589
590<div class="method">
591 <code class="details" id="fetch">fetch(name, x__xgafv=None)</code>
592 <pre>Fetch a certificate signing request (CSR) from a CertificateAuthority that is in state AWAITING_USER_ACTIVATION and is of type SUBORDINATE. The CSR must then be signed by the desired parent Certificate Authority, which could be another CertificateAuthority resource, or could be an on-prem certificate authority. See also ActivateCertificateAuthority.
593
594Args:
595 name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
596 x__xgafv: string, V1 error format.
597 Allowed values
598 1 - v1 error format
599 2 - v2 error format
600
601Returns:
602 An object of the form:
603
604 { # Response message for CertificateAuthorityService.FetchCertificateAuthorityCsr.
605 &quot;pemCsr&quot;: &quot;A String&quot;, # Output only. The PEM-encoded signed certificate signing request (CSR).
606}</pre>
607</div>
608
609<div class="method">
610 <code class="details" id="get">get(name, x__xgafv=None)</code>
611 <pre>Returns a CertificateAuthority.
612
613Args:
614 name: string, Required. The name of the CertificateAuthority to get. (required)
615 x__xgafv: string, V1 error format.
616 Allowed values
617 1 - v1 error format
618 2 - v2 error format
619
620Returns:
621 An object of the form:
622
623 { # A CertificateAuthority represents an individual Certificate Authority. A CertificateAuthority can be used to create Certificates.
624 &quot;accessUrls&quot;: { # URLs where a CertificateAuthority will publish content. # Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
625 &quot;caCertificateAccessUrl&quot;: &quot;A String&quot;, # The URL where this CertificateAuthority&#x27;s CA certificate is published. This will only be set for CAs that have been activated.
626 &quot;crlAccessUrls&quot;: [ # The URLs where this CertificateAuthority&#x27;s CRLs are published. This will only be set for CAs that have been activated.
627 &quot;A String&quot;,
628 ],
629 },
630 &quot;caCertificateDescriptions&quot;: [ # Output only. A structured description of this CertificateAuthority&#x27;s CA certificate and its issuers. Ordered as self-to-root.
631 { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
632 &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
633 &quot;A String&quot;,
634 ],
635 &quot;authorityKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1
636 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
637 },
638 &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
639 &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
640 },
641 &quot;crlDistributionPoints&quot;: [ # Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13
642 &quot;A String&quot;,
643 ],
644 &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
645 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
646 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
647 },
648 &quot;subjectDescription&quot;: { # These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime. # Describes some of the values in a certificate that are related to the subject and lifetime.
649 &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
650 &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate. Corresponds to &#x27;not_after_time&#x27; - &#x27;not_before_time&#x27;.
651 &quot;notAfterTime&quot;: &quot;A String&quot;, # The time at which the certificate expires.
652 &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
653 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Contains distinguished name fields such as the common name, location and / organization.
654 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
655 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
656 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
657 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
658 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
659 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
660 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
661 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
662 },
663 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # The subject alternative name fields.
664 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
665 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
666 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
667 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
668 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
669 42,
670 ],
671 },
672 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
673 },
674 ],
675 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
676 &quot;A String&quot;,
677 ],
678 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
679 &quot;A String&quot;,
680 ],
681 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
682 &quot;A String&quot;,
683 ],
684 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
685 &quot;A String&quot;,
686 ],
687 },
688 },
689 &quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.
690 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
691 },
692 &quot;x509Description&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Describes some of the technical X.509 fields in a certificate.
693 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
694 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
695 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
696 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
697 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
698 42,
699 ],
700 },
701 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
702 },
703 ],
704 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
705 &quot;A String&quot;,
706 ],
707 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
708 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
709 &quot;maxIssuerPathLength&quot;: 42, # 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.
710 },
711 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
712 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
713 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
714 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
715 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
716 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
717 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
718 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
719 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
720 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
721 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
722 },
723 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
724 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
725 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
726 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
727 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
728 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
729 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
730 },
731 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
732 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
733 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
734 42,
735 ],
736 },
737 ],
738 },
739 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
740 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
741 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
742 42,
743 ],
744 },
745 ],
746 },
747 },
748 ],
749 &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
750 &quot;publicKey&quot;: { # A PublicKey describes a public key. # Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
751 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
752 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
753 },
754 &quot;subjectConfig&quot;: { # These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate. # Required. Specifies some of the values in a certificate that are related to the subject.
755 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Required. Contains distinguished name fields such as the common name, location and organization.
756 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
757 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
758 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
759 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
760 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
761 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
762 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
763 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
764 },
765 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # Optional. The subject alternative name fields.
766 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
767 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
768 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
769 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
770 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
771 42,
772 ],
773 },
774 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
775 },
776 ],
777 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
778 &quot;A String&quot;,
779 ],
780 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
781 &quot;A String&quot;,
782 ],
783 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
784 &quot;A String&quot;,
785 ],
786 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
787 &quot;A String&quot;,
788 ],
789 },
790 },
791 &quot;x509Config&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
792 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
793 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
794 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
795 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
796 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
797 42,
798 ],
799 },
800 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
801 },
802 ],
803 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
804 &quot;A String&quot;,
805 ],
806 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
807 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
808 &quot;maxIssuerPathLength&quot;: 42, # 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.
809 },
810 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
811 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
812 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
813 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
814 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
815 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
816 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
817 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
818 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
819 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
820 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
821 },
822 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
823 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
824 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
825 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
826 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
827 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
828 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
829 },
830 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
831 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
832 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
833 42,
834 ],
835 },
836 ],
837 },
838 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
839 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
840 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
841 42,
842 ],
843 },
844 ],
845 },
846 },
847 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was created.
848 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
849 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
850 &quot;gcsBucket&quot;: &quot;A String&quot;, # Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as `gs://`) or suffixes (such as `.googleapis.com`). For example, to use a bucket named `my-bucket`, you would simply specify `my-bucket`. If not specified, a managed bucket will be created.
851 &quot;keySpec&quot;: { # A Cloud KMS key configuration that a CertificateAuthority will use. # Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
852 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`.
853 &quot;cloudKmsKeyVersion&quot;: &quot;A String&quot;, # The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key&#x27;s capabilities and properties.
854 },
855 &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
856 &quot;a_key&quot;: &quot;A String&quot;,
857 },
858 &quot;lifetime&quot;: &quot;A String&quot;, # Required. 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.
859 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
860 &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.
861 &quot;A String&quot;,
862 ],
863 &quot;state&quot;: &quot;A String&quot;, # Output only. The State for this CertificateAuthority.
864 &quot;subordinateConfig&quot;: { # Describes a subordinate CA&#x27;s issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain. # Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
865 &quot;certificateAuthority&quot;: &quot;A String&quot;, # Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
866 &quot;pemIssuerChain&quot;: { # This message describes a subordinate CA&#x27;s issuer certificate chain. This wrapper exists for compatibility reasons. # Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
867 &quot;pemCertificates&quot;: [ # Required. Expected to be in leaf-to-root order according to RFC 5246.
868 &quot;A String&quot;,
869 ],
870 },
871 },
872 &quot;tier&quot;: &quot;A String&quot;, # Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority.
873 &quot;type&quot;: &quot;A String&quot;, # Required. Immutable. The Type of this CertificateAuthority.
874 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was last updated.
875}</pre>
876</div>
877
878<div class="method">
879 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
880 <pre>Lists CertificateAuthorities.
881
882Args:
883 parent: string, Required. The resource name of the CaPool associated with the CertificateAuthorities, in the format `projects/*/locations/*/caPools/*`. (required)
884 filter: string, Optional. Only include resources that match the filter in the response.
885 orderBy: string, Optional. Specify how the results should be sorted.
886 pageSize: integer, Optional. Limit on the number of CertificateAuthorities to include in the response. Further CertificateAuthorities can subsequently be obtained by including the ListCertificateAuthoritiesResponse.next_page_token in a subsequent request. If unspecified, the server will pick an appropriate default.
887 pageToken: string, Optional. Pagination token, returned earlier via ListCertificateAuthoritiesResponse.next_page_token.
888 x__xgafv: string, V1 error format.
889 Allowed values
890 1 - v1 error format
891 2 - v2 error format
892
893Returns:
894 An object of the form:
895
896 { # Response message for CertificateAuthorityService.ListCertificateAuthorities.
897 &quot;certificateAuthorities&quot;: [ # The list of CertificateAuthorities.
898 { # A CertificateAuthority represents an individual Certificate Authority. A CertificateAuthority can be used to create Certificates.
899 &quot;accessUrls&quot;: { # URLs where a CertificateAuthority will publish content. # Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
900 &quot;caCertificateAccessUrl&quot;: &quot;A String&quot;, # The URL where this CertificateAuthority&#x27;s CA certificate is published. This will only be set for CAs that have been activated.
901 &quot;crlAccessUrls&quot;: [ # The URLs where this CertificateAuthority&#x27;s CRLs are published. This will only be set for CAs that have been activated.
902 &quot;A String&quot;,
903 ],
904 },
905 &quot;caCertificateDescriptions&quot;: [ # Output only. A structured description of this CertificateAuthority&#x27;s CA certificate and its issuers. Ordered as self-to-root.
906 { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
907 &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
908 &quot;A String&quot;,
909 ],
910 &quot;authorityKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1
911 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
912 },
913 &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
914 &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
915 },
916 &quot;crlDistributionPoints&quot;: [ # Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13
917 &quot;A String&quot;,
918 ],
919 &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
920 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
921 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
922 },
923 &quot;subjectDescription&quot;: { # These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime. # Describes some of the values in a certificate that are related to the subject and lifetime.
924 &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
925 &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate. Corresponds to &#x27;not_after_time&#x27; - &#x27;not_before_time&#x27;.
926 &quot;notAfterTime&quot;: &quot;A String&quot;, # The time at which the certificate expires.
927 &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
928 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Contains distinguished name fields such as the common name, location and / organization.
929 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
930 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
931 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
932 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
933 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
934 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
935 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
936 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
937 },
938 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # The subject alternative name fields.
939 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
940 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
941 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
942 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
943 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
944 42,
945 ],
946 },
947 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
948 },
949 ],
950 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
951 &quot;A String&quot;,
952 ],
953 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
954 &quot;A String&quot;,
955 ],
956 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
957 &quot;A String&quot;,
958 ],
959 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
960 &quot;A String&quot;,
961 ],
962 },
963 },
964 &quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.
965 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
966 },
967 &quot;x509Description&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Describes some of the technical X.509 fields in a certificate.
968 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
969 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
970 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
971 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
972 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
973 42,
974 ],
975 },
976 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
977 },
978 ],
979 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
980 &quot;A String&quot;,
981 ],
982 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
983 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
984 &quot;maxIssuerPathLength&quot;: 42, # 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.
985 },
986 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
987 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
988 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
989 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
990 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
991 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
992 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
993 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
994 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
995 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
996 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
997 },
998 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
999 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
1000 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
1001 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
1002 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
1003 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
1004 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
1005 },
1006 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1007 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1008 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1009 42,
1010 ],
1011 },
1012 ],
1013 },
1014 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1015 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1016 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1017 42,
1018 ],
1019 },
1020 ],
1021 },
1022 },
1023 ],
1024 &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
1025 &quot;publicKey&quot;: { # A PublicKey describes a public key. # Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
1026 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1027 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
1028 },
1029 &quot;subjectConfig&quot;: { # These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate. # Required. Specifies some of the values in a certificate that are related to the subject.
1030 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Required. Contains distinguished name fields such as the common name, location and organization.
1031 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1032 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1033 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1034 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1035 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1036 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1037 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1038 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1039 },
1040 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # Optional. The subject alternative name fields.
1041 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1042 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1043 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
1044 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
1045 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1046 42,
1047 ],
1048 },
1049 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1050 },
1051 ],
1052 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1053 &quot;A String&quot;,
1054 ],
1055 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1056 &quot;A String&quot;,
1057 ],
1058 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1059 &quot;A String&quot;,
1060 ],
1061 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1062 &quot;A String&quot;,
1063 ],
1064 },
1065 },
1066 &quot;x509Config&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
1067 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1068 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1069 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
1070 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
1071 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1072 42,
1073 ],
1074 },
1075 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1076 },
1077 ],
1078 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1079 &quot;A String&quot;,
1080 ],
1081 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
1082 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
1083 &quot;maxIssuerPathLength&quot;: 42, # 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.
1084 },
1085 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
1086 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
1087 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1088 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
1089 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1090 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1091 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1092 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1093 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1094 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1095 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1096 },
1097 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
1098 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
1099 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
1100 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
1101 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
1102 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
1103 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
1104 },
1105 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1106 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1107 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1108 42,
1109 ],
1110 },
1111 ],
1112 },
1113 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1114 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1115 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1116 42,
1117 ],
1118 },
1119 ],
1120 },
1121 },
1122 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was created.
1123 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
1124 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
1125 &quot;gcsBucket&quot;: &quot;A String&quot;, # Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as `gs://`) or suffixes (such as `.googleapis.com`). For example, to use a bucket named `my-bucket`, you would simply specify `my-bucket`. If not specified, a managed bucket will be created.
1126 &quot;keySpec&quot;: { # A Cloud KMS key configuration that a CertificateAuthority will use. # Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
1127 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`.
1128 &quot;cloudKmsKeyVersion&quot;: &quot;A String&quot;, # The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key&#x27;s capabilities and properties.
1129 },
1130 &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
1131 &quot;a_key&quot;: &quot;A String&quot;,
1132 },
1133 &quot;lifetime&quot;: &quot;A String&quot;, # Required. 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.
1134 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1135 &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.
1136 &quot;A String&quot;,
1137 ],
1138 &quot;state&quot;: &quot;A String&quot;, # Output only. The State for this CertificateAuthority.
1139 &quot;subordinateConfig&quot;: { # Describes a subordinate CA&#x27;s issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain. # Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
1140 &quot;certificateAuthority&quot;: &quot;A String&quot;, # Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1141 &quot;pemIssuerChain&quot;: { # This message describes a subordinate CA&#x27;s issuer certificate chain. This wrapper exists for compatibility reasons. # Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
1142 &quot;pemCertificates&quot;: [ # Required. Expected to be in leaf-to-root order according to RFC 5246.
1143 &quot;A String&quot;,
1144 ],
1145 },
1146 },
1147 &quot;tier&quot;: &quot;A String&quot;, # Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority.
1148 &quot;type&quot;: &quot;A String&quot;, # Required. Immutable. The Type of this CertificateAuthority.
1149 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was last updated.
1150 },
1151 ],
1152 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve next page of results. Pass this value in ListCertificateAuthoritiesRequest.next_page_token to retrieve the next page of results.
1153 &quot;unreachable&quot;: [ # A list of locations (e.g. &quot;us-west1&quot;) that could not be reached.
1154 &quot;A String&quot;,
1155 ],
1156}</pre>
1157</div>
1158
1159<div class="method">
1160 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1161 <pre>Retrieves the next page of results.
1162
1163Args:
1164 previous_request: The request for the previous page. (required)
1165 previous_response: The response from the request for the previous page. (required)
1166
1167Returns:
1168 A request object that you can call &#x27;execute()&#x27; on to request the next
1169 page. Returns None if there are no more items in the collection.
1170 </pre>
1171</div>
1172
1173<div class="method">
1174 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
1175 <pre>Update a CertificateAuthority.
1176
1177Args:
1178 name: string, Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
1179 body: object, The request body.
1180 The object takes the form of:
1181
1182{ # A CertificateAuthority represents an individual Certificate Authority. A CertificateAuthority can be used to create Certificates.
1183 &quot;accessUrls&quot;: { # URLs where a CertificateAuthority will publish content. # Output only. URLs for accessing content published by this CA, such as the CA certificate and CRLs.
1184 &quot;caCertificateAccessUrl&quot;: &quot;A String&quot;, # The URL where this CertificateAuthority&#x27;s CA certificate is published. This will only be set for CAs that have been activated.
1185 &quot;crlAccessUrls&quot;: [ # The URLs where this CertificateAuthority&#x27;s CRLs are published. This will only be set for CAs that have been activated.
1186 &quot;A String&quot;,
1187 ],
1188 },
1189 &quot;caCertificateDescriptions&quot;: [ # Output only. A structured description of this CertificateAuthority&#x27;s CA certificate and its issuers. Ordered as self-to-root.
1190 { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509.
1191 &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1192 &quot;A String&quot;,
1193 ],
1194 &quot;authorityKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Identifies the subject_key_id of the parent certificate, per https://tools.ietf.org/html/rfc5280#section-4.2.1.1
1195 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
1196 },
1197 &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
1198 &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
1199 },
1200 &quot;crlDistributionPoints&quot;: [ # Describes a list of locations to obtain CRL information, i.e. the DistributionPoint.fullName described by https://tools.ietf.org/html/rfc5280#section-4.2.1.13
1201 &quot;A String&quot;,
1202 ],
1203 &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
1204 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1205 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
1206 },
1207 &quot;subjectDescription&quot;: { # These values describe fields in an issued X.509 certificate such as the distinguished name, subject alternative names, serial number, and lifetime. # Describes some of the values in a certificate that are related to the subject and lifetime.
1208 &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
1209 &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate. Corresponds to &#x27;not_after_time&#x27; - &#x27;not_before_time&#x27;.
1210 &quot;notAfterTime&quot;: &quot;A String&quot;, # The time at which the certificate expires.
1211 &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
1212 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Contains distinguished name fields such as the common name, location and / organization.
1213 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1214 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1215 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1216 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1217 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1218 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1219 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1220 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1221 },
1222 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # The subject alternative name fields.
1223 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1224 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1225 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
1226 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
1227 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1228 42,
1229 ],
1230 },
1231 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1232 },
1233 ],
1234 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1235 &quot;A String&quot;,
1236 ],
1237 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1238 &quot;A String&quot;,
1239 ],
1240 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1241 &quot;A String&quot;,
1242 ],
1243 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1244 &quot;A String&quot;,
1245 ],
1246 },
1247 },
1248 &quot;subjectKeyId&quot;: { # A KeyId identifies a specific public key, usually by hashing the public key. # Provides a means of identifiying certificates that contain a particular public key, per https://tools.ietf.org/html/rfc5280#section-4.2.1.2.
1249 &quot;keyId&quot;: &quot;A String&quot;, # Optional. The value of this KeyId encoded in lowercase hexadecimal. This is most likely the 160 bit SHA-1 hash of the public key.
1250 },
1251 &quot;x509Description&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Describes some of the technical X.509 fields in a certificate.
1252 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1253 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1254 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
1255 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
1256 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1257 42,
1258 ],
1259 },
1260 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1261 },
1262 ],
1263 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1264 &quot;A String&quot;,
1265 ],
1266 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
1267 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
1268 &quot;maxIssuerPathLength&quot;: 42, # 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.
1269 },
1270 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
1271 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
1272 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1273 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
1274 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1275 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1276 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1277 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1278 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1279 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1280 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1281 },
1282 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
1283 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
1284 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
1285 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
1286 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
1287 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
1288 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
1289 },
1290 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1291 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1292 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1293 42,
1294 ],
1295 },
1296 ],
1297 },
1298 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1299 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1300 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1301 42,
1302 ],
1303 },
1304 ],
1305 },
1306 },
1307 ],
1308 &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Required. Immutable. The config used to create a self-signed X.509 certificate or CSR.
1309 &quot;publicKey&quot;: { # A PublicKey describes a public key. # Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.
1310 &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1311 &quot;key&quot;: &quot;A String&quot;, # Required. A public key. The padding and encoding must match with the `KeyFormat` value specified for the `format` field.
1312 },
1313 &quot;subjectConfig&quot;: { # These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate. # Required. Specifies some of the values in a certificate that are related to the subject.
1314 &quot;subject&quot;: { # Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. # Required. Contains distinguished name fields such as the common name, location and organization.
1315 &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1316 &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1317 &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1318 &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1319 &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1320 &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1321 &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1322 &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1323 },
1324 &quot;subjectAltName&quot;: { # SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the &quot;common name&quot; in the distinguished name). # Optional. The subject alternative name fields.
1325 &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1326 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1327 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
1328 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
1329 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1330 42,
1331 ],
1332 },
1333 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1334 },
1335 ],
1336 &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1337 &quot;A String&quot;,
1338 ],
1339 &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1340 &quot;A String&quot;,
1341 ],
1342 &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1343 &quot;A String&quot;,
1344 ],
1345 &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1346 &quot;A String&quot;,
1347 ],
1348 },
1349 },
1350 &quot;x509Config&quot;: { # An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions. # Required. Describes how some of the technical X.509 fields in a certificate should be populated.
1351 &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1352 { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1353 &quot;critical&quot;: True or False, # Optional. Indicates whether or not this extension is critical (i.e., if the client does not know how to handle this extension, the client should consider this to be an error).
1354 &quot;objectId&quot;: { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages. # Required. The OID for this X.509 extension.
1355 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1356 42,
1357 ],
1358 },
1359 &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1360 },
1361 ],
1362 &quot;aiaOcspServers&quot;: [ # Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1363 &quot;A String&quot;,
1364 ],
1365 &quot;caOptions&quot;: { # Describes values that are relevant in a CA certificate. # Optional. Describes options in this X509Parameters that are relevant in a CA certificate.
1366 &quot;isCa&quot;: True or False, # Optional. Refers to the &quot;CA&quot; X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate.
1367 &quot;maxIssuerPathLength&quot;: 42, # 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.
1368 },
1369 &quot;keyUsage&quot;: { # A KeyUsage describes key usage values that may appear in an X.509 certificate. # Optional. Indicates the intended use for keys that correspond to a certificate.
1370 &quot;baseKeyUsage&quot;: { # KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3. # Describes high-level ways in which a key may be used.
1371 &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1372 &quot;contentCommitment&quot;: True or False, # The key may be used for cryptographic commitments. Note that this may also be referred to as &quot;non-repudiation&quot;.
1373 &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1374 &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1375 &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1376 &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1377 &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1378 &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1379 &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1380 },
1381 &quot;extendedKeyUsage&quot;: { # KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value. # Detailed scenarios in which a key may be used.
1382 &quot;clientAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as &quot;TLS WWW client authentication&quot;, though regularly used for non-WWW TLS.
1383 &quot;codeSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as &quot;Signing of downloadable executable code client authentication&quot;.
1384 &quot;emailProtection&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as &quot;Email protection&quot;.
1385 &quot;ocspSigning&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as &quot;Signing OCSP responses&quot;.
1386 &quot;serverAuth&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as &quot;TLS WWW server authentication&quot;, though regularly used for non-WWW TLS.
1387 &quot;timeStamping&quot;: True or False, # Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as &quot;Binding the hash of an object to a time&quot;.
1388 },
1389 &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1390 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1391 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1392 42,
1393 ],
1394 },
1395 ],
1396 },
1397 &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1398 { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1399 &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1400 42,
1401 ],
1402 },
1403 ],
1404 },
1405 },
1406 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was created.
1407 &quot;deleteTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
1408 &quot;expireTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
1409 &quot;gcsBucket&quot;: &quot;A String&quot;, # Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as `gs://`) or suffixes (such as `.googleapis.com`). For example, to use a bucket named `my-bucket`, you would simply specify `my-bucket`. If not specified, a managed bucket will be created.
1410 &quot;keySpec&quot;: { # A Cloud KMS key configuration that a CertificateAuthority will use. # Required. Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
1411 &quot;algorithm&quot;: &quot;A String&quot;, # The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as `HSM`.
1412 &quot;cloudKmsKeyVersion&quot;: &quot;A String&quot;, # The resource name for an existing Cloud KMS CryptoKeyVersion in the format `projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`. This option enables full flexibility in the key&#x27;s capabilities and properties.
1413 },
1414 &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
1415 &quot;a_key&quot;: &quot;A String&quot;,
1416 },
1417 &quot;lifetime&quot;: &quot;A String&quot;, # Required. 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.
1418 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1419 &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.
1420 &quot;A String&quot;,
1421 ],
1422 &quot;state&quot;: &quot;A String&quot;, # Output only. The State for this CertificateAuthority.
1423 &quot;subordinateConfig&quot;: { # Describes a subordinate CA&#x27;s issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain. # Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
1424 &quot;certificateAuthority&quot;: &quot;A String&quot;, # Required. This can refer to a CertificateAuthority in the same project that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1425 &quot;pemIssuerChain&quot;: { # This message describes a subordinate CA&#x27;s issuer certificate chain. This wrapper exists for compatibility reasons. # Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.
1426 &quot;pemCertificates&quot;: [ # Required. Expected to be in leaf-to-root order according to RFC 5246.
1427 &quot;A String&quot;,
1428 ],
1429 },
1430 },
1431 &quot;tier&quot;: &quot;A String&quot;, # Output only. The CaPool.Tier of the CaPool that includes this CertificateAuthority.
1432 &quot;type&quot;: &quot;A String&quot;, # Required. Immutable. The Type of this CertificateAuthority.
1433 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this CertificateAuthority was last updated.
1434}
1435
1436 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 t he 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).
1437 updateMask: string, Required. A list of fields to be updated in this request.
1438 x__xgafv: string, V1 error format.
1439 Allowed values
1440 1 - v1 error format
1441 2 - v2 error format
1442
1443Returns:
1444 An object of the form:
1445
1446 { # This resource represents a long-running operation that is the result of a network API call.
1447 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1448 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1449 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1450 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1451 {
1452 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1453 },
1454 ],
1455 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1456 },
1457 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1458 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1459 },
1460 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1461 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1462 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1463 },
1464}</pre>
1465</div>
1466
1467<div class="method">
1468 <code class="details" id="undelete">undelete(name, body=None, x__xgafv=None)</code>
1469 <pre>Undelete a CertificateAuthority that has been deleted.
1470
1471Args:
1472 name: string, Required. The resource name for this CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`. (required)
1473 body: object, The request body.
1474 The object takes the form of:
1475
1476{ # Request message for CertificateAuthorityService.UndeleteCertificateAuthority.
1477 &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 t he 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).
1478}
1479
1480 x__xgafv: string, V1 error format.
1481 Allowed values
1482 1 - v1 error format
1483 2 - v2 error format
1484
1485Returns:
1486 An object of the form:
1487
1488 { # This resource represents a long-running operation that is the result of a network API call.
1489 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1490 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1491 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1492 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1493 {
1494 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1495 },
1496 ],
1497 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1498 },
1499 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1500 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1501 },
1502 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1503 &quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1504 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1505 },
1506}</pre>
1507</div>
1508
yoshi-code-bot31fbcc02021-06-02 00:52:03 -07001509</body></html>