Google Cloud Certificate Manager V1 Client - Class DnsAuthorization (1.1.2)
Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class DnsAuthorization.
A DnsAuthorization resource describes a way to perform domain authorization
for certificate issuance.
Generated from protobuf message google.cloud.certificatemanager.v1.DnsAuthorization
Namespace
Google \ Cloud \ CertificateManager \ V1
Methods
__construct
Constructor.
Parameter
Name
Description
data
mixed
getName
A user-defined name of the dns authorization. DnsAuthorization names must
be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*.
Returns
Type
Description
string
setName
A user-defined name of the dns authorization. DnsAuthorization names must
be unique globally and match pattern
projects/*/locations/*/dnsAuthorizations/*.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCreateTime
Output only. The creation timestamp of a DnsAuthorization.
One or more paragraphs of text description of a DnsAuthorization.
Returns
Type
Description
string
setDescription
One or more paragraphs of text description of a DnsAuthorization.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDomain
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
Type
Description
string
setDomain
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDnsResourceRecord
Output only. DNS Resource Record that needs to be added to DNS
configuration.
[[["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 2026-03-19 UTC."],[],[]]