Google Cloud Certificate Manager V1 Client - Class DnsAuthorization (0.6.0)

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.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.

↳ create_time Google\Protobuf\Timestamp

Output only. The creation timestamp of a DnsAuthorization.

↳ update_time Google\Protobuf\Timestamp

Output only. The last update timestamp of a DnsAuthorization.

↳ labels array|Google\Protobuf\Internal\MapField

Set of labels associated with a DnsAuthorization.

↳ description string

One or more paragraphs of text description of a DnsAuthorization.

↳ domain 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.

↳ dns_resource_record Google\Cloud\CertificateManager\V1\DnsAuthorization\DnsResourceRecord

Output only. DNS Resource Record that needs to be added to DNS configuration.

getName

A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.

Returns
TypeDescription
string

setName

A user-defined name of the dns authorization. DnsAuthorization names must be unique globally and match pattern projects/*/locations/*/dnsAuthorizations/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The creation timestamp of a DnsAuthorization.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The creation timestamp of a DnsAuthorization.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The last update timestamp of a DnsAuthorization.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last update timestamp of a DnsAuthorization.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLabels

Set of labels associated with a DnsAuthorization.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Set of labels associated with a DnsAuthorization.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getDescription

One or more paragraphs of text description of a DnsAuthorization.

Returns
TypeDescription
string

setDescription

One or more paragraphs of text description of a DnsAuthorization.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDnsResourceRecord

Output only. DNS Resource Record that needs to be added to DNS configuration.

Returns
TypeDescription
Google\Cloud\CertificateManager\V1\DnsAuthorization\DnsResourceRecord|null

hasDnsResourceRecord

clearDnsResourceRecord

setDnsResourceRecord

Output only. DNS Resource Record that needs to be added to DNS configuration.

Parameter
NameDescription
var Google\Cloud\CertificateManager\V1\DnsAuthorization\DnsResourceRecord
Returns
TypeDescription
$this