Class protos.google.cloud.run.v2.Executions (1.0.2)

Represents an Executions

Inheritance

$protobuf.rpc.Service > protos.google.cloud.run.v2.Executions

Package

@google-cloud/run

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new Executions service.

Parameters
NameDescription
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.run.v2.ICancelExecutionRequest, callback: google.cloud.run.v2.Executions.CancelExecutionCallback): void;

Calls CancelExecution.

Parameters
NameDescription
request ICancelExecutionRequest

CancelExecutionRequest message or plain object

callback CancelExecutionCallback

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

Returns
TypeDescription
void

cancelExecution(request)

public cancelExecution(request: google.cloud.run.v2.ICancelExecutionRequest): Promise<google.longrunning.Operation>;

Calls CancelExecution.

Parameter
NameDescription
request ICancelExecutionRequest

CancelExecutionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

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
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
Executions

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

deleteExecution(request, callback)

public deleteExecution(request: google.cloud.run.v2.IDeleteExecutionRequest, callback: google.cloud.run.v2.Executions.DeleteExecutionCallback): void;

Calls DeleteExecution.

Parameters
NameDescription
request IDeleteExecutionRequest

DeleteExecutionRequest message or plain object

callback DeleteExecutionCallback

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

Returns
TypeDescription
void

deleteExecution(request)

public deleteExecution(request: google.cloud.run.v2.IDeleteExecutionRequest): Promise<google.longrunning.Operation>;

Calls DeleteExecution.

Parameter
NameDescription
request IDeleteExecutionRequest

DeleteExecutionRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getExecution(request, callback)

public getExecution(request: google.cloud.run.v2.IGetExecutionRequest, callback: google.cloud.run.v2.Executions.GetExecutionCallback): void;

Calls GetExecution.

Parameters
NameDescription
request IGetExecutionRequest

GetExecutionRequest message or plain object

callback GetExecutionCallback

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

Returns
TypeDescription
void

getExecution(request)

public getExecution(request: google.cloud.run.v2.IGetExecutionRequest): Promise<google.cloud.run.v2.Execution>;

Calls GetExecution.

Parameter
NameDescription
request IGetExecutionRequest

GetExecutionRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.run.v2.Execution>

Promise

listExecutions(request, callback)

public listExecutions(request: google.cloud.run.v2.IListExecutionsRequest, callback: google.cloud.run.v2.Executions.ListExecutionsCallback): void;

Calls ListExecutions.

Parameters
NameDescription
request IListExecutionsRequest

ListExecutionsRequest message or plain object

callback ListExecutionsCallback

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

Returns
TypeDescription
void

listExecutions(request)

public listExecutions(request: google.cloud.run.v2.IListExecutionsRequest): Promise<google.cloud.run.v2.ListExecutionsResponse>;

Calls ListExecutions.

Parameter
NameDescription
request IListExecutionsRequest

ListExecutionsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.run.v2.ListExecutionsResponse>

Promise