# Certificate Manager V1 API - Class Google::Cloud::CertificateManager::V1::TrustConfig (v1.5.0)

1.5.0 (latest) 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.12.0 0.11.0 0.10.1 0.9.0 0.8.2 0.7.0 0.6.0 0.5.0 0.4.2 0.3.1 0.2.0 0.1.0 Reference documentation and code samples for the Certificate Manager V1 API class Google::Cloud::CertificateManager::V1::TrustConfig.

Defines a trust config.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The creation timestamp of a TrustConfig.

### #description

    def description() -> ::String

**Returns**

- (::String) --- One or more paragraphs of text description of a TrustConfig.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- One or more paragraphs of text description of a TrustConfig.
**Returns**

- (::String) --- One or more paragraphs of text description of a TrustConfig.

### #etag

    def etag() -> ::String

**Returns**

- (::String) --- 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.

### #etag=

    def etag=(value) -> ::String

**Parameter**

- **value** (::String) --- 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.
**Returns**

- (::String) --- 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.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Set of labels associated with a TrustConfig.

### #labels=

    def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Set of labels associated with a TrustConfig.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Set of labels associated with a TrustConfig.

### #name

    def name() -> ::String

**Returns**

- (::String) --- A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.
**Returns**

- (::String) --- A user-defined name of the trust config. TrustConfig names must be unique globally and match pattern `projects/*/locations/*/trustConfigs/*`.

### #trust_stores

    def trust_stores() -> ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>

**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-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.

### #trust_stores=

    def trust_stores=(value) -> ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-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.
**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-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.

### #update_time

    def update_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The last update timestamp of a TrustConfig.