Class protos.google.appengine.v1.DomainMappings (2.1.2)

Represents a DomainMappings

Inheritance

$protobuf.rpc.Service > protos.google.appengine.v1.DomainMappings

Package

@google-cloud/appengine-admin

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new DomainMappings service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new DomainMappings 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
DomainMappings

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

createDomainMapping(request, callback)

public createDomainMapping(request: google.appengine.v1.ICreateDomainMappingRequest, callback: google.appengine.v1.DomainMappings.CreateDomainMappingCallback): void;

Calls CreateDomainMapping.

Parameters
NameDescription
request ICreateDomainMappingRequest

CreateDomainMappingRequest message or plain object

callback google.appengine.v1.DomainMappings.CreateDomainMappingCallback

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

Returns
TypeDescription
void

createDomainMapping(request)

public createDomainMapping(request: google.appengine.v1.ICreateDomainMappingRequest): Promise<google.longrunning.Operation>;

Calls CreateDomainMapping.

Parameter
NameDescription
request ICreateDomainMappingRequest

CreateDomainMappingRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteDomainMapping(request, callback)

public deleteDomainMapping(request: google.appengine.v1.IDeleteDomainMappingRequest, callback: google.appengine.v1.DomainMappings.DeleteDomainMappingCallback): void;

Calls DeleteDomainMapping.

Parameters
NameDescription
request google.appengine.v1.IDeleteDomainMappingRequest

DeleteDomainMappingRequest message or plain object

callback google.appengine.v1.DomainMappings.DeleteDomainMappingCallback

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

Returns
TypeDescription
void

deleteDomainMapping(request)

public deleteDomainMapping(request: google.appengine.v1.IDeleteDomainMappingRequest): Promise<google.longrunning.Operation>;

Calls DeleteDomainMapping.

Parameter
NameDescription
request google.appengine.v1.IDeleteDomainMappingRequest

DeleteDomainMappingRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getDomainMapping(request, callback)

public getDomainMapping(request: google.appengine.v1.IGetDomainMappingRequest, callback: google.appengine.v1.DomainMappings.GetDomainMappingCallback): void;

Calls GetDomainMapping.

Parameters
NameDescription
request google.appengine.v1.IGetDomainMappingRequest

GetDomainMappingRequest message or plain object

callback google.appengine.v1.DomainMappings.GetDomainMappingCallback

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

Returns
TypeDescription
void

getDomainMapping(request)

public getDomainMapping(request: google.appengine.v1.IGetDomainMappingRequest): Promise<google.appengine.v1.DomainMapping>;

Calls GetDomainMapping.

Parameter
NameDescription
request google.appengine.v1.IGetDomainMappingRequest

GetDomainMappingRequest message or plain object

Returns
TypeDescription
Promise<google.appengine.v1.DomainMapping>

Promise

listDomainMappings(request, callback)

public listDomainMappings(request: google.appengine.v1.IListDomainMappingsRequest, callback: google.appengine.v1.DomainMappings.ListDomainMappingsCallback): void;

Calls ListDomainMappings.

Parameters
NameDescription
request google.appengine.v1.IListDomainMappingsRequest

ListDomainMappingsRequest message or plain object

callback google.appengine.v1.DomainMappings.ListDomainMappingsCallback

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

Returns
TypeDescription
void

listDomainMappings(request)

public listDomainMappings(request: google.appengine.v1.IListDomainMappingsRequest): Promise<google.appengine.v1.ListDomainMappingsResponse>;

Calls ListDomainMappings.

Parameter
NameDescription
request google.appengine.v1.IListDomainMappingsRequest

ListDomainMappingsRequest message or plain object

Returns
TypeDescription
Promise<google.appengine.v1.ListDomainMappingsResponse>

Promise

updateDomainMapping(request, callback)

public updateDomainMapping(request: google.appengine.v1.IUpdateDomainMappingRequest, callback: google.appengine.v1.DomainMappings.UpdateDomainMappingCallback): void;

Calls UpdateDomainMapping.

Parameters
NameDescription
request IUpdateDomainMappingRequest

UpdateDomainMappingRequest message or plain object

callback google.appengine.v1.DomainMappings.UpdateDomainMappingCallback

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

Returns
TypeDescription
void

updateDomainMapping(request)

public updateDomainMapping(request: google.appengine.v1.IUpdateDomainMappingRequest): Promise<google.longrunning.Operation>;

Calls UpdateDomainMapping.

Parameter
NameDescription
request IUpdateDomainMappingRequest

UpdateDomainMappingRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise