2.10.0 (latest) 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0-beta02

```rust
public sealed class TrustConfig.Types.TrustAnchor : IMessage<TrustConfig.Types.TrustAnchor>, IEquatable<TrustConfig.Types.TrustAnchor>, IDeepCloneable<TrustConfig.Types.TrustAnchor>, IBufferMessage, IMessage
```
Reference documentation and code samples for the Certificate Manager v1 API class TrustConfig.Types.TrustAnchor.

Defines a trust anchor.

## Inheritance

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

## Implements

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

## 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.CertificateManager.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.md.txt)

## Assembly

Google.Cloud.CertificateManager.V1.dll

## Constructors

### TrustAnchor()

```rust
public TrustAnchor()
```

### TrustAnchor(TrustAnchor)

```rust
public TrustAnchor(TrustConfig.Types.TrustAnchor other)
```

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `TrustConfigTypesTrustAnchor` |

## Properties

### HasPemCertificate

```rust
public bool HasPemCertificate { get; }
```
Gets whether the "pem_certificate" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### KindCase

```rust
public TrustConfig.Types.TrustAnchor.KindOneofCase KindCase { get; }
```

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TrustConfigTypesTrustAnchorKindOneofCase` |   |

### PemCertificate

```rust
public string PemCertificate { get; set; }
```
PEM root certificate of the PKI used for validation.

Each certificate provided in PEM format may occupy up to 5kB.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |