Executions

google.cloud.workflows.executions.v1beta. Executions

Represents an Executions

Constructor

new Executions(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new Executions 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

cancelExecution(request, callback) → {undefined}

Calls CancelExecution.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.ICancelExecutionRequest

CancelExecutionRequest message or plain object

callback google.cloud.workflows.executions.v1beta.Executions.CancelExecutionCallback

Node-style callback called with the error, if any, and Execution

Returns:
Type Description
undefined

cancelExecution(request) → {Promise.<google.cloud.workflows.executions.v1beta.Execution>}

Calls CancelExecution.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.ICancelExecutionRequest

CancelExecutionRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.workflows.executions.v1beta.Execution>

Promise

createExecution(request, callback) → {undefined}

Calls CreateExecution.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.ICreateExecutionRequest

CreateExecutionRequest message or plain object

callback google.cloud.workflows.executions.v1beta.Executions.CreateExecutionCallback

Node-style callback called with the error, if any, and Execution

Returns:
Type Description
undefined

createExecution(request) → {Promise.<google.cloud.workflows.executions.v1beta.Execution>}

Calls CreateExecution.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.ICreateExecutionRequest

CreateExecutionRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.workflows.executions.v1beta.Execution>

Promise

getExecution(request, callback) → {undefined}

Calls GetExecution.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.IGetExecutionRequest

GetExecutionRequest message or plain object

callback google.cloud.workflows.executions.v1beta.Executions.GetExecutionCallback

Node-style callback called with the error, if any, and Execution

Returns:
Type Description
undefined

getExecution(request) → {Promise.<google.cloud.workflows.executions.v1beta.Execution>}

Calls GetExecution.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.IGetExecutionRequest

GetExecutionRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.workflows.executions.v1beta.Execution>

Promise

listExecutions(request, callback) → {undefined}

Calls ListExecutions.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.IListExecutionsRequest

ListExecutionsRequest message or plain object

callback google.cloud.workflows.executions.v1beta.Executions.ListExecutionsCallback

Node-style callback called with the error, if any, and ListExecutionsResponse

Returns:
Type Description
undefined

listExecutions(request) → {Promise.<google.cloud.workflows.executions.v1beta.ListExecutionsResponse>}

Calls ListExecutions.

Parameters:
Name Type Description
request google.cloud.workflows.executions.v1beta.IListExecutionsRequest

ListExecutionsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.workflows.executions.v1beta.ListExecutionsResponse>

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {Executions}

Creates new Executions 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
Executions

RPC service. Useful where requests and/or responses are streamed.

Type Definitions

CancelExecutionCallback(error, responseopt)

Callback as used by cancelExecution.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.workflows.executions.v1beta.Execution <optional>

Execution

CreateExecutionCallback(error, responseopt)

Callback as used by createExecution.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.workflows.executions.v1beta.Execution <optional>

Execution

GetExecutionCallback(error, responseopt)

Callback as used by getExecution.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.workflows.executions.v1beta.Execution <optional>

Execution

ListExecutionsCallback(error, responseopt)

Callback as used by listExecutions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.workflows.executions.v1beta.ListExecutionsResponse <optional>

ListExecutionsResponse