<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig)
- [1.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/1.0.0-beta07/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig)

    public sealed class TrustConfig.Types.CertificateAuthorityServiceConfig : IMessage<TrustConfig.Types.CertificateAuthorityServiceConfig>, IEquatable<TrustConfig.Types.CertificateAuthorityServiceConfig>, IDeepCloneable<TrustConfig.Types.CertificateAuthorityServiceConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class TrustConfig.Types.CertificateAuthorityServiceConfig.

A configuration for the Google Certificate Authority Service.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TrustConfig.Types.CertificateAuthorityServiceConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TrustConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types)[CertificateAuthorityServiceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TrustConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types)[CertificateAuthorityServiceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TrustConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types)[CertificateAuthorityServiceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ManagedKafka.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1)

## Assembly

Google.Cloud.ManagedKafka.V1.dll

## Constructors

### CertificateAuthorityServiceConfig()

    public CertificateAuthorityServiceConfig()

### CertificateAuthorityServiceConfig(CertificateAuthorityServiceConfig)

    public CertificateAuthorityServiceConfig(TrustConfig.Types.CertificateAuthorityServiceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig` |

## Properties

### CaPool

    public string CaPool { get; set; }

Required. The name of the CA pool to pull CA certificates from.
Structured like:
projects/{project}/locations/{location}/caPools/{ca_pool}.
The CA pool does not need to be in the same project or location as the
Kafka cluster.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### CaPoolAsCaPoolName

    public CaPoolName CaPoolAsCaPoolName { get; set; }

[CaPoolName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CaPoolName)-typed view over the [CaPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.TrustConfig.Types.CertificateAuthorityServiceConfig#Google_Cloud_ManagedKafka_V1_TrustConfig_Types_CertificateAuthorityServiceConfig_CaPool) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedKafka.V1/latest/Google.Cloud.ManagedKafka.V1.CaPoolName` |   |