Represents a PipelineService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.contentwarehouse.v1.PipelineServicePackage
@google-cloud/contentwarehouseConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new PipelineService 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): PipelineService;Creates new PipelineService 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 |
PipelineService |
RPC service. Useful where requests and/or responses are streamed. |
runPipeline(request, callback)
public runPipeline(request: google.cloud.contentwarehouse.v1.IRunPipelineRequest, callback: google.cloud.contentwarehouse.v1.PipelineService.RunPipelineCallback): void;Calls RunPipeline.
| Parameters | |
|---|---|
| Name | Description |
request |
IRunPipelineRequest
RunPipelineRequest message or plain object |
callback |
RunPipelineCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
runPipeline(request)
public runPipeline(request: google.cloud.contentwarehouse.v1.IRunPipelineRequest): Promise<google.longrunning.Operation>;Calls RunPipeline.
| Parameter | |
|---|---|
| Name | Description |
request |
IRunPipelineRequest
RunPipelineRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.longrunning.Operation> |
Promise |