Google Cloud Domains V1 Client - Class AuthorizationCode (0.4.2)

Reference documentation and code samples for the Google Cloud Domains V1 Client class AuthorizationCode.

Defines an authorization code.

Generated from protobuf message google.cloud.domains.v1.AuthorizationCode

Namespace

Google \ Cloud \ Domains \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code string

The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.

getCode

The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.

Returns
TypeDescription
string

setCode

The Authorization Code in ASCII. It can be used to transfer the domain to or from another registrar.

Parameter
NameDescription
var string
Returns
TypeDescription
$this