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

- [3.4.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/latest/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.3.0/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.2.0/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.1.0/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.0.0/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/2.3.0/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/2.2.0/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest)

    public sealed class ValidateTrustRequest : IMessage<ValidateTrustRequest>, IEquatable<ValidateTrustRequest>, IDeepCloneable<ValidateTrustRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Managed Service for Microsoft Active Directory v1 API class ValidateTrustRequest.

Request message for
\[ValidateTrust\]\[google.cloud.managedidentities.v1.ValidateTrust\]

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ManagedIdentities.V1.dll

## Constructors

### ValidateTrustRequest()

    public ValidateTrustRequest()

### ValidateTrustRequest(ValidateTrustRequest)

    public ValidateTrustRequest(ValidateTrustRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/latest/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest` |

## Properties

### DomainName

    public DomainName DomainName { get; set; }

[DomainName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/latest/Google.Cloud.ManagedIdentities.V1.DomainName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/latest/Google.Cloud.ManagedIdentities.V1.ValidateTrustRequest#Google_Cloud_ManagedIdentities_V1_ValidateTrustRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

Required. The resource domain name, project name, and location using the form:
`projects/{project_id}/locations/global/domains/{domain_name}`

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

### Trust

    public Trust Trust { get; set; }

Required. The domain trust to validate trust state for.

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