Represents a DomainMappings
Inheritance
$protobuf.rpc.Service > protos.google.appengine.v1.DomainMappingsPackage
@google-cloud/appengine-adminConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new DomainMappings service.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.appengine.v1.ICreateDomainMappingRequest
CreateDomainMappingRequest message or plain object |
callback |
google.appengine.v1.DomainMappings.CreateDomainMappingCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createDomainMapping(request)
public createDomainMapping(request: google.appengine.v1.ICreateDomainMappingRequest): Promise<google.longrunning.Operation>;
Calls CreateDomainMapping.
Parameter | |
---|---|
Name | Description |
request |
google.appengine.v1.ICreateDomainMappingRequest
CreateDomainMappingRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IDeleteDomainMappingRequest
DeleteDomainMappingRequest message or plain object |
callback |
google.appengine.v1.DomainMappings.DeleteDomainMappingCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteDomainMapping(request)
public deleteDomainMapping(request: google.appengine.v1.IDeleteDomainMappingRequest): Promise<google.longrunning.Operation>;
Calls DeleteDomainMapping.
Parameter | |
---|---|
Name | Description |
request |
IDeleteDomainMappingRequest
DeleteDomainMappingRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getDomainMapping(request)
public getDomainMapping(request: google.appengine.v1.IGetDomainMappingRequest): Promise<google.appengine.v1.DomainMapping>;
Calls GetDomainMapping.
Parameter | |
---|---|
Name | Description |
request |
google.appengine.v1.IGetDomainMappingRequest
GetDomainMappingRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
IListDomainMappingsRequest
ListDomainMappingsRequest message or plain object |
callback |
google.appengine.v1.DomainMappings.ListDomainMappingsCallback
Node-style callback called with the error, if any, and ListDomainMappingsResponse |
Returns | |
---|---|
Type | Description |
void |
listDomainMappings(request)
public listDomainMappings(request: google.appengine.v1.IListDomainMappingsRequest): Promise<google.appengine.v1.ListDomainMappingsResponse>;
Calls ListDomainMappings.
Parameter | |
---|---|
Name | Description |
request |
IListDomainMappingsRequest
ListDomainMappingsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
updateDomainMapping(request)
public updateDomainMapping(request: google.appengine.v1.IUpdateDomainMappingRequest): Promise<google.longrunning.Operation>;
Calls UpdateDomainMapping.
Parameter | |
---|---|
Name | Description |
request |
IUpdateDomainMappingRequest
UpdateDomainMappingRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |