Class protos.google.cloud.discoveryengine.v1alpha.EngineService (1.7.0)

Represents an EngineService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1alpha.EngineService

Package

@google-cloud/discoveryengine

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

createEngine(request, callback)

public createEngine(request: google.cloud.discoveryengine.v1alpha.ICreateEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.CreateEngineCallback): void;

Calls CreateEngine.

Parameters
NameDescription
request ICreateEngineRequest

CreateEngineRequest message or plain object

callback CreateEngineCallback

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

Returns
TypeDescription
void

createEngine(request)

public createEngine(request: google.cloud.discoveryengine.v1alpha.ICreateEngineRequest): Promise<google.longrunning.Operation>;

Calls CreateEngine.

Parameter
NameDescription
request ICreateEngineRequest

CreateEngineRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteEngine(request, callback)

public deleteEngine(request: google.cloud.discoveryengine.v1alpha.IDeleteEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.DeleteEngineCallback): void;

Calls DeleteEngine.

Parameters
NameDescription
request IDeleteEngineRequest

DeleteEngineRequest message or plain object

callback DeleteEngineCallback

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

Returns
TypeDescription
void

deleteEngine(request)

public deleteEngine(request: google.cloud.discoveryengine.v1alpha.IDeleteEngineRequest): Promise<google.longrunning.Operation>;

Calls DeleteEngine.

Parameter
NameDescription
request IDeleteEngineRequest

DeleteEngineRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getEngine(request, callback)

public getEngine(request: google.cloud.discoveryengine.v1alpha.IGetEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.GetEngineCallback): void;

Calls GetEngine.

Parameters
NameDescription
request IGetEngineRequest

GetEngineRequest message or plain object

callback GetEngineCallback

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

Returns
TypeDescription
void

getEngine(request)

public getEngine(request: google.cloud.discoveryengine.v1alpha.IGetEngineRequest): Promise<google.cloud.discoveryengine.v1alpha.Engine>;

Calls GetEngine.

Parameter
NameDescription
request IGetEngineRequest

GetEngineRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.Engine>

Promise

listEngines(request, callback)

public listEngines(request: google.cloud.discoveryengine.v1alpha.IListEnginesRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.ListEnginesCallback): void;

Calls ListEngines.

Parameters
NameDescription
request IListEnginesRequest

ListEnginesRequest message or plain object

callback ListEnginesCallback

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

Returns
TypeDescription
void

listEngines(request)

public listEngines(request: google.cloud.discoveryengine.v1alpha.IListEnginesRequest): Promise<google.cloud.discoveryengine.v1alpha.ListEnginesResponse>;

Calls ListEngines.

Parameter
NameDescription
request IListEnginesRequest

ListEnginesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.ListEnginesResponse>

Promise

pauseEngine(request, callback)

public pauseEngine(request: google.cloud.discoveryengine.v1alpha.IPauseEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.PauseEngineCallback): void;

Calls PauseEngine.

Parameters
NameDescription
request IPauseEngineRequest

PauseEngineRequest message or plain object

callback PauseEngineCallback

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

Returns
TypeDescription
void

pauseEngine(request)

public pauseEngine(request: google.cloud.discoveryengine.v1alpha.IPauseEngineRequest): Promise<google.cloud.discoveryengine.v1alpha.Engine>;

Calls PauseEngine.

Parameter
NameDescription
request IPauseEngineRequest

PauseEngineRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.Engine>

Promise

resumeEngine(request, callback)

public resumeEngine(request: google.cloud.discoveryengine.v1alpha.IResumeEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.ResumeEngineCallback): void;

Calls ResumeEngine.

Parameters
NameDescription
request IResumeEngineRequest

ResumeEngineRequest message or plain object

callback ResumeEngineCallback

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

Returns
TypeDescription
void

resumeEngine(request)

public resumeEngine(request: google.cloud.discoveryengine.v1alpha.IResumeEngineRequest): Promise<google.cloud.discoveryengine.v1alpha.Engine>;

Calls ResumeEngine.

Parameter
NameDescription
request IResumeEngineRequest

ResumeEngineRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.Engine>

Promise

tuneEngine(request, callback)

public tuneEngine(request: google.cloud.discoveryengine.v1alpha.ITuneEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.TuneEngineCallback): void;

Calls TuneEngine.

Parameters
NameDescription
request ITuneEngineRequest

TuneEngineRequest message or plain object

callback TuneEngineCallback

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

Returns
TypeDescription
void

tuneEngine(request)

public tuneEngine(request: google.cloud.discoveryengine.v1alpha.ITuneEngineRequest): Promise<google.longrunning.Operation>;

Calls TuneEngine.

Parameter
NameDescription
request ITuneEngineRequest

TuneEngineRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

updateEngine(request, callback)

public updateEngine(request: google.cloud.discoveryengine.v1alpha.IUpdateEngineRequest, callback: google.cloud.discoveryengine.v1alpha.EngineService.UpdateEngineCallback): void;

Calls UpdateEngine.

Parameters
NameDescription
request IUpdateEngineRequest

UpdateEngineRequest message or plain object

callback UpdateEngineCallback

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

Returns
TypeDescription
void

updateEngine(request)

public updateEngine(request: google.cloud.discoveryengine.v1alpha.IUpdateEngineRequest): Promise<google.cloud.discoveryengine.v1alpha.Engine>;

Calls UpdateEngine.

Parameter
NameDescription
request IUpdateEngineRequest

UpdateEngineRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.discoveryengine.v1alpha.Engine>

Promise