Reference documentation and code samples for the Google Cloud Domains V1 Client class TransferParameters.
Parameters required to transfer a domain from another registrar.
Generated from protobuf messagegoogle.cloud.domains.v1.TransferParameters
Namespace
Google \ Cloud \ Domains \ V1
Methods
__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 showUNLOCKED. To unlock a domain, go to its current registrar.
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 showUNLOCKED. 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 showUNLOCKED. To unlock a domain,
go to its current registrar.
[[["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,["# Google Cloud Domains V1 Client - Class TransferParameters (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-domains/latest/V1.TransferParameters)\n- [1.0.3](/php/docs/reference/cloud-domains/1.0.3/V1.TransferParameters)\n- [0.5.5](/php/docs/reference/cloud-domains/0.5.5/V1.TransferParameters)\n- [0.4.2](/php/docs/reference/cloud-domains/0.4.2/V1.TransferParameters)\n- [0.3.1](/php/docs/reference/cloud-domains/0.3.1/V1.TransferParameters)\n- [0.2.11](/php/docs/reference/cloud-domains/0.2.11/V1.TransferParameters) \nReference documentation and code samples for the Google Cloud Domains V1 Client class TransferParameters.\n\nParameters required to transfer a domain from another registrar.\n\nGenerated from protobuf message `google.cloud.domains.v1.TransferParameters`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Domains \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getDomainName\n\nThe domain name. Unicode domain names are expressed in Punycode format.\n\n### setDomainName\n\nThe domain name. Unicode domain names are expressed in Punycode format.\n\n### getCurrentRegistrar\n\nThe registrar that currently manages the domain.\n\n### setCurrentRegistrar\n\nThe registrar that currently manages the domain.\n\n### getNameServers\n\nThe name servers that currently store the configuration of the domain.\n\n### setNameServers\n\nThe name servers that currently store the configuration of the domain.\n\n### getTransferLockState\n\nIndicates whether the domain is protected by a transfer lock. For a\ntransfer to succeed, this must show `UNLOCKED`. To unlock a domain,\ngo to its current registrar.\n\n### setTransferLockState\n\nIndicates whether the domain is protected by a transfer lock. For a\ntransfer to succeed, this must show `UNLOCKED`. To unlock a domain,\ngo to its current registrar.\n\n### getSupportedPrivacy\n\nContact privacy options that the domain supports.\n\n### setSupportedPrivacy\n\nContact privacy options that the domain supports.\n\n### getYearlyPrice\n\nPrice to transfer or renew the domain for one year.\n\n### hasYearlyPrice\n\n### clearYearlyPrice\n\n### setYearlyPrice\n\nPrice to transfer or renew the domain for one year."]]