pub struct Certificate {Show 14 fields
pub certificate_description: Option<CertificateDescription>,
pub certificate_template: Option<String>,
pub config: Option<CertificateConfig>,
pub create_time: Option<DateTime<Utc>>,
pub issuer_certificate_authority: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub lifetime: Option<Duration>,
pub name: Option<String>,
pub pem_certificate: Option<String>,
pub pem_certificate_chain: Option<Vec<String>>,
pub pem_csr: Option<String>,
pub revocation_details: Option<RevocationDetails>,
pub subject_mode: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations ca pools certificates create projects (request|response)
- locations ca pools certificates get projects (response)
- locations ca pools certificates patch projects (request|response)
- locations ca pools certificates revoke projects (response)
Fields§
§certificate_description: Option<CertificateDescription>Output only. A structured description of the issued X.509 certificate.
certificate_template: Option<String>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.
config: Option<CertificateConfig>Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
create_time: Option<DateTime<Utc>>Output only. The time at which this Certificate was created.
Output only. The resource name of the issuing CertificateAuthority in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.
labels: Option<HashMap<String, String>>Optional. Labels with user-defined metadata.
lifetime: Option<Duration>Required. Immutable. The desired lifetime of a certificate. Used to create the “not_before_time” and “not_after_time” 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.
name: Option<String>Identifier. The resource name for this Certificate in the format projects/*/locations/*/caPools/*/certificates/*.
pem_certificate: Option<String>Output only. The pem-encoded, signed X.509 certificate.
pem_certificate_chain: Option<Vec<String>>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.
pem_csr: Option<String>Immutable. A pem-encoded X.509 certificate signing request (CSR).
revocation_details: Option<RevocationDetails>Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
subject_mode: Option<String>Immutable. Specifies how the Certificate’s identity fields are to be decided. If this is omitted, the DEFAULT subject mode will be used.
update_time: Option<DateTime<Utc>>Output only. The time at which this Certificate was updated.
Trait Implementations§
Source§impl Clone for Certificate
impl Clone for Certificate
Source§fn clone(&self) -> Certificate
fn clone(&self) -> Certificate
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more