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 CreateTrustConfigRequest : IMessage<CreateTrustConfigRequest>, IEquatable<CreateTrustConfigRequest>, IDeepCloneable<CreateTrustConfigRequest>, IBufferMessage, IMessage
```
Reference documentation and code samples for the Certificate Manager v1 API class CreateTrustConfigRequest.

Request for the `CreateTrustConfig` method.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateTrustConfigRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CreateTrustConfigRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateTrustConfigRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CreateTrustConfigRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateTrustConfigRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CreateTrustConfigRequest.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

### CreateTrustConfigRequest()

```rust
public CreateTrustConfigRequest()
```

### CreateTrustConfigRequest(CreateTrustConfigRequest)

```rust
public CreateTrustConfigRequest(CreateTrustConfigRequest other)
```

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

## Properties

### Parent

```rust
public string Parent { get; set; }
```
Required. The parent resource of the TrustConfig. Must be in the format
`projects/*/locations/*`.

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

### ParentAsLocationName

```rust
public LocationName ParentAsLocationName { get; set; }
```
[LocationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.md.txt)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.CreateTrustConfigRequest.md.txt#Google_Cloud_CertificateManager_V1_CreateTrustConfigRequest_Parent) resource name property.

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

### TrustConfig

```rust
public TrustConfig TrustConfig { get; set; }
```
Required. A definition of the TrustConfig to create.

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

### TrustConfigId

```rust
public string TrustConfigId { get; set; }
```
Required. A user-provided name of the TrustConfig. Must match the regexp
`[a-z0-9-]{1,63}`.

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