Represents an Executions
Inheritance
$protobuf.rpc.Service > protos.google.cloud.workflows.executions.v1beta.ExecutionsPackage
@google-cloud/workflowsConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);Constructs a new Executions service.
| Parameters | |
|---|---|
| Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
cancelExecution(request, callback)
public cancelExecution(request: google.cloud.workflows.executions.v1beta.ICancelExecutionRequest, callback: google.cloud.workflows.executions.v1beta.Executions.CancelExecutionCallback): void;Calls CancelExecution.
| Parameters | |
|---|---|
| Name | Description |
request |
ICancelExecutionRequest
CancelExecutionRequest message or plain object |
callback |
CancelExecutionCallback
Node-style callback called with the error, if any, and Execution |
| Returns | |
|---|---|
| Type | Description |
void |
|
cancelExecution(request)
public cancelExecution(request: google.cloud.workflows.executions.v1beta.ICancelExecutionRequest): Promise<google.cloud.workflows.executions.v1beta.Execution>;Calls CancelExecution.
| Parameter | |
|---|---|
| Name | Description |
request |
ICancelExecutionRequest
CancelExecutionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.workflows.executions.v1beta.Execution> |
Promise |
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Executions;Creates new Executions 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 |
Executions |
RPC service. Useful where requests and/or responses are streamed. |
createExecution(request, callback)
public createExecution(request: google.cloud.workflows.executions.v1beta.ICreateExecutionRequest, callback: google.cloud.workflows.executions.v1beta.Executions.CreateExecutionCallback): void;Calls CreateExecution.
| Parameters | |
|---|---|
| Name | Description |
request |
ICreateExecutionRequest
CreateExecutionRequest message or plain object |
callback |
CreateExecutionCallback
Node-style callback called with the error, if any, and Execution |
| Returns | |
|---|---|
| Type | Description |
void |
|
createExecution(request)
public createExecution(request: google.cloud.workflows.executions.v1beta.ICreateExecutionRequest): Promise<google.cloud.workflows.executions.v1beta.Execution>;Calls CreateExecution.
| Parameter | |
|---|---|
| Name | Description |
request |
ICreateExecutionRequest
CreateExecutionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.workflows.executions.v1beta.Execution> |
Promise |
getExecution(request, callback)
public getExecution(request: google.cloud.workflows.executions.v1beta.IGetExecutionRequest, callback: google.cloud.workflows.executions.v1beta.Executions.GetExecutionCallback): void;Calls GetExecution.
| Parameters | |
|---|---|
| Name | Description |
request |
IGetExecutionRequest
GetExecutionRequest message or plain object |
callback |
GetExecutionCallback
Node-style callback called with the error, if any, and Execution |
| Returns | |
|---|---|
| Type | Description |
void |
|
getExecution(request)
public getExecution(request: google.cloud.workflows.executions.v1beta.IGetExecutionRequest): Promise<google.cloud.workflows.executions.v1beta.Execution>;Calls GetExecution.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetExecutionRequest
GetExecutionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.workflows.executions.v1beta.Execution> |
Promise |
listExecutions(request, callback)
public listExecutions(request: google.cloud.workflows.executions.v1beta.IListExecutionsRequest, callback: google.cloud.workflows.executions.v1beta.Executions.ListExecutionsCallback): void;Calls ListExecutions.
| Parameters | |
|---|---|
| Name | Description |
request |
IListExecutionsRequest
ListExecutionsRequest message or plain object |
callback |
ListExecutionsCallback
Node-style callback called with the error, if any, and ListExecutionsResponse |
| Returns | |
|---|---|
| Type | Description |
void |
|
listExecutions(request)
public listExecutions(request: google.cloud.workflows.executions.v1beta.IListExecutionsRequest): Promise<google.cloud.workflows.executions.v1beta.ListExecutionsResponse>;Calls ListExecutions.
| Parameter | |
|---|---|
| Name | Description |
request |
IListExecutionsRequest
ListExecutionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.workflows.executions.v1beta.ListExecutionsResponse> |
Promise |