Class protos.google.dataflow.v1beta3.FlexTemplatesService (3.0.2)

Represents a FlexTemplatesService

Inheritance

$protobuf.rpc.Service > protos.google.dataflow.v1beta3.FlexTemplatesService

Package

@google-cloud/dataflow

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

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

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

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

launchFlexTemplate(request, callback)

public launchFlexTemplate(request: google.dataflow.v1beta3.ILaunchFlexTemplateRequest, callback: google.dataflow.v1beta3.FlexTemplatesService.LaunchFlexTemplateCallback): void;

Calls LaunchFlexTemplate.

Parameters
NameDescription
request ILaunchFlexTemplateRequest

LaunchFlexTemplateRequest message or plain object

callback LaunchFlexTemplateCallback

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

Returns
TypeDescription
void

launchFlexTemplate(request)

public launchFlexTemplate(request: google.dataflow.v1beta3.ILaunchFlexTemplateRequest): Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse>;

Calls LaunchFlexTemplate.

Parameter
NameDescription
request ILaunchFlexTemplateRequest

LaunchFlexTemplateRequest message or plain object

Returns
TypeDescription
Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse>

Promise