Google Cloud Domains V1beta1 Client - Class RegisterDomainRequest (0.3.1)

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

Request for the RegisterDomain method.

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

Namespace

Google \ Cloud \ Domains \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Domains\V1beta1\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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegistration

Required. The complete Registration resource to be created.

Returns
TypeDescription
Google\Cloud\Domains\V1beta1\Registration|null

hasRegistration

clearRegistration

setRegistration

Required. The complete Registration resource to be created.

Parameter
NameDescription
var Google\Cloud\Domains\V1beta1\Registration
Returns
TypeDescription
$this

getDomainNotices

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setDomainNotices

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

Parameter
NameDescription
var int[]
Returns
TypeDescription
$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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setContactNotices

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

Parameter
NameDescription
var int[]
Returns
TypeDescription
$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
TypeDescription
Google\Type\Money|null

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
NameDescription
var Google\Type\Money
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this