Represents a FlexTemplatesService
Inheritance
$protobuf.rpc.Service > protos.google.dataflow.v1beta3.FlexTemplatesServicePackage
@google-cloud/dataflow!Constructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new FlexTemplatesService service.
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.
Type | Name | Description |
---|---|---|
$protobuf.RPCImpl | rpcImpl |
RPC implementation |
boolean | requestDelimited |
Whether requests are length-delimited |
boolean | responseDelimited |
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.
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 |
Type | Description |
---|---|
void |
launchFlexTemplate(request)
public launchFlexTemplate(request: google.dataflow.v1beta3.ILaunchFlexTemplateRequest): Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse>;
Calls LaunchFlexTemplate.
Type | Name | Description |
---|---|---|
google.dataflow.v1beta3.ILaunchFlexTemplateRequest | request |
LaunchFlexTemplateRequest message or plain object |
Type | Description |
---|---|
Promise<google.dataflow.v1beta3.LaunchFlexTemplateResponse> | Promise |