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
Namespace
Google \ Cloud \ Domains \ V1alpha2Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 |
↳ 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 | |
---|---|
Type | Description |
string |
setDomainName
The domain name. Unicode domain names are expressed in Punycode format.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getCurrentRegistrar
The registrar that currently manages the domain.
Returns | |
---|---|
Type | Description |
string |
setCurrentRegistrar
The registrar that currently manages the domain.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getNameServers
The name servers that currently store the configuration of the domain.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setNameServers
The name servers that currently store the configuration of the domain.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSupportedPrivacy
Contact privacy options that the domain supports.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSupportedPrivacy
Contact privacy options that the domain supports.
Parameter | |
---|---|
Name | Description |
var |
int[]
|
Returns | |
---|---|
Type | Description |
$this |
getYearlyPrice
Price to transfer or renew the domain for one year.
Returns | |
---|---|
Type | Description |
Google\Type\Money|null |
hasYearlyPrice
clearYearlyPrice
setYearlyPrice
Price to transfer or renew the domain for one year.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\Money
|
Returns | |
---|---|
Type | Description |
$this |