# Certificate Manager V1 API - Class Google::Cloud::CertificateManager::V1::TrustConfig::TrustStore (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::TrustStore.

Defines a trust store.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #intermediate_cas

    def intermediate_cas() -> ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>

**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-TrustConfig-IntermediateCA)\>) --- Set of intermediate CA certificates used for the path building phase of chain validation.


  The field is currently not supported if TrustConfig is used for the
  workload certificate feature.

### #intermediate_cas=

    def intermediate_cas=(value) -> ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-TrustConfig-IntermediateCA)\>) --- Set of intermediate CA certificates used for the path building phase of chain validation.


  The field is currently not supported if TrustConfig is used for the
  workload certificate feature.
**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::IntermediateCA](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-TrustConfig-IntermediateCA)\>) --- Set of intermediate CA certificates used for the path building phase of chain validation.


  The field is currently not supported if TrustConfig is used for the
  workload certificate feature.

### #trust_anchors

    def trust_anchors() -> ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>

**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-TrustConfig-TrustAnchor)\>) --- List of Trust Anchors to be used while performing validation against a given TrustStore.

### #trust_anchors=

    def trust_anchors=(value) -> ::Array<::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor>

**Parameter**

- **value** (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-TrustConfig-TrustAnchor)\>) --- List of Trust Anchors to be used while performing validation against a given TrustStore.
**Returns**

- (::Array\<[::Google::Cloud::CertificateManager::V1::TrustConfig::TrustAnchor](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-TrustConfig-TrustAnchor)\>) --- List of Trust Anchors to be used while performing validation against a given TrustStore.