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.
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): FlexTemplatesService;
Creates new FlexTemplatesService 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 |
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 | |
---|---|
Name | Description |
request |
ILaunchFlexTemplateRequest
LaunchFlexTemplateRequest message or plain object |
callback |
LaunchFlexTemplateCallback
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 | |
---|---|
Name | Description |
request |
ILaunchFlexTemplateRequest
LaunchFlexTemplateRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse> | Promise |