Represents a FlexTemplatesService
Inheritance
$protobuf.rpc.Service > protos.google.dataflow.v1beta3.FlexTemplatesServicePackage
@google-cloud/dataflowConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new FlexTemplatesService service.
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): FlexTemplatesService;
Creates new FlexTemplatesService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
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.
Name | Description |
request |
ILaunchFlexTemplateRequest
LaunchFlexTemplateRequest message or plain object |
callback |
google.dataflow.v1beta3.FlexTemplatesService.LaunchFlexTemplateCallback
Node-style callback called with the error, if any, and LaunchFlexTemplateResponse |
Type | Description |
void |
launchFlexTemplate(request)
public launchFlexTemplate(request: google.dataflow.v1beta3.ILaunchFlexTemplateRequest): Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse>;
Calls LaunchFlexTemplate.
Name | Description |
request |
ILaunchFlexTemplateRequest
LaunchFlexTemplateRequest message or plain object |
Type | Description |
Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse> | Promise |