public sealed class DnsAuthorization : IMessage<DnsAuthorization>, IEquatable<DnsAuthorization>, IDeepCloneable<DnsAuthorization>, IBufferMessage, IMessage
Reference documentation and code samples for the Certificate Manager v1 API class DnsAuthorization.
A DnsAuthorization resource describes a way to perform domain authorization
for certificate issuance.
Required. Immutable. A domain that is being authorized. A DnsAuthorization
resource covers a single domain and its wildcard, e.g. authorization for
example.com can be used to issue certificates for example.com and
*.example.com.
A user-defined name of the dns authorization. DnsAuthorization names must
be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eDnsAuthorization\u003c/code\u003e class within the Google Cloud Certificate Manager v1 API, specifically for .NET development.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDnsAuthorization\u003c/code\u003e class is used to define a method for domain authorization, enabling the issuance of certificates for a specific domain and its wildcard subdomains.\u003c/p\u003e\n"],["\u003cp\u003eThis resource lists the various versions of the \u003ccode\u003eDnsAuthorization\u003c/code\u003e API, with version 2.8.0 being the latest and contains the class's constructors, properties, inherited members, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe API documentation explains that the DnsAuthorization class implements methods such as IMessage, IEquatable, IDeepCloneable, and IBufferMessage, and also inherits members from \u003ccode\u003eSystem.Object\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eDnsAuthorization has fields such as \u003ccode\u003eDomain\u003c/code\u003e, \u003ccode\u003eCreateTime\u003c/code\u003e, \u003ccode\u003eUpdateTime\u003c/code\u003e, \u003ccode\u003eDescription\u003c/code\u003e, \u003ccode\u003eDnsResourceRecord\u003c/code\u003e, and more, which are used for defining and describing a resource for DNS verification.\u003c/p\u003e\n"]]],[],null,["# Certificate Manager v1 API - Class DnsAuthorization (2.8.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.8.0 (latest)](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.7.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.6.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.5.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.4.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.3.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.2.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.1.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/2.0.0/Google.Cloud.CertificateManager.V1.DnsAuthorization)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/1.0.0-beta02/Google.Cloud.CertificateManager.V1.DnsAuthorization) \n\n public sealed class DnsAuthorization : IMessage\u003cDnsAuthorization\u003e, IEquatable\u003cDnsAuthorization\u003e, IDeepCloneable\u003cDnsAuthorization\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Certificate Manager v1 API class DnsAuthorization.\n\nA DnsAuthorization resource describes a way to perform domain authorization\nfor certificate issuance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DnsAuthorization \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DnsAuthorization](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.DnsAuthorization), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DnsAuthorization](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.DnsAuthorization), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DnsAuthorization](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.DnsAuthorization), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.CertificateManager.V1](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CertificateManager.V1.dll\n\nConstructors\n------------\n\n### DnsAuthorization()\n\n public DnsAuthorization()\n\n### DnsAuthorization(DnsAuthorization)\n\n public DnsAuthorization(DnsAuthorization other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The creation timestamp of a DnsAuthorization.\n\n### Description\n\n public string Description { get; set; }\n\nOne or more paragraphs of text description of a DnsAuthorization.\n\n### DnsAuthorizationName\n\n public DnsAuthorizationName DnsAuthorizationName { get; set; }\n\n[DnsAuthorizationName](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.DnsAuthorizationName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CertificateManager.V1/latest/Google.Cloud.CertificateManager.V1.DnsAuthorization#Google_Cloud_CertificateManager_V1_DnsAuthorization_Name) resource name property.\n\n### DnsResourceRecord\n\n public DnsAuthorization.Types.DnsResourceRecord DnsResourceRecord { get; set; }\n\nOutput only. DNS Resource Record that needs to be added to DNS\nconfiguration.\n\n### Domain\n\n public string Domain { get; set; }\n\nRequired. Immutable. A domain that is being authorized. A DnsAuthorization\nresource covers a single domain and its wildcard, e.g. authorization for\n`example.com` can be used to issue certificates for `example.com` and\n`*.example.com`.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nSet of labels associated with a DnsAuthorization.\n\n### Name\n\n public string Name { get; set; }\n\nA user-defined name of the dns authorization. DnsAuthorization names must\nbe unique globally and match pattern\n`projects/*/locations/*/dnsAuthorizations/*`.\n\n### Type\n\n public DnsAuthorization.Types.Type Type { get; set; }\n\nImmutable. Type of DnsAuthorization. If unset during resource creation the\nfollowing default will be used:\n\n- in location global: FIXED_RECORD.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The last update timestamp of a DnsAuthorization."]]