Represents a Services
Inheritance
$protobuf.rpc.Service > protos.google.appengine.v1.ServicesPackage
@google-cloud/appengine-adminConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new Services 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): Services;Creates new Services 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 |
Services |
RPC service. Useful where requests and/or responses are streamed. |
deleteService(request, callback)
public deleteService(request: google.appengine.v1.IDeleteServiceRequest, callback: google.appengine.v1.Services.DeleteServiceCallback): void;Calls DeleteService.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
callback |
DeleteServiceCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteService(request)
public deleteService(request: google.appengine.v1.IDeleteServiceRequest): Promise<google.longrunning.Operation>;Calls DeleteService.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteServiceRequest
DeleteServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |
getService(request, callback)
public getService(request: google.appengine.v1.IGetServiceRequest, callback: google.appengine.v1.Services.GetServiceCallback): void;Calls GetService.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
callback |
GetServiceCallback
Node-style callback called with the error, if any, and Service |
| Returns | |
|---|---|
| Type | Description |
void |
|
getService(request)
public getService(request: google.appengine.v1.IGetServiceRequest): Promise<google.appengine.v1.Service>;Calls GetService.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetServiceRequest
GetServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.appengine.v1.Service> |
Promise |
listServices(request, callback)
public listServices(request: google.appengine.v1.IListServicesRequest, callback: google.appengine.v1.Services.ListServicesCallback): void;Calls ListServices.
| Parameters | |
|---|---|
| Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
callback |
ListServicesCallback
Node-style callback called with the error, if any, and ListServicesResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listServices(request)
public listServices(request: google.appengine.v1.IListServicesRequest): Promise<google.appengine.v1.ListServicesResponse>;Calls ListServices.
| Parameter | |
|---|---|
| Name | Description |
request |
IListServicesRequest
ListServicesRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.appengine.v1.ListServicesResponse> |
Promise |
updateService(request, callback)
public updateService(request: google.appengine.v1.IUpdateServiceRequest, callback: google.appengine.v1.Services.UpdateServiceCallback): void;Calls UpdateService.
| Parameters | |
|---|---|
| Name | Description |
request |
IUpdateServiceRequest
UpdateServiceRequest message or plain object |
callback |
UpdateServiceCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
updateService(request)
public updateService(request: google.appengine.v1.IUpdateServiceRequest): Promise<google.longrunning.Operation>;Calls UpdateService.
| Parameter | |
|---|---|
| Name | Description |
request |
IUpdateServiceRequest
UpdateServiceRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |