(::String) — 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.
#domain=
defdomain=(value)->::String
Parameter
value (::String) — 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.
Returns
(::String) — 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.
value (::Google::Protobuf::Map{::String => ::String}) — Set of labels associated with a DnsAuthorization.
Returns
(::Google::Protobuf::Map{::String => ::String}) — Set of labels associated with a DnsAuthorization.
#name
defname()->::String
Returns
(::String) — A user-defined name of the dns authorization. DnsAuthorization names must
be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*.
#name=
defname=(value)->::String
Parameter
value (::String) — A user-defined name of the dns authorization. DnsAuthorization names must
be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*.
Returns
(::String) — 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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Certificate Manager V1 API - Class Google::Cloud::CertificateManager::V1::DnsAuthorization (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-certificate_manager-v1/latest/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [1.0.1](/ruby/docs/reference/google-cloud-certificate_manager-v1/1.0.1/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.12.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.12.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.11.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.11.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.10.1](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.10.1/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.9.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.9.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.8.2](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.8.2/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.7.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.7.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.6.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.6.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.5.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.5.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.4.2](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.4.2/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.3.1](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.3.1/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.2.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.2.0/Google-Cloud-CertificateManager-V1-DnsAuthorization)\n- [0.1.0](/ruby/docs/reference/google-cloud-certificate_manager-v1/0.1.0/Google-Cloud-CertificateManager-V1-DnsAuthorization) \nReference documentation and code samples for the Certificate Manager V1 API class Google::Cloud::CertificateManager::V1::DnsAuthorization.\n\nA DnsAuthorization resource describes a way to perform domain authorization\nfor certificate issuance. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #create_time\n\n def create_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The creation timestamp of a DnsAuthorization.\n\n### #description\n\n def description() -\u003e ::String\n\n**Returns**\n\n- (::String) --- One or more paragraphs of text description of a DnsAuthorization.\n\n### #description=\n\n def description=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- One or more paragraphs of text description of a DnsAuthorization. \n**Returns**\n\n- (::String) --- One or more paragraphs of text description of a DnsAuthorization.\n\n### #dns_resource_record\n\n def dns_resource_record() -\u003e ::Google::Cloud::CertificateManager::V1::DnsAuthorization::DnsResourceRecord\n\n**Returns**\n\n- ([::Google::Cloud::CertificateManager::V1::DnsAuthorization::DnsResourceRecord](./Google-Cloud-CertificateManager-V1-DnsAuthorization-DnsResourceRecord)) --- Output only. DNS Resource Record that needs to be added to DNS configuration.\n\n### #domain\n\n def domain() -\u003e ::String\n\n**Returns**\n\n- (::String) --- 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`.\n\n### #domain=\n\n def domain=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- 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`. \n**Returns**\n\n- (::String) --- 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`.\n\n### #labels\n\n def labels() -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Set of labels associated with a DnsAuthorization.\n\n### #labels=\n\n def labels=(value) -\u003e ::Google::Protobuf::Map{::String =\u003e ::String}\n\n**Parameter**\n\n- **value** (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Set of labels associated with a DnsAuthorization. \n**Returns**\n\n- (::Google::Protobuf::Map{::String =\\\u003e ::String}) --- Set of labels associated with a DnsAuthorization.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`. \n**Returns**\n\n- (::String) --- A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern `projects/*/locations/*/dnsAuthorizations/*`.\n\n### #type\n\n def type() -\u003e ::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type\n\n**Returns**\n\n- ([::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type](./Google-Cloud-CertificateManager-V1-DnsAuthorization-Type)) ---\n\n Immutable. Type of DnsAuthorization. If unset during resource creation the\n following default will be used:\n - in location global: FIXED_RECORD.\n\n### #type=\n\n def type=(value) -\u003e ::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type\n\n**Parameter**\n\n- **value** ([::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type](./Google-Cloud-CertificateManager-V1-DnsAuthorization-Type)) ---\n\n Immutable. Type of DnsAuthorization. If unset during resource creation the\n following default will be used:\n- in location global: FIXED_RECORD. \n**Returns**\n\n- ([::Google::Cloud::CertificateManager::V1::DnsAuthorization::Type](./Google-Cloud-CertificateManager-V1-DnsAuthorization-Type)) ---\n\n Immutable. Type of DnsAuthorization. If unset during resource creation the\n following default will be used:\n - in location global: FIXED_RECORD.\n\n### #update_time\n\n def update_time() -\u003e ::Google::Protobuf::Timestamp\n\n**Returns**\n\n- ([::Google::Protobuf::Timestamp](./Google-Protobuf-Timestamp)) --- Output only. The last update timestamp of a DnsAuthorization."]]