# Class CertificateMapEntry (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.2 1.9.0 1.8.1 1.7.2 1.6.3 1.5.0 1.4.3 1.3.1 1.2.0 1.1.1 1.0.1 0.2.1 0.1.3

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

Defines a certificate map entry.

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 Map Entry. Certificate Map Entry names must be unique globally and match pattern `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. |
| `description` | `str` One or more paragraphs of text description of a certificate map entry. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The creation timestamp of a Certificate Map Entry. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The update timestamp of a Certificate Map Entry. |
| `labels` | `MutableMapping[str, str]` Set of labels associated with a Certificate Map Entry. |
| `hostname` | `str` A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression (`*.example.com`) for a set of hostnames with common suffix. Used as Server Name Indication (SNI) for selecting a proper certificate. This field is a member of `oneof`_ `match`. |
| `matcher` | `https://docs.cloud.google.com/python/docs/reference/certificatemanager/latest/google.cloud.certificate_manager_v1.types.CertificateMapEntry.Matcher` A predefined matcher for particular cases, other than SNI selection. This field is a member of `oneof`_ `match`. |
| `certificates` | `MutableSequence[str]` A set of Certificates defines for the given `hostname`. There can be defined up to four certificates in each Certificate Map Entry. Each certificate must match pattern `projects/*/locations/*/certificates/*`. |
| `state` | `https://docs.cloud.google.com/python/docs/reference/certificatemanager/latest/google.cloud.certificate_manager_v1.types.ServingState` Output only. A serving state of this Certificate Map Entry. |

## 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. |

### Matcher

    Matcher(value)

Defines predefined cases other than SNI-hostname match when
this configuration should be applied.