Class protos.google.dataflow.v1beta3.FlexTemplatesService

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
Type Name Description
$protobuf.RPCImpl rpcImpl

RPC implementation

boolean requestDelimited

Whether requests are length-delimited

boolean responseDelimited

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
Type Name Description
$protobuf.RPCImpl rpcImpl

RPC implementation

boolean requestDelimited

Whether requests are length-delimited

boolean responseDelimited

Whether responses are length-delimited

Returns
Type Description
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
Type Name Description
google.dataflow.v1beta3.ILaunchFlexTemplateRequest request

LaunchFlexTemplateRequest message or plain object

google.dataflow.v1beta3.FlexTemplatesService.LaunchFlexTemplateCallback callback

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

Returns
Type Description
void

launchFlexTemplate(request)

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

Calls LaunchFlexTemplate.

Parameter
Type Name Description
google.dataflow.v1beta3.ILaunchFlexTemplateRequest request

LaunchFlexTemplateRequest message or plain object

Returns
Type Description
Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse>

Promise