# Managed Service for Microsoft Active Directory v1 API - Class UpdateDomainRequest (3.4.0)

<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.UpdateDomainRequest)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.3.0/Google.Cloud.ManagedIdentities.V1.UpdateDomainRequest)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.2.0/Google.Cloud.ManagedIdentities.V1.UpdateDomainRequest)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.1.0/Google.Cloud.ManagedIdentities.V1.UpdateDomainRequest)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/3.0.0/Google.Cloud.ManagedIdentities.V1.UpdateDomainRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/2.3.0/Google.Cloud.ManagedIdentities.V1.UpdateDomainRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ManagedIdentities.V1/2.2.0/Google.Cloud.ManagedIdentities.V1.UpdateDomainRequest)

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

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

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

## Inheritance

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

## Implements

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

### UpdateDomainRequest()

    public UpdateDomainRequest()

### UpdateDomainRequest(UpdateDomainRequest)

    public UpdateDomainRequest(UpdateDomainRequest other)

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

## Properties

### Domain

    public Domain Domain { get; set; }

Required. Domain message with updated fields. Only supported fields specified in
update_mask are updated.

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

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Required. Mask of fields to update. At least one path must be supplied in this
field. The elements of the repeated paths field may only include
fields from \[Domain\]\[google.cloud.managedidentities.v1.Domain\]:

- `labels`
- `locations`
- `authorized_networks`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |