Class protos.google.cloud.workflows.executions.v1beta.Executions

Represents an Executions

Inheritance

$protobuf.rpc.Service > protos.google.cloud.workflows.executions.v1beta.Executions

Package

@google-cloud/workflows!

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Executions service.

Parameters
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

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
TypeNameDescription
google.cloud.workflows.executions.v1beta.ICancelExecutionRequestrequest

CancelExecutionRequest message or plain object

google.cloud.workflows.executions.v1beta.Executions.CancelExecutionCallbackcallback

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

Returns
TypeDescription
void

cancelExecution(request)

public cancelExecution(request: google.cloud.workflows.executions.v1beta.ICancelExecutionRequest): Promise<google.cloud.workflows.executions.v1beta.Execution>;

Calls CancelExecution.

Parameter
TypeNameDescription
google.cloud.workflows.executions.v1beta.ICancelExecutionRequestrequest

CancelExecutionRequest message or plain object

Returns
TypeDescription
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
TypeNameDescription
$protobuf.RPCImplrpcImpl

RPC implementation

booleanrequestDelimited

Whether requests are length-delimited

booleanresponseDelimited

Whether responses are length-delimited

Returns
TypeDescription
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
TypeNameDescription
google.cloud.workflows.executions.v1beta.ICreateExecutionRequestrequest

CreateExecutionRequest message or plain object

google.cloud.workflows.executions.v1beta.Executions.CreateExecutionCallbackcallback

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

Returns
TypeDescription
void

createExecution(request)

public createExecution(request: google.cloud.workflows.executions.v1beta.ICreateExecutionRequest): Promise<google.cloud.workflows.executions.v1beta.Execution>;

Calls CreateExecution.

Parameter
TypeNameDescription
google.cloud.workflows.executions.v1beta.ICreateExecutionRequestrequest

CreateExecutionRequest message or plain object

Returns
TypeDescription
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
TypeNameDescription
google.cloud.workflows.executions.v1beta.IGetExecutionRequestrequest

GetExecutionRequest message or plain object

google.cloud.workflows.executions.v1beta.Executions.GetExecutionCallbackcallback

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

Returns
TypeDescription
void

getExecution(request)

public getExecution(request: google.cloud.workflows.executions.v1beta.IGetExecutionRequest): Promise<google.cloud.workflows.executions.v1beta.Execution>;

Calls GetExecution.

Parameter
TypeNameDescription
google.cloud.workflows.executions.v1beta.IGetExecutionRequestrequest

GetExecutionRequest message or plain object

Returns
TypeDescription
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
TypeNameDescription
google.cloud.workflows.executions.v1beta.IListExecutionsRequestrequest

ListExecutionsRequest message or plain object

google.cloud.workflows.executions.v1beta.Executions.ListExecutionsCallbackcallback

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

Returns
TypeDescription
void

listExecutions(request)

public listExecutions(request: google.cloud.workflows.executions.v1beta.IListExecutionsRequest): Promise<google.cloud.workflows.executions.v1beta.ListExecutionsResponse>;

Calls ListExecutions.

Parameter
TypeNameDescription
google.cloud.workflows.executions.v1beta.IListExecutionsRequestrequest

ListExecutionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.workflows.executions.v1beta.ListExecutionsResponse>

Promise