Google Cloud Domains V1 Client - Class RegisterDomainRequest (1.1.1)

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

Request for the RegisterDomain method.

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

Namespace

Google \ Cloud \ Domains \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ parent
string

Required. The parent resource of the Registration . Must be in the format projects/*/locations/* .

↳ registration
Registration

Required. The complete Registration resource to be created.

↳ domain_notices
array

The list of domain notices that you acknowledge. Call RetrieveRegisterParameters to see the notices that need acknowledgement.

↳ contact_notices
array

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in registration.contact_settings .

↳ yearly_price
Google\Type\Money

Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.

↳ validate_only
bool

When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation

getParent

Required. The parent resource of the Registration . Must be in the format projects/*/locations/* .

Returns
Type
Description
string

setParent

Required. The parent resource of the Registration . Must be in the format projects/*/locations/* .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRegistration

Required. The complete Registration resource to be created.

Returns
Type
Description
Registration |null

hasRegistration

clearRegistration

setRegistration

Required. The complete Registration resource to be created.

Parameter
Name
Description
Returns
Type
Description
$this

getDomainNotices

The list of domain notices that you acknowledge. Call RetrieveRegisterParameters to see the notices that need acknowledgement.

Returns
Type
Description

setDomainNotices

The list of domain notices that you acknowledge. Call RetrieveRegisterParameters to see the notices that need acknowledgement.

Parameter
Name
Description
var
int[]
Returns
Type
Description
$this

getContactNotices

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in registration.contact_settings .

Returns
Type
Description

setContactNotices

The list of contact notices that the caller acknowledges. The notices needed here depend on the values specified in registration.contact_settings .

Parameter
Name
Description
var
int[]
Returns
Type
Description
$this

getYearlyPrice

Required. Yearly price to register or renew the domain.

The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.

Returns
Type
Description

hasYearlyPrice

clearYearlyPrice

setYearlyPrice

Required. Yearly price to register or renew the domain.

The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.

Parameter
Name
Description
Returns
Type
Description
$this

getValidateOnly

When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation

Returns
Type
Description
bool

setValidateOnly

When true, only validation is performed, without actually registering the domain. Follows: https://cloud.google.com/apis/design/design_patterns#request_validation

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

static::build

Parameters
Name
Description
parent
string

Required. The parent resource of the Registration . Must be in the format projects/*/locations/* . Please see DomainsClient::locationName() for help formatting this field.

registration
Registration

Required. The complete Registration resource to be created.

yearlyPrice
Google\Type\Money

Required. Yearly price to register or renew the domain. The value that should be put here can be obtained from RetrieveRegisterParameters or SearchDomains calls.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: