Represents an Executions
Inheritance
$protobuf.rpc.Service > protos.google.cloud.run.v2.ExecutionsPackage
@google-cloud/runConstructors
(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.run.v2.ICancelExecutionRequest, callback: google.cloud.run.v2.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 Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
cancelExecution(request)
public cancelExecution(request: google.cloud.run.v2.ICancelExecutionRequest): Promise<google.longrunning.Operation>;Calls CancelExecution.
| Parameter | |
|---|---|
| Name | Description |
request |
ICancelExecutionRequest
CancelExecutionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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. |
deleteExecution(request, callback)
public deleteExecution(request: google.cloud.run.v2.IDeleteExecutionRequest, callback: google.cloud.run.v2.Executions.DeleteExecutionCallback): void;Calls DeleteExecution.
| Parameters | |
|---|---|
| Name | Description |
request |
IDeleteExecutionRequest
DeleteExecutionRequest message or plain object |
callback |
DeleteExecutionCallback
Node-style callback called with the error, if any, and Operation |
| Returns | |
|---|---|
| Type | Description |
void |
|
deleteExecution(request)
public deleteExecution(request: google.cloud.run.v2.IDeleteExecutionRequest): Promise<google.longrunning.Operation>;Calls DeleteExecution.
| Parameter | |
|---|---|
| Name | Description |
request |
IDeleteExecutionRequest
DeleteExecutionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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.run.v2.IGetExecutionRequest): Promise<google.cloud.run.v2.Execution>;Calls GetExecution.
| Parameter | |
|---|---|
| Name | Description |
request |
IGetExecutionRequest
GetExecutionRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| 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.run.v2.IListExecutionsRequest): Promise<google.cloud.run.v2.ListExecutionsResponse>;Calls ListExecutions.
| Parameter | |
|---|---|
| Name | Description |
request |
IListExecutionsRequest
ListExecutionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.run.v2.ListExecutionsResponse> |
Promise |