Class Certificate (0.1.1)

Certificate(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A Certificate corresponds to a signed X.509 certificate issued by a CertificateAuthority.

Attributes

NameDescription
name str
Output only. The resource path for this Certificate in the format projects/*/locations/*/certificateAuthorities/*/certificates/*.
pem_csr str
Immutable. A pem-encoded X.509 certificate signing request (CSR).
config .resources.CertificateConfig
Immutable. A description of the certificate and key that does not require X.509 or ASN.1.
lifetime .duration.Duration
Required. 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.
revocation_details .resources.Certificate.RevocationDetails
Output only. Details regarding the revocation of this Certificate. This Certificate is considered revoked if and only if this field is present.
pem_certificate str
Output only. The pem-encoded, signed X.509 certificate.
certificate_description .resources.CertificateDescription
Output only. A structured description of the issued X.509 certificate.
pem_certificate_chain Sequence[str]
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.
create_time .timestamp.Timestamp
Output only. The time at which this Certificate was created.
update_time .timestamp.Timestamp
Output only. The time at which this Certificate was updated.
labels Sequence[.resources.Certificate.LabelsEntry]
Optional. Labels with user-defined metadata.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

RevocationDetails

RevocationDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes fields that are relavent to the revocation of a Certificate.