1<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.certificates.html">certificates</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#create">create(parent, body=None, certificateId=None, issuingCertificateAuthorityId=None, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82<p class="firstline">Create a new Certificate in a given Project, Location from a particular CaPool.</p>
83<p class="toc_element">
84  <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85<p class="firstline">Returns a Certificate.</p>
86<p class="toc_element">
87  <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88<p class="firstline">Lists Certificates.</p>
89<p class="toc_element">
90  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
91<p class="firstline">Retrieves the next page of results.</p>
92<p class="toc_element">
93  <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
94<p class="firstline">Update a Certificate. Currently, the only field you can update is the labels field.</p>
95<p class="toc_element">
96  <code><a href="#revoke">revoke(name, body=None, x__xgafv=None)</a></code></p>
97<p class="firstline">Revoke a Certificate.</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="close">close()</code>
101  <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
105    <code class="details" id="create">create(parent, body=None, certificateId=None, issuingCertificateAuthorityId=None, requestId=None, validateOnly=None, x__xgafv=None)</code>
106  <pre>Create a new Certificate in a given Project, Location from a particular CaPool.
107
108Args:
109  parent: string, Required. The resource name of the CaPool associated with the Certificate, in the format `projects/*/locations/*/caPools/*`. (required)
110  body: object, The request body.
111    The object takes the form of:
112
113{ # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
114  &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
115    &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
116      &quot;A String&quot;,
117    ],
118    &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
119      &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.
120    },
121    &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
122      &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
123    },
124    &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
125      &quot;A String&quot;,
126    ],
127    &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
128      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
129      &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.
130    },
131    &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.
132      &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
133      &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
134      &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
135      &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
136      &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.
137        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
138        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
139        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
140        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
141        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
142        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
143        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
144        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
145      },
146      &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.
147        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
148          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
149            &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).
150            &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.
151              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
152                42,
153              ],
154            },
155            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
156          },
157        ],
158        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
159          &quot;A String&quot;,
160        ],
161        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
162          &quot;A String&quot;,
163        ],
164        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
165          &quot;A String&quot;,
166        ],
167        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
168          &quot;A String&quot;,
169        ],
170      },
171    },
172    &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.
173      &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.
174    },
175    &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.
176      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
177        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
178          &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).
179          &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.
180            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
181              42,
182            ],
183          },
184          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
185        },
186      ],
187      &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.
188        &quot;A String&quot;,
189      ],
190      &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.
191        &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.
192        &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.
193      },
194      &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.
195        &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.
196          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
197          &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;.
198          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
199          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
200          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
201          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
202          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
203          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
204          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
205        },
206        &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.
207          &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.
208          &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;.
209          &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;.
210          &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;.
211          &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.
212          &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;.
213        },
214        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
215          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
216            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
217              42,
218            ],
219          },
220        ],
221      },
222      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
223        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
224          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
225            42,
226          ],
227        },
228      ],
229    },
230  },
231  &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
232  &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
233    &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.
234      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
235      &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.
236    },
237    &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.
238      &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.
239        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
240        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
241        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
242        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
243        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
244        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
245        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
246        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
247      },
248      &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.
249        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
250          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
251            &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).
252            &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.
253              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
254                42,
255              ],
256            },
257            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
258          },
259        ],
260        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
261          &quot;A String&quot;,
262        ],
263        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
264          &quot;A String&quot;,
265        ],
266        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
267          &quot;A String&quot;,
268        ],
269        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
270          &quot;A String&quot;,
271        ],
272      },
273    },
274    &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.
275      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
276        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
277          &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).
278          &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.
279            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
280              42,
281            ],
282          },
283          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
284        },
285      ],
286      &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.
287        &quot;A String&quot;,
288      ],
289      &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.
290        &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.
291        &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.
292      },
293      &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.
294        &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.
295          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
296          &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;.
297          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
298          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
299          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
300          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
301          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
302          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
303          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
304        },
305        &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.
306          &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.
307          &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;.
308          &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;.
309          &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;.
310          &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.
311          &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;.
312        },
313        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
314          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
315            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
316              42,
317            ],
318          },
319        ],
320      },
321      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
322        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
323          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
324            42,
325          ],
326        },
327      ],
328    },
329  },
330  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
331  &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
332  &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
333    &quot;a_key&quot;: &quot;A String&quot;,
334  },
335  &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
336  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
337  &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
338  &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
339    &quot;A String&quot;,
340  ],
341  &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
342  &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
343    &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
344    &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
345  },
346  &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
347  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
348}
349
350  certificateId: string, Optional. It must be unique within a location and match the regular expression `[a-zA-Z0-9_-]{1,63}`. This field is required when using a CertificateAuthority in the Enterprise CertificateAuthority.Tier, but is optional and its value is ignored otherwise.
351  issuingCertificateAuthorityId: string, Optional. The resource ID of the CertificateAuthority that should issue the certificate. This optional field will ignore the load-balancing scheme of the Pool and directly issue the certificate from the CA with the specified ID, contained in the same CaPool referenced by `parent`. Per-CA quota rules apply. If left empty, a CertificateAuthority will be chosen from the CaPool by the service. For example, to issue a Certificate from a Certificate Authority with resource name &quot;projects/my-project/locations/us-central1/caPools/my-pool/certificateAuthorities/my-ca&quot;, you can set the parent to &quot;projects/my-project/locations/us-central1/caPools/my-pool&quot; and the issuing_certificate_authority_id to &quot;my-ca&quot;.
352  requestId: string, Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
353  validateOnly: boolean, Optional. If this is true, no Certificate resource will be persisted regardless of the CaPool&#x27;s tier, and the returned Certificate will not contain the pem_certificate field.
354  x__xgafv: string, V1 error format.
355    Allowed values
356      1 - v1 error format
357      2 - v2 error format
358
359Returns:
360  An object of the form:
361
362    { # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
363  &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
364    &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
365      &quot;A String&quot;,
366    ],
367    &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
368      &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.
369    },
370    &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
371      &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
372    },
373    &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
374      &quot;A String&quot;,
375    ],
376    &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
377      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
378      &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.
379    },
380    &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.
381      &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
382      &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
383      &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
384      &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
385      &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.
386        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
387        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
388        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
389        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
390        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
391        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
392        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
393        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
394      },
395      &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.
396        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
397          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
398            &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).
399            &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.
400              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
401                42,
402              ],
403            },
404            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
405          },
406        ],
407        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
408          &quot;A String&quot;,
409        ],
410        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
411          &quot;A String&quot;,
412        ],
413        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
414          &quot;A String&quot;,
415        ],
416        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
417          &quot;A String&quot;,
418        ],
419      },
420    },
421    &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.
422      &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.
423    },
424    &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.
425      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
426        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
427          &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).
428          &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.
429            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
430              42,
431            ],
432          },
433          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
434        },
435      ],
436      &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.
437        &quot;A String&quot;,
438      ],
439      &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.
440        &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.
441        &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.
442      },
443      &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.
444        &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.
445          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
446          &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;.
447          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
448          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
449          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
450          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
451          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
452          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
453          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
454        },
455        &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.
456          &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.
457          &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;.
458          &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;.
459          &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;.
460          &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.
461          &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;.
462        },
463        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
464          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
465            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
466              42,
467            ],
468          },
469        ],
470      },
471      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
472        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
473          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
474            42,
475          ],
476        },
477      ],
478    },
479  },
480  &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
481  &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
482    &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.
483      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
484      &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.
485    },
486    &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.
487      &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.
488        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
489        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
490        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
491        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
492        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
493        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
494        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
495        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
496      },
497      &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.
498        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
499          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
500            &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).
501            &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.
502              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
503                42,
504              ],
505            },
506            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
507          },
508        ],
509        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
510          &quot;A String&quot;,
511        ],
512        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
513          &quot;A String&quot;,
514        ],
515        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
516          &quot;A String&quot;,
517        ],
518        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
519          &quot;A String&quot;,
520        ],
521      },
522    },
523    &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.
524      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
525        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
526          &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).
527          &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.
528            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
529              42,
530            ],
531          },
532          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
533        },
534      ],
535      &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.
536        &quot;A String&quot;,
537      ],
538      &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.
539        &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.
540        &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.
541      },
542      &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.
543        &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.
544          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
545          &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;.
546          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
547          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
548          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
549          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
550          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
551          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
552          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
553        },
554        &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.
555          &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.
556          &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;.
557          &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;.
558          &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;.
559          &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.
560          &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;.
561        },
562        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
563          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
564            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
565              42,
566            ],
567          },
568        ],
569      },
570      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
571        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
572          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
573            42,
574          ],
575        },
576      ],
577    },
578  },
579  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
580  &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
581  &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
582    &quot;a_key&quot;: &quot;A String&quot;,
583  },
584  &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
585  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
586  &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
587  &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
588    &quot;A String&quot;,
589  ],
590  &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
591  &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
592    &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
593    &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
594  },
595  &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
596  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
597}</pre>
598</div>
599
600<div class="method">
601    <code class="details" id="get">get(name, x__xgafv=None)</code>
602  <pre>Returns a Certificate.
603
604Args:
605  name: string, Required. The name of the Certificate to get. (required)
606  x__xgafv: string, V1 error format.
607    Allowed values
608      1 - v1 error format
609      2 - v2 error format
610
611Returns:
612  An object of the form:
613
614    { # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
615  &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
616    &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
617      &quot;A String&quot;,
618    ],
619    &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
620      &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.
621    },
622    &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
623      &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
624    },
625    &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
626      &quot;A String&quot;,
627    ],
628    &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
629      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
630      &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.
631    },
632    &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.
633      &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
634      &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
635      &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
636      &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
637      &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.
638        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
639        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
640        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
641        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
642        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
643        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
644        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
645        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
646      },
647      &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.
648        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
649          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
650            &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).
651            &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.
652              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
653                42,
654              ],
655            },
656            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
657          },
658        ],
659        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
660          &quot;A String&quot;,
661        ],
662        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
663          &quot;A String&quot;,
664        ],
665        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
666          &quot;A String&quot;,
667        ],
668        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
669          &quot;A String&quot;,
670        ],
671      },
672    },
673    &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.
674      &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.
675    },
676    &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.
677      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
678        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
679          &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).
680          &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.
681            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
682              42,
683            ],
684          },
685          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
686        },
687      ],
688      &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.
689        &quot;A String&quot;,
690      ],
691      &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.
692        &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.
693        &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.
694      },
695      &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.
696        &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.
697          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
698          &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;.
699          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
700          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
701          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
702          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
703          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
704          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
705          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
706        },
707        &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.
708          &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.
709          &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;.
710          &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;.
711          &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;.
712          &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.
713          &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;.
714        },
715        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
716          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
717            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
718              42,
719            ],
720          },
721        ],
722      },
723      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
724        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
725          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
726            42,
727          ],
728        },
729      ],
730    },
731  },
732  &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
733  &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
734    &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.
735      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
736      &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.
737    },
738    &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.
739      &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.
740        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
741        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
742        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
743        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
744        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
745        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
746        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
747        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
748      },
749      &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.
750        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
751          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
752            &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).
753            &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.
754              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
755                42,
756              ],
757            },
758            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
759          },
760        ],
761        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
762          &quot;A String&quot;,
763        ],
764        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
765          &quot;A String&quot;,
766        ],
767        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
768          &quot;A String&quot;,
769        ],
770        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
771          &quot;A String&quot;,
772        ],
773      },
774    },
775    &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.
776      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
777        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
778          &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).
779          &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.
780            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
781              42,
782            ],
783          },
784          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
785        },
786      ],
787      &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.
788        &quot;A String&quot;,
789      ],
790      &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.
791        &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.
792        &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.
793      },
794      &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.
795        &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.
796          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
797          &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;.
798          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
799          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
800          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
801          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
802          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
803          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
804          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
805        },
806        &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.
807          &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.
808          &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;.
809          &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;.
810          &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;.
811          &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.
812          &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;.
813        },
814        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
815          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
816            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
817              42,
818            ],
819          },
820        ],
821      },
822      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
823        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
824          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
825            42,
826          ],
827        },
828      ],
829    },
830  },
831  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
832  &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
833  &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
834    &quot;a_key&quot;: &quot;A String&quot;,
835  },
836  &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
837  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
838  &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
839  &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
840    &quot;A String&quot;,
841  ],
842  &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
843  &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
844    &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
845    &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
846  },
847  &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
848  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
849}</pre>
850</div>
851
852<div class="method">
853    <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
854  <pre>Lists Certificates.
855
856Args:
857  parent: string, Required. The resource name of the location associated with the Certificates, in the format `projects/*/locations/*/caPools/*`. (required)
858  filter: string, Optional. Only include resources that match the filter in the response. For details on supported filters and syntax, see [Certificates Filtering documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#filtering_support).
859  orderBy: string, Optional. Specify how the results should be sorted. For details on supported fields and syntax, see [Certificates Sorting documentation](https://cloud.google.com/certificate-authority-service/docs/sorting-filtering-certificates#sorting_support).
860  pageSize: integer, Optional. Limit on the number of Certificates to include in the response. Further Certificates can subsequently be obtained by including the ListCertificatesResponse.next_page_token in a subsequent request. If unspecified, the server will pick an appropriate default.
861  pageToken: string, Optional. Pagination token, returned earlier via ListCertificatesResponse.next_page_token.
862  x__xgafv: string, V1 error format.
863    Allowed values
864      1 - v1 error format
865      2 - v2 error format
866
867Returns:
868  An object of the form:
869
870    { # Response message for CertificateAuthorityService.ListCertificates.
871  &quot;certificates&quot;: [ # The list of Certificates.
872    { # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
873      &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
874        &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
875          &quot;A String&quot;,
876        ],
877        &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
878          &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.
879        },
880        &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
881          &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
882        },
883        &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
884          &quot;A String&quot;,
885        ],
886        &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
887          &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
888          &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.
889        },
890        &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.
891          &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
892          &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
893          &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
894          &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
895          &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.
896            &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
897            &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
898            &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
899            &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
900            &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
901            &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
902            &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
903            &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
904          },
905          &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.
906            &quot;customSans&quot;: [ # Contains additional subject alternative name values.
907              { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
908                &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).
909                &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.
910                  &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
911                    42,
912                  ],
913                },
914                &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
915              },
916            ],
917            &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
918              &quot;A String&quot;,
919            ],
920            &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
921              &quot;A String&quot;,
922            ],
923            &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
924              &quot;A String&quot;,
925            ],
926            &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
927              &quot;A String&quot;,
928            ],
929          },
930        },
931        &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.
932          &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.
933        },
934        &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.
935          &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
936            { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
937              &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).
938              &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.
939                &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
940                  42,
941                ],
942              },
943              &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
944            },
945          ],
946          &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.
947            &quot;A String&quot;,
948          ],
949          &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.
950            &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.
951            &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.
952          },
953          &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.
954            &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.
955              &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
956              &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;.
957              &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
958              &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
959              &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
960              &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
961              &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
962              &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
963              &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
964            },
965            &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.
966              &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.
967              &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;.
968              &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;.
969              &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;.
970              &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.
971              &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;.
972            },
973            &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
974              { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
975                &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
976                  42,
977                ],
978              },
979            ],
980          },
981          &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
982            { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
983              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
984                42,
985              ],
986            },
987          ],
988        },
989      },
990      &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
991      &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
992        &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.
993          &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
994          &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.
995        },
996        &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.
997          &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.
998            &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
999            &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1000            &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1001            &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1002            &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1003            &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1004            &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1005            &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1006          },
1007          &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.
1008            &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1009              { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1010                &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).
1011                &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.
1012                  &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1013                    42,
1014                  ],
1015                },
1016                &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1017              },
1018            ],
1019            &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1020              &quot;A String&quot;,
1021            ],
1022            &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1023              &quot;A String&quot;,
1024            ],
1025            &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1026              &quot;A String&quot;,
1027            ],
1028            &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1029              &quot;A String&quot;,
1030            ],
1031          },
1032        },
1033        &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.
1034          &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1035            { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1036              &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).
1037              &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.
1038                &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1039                  42,
1040                ],
1041              },
1042              &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1043            },
1044          ],
1045          &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.
1046            &quot;A String&quot;,
1047          ],
1048          &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.
1049            &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.
1050            &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.
1051          },
1052          &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.
1053            &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.
1054              &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1055              &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;.
1056              &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1057              &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1058              &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1059              &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1060              &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1061              &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1062              &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1063            },
1064            &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.
1065              &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.
1066              &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;.
1067              &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;.
1068              &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;.
1069              &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.
1070              &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;.
1071            },
1072            &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1073              { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1074                &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1075                  42,
1076                ],
1077              },
1078            ],
1079          },
1080          &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1081            { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1082              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1083                42,
1084              ],
1085            },
1086          ],
1087        },
1088      },
1089      &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
1090      &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1091      &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
1092        &quot;a_key&quot;: &quot;A String&quot;,
1093      },
1094      &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
1095      &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
1096      &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
1097      &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
1098        &quot;A String&quot;,
1099      ],
1100      &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
1101      &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
1102        &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
1103        &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
1104      },
1105      &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
1106      &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
1107    },
1108  ],
1109  &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve next page of results. Pass this value in ListCertificatesRequest.next_page_token to retrieve the next page of results.
1110  &quot;unreachable&quot;: [ # A list of locations (e.g. &quot;us-west1&quot;) that could not be reached.
1111    &quot;A String&quot;,
1112  ],
1113}</pre>
1114</div>
1115
1116<div class="method">
1117    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1118  <pre>Retrieves the next page of results.
1119
1120Args:
1121  previous_request: The request for the previous page. (required)
1122  previous_response: The response from the request for the previous page. (required)
1123
1124Returns:
1125  A request object that you can call &#x27;execute()&#x27; on to request the next
1126  page. Returns None if there are no more items in the collection.
1127    </pre>
1128</div>
1129
1130<div class="method">
1131    <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
1132  <pre>Update a Certificate. Currently, the only field you can update is the labels field.
1133
1134Args:
1135  name: string, Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. (required)
1136  body: object, The request body.
1137    The object takes the form of:
1138
1139{ # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
1140  &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
1141    &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1142      &quot;A String&quot;,
1143    ],
1144    &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
1145      &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.
1146    },
1147    &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
1148      &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
1149    },
1150    &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
1151      &quot;A String&quot;,
1152    ],
1153    &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
1154      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1155      &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.
1156    },
1157    &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.
1158      &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
1159      &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
1160      &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
1161      &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
1162      &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.
1163        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1164        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1165        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1166        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1167        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1168        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1169        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1170        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1171      },
1172      &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.
1173        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1174          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1175            &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).
1176            &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.
1177              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1178                42,
1179              ],
1180            },
1181            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1182          },
1183        ],
1184        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1185          &quot;A String&quot;,
1186        ],
1187        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1188          &quot;A String&quot;,
1189        ],
1190        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1191          &quot;A String&quot;,
1192        ],
1193        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1194          &quot;A String&quot;,
1195        ],
1196      },
1197    },
1198    &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.
1199      &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.
1200    },
1201    &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.
1202      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1203        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1204          &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).
1205          &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.
1206            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1207              42,
1208            ],
1209          },
1210          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1211        },
1212      ],
1213      &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.
1214        &quot;A String&quot;,
1215      ],
1216      &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.
1217        &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.
1218        &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.
1219      },
1220      &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.
1221        &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.
1222          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1223          &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;.
1224          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1225          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1226          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1227          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1228          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1229          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1230          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1231        },
1232        &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.
1233          &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.
1234          &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;.
1235          &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;.
1236          &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;.
1237          &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.
1238          &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;.
1239        },
1240        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1241          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1242            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1243              42,
1244            ],
1245          },
1246        ],
1247      },
1248      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1249        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1250          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1251            42,
1252          ],
1253        },
1254      ],
1255    },
1256  },
1257  &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
1258  &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
1259    &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.
1260      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1261      &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.
1262    },
1263    &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.
1264      &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.
1265        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1266        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1267        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1268        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1269        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1270        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1271        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1272        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1273      },
1274      &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.
1275        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1276          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1277            &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).
1278            &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.
1279              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1280                42,
1281              ],
1282            },
1283            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1284          },
1285        ],
1286        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1287          &quot;A String&quot;,
1288        ],
1289        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1290          &quot;A String&quot;,
1291        ],
1292        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1293          &quot;A String&quot;,
1294        ],
1295        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1296          &quot;A String&quot;,
1297        ],
1298      },
1299    },
1300    &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.
1301      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1302        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1303          &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).
1304          &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.
1305            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1306              42,
1307            ],
1308          },
1309          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1310        },
1311      ],
1312      &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.
1313        &quot;A String&quot;,
1314      ],
1315      &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.
1316        &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.
1317        &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.
1318      },
1319      &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.
1320        &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.
1321          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1322          &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;.
1323          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1324          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1325          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1326          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1327          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1328          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1329          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1330        },
1331        &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.
1332          &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.
1333          &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;.
1334          &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;.
1335          &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;.
1336          &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.
1337          &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;.
1338        },
1339        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1340          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1341            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1342              42,
1343            ],
1344          },
1345        ],
1346      },
1347      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1348        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1349          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1350            42,
1351          ],
1352        },
1353      ],
1354    },
1355  },
1356  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
1357  &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1358  &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
1359    &quot;a_key&quot;: &quot;A String&quot;,
1360  },
1361  &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
1362  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
1363  &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
1364  &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
1365    &quot;A String&quot;,
1366  ],
1367  &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
1368  &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
1369    &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
1370    &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
1371  },
1372  &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
1373  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
1374}
1375
1376  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).
1377  updateMask: string, Required. A list of fields to be updated in this request.
1378  x__xgafv: string, V1 error format.
1379    Allowed values
1380      1 - v1 error format
1381      2 - v2 error format
1382
1383Returns:
1384  An object of the form:
1385
1386    { # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
1387  &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
1388    &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1389      &quot;A String&quot;,
1390    ],
1391    &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
1392      &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.
1393    },
1394    &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
1395      &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
1396    },
1397    &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
1398      &quot;A String&quot;,
1399    ],
1400    &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
1401      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1402      &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.
1403    },
1404    &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.
1405      &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
1406      &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
1407      &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
1408      &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
1409      &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.
1410        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1411        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1412        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1413        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1414        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1415        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1416        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1417        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1418      },
1419      &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.
1420        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1421          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1422            &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).
1423            &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.
1424              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1425                42,
1426              ],
1427            },
1428            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1429          },
1430        ],
1431        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1432          &quot;A String&quot;,
1433        ],
1434        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1435          &quot;A String&quot;,
1436        ],
1437        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1438          &quot;A String&quot;,
1439        ],
1440        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1441          &quot;A String&quot;,
1442        ],
1443      },
1444    },
1445    &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.
1446      &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.
1447    },
1448    &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.
1449      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1450        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1451          &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).
1452          &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.
1453            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1454              42,
1455            ],
1456          },
1457          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1458        },
1459      ],
1460      &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.
1461        &quot;A String&quot;,
1462      ],
1463      &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.
1464        &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.
1465        &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.
1466      },
1467      &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.
1468        &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.
1469          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1470          &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;.
1471          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1472          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1473          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1474          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1475          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1476          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1477          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1478        },
1479        &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.
1480          &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.
1481          &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;.
1482          &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;.
1483          &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;.
1484          &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.
1485          &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;.
1486        },
1487        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1488          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1489            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1490              42,
1491            ],
1492          },
1493        ],
1494      },
1495      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1496        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1497          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1498            42,
1499          ],
1500        },
1501      ],
1502    },
1503  },
1504  &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
1505  &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
1506    &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.
1507      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1508      &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.
1509    },
1510    &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.
1511      &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.
1512        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1513        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1514        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1515        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1516        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1517        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1518        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1519        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1520      },
1521      &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.
1522        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1523          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1524            &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).
1525            &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.
1526              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1527                42,
1528              ],
1529            },
1530            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1531          },
1532        ],
1533        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1534          &quot;A String&quot;,
1535        ],
1536        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1537          &quot;A String&quot;,
1538        ],
1539        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1540          &quot;A String&quot;,
1541        ],
1542        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1543          &quot;A String&quot;,
1544        ],
1545      },
1546    },
1547    &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.
1548      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1549        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1550          &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).
1551          &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.
1552            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1553              42,
1554            ],
1555          },
1556          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1557        },
1558      ],
1559      &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.
1560        &quot;A String&quot;,
1561      ],
1562      &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.
1563        &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.
1564        &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.
1565      },
1566      &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.
1567        &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.
1568          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1569          &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;.
1570          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1571          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1572          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1573          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1574          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1575          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1576          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1577        },
1578        &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.
1579          &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.
1580          &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;.
1581          &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;.
1582          &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;.
1583          &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.
1584          &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;.
1585        },
1586        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1587          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1588            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1589              42,
1590            ],
1591          },
1592        ],
1593      },
1594      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1595        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1596          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1597            42,
1598          ],
1599        },
1600      ],
1601    },
1602  },
1603  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
1604  &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1605  &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
1606    &quot;a_key&quot;: &quot;A String&quot;,
1607  },
1608  &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
1609  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
1610  &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
1611  &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
1612    &quot;A String&quot;,
1613  ],
1614  &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
1615  &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
1616    &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
1617    &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
1618  },
1619  &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
1620  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
1621}</pre>
1622</div>
1623
1624<div class="method">
1625    <code class="details" id="revoke">revoke(name, body=None, x__xgafv=None)</code>
1626  <pre>Revoke a Certificate.
1627
1628Args:
1629  name: string, Required. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`. (required)
1630  body: object, The request body.
1631    The object takes the form of:
1632
1633{ # Request message for CertificateAuthorityService.RevokeCertificate.
1634  &quot;reason&quot;: &quot;A String&quot;, # Required. The RevocationReason for revoking this certificate.
1635  &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).
1636}
1637
1638  x__xgafv: string, V1 error format.
1639    Allowed values
1640      1 - v1 error format
1641      2 - v2 error format
1642
1643Returns:
1644  An object of the form:
1645
1646    { # A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
1647  &quot;certificateDescription&quot;: { # A CertificateDescription describes an X.509 certificate or CSR that has been issued, as an alternative to using ASN.1 / X.509. # Output only. A structured description of the issued X.509 certificate.
1648    &quot;aiaIssuingCertificateUrls&quot;: [ # Describes lists of issuer CA certificate URLs that appear in the &quot;Authority Information Access&quot; extension in the certificate.
1649      &quot;A String&quot;,
1650    ],
1651    &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
1652      &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.
1653    },
1654    &quot;certFingerprint&quot;: { # A group of fingerprints for the x509 certificate. # The hash of the x.509 certificate.
1655      &quot;sha256Hash&quot;: &quot;A String&quot;, # The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
1656    },
1657    &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
1658      &quot;A String&quot;,
1659    ],
1660    &quot;publicKey&quot;: { # A PublicKey describes a public key. # The public key that corresponds to an issued certificate.
1661      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1662      &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.
1663    },
1664    &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.
1665      &quot;hexSerialNumber&quot;: &quot;A String&quot;, # The serial number encoded in lowercase hexadecimal.
1666      &quot;lifetime&quot;: &quot;A String&quot;, # For convenience, the actual lifetime of an issued certificate.
1667      &quot;notAfterTime&quot;: &quot;A String&quot;, # The time after which the certificate is expired. Per RFC 5280, the validity period for a certificate is the period of time from not_before_time through not_after_time, inclusive. Corresponds to &#x27;not_before_time&#x27; + &#x27;lifetime&#x27; - 1 second.
1668      &quot;notBeforeTime&quot;: &quot;A String&quot;, # The time at which the certificate becomes valid.
1669      &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.
1670        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1671        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1672        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1673        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1674        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1675        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1676        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1677        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1678      },
1679      &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.
1680        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1681          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1682            &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).
1683            &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.
1684              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1685                42,
1686              ],
1687            },
1688            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1689          },
1690        ],
1691        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1692          &quot;A String&quot;,
1693        ],
1694        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1695          &quot;A String&quot;,
1696        ],
1697        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1698          &quot;A String&quot;,
1699        ],
1700        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1701          &quot;A String&quot;,
1702        ],
1703      },
1704    },
1705    &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.
1706      &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.
1707    },
1708    &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.
1709      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1710        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1711          &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).
1712          &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.
1713            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1714              42,
1715            ],
1716          },
1717          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1718        },
1719      ],
1720      &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.
1721        &quot;A String&quot;,
1722      ],
1723      &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.
1724        &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.
1725        &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.
1726      },
1727      &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.
1728        &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.
1729          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1730          &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;.
1731          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1732          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1733          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1734          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1735          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1736          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1737          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1738        },
1739        &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.
1740          &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.
1741          &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;.
1742          &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;.
1743          &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;.
1744          &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.
1745          &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;.
1746        },
1747        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1748          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1749            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1750              42,
1751            ],
1752          },
1753        ],
1754      },
1755      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1756        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1757          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1758            42,
1759          ],
1760        },
1761      ],
1762    },
1763  },
1764  &quot;certificateTemplate&quot;: &quot;A String&quot;, # Immutable. The resource name for a CertificateTemplate used to issue this certificate, in the format `projects/*/locations/*/certificateTemplates/*`. If this is specified, the caller must have the necessary permission to use this template. If this is omitted, no template will be used. This template must be in the same location as the Certificate.
1765  &quot;config&quot;: { # A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1. # Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
1766    &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.
1767      &quot;format&quot;: &quot;A String&quot;, # Required. The format of the public key.
1768      &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.
1769    },
1770    &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.
1771      &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.
1772        &quot;commonName&quot;: &quot;A String&quot;, # The &quot;common name&quot; of the subject.
1773        &quot;countryCode&quot;: &quot;A String&quot;, # The country code of the subject.
1774        &quot;locality&quot;: &quot;A String&quot;, # The locality or city of the subject.
1775        &quot;organization&quot;: &quot;A String&quot;, # The organization of the subject.
1776        &quot;organizationalUnit&quot;: &quot;A String&quot;, # The organizational_unit of the subject.
1777        &quot;postalCode&quot;: &quot;A String&quot;, # The postal code of the subject.
1778        &quot;province&quot;: &quot;A String&quot;, # The province, territory, or regional state of the subject.
1779        &quot;streetAddress&quot;: &quot;A String&quot;, # The street address of the subject.
1780      },
1781      &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.
1782        &quot;customSans&quot;: [ # Contains additional subject alternative name values.
1783          { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1784            &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).
1785            &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.
1786              &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1787                42,
1788              ],
1789            },
1790            &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1791          },
1792        ],
1793        &quot;dnsNames&quot;: [ # Contains only valid, fully-qualified host names.
1794          &quot;A String&quot;,
1795        ],
1796        &quot;emailAddresses&quot;: [ # Contains only valid RFC 2822 E-mail addresses.
1797          &quot;A String&quot;,
1798        ],
1799        &quot;ipAddresses&quot;: [ # Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses.
1800          &quot;A String&quot;,
1801        ],
1802        &quot;uris&quot;: [ # Contains only valid RFC 3986 URIs.
1803          &quot;A String&quot;,
1804        ],
1805      },
1806    },
1807    &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.
1808      &quot;additionalExtensions&quot;: [ # Optional. Describes custom X.509 extensions.
1809        { # An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.
1810          &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).
1811          &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.
1812            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1813              42,
1814            ],
1815          },
1816          &quot;value&quot;: &quot;A String&quot;, # Required. The value of this X.509 extension.
1817        },
1818      ],
1819      &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.
1820        &quot;A String&quot;,
1821      ],
1822      &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.
1823        &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.
1824        &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.
1825      },
1826      &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.
1827        &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.
1828          &quot;certSign&quot;: True or False, # The key may be used to sign certificates.
1829          &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;.
1830          &quot;crlSign&quot;: True or False, # The key may be used sign certificate revocation lists.
1831          &quot;dataEncipherment&quot;: True or False, # The key may be used to encipher data.
1832          &quot;decipherOnly&quot;: True or False, # The key may be used to decipher only.
1833          &quot;digitalSignature&quot;: True or False, # The key may be used for digital signatures.
1834          &quot;encipherOnly&quot;: True or False, # The key may be used to encipher only.
1835          &quot;keyAgreement&quot;: True or False, # The key may be used in a key agreement protocol.
1836          &quot;keyEncipherment&quot;: True or False, # The key may be used to encipher other keys.
1837        },
1838        &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.
1839          &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.
1840          &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;.
1841          &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;.
1842          &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;.
1843          &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.
1844          &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;.
1845        },
1846        &quot;unknownExtendedKeyUsages&quot;: [ # Used to describe extended key usages that are not listed in the KeyUsage.ExtendedKeyUsageOptions message.
1847          { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1848            &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1849              42,
1850            ],
1851          },
1852        ],
1853      },
1854      &quot;policyIds&quot;: [ # Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.
1855        { # An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.
1856          &quot;objectIdPath&quot;: [ # Required. The parts of an OID path. The most significant parts of the path come first.
1857            42,
1858          ],
1859        },
1860      ],
1861    },
1862  },
1863  &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was created.
1864  &quot;issuerCertificateAuthority&quot;: &quot;A String&quot;, # Output only. The resource name of the issuing CertificateAuthority in the format `projects/*/locations/*/caPools/*/certificateAuthorities/*`.
1865  &quot;labels&quot;: { # Optional. Labels with user-defined metadata.
1866    &quot;a_key&quot;: &quot;A String&quot;,
1867  },
1868  &quot;lifetime&quot;: &quot;A String&quot;, # Required. Immutable. The desired lifetime of a certificate. Used to create the &quot;not_before_time&quot; and &quot;not_after_time&quot; fields inside an X.509 certificate. Note that the lifetime may be truncated if it would extend past the life of any certificate authority in the issuing chain.
1869  &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name for this Certificate in the format `projects/*/locations/*/caPools/*/certificates/*`.
1870  &quot;pemCertificate&quot;: &quot;A String&quot;, # Output only. The pem-encoded, signed X.509 certificate.
1871  &quot;pemCertificateChain&quot;: [ # Output only. The chain that may be used to verify the X.509 certificate. Expected to be in issuer-to-root order according to RFC 5246.
1872    &quot;A String&quot;,
1873  ],
1874  &quot;pemCsr&quot;: &quot;A String&quot;, # Immutable. A pem-encoded X.509 certificate signing request (CSR).
1875  &quot;revocationDetails&quot;: { # Describes fields that are relavent to the revocation of a Certificate. # Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
1876    &quot;revocationState&quot;: &quot;A String&quot;, # Indicates why a Certificate was revoked.
1877    &quot;revocationTime&quot;: &quot;A String&quot;, # The time at which this Certificate was revoked.
1878  },
1879  &quot;subjectMode&quot;: &quot;A String&quot;, # Immutable. Specifies how the Certificate&#x27;s identity fields are to be decided. If this is omitted, the `DEFAULT` subject mode will be used.
1880  &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which this Certificate was updated.
1881}</pre>
1882</div>
1883
1884</body></html>