Represents an EngineService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.discoveryengine.v1beta.EngineServicePackage
@google-cloud/discoveryengineConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new EngineService 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): EngineService;
Creates new EngineService 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 |
EngineService |
RPC service. Useful where requests and/or responses are streamed. |
createEngine(request, callback)
public createEngine(request: google.cloud.discoveryengine.v1beta.ICreateEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.CreateEngineCallback): void;
Calls CreateEngine.
Parameters | |
---|---|
Name | Description |
request |
ICreateEngineRequest
CreateEngineRequest message or plain object |
callback |
CreateEngineCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
createEngine(request)
public createEngine(request: google.cloud.discoveryengine.v1beta.ICreateEngineRequest): Promise<google.longrunning.Operation>;
Calls CreateEngine.
Parameter | |
---|---|
Name | Description |
request |
ICreateEngineRequest
CreateEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> |
Promise |
deleteEngine(request, callback)
public deleteEngine(request: google.cloud.discoveryengine.v1beta.IDeleteEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.DeleteEngineCallback): void;
Calls DeleteEngine.
Parameters | |
---|---|
Name | Description |
request |
IDeleteEngineRequest
DeleteEngineRequest message or plain object |
callback |
DeleteEngineCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
deleteEngine(request)
public deleteEngine(request: google.cloud.discoveryengine.v1beta.IDeleteEngineRequest): Promise<google.longrunning.Operation>;
Calls DeleteEngine.
Parameter | |
---|---|
Name | Description |
request |
IDeleteEngineRequest
DeleteEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> |
Promise |
getEngine(request, callback)
public getEngine(request: google.cloud.discoveryengine.v1beta.IGetEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.GetEngineCallback): void;
Calls GetEngine.
Parameters | |
---|---|
Name | Description |
request |
IGetEngineRequest
GetEngineRequest message or plain object |
callback |
GetEngineCallback
Node-style callback called with the error, if any, and Engine |
Returns | |
---|---|
Type | Description |
void |
getEngine(request)
public getEngine(request: google.cloud.discoveryengine.v1beta.IGetEngineRequest): Promise<google.cloud.discoveryengine.v1beta.Engine>;
Calls GetEngine.
Parameter | |
---|---|
Name | Description |
request |
IGetEngineRequest
GetEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.discoveryengine.v1beta.Engine> |
Promise |
listEngines(request, callback)
public listEngines(request: google.cloud.discoveryengine.v1beta.IListEnginesRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.ListEnginesCallback): void;
Calls ListEngines.
Parameters | |
---|---|
Name | Description |
request |
IListEnginesRequest
ListEnginesRequest message or plain object |
callback |
ListEnginesCallback
Node-style callback called with the error, if any, and ListEnginesResponse |
Returns | |
---|---|
Type | Description |
void |
listEngines(request)
public listEngines(request: google.cloud.discoveryengine.v1beta.IListEnginesRequest): Promise<google.cloud.discoveryengine.v1beta.ListEnginesResponse>;
Calls ListEngines.
Parameter | |
---|---|
Name | Description |
request |
IListEnginesRequest
ListEnginesRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.discoveryengine.v1beta.ListEnginesResponse> |
Promise |
pauseEngine(request, callback)
public pauseEngine(request: google.cloud.discoveryengine.v1beta.IPauseEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.PauseEngineCallback): void;
Calls PauseEngine.
Parameters | |
---|---|
Name | Description |
request |
IPauseEngineRequest
PauseEngineRequest message or plain object |
callback |
PauseEngineCallback
Node-style callback called with the error, if any, and Engine |
Returns | |
---|---|
Type | Description |
void |
pauseEngine(request)
public pauseEngine(request: google.cloud.discoveryengine.v1beta.IPauseEngineRequest): Promise<google.cloud.discoveryengine.v1beta.Engine>;
Calls PauseEngine.
Parameter | |
---|---|
Name | Description |
request |
IPauseEngineRequest
PauseEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.discoveryengine.v1beta.Engine> |
Promise |
resumeEngine(request, callback)
public resumeEngine(request: google.cloud.discoveryengine.v1beta.IResumeEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.ResumeEngineCallback): void;
Calls ResumeEngine.
Parameters | |
---|---|
Name | Description |
request |
IResumeEngineRequest
ResumeEngineRequest message or plain object |
callback |
ResumeEngineCallback
Node-style callback called with the error, if any, and Engine |
Returns | |
---|---|
Type | Description |
void |
resumeEngine(request)
public resumeEngine(request: google.cloud.discoveryengine.v1beta.IResumeEngineRequest): Promise<google.cloud.discoveryengine.v1beta.Engine>;
Calls ResumeEngine.
Parameter | |
---|---|
Name | Description |
request |
IResumeEngineRequest
ResumeEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.discoveryengine.v1beta.Engine> |
Promise |
tuneEngine(request, callback)
public tuneEngine(request: google.cloud.discoveryengine.v1beta.ITuneEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.TuneEngineCallback): void;
Calls TuneEngine.
Parameters | |
---|---|
Name | Description |
request |
ITuneEngineRequest
TuneEngineRequest message or plain object |
callback |
TuneEngineCallback
Node-style callback called with the error, if any, and Operation |
Returns | |
---|---|
Type | Description |
void |
tuneEngine(request)
public tuneEngine(request: google.cloud.discoveryengine.v1beta.ITuneEngineRequest): Promise<google.longrunning.Operation>;
Calls TuneEngine.
Parameter | |
---|---|
Name | Description |
request |
ITuneEngineRequest
TuneEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> |
Promise |
updateEngine(request, callback)
public updateEngine(request: google.cloud.discoveryengine.v1beta.IUpdateEngineRequest, callback: google.cloud.discoveryengine.v1beta.EngineService.UpdateEngineCallback): void;
Calls UpdateEngine.
Parameters | |
---|---|
Name | Description |
request |
IUpdateEngineRequest
UpdateEngineRequest message or plain object |
callback |
UpdateEngineCallback
Node-style callback called with the error, if any, and Engine |
Returns | |
---|---|
Type | Description |
void |
updateEngine(request)
public updateEngine(request: google.cloud.discoveryengine.v1beta.IUpdateEngineRequest): Promise<google.cloud.discoveryengine.v1beta.Engine>;
Calls UpdateEngine.
Parameter | |
---|---|
Name | Description |
request |
IUpdateEngineRequest
UpdateEngineRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.cloud.discoveryengine.v1beta.Engine> |
Promise |