Class Certificate (1.8.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: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
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.
self_managed google.cloud.certificate_manager_v1.types.Certificate.SelfManagedCertificate
If set, defines data of a self-managed certificate. This field is a member of oneof_ type.
managed google.cloud.certificate_manager_v1.types.Certificate.ManagedCertificate
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 4.2.1.6). Managed certificates that haven't been provisioned yet have this field populated with a value of the managed.domains 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.
scope google.cloud.certificate_manager_v1.types.Certificate.Scope
Immutable. The scope of the certificate.

Classes

LabelsEntry

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

The abstract base class for a message.

Parameters
Name Description
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

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.

Scope

Scope(value)

Certificate scope.

SelfManagedCertificate

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.