Class protos.google.cloud.contentwarehouse.v1.PipelineService (1.7.0)

Represents a PipelineService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.contentwarehouse.v1.PipelineService

Package

@google-cloud/contentwarehouse

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

Creates new PipelineService 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
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
NameDescription
request IRunPipelineRequest

RunPipelineRequest message or plain object

callback RunPipelineCallback

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

Returns
TypeDescription
void

runPipeline(request)

public runPipeline(request: google.cloud.contentwarehouse.v1.IRunPipelineRequest): Promise<google.longrunning.Operation>;

Calls RunPipeline.

Parameter
NameDescription
request IRunPipelineRequest

RunPipelineRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise