Constructor
new FlexTemplatesService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new FlexTemplatesService service.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
launchFlexTemplate(request, callback) → {undefined}
Calls LaunchFlexTemplate.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.dataflow.v1beta3.ILaunchFlexTemplateRequest |
LaunchFlexTemplateRequest message or plain object |
callback |
google.dataflow.v1beta3.FlexTemplatesService.LaunchFlexTemplateCallback |
Node-style callback called with the error, if any, and LaunchFlexTemplateResponse |
Returns:
| Type | Description |
|---|---|
| undefined |
launchFlexTemplate(request) → {Promise.<google.dataflow.v1beta3.LaunchFlexTemplateResponse>}
Calls LaunchFlexTemplate.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.dataflow.v1beta3.ILaunchFlexTemplateRequest |
LaunchFlexTemplateRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.dataflow.v1beta3.LaunchFlexTemplateResponse> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {FlexTemplatesService}
Creates new FlexTemplatesService service using the specified rpc implementation.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
| Type | Description |
|---|---|
| FlexTemplatesService |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
LaunchFlexTemplateCallback(error, responseopt)
Callback as used by launchFlexTemplate.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.dataflow.v1beta3.LaunchFlexTemplateResponse |
<optional> |
LaunchFlexTemplateResponse |