Class protos.google.cloud.domains.v1alpha2.Domains (2.2.2)

Represents a Domains

Inheritance

$protobuf.rpc.Service > protos.google.cloud.domains.v1alpha2.Domains

Package

@google-cloud/domains

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Domains service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

configureContactSettings(request, callback)

public configureContactSettings(request: google.cloud.domains.v1alpha2.IConfigureContactSettingsRequest, callback: google.cloud.domains.v1alpha2.Domains.ConfigureContactSettingsCallback): void;

Calls ConfigureContactSettings.

Parameters
NameDescription
request IConfigureContactSettingsRequest

ConfigureContactSettingsRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.ConfigureContactSettingsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

configureContactSettings(request)

public configureContactSettings(request: google.cloud.domains.v1alpha2.IConfigureContactSettingsRequest): Promise<google.longrunning.Operation>;

Calls ConfigureContactSettings.

Parameter
NameDescription
request IConfigureContactSettingsRequest

ConfigureContactSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

configureDnsSettings(request, callback)

public configureDnsSettings(request: google.cloud.domains.v1alpha2.IConfigureDnsSettingsRequest, callback: google.cloud.domains.v1alpha2.Domains.ConfigureDnsSettingsCallback): void;

Calls ConfigureDnsSettings.

Parameters
NameDescription
request IConfigureDnsSettingsRequest

ConfigureDnsSettingsRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.ConfigureDnsSettingsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

configureDnsSettings(request)

public configureDnsSettings(request: google.cloud.domains.v1alpha2.IConfigureDnsSettingsRequest): Promise<google.longrunning.Operation>;

Calls ConfigureDnsSettings.

Parameter
NameDescription
request IConfigureDnsSettingsRequest

ConfigureDnsSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

configureManagementSettings(request, callback)

public configureManagementSettings(request: google.cloud.domains.v1alpha2.IConfigureManagementSettingsRequest, callback: google.cloud.domains.v1alpha2.Domains.ConfigureManagementSettingsCallback): void;

Calls ConfigureManagementSettings.

Parameters
NameDescription
request IConfigureManagementSettingsRequest

ConfigureManagementSettingsRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.ConfigureManagementSettingsCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

configureManagementSettings(request)

public configureManagementSettings(request: google.cloud.domains.v1alpha2.IConfigureManagementSettingsRequest): Promise<google.longrunning.Operation>;

Calls ConfigureManagementSettings.

Parameter
NameDescription
request IConfigureManagementSettingsRequest

ConfigureManagementSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Domains;

Creates new Domains service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
Domains

RPC service. Useful where requests and/or responses are streamed.

deleteRegistration(request, callback)

public deleteRegistration(request: google.cloud.domains.v1alpha2.IDeleteRegistrationRequest, callback: google.cloud.domains.v1alpha2.Domains.DeleteRegistrationCallback): void;

Calls DeleteRegistration.

Parameters
NameDescription
request IDeleteRegistrationRequest

DeleteRegistrationRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.DeleteRegistrationCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteRegistration(request)

public deleteRegistration(request: google.cloud.domains.v1alpha2.IDeleteRegistrationRequest): Promise<google.longrunning.Operation>;

Calls DeleteRegistration.

Parameter
NameDescription
request IDeleteRegistrationRequest

DeleteRegistrationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

exportRegistration(request, callback)

public exportRegistration(request: google.cloud.domains.v1alpha2.IExportRegistrationRequest, callback: google.cloud.domains.v1alpha2.Domains.ExportRegistrationCallback): void;

Calls ExportRegistration.

Parameters
NameDescription
request IExportRegistrationRequest

ExportRegistrationRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.ExportRegistrationCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

exportRegistration(request)

public exportRegistration(request: google.cloud.domains.v1alpha2.IExportRegistrationRequest): Promise<google.longrunning.Operation>;

Calls ExportRegistration.

Parameter
NameDescription
request IExportRegistrationRequest

ExportRegistrationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getRegistration(request, callback)

public getRegistration(request: google.cloud.domains.v1alpha2.IGetRegistrationRequest, callback: google.cloud.domains.v1alpha2.Domains.GetRegistrationCallback): void;

