Class Certificate (1.5.0)

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

Defines TLS certificate.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof:


name str
A user-defined name of the certificate. Certificate names must be unique globally and match pattern projects/*/locations/*/certificates/*.
description str
One or more paragraphs of text description of a certificate.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. The creation timestamp of a Certificate.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last update timestamp of a Certificate.
labels MutableMapping[str, str]
Set of labels associated with a Certificate.
If set, defines data of a self-managed certificate. This field is a member of oneof_ type.
If set, contains configuration and state of a managed certificate. This field is a member of oneof_ type.
san_dnsnames MutableSequence[str]
Output only. The list of Subject Alternative Names of dnsName type defined in the certificate (see RFC 5280 Managed certificates that haven't been provisioned yet have this field populated with a value of the field.
pem_certificate str
Output only. The PEM-encoded certificate chain.
expire_time google.protobuf.timestamp_pb2.Timestamp
Output only. The expiry timestamp of a Certificate.
Immutable. The scope of the certificate.



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

The abstract base class for a message.

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.


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

Configuration and state of a Managed Certificate. Certificate Manager provisions and renews Managed Certificates automatically, for as long as it's authorized to do so.



Certificate scope.

Values: DEFAULT (0): Certificates with default scope are served from core Google data centers. If unsure, choose this option. EDGE_CACHE (1): Certificates with scope EDGE_CACHE are special-purposed certificates, served from non-core Google data centers.


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

Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.