# Cloud Domains v1 API - Class ConfigureDnsSettingsRequest (2.5.0)

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

- [2.5.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/2.4.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/2.3.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/2.2.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/2.1.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/2.0.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/1.0.0/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest)

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

Reference documentation and code samples for the Cloud Domains v1 API class ConfigureDnsSettingsRequest.

Request for the `ConfigureDnsSettings` method.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Domains.V1.dll

## Constructors

### ConfigureDnsSettingsRequest()

    public ConfigureDnsSettingsRequest()

### ConfigureDnsSettingsRequest(ConfigureDnsSettingsRequest)

    public ConfigureDnsSettingsRequest(ConfigureDnsSettingsRequest other)

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

## Properties

### DnsSettings

    public DnsSettings DnsSettings { get; set; }

Fields of the `DnsSettings` to update.

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

### Registration

    public string Registration { get; set; }

Required. The name of the `Registration` whose DNS settings are being updated,
in the format `projects/*/locations/*/registrations/*`.

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

### RegistrationAsRegistrationName

    public RegistrationName RegistrationAsRegistrationName { get; set; }

[RegistrationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.RegistrationName)-typed view over the [Registration](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Domains.V1/latest/Google.Cloud.Domains.V1.ConfigureDnsSettingsRequest#Google_Cloud_Domains_V1_ConfigureDnsSettingsRequest_Registration) resource name property.

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

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Required. The field mask describing which fields to update as a comma-separated list.
For example, if only the name servers are being updated for an existing
Custom DNS configuration, the `update_mask` is
`"custom_dns.name_servers"`.

When changing the DNS provider from one type to another, pass the new
provider's field name as part of the field mask. For example, when changing
from a Google Domains DNS configuration to a Custom DNS configuration, the
`update_mask` is `"custom_dns"`. //

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

### ValidateOnly

    public bool ValidateOnly { get; set; }

Validate the request without actually updating the DNS settings.

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