# Class TrustConfig (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

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

Defines a trust config.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The creation timestamp of a TrustConfig. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The last update timestamp of a TrustConfig. |
| `labels` | `MutableMapping[str, str]` Set of labels associated with a TrustConfig. |
| `description` | `str` One or more paragraphs of text description of a TrustConfig. |
| `etag` | `str` This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. |
| `trust_stores` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/certificatemanager/latest/google.cloud.certificate_manager_v1.types.TrustConfig.TrustStore]` Set of trust stores to perform validation against. This field is supported when TrustConfig is configured with Load Balancers, currently not supported for SPIFFE certificate validation. Only one TrustStore specified is currently allowed. |

## Classes

### IntermediateCA

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

Defines an intermediate CA.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

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

### TrustAnchor

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

Defines a trust anchor.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

### TrustStore

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

Defines a trust store.