Calls GetRegistration.

Parameters
NameDescription
request IGetRegistrationRequest

GetRegistrationRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.GetRegistrationCallback

Node-style callback called with the error, if any, and Registration

Returns
TypeDescription
void

getRegistration(request)

public getRegistration(request: google.cloud.domains.v1alpha2.IGetRegistrationRequest): Promise<google.cloud.domains.v1alpha2.Registration>;

Calls GetRegistration.

Parameter
NameDescription
request IGetRegistrationRequest

GetRegistrationRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.Registration>

Promise

listRegistrations(request, callback)

public listRegistrations(request: google.cloud.domains.v1alpha2.IListRegistrationsRequest, callback: google.cloud.domains.v1alpha2.Domains.ListRegistrationsCallback): void;

Calls ListRegistrations.

Parameters
NameDescription
request IListRegistrationsRequest

ListRegistrationsRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.ListRegistrationsCallback

Node-style callback called with the error, if any, and ListRegistrationsResponse

Returns
TypeDescription
void

listRegistrations(request)

public listRegistrations(request: google.cloud.domains.v1alpha2.IListRegistrationsRequest): Promise<google.cloud.domains.v1alpha2.ListRegistrationsResponse>;

Calls ListRegistrations.

Parameter
NameDescription
request IListRegistrationsRequest

ListRegistrationsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.ListRegistrationsResponse>

Promise

registerDomain(request, callback)

public registerDomain(request: google.cloud.domains.v1alpha2.IRegisterDomainRequest, callback: google.cloud.domains.v1alpha2.Domains.RegisterDomainCallback): void;

Calls RegisterDomain.

Parameters
NameDescription
request IRegisterDomainRequest

RegisterDomainRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.RegisterDomainCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

registerDomain(request)

public registerDomain(request: google.cloud.domains.v1alpha2.IRegisterDomainRequest): Promise<google.longrunning.Operation>;

Calls RegisterDomain.

Parameter
NameDescription
request IRegisterDomainRequest

RegisterDomainRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

resetAuthorizationCode(request, callback)

public resetAuthorizationCode(request: google.cloud.domains.v1alpha2.IResetAuthorizationCodeRequest, callback: google.cloud.domains.v1alpha2.Domains.ResetAuthorizationCodeCallback): void;

Calls ResetAuthorizationCode.

Parameters
NameDescription
request IResetAuthorizationCodeRequest

ResetAuthorizationCodeRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.ResetAuthorizationCodeCallback

Node-style callback called with the error, if any, and AuthorizationCode

Returns
TypeDescription
void

resetAuthorizationCode(request)

public resetAuthorizationCode(request: google.cloud.domains.v1alpha2.IResetAuthorizationCodeRequest): Promise<google.cloud.domains.v1alpha2.AuthorizationCode>;

Calls ResetAuthorizationCode.

Parameter
NameDescription
request IResetAuthorizationCodeRequest

ResetAuthorizationCodeRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.AuthorizationCode>

Promise

retrieveAuthorizationCode(request, callback)

public retrieveAuthorizationCode(request: google.cloud.domains.v1alpha2.IRetrieveAuthorizationCodeRequest, callback: google.cloud.domains.v1alpha2.Domains.RetrieveAuthorizationCodeCallback): void;

Calls RetrieveAuthorizationCode.

Parameters
NameDescription
request IRetrieveAuthorizationCodeRequest

RetrieveAuthorizationCodeRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.RetrieveAuthorizationCodeCallback

Node-style callback called with the error, if any, and AuthorizationCode

Returns
TypeDescription
void

retrieveAuthorizationCode(request)

public retrieveAuthorizationCode(request: google.cloud.domains.v1alpha2.IRetrieveAuthorizationCodeRequest): Promise<google.cloud.domains.v1alpha2.AuthorizationCode>;

Calls RetrieveAuthorizationCode.

Parameter
NameDescription
request IRetrieveAuthorizationCodeRequest

RetrieveAuthorizationCodeRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.AuthorizationCode>

Promise

retrieveRegisterParameters(request, callback)

public retrieveRegisterParameters(request: google.cloud.domains.v1alpha2.IRetrieveRegisterParametersRequest, callback: google.cloud.domains.v1alpha2.Domains.RetrieveRegisterParametersCallback): void;

Calls RetrieveRegisterParameters.

Parameters
NameDescription
request IRetrieveRegisterParametersRequest

RetrieveRegisterParametersRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.RetrieveRegisterParametersCallback

Node-style callback called with the error, if any, and RetrieveRegisterParametersResponse

Returns
TypeDescription
void

retrieveRegisterParameters(request)

public retrieveRegisterParameters(request: google.cloud.domains.v1alpha2.IRetrieveRegisterParametersRequest): Promise<google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>;

Calls RetrieveRegisterParameters.

Parameter
NameDescription
request IRetrieveRegisterParametersRequest

RetrieveRegisterParametersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.RetrieveRegisterParametersResponse>

Promise

retrieveTransferParameters(request, callback)

public retrieveTransferParameters(request: google.cloud.domains.v1alpha2.IRetrieveTransferParametersRequest, callback: google.cloud.domains.v1alpha2.Domains.RetrieveTransferParametersCallback): void;

Calls RetrieveTransferParameters.

Parameters
NameDescription
request IRetrieveTransferParametersRequest

RetrieveTransferParametersRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.RetrieveTransferParametersCallback

Node-style callback called with the error, if any, and RetrieveTransferParametersResponse

Returns
TypeDescription
void

retrieveTransferParameters(request)

public retrieveTransferParameters(request: google.cloud.domains.v1alpha2.IRetrieveTransferParametersRequest): Promise<google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>;

Calls RetrieveTransferParameters.

Parameter
NameDescription
request IRetrieveTransferParametersRequest

RetrieveTransferParametersRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.RetrieveTransferParametersResponse>

Promise

searchDomains(request, callback)

public searchDomains(request: google.cloud.domains.v1alpha2.ISearchDomainsRequest, callback: google.cloud.domains.v1alpha2.Domains.SearchDomainsCallback): void;

Calls SearchDomains.

Parameters
NameDescription
request ISearchDomainsRequest

SearchDomainsRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.SearchDomainsCallback

Node-style callback called with the error, if any, and SearchDomainsResponse

Returns
TypeDescription
void

searchDomains(request)

public searchDomains(request: google.cloud.domains.v1alpha2.ISearchDomainsRequest): Promise<google.cloud.domains.v1alpha2.SearchDomainsResponse>;

Calls SearchDomains.

Parameter
NameDescription
request ISearchDomainsRequest

SearchDomainsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.domains.v1alpha2.SearchDomainsResponse>

Promise

transferDomain(request, callback)

public transferDomain(request: google.cloud.domains.v1alpha2.ITransferDomainRequest, callback: google.cloud.domains.v1alpha2.Domains.TransferDomainCallback): void;

Calls TransferDomain.

Parameters
NameDescription
request ITransferDomainRequest

TransferDomainRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.TransferDomainCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

transferDomain(request)

public transferDomain(request: google.cloud.domains.v1alpha2.ITransferDomainRequest): Promise<google.longrunning.Operation>;

Calls TransferDomain.

Parameter
NameDescription
request ITransferDomainRequest

TransferDomainRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateRegistration(request, callback)

public updateRegistration(request: google.cloud.domains.v1alpha2.IUpdateRegistrationRequest, callback: google.cloud.domains.v1alpha2.Domains.UpdateRegistrationCallback): void;

Calls UpdateRegistration.

Parameters
NameDescription
request IUpdateRegistrationRequest

UpdateRegistrationRequest message or plain object

callback google.cloud.domains.v1alpha2.Domains.UpdateRegistrationCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateRegistration(request)

public updateRegistration(request: google.cloud.domains.v1alpha2.IUpdateRegistrationRequest): Promise<google.longrunning.Operation>;

Calls UpdateRegistration.

Parameter
NameDescription
request IUpdateRegistrationRequest

UpdateRegistrationRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise