Google Cloud Domains V1 Client - Class AuthorizationCode (1.0.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
Name Description
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
Type Description
string

setCode

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

Parameter
Name Description
var string
Returns
Type Description
$this