Class protos.google.appengine.v1.Services (3.2.0)

Represents a Services

Inheritance

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

Package

@google-cloud/appengine-admin

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new Services 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): Services;

Creates new Services 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
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
NameDescription
request IDeleteServiceRequest

DeleteServiceRequest message or plain object

callback DeleteServiceCallback

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

Returns
TypeDescription
void

deleteService(request)

public deleteService(request: google.appengine.v1.IDeleteServiceRequest): Promise<google.longrunning.Operation>;

Calls DeleteService.

Parameter
NameDescription
request IDeleteServiceRequest

DeleteServiceRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IGetServiceRequest

GetServiceRequest message or plain object

callback GetServiceCallback

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

Returns
TypeDescription
void

getService(request)

public getService(request: google.appengine.v1.IGetServiceRequest): Promise<google.appengine.v1.Service>;

Calls GetService.

Parameter
NameDescription
request IGetServiceRequest

GetServiceRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IListServicesRequest

ListServicesRequest message or plain object

callback ListServicesCallback

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

Returns
TypeDescription
void

listServices(request)

public listServices(request: google.appengine.v1.IListServicesRequest): Promise<google.appengine.v1.ListServicesResponse>;

Calls ListServices.

Parameter
NameDescription
request IListServicesRequest

ListServicesRequest message or plain object

Returns
TypeDescription
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
NameDescription
request IUpdateServiceRequest

UpdateServiceRequest message or plain object

callback UpdateServiceCallback

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

Returns
TypeDescription
void

updateService(request)

public updateService(request: google.appengine.v1.IUpdateServiceRequest): Promise<google.longrunning.Operation>;

Calls UpdateService.

Parameter
NameDescription
request IUpdateServiceRequest

UpdateServiceRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise