Google Cloud Domains V1alpha2 Client - Class TransferParameters (0.2.11)

Reference documentation and code samples for the Google Cloud Domains V1alpha2 Client class TransferParameters.

Parameters required to transfer a domain from another registrar.

Generated from protobuf message google.cloud.domains.v1alpha2.TransferParameters

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ domain_name string

The domain name. Unicode domain names are expressed in Punycode format.

↳ current_registrar string

The registrar that currently manages the domain.

↳ name_servers array

The name servers that currently store the configuration of the domain.

↳ transfer_lock_state int

Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show UNLOCKED. To unlock a domain, go to its current registrar.

↳ supported_privacy array

Contact privacy options that the domain supports.

↳ yearly_price Google\Type\Money

Price to transfer or renew the domain for one year.

getDomainName

The domain name. Unicode domain names are expressed in Punycode format.

Returns
TypeDescription
string

setDomainName

The domain name. Unicode domain names are expressed in Punycode format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCurrentRegistrar

The registrar that currently manages the domain.

Returns
TypeDescription
string

setCurrentRegistrar

The registrar that currently manages the domain.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNameServers

The name servers that currently store the configuration of the domain.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNameServers

The name servers that currently store the configuration of the domain.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getTransferLockState

Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show UNLOCKED. To unlock a domain, go to its current registrar.

Returns
TypeDescription
int

setTransferLockState

Indicates whether the domain is protected by a transfer lock. For a transfer to succeed, this must show UNLOCKED. To unlock a domain, go to its current registrar.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSupportedPrivacy

Contact privacy options that the domain supports.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedPrivacy

Contact privacy options that the domain supports.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getYearlyPrice

Price to transfer or renew the domain for one year.

Returns
TypeDescription
Google\Type\Money|null

hasYearlyPrice

clearYearlyPrice

setYearlyPrice

Price to transfer or renew the domain for one year.

Parameter
NameDescription
var Google\Type\Money
Returns
TypeDescription
$this