Cloud Run Admin v2 API - Class ExecutionsClientImpl (2.12.0)

public sealed class ExecutionsClientImpl : ExecutionsClient

Reference documentation and code samples for the Cloud Run Admin v2 API class ExecutionsClientImpl.

Executions client wrapper implementation, for convenient use.

Inheritance

object > ExecutionsClient > ExecutionsClientImpl

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Remarks

Cloud Run Execution Control Plane API.

Constructors

ExecutionsClientImpl(ExecutionsClient, ExecutionsSettings, ILogger)

public ExecutionsClientImpl(Executions.ExecutionsClient grpcClient, ExecutionsSettings settings, ILogger logger)

Constructs a client wrapper for the Executions service, with the specified gRPC client and settings.

Parameters
Name Description
grpcClient ExecutionsExecutionsClient

The underlying gRPC client.

settings ExecutionsSettings

The base ExecutionsSettings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

CancelExecutionOperationsClient

public override OperationsClient CancelExecutionOperationsClient { get; }

The long-running operations client for CancelExecution.

Property Value
Type Description
OperationsClient
Overrides

DeleteExecutionOperationsClient

public override OperationsClient DeleteExecutionOperationsClient { get; }

The long-running operations client for DeleteExecution.

Property Value
Type Description
OperationsClient
Overrides

GrpcClient

public override Executions.ExecutionsClient GrpcClient { get; }

The underlying gRPC Executions client

Property Value
Type Description
ExecutionsExecutionsClient
Overrides

LocationsClient

public override LocationsClient LocationsClient { get; }

The LocationsClient associated with this client.

Property Value
Type Description
LocationsClient
Overrides

Methods

CancelExecution(CancelExecutionRequest, CallSettings)

public override Operation<Execution, Execution> CancelExecution(CancelExecutionRequest request, CallSettings callSettings = null)

Cancels an Execution.

Parameters
Name Description
request CancelExecutionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExecutionExecution

The RPC response.

Overrides

CancelExecutionAsync(CancelExecutionRequest, CallSettings)

public override Task<Operation<Execution, Execution>> CancelExecutionAsync(CancelExecutionRequest request, CallSettings callSettings = null)

Cancels an Execution.

Parameters
Name Description
request CancelExecutionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExecutionExecution

A Task containing the RPC response.

Overrides

DeleteExecution(DeleteExecutionRequest, CallSettings)

public override Operation<Execution, Execution> DeleteExecution(DeleteExecutionRequest request, CallSettings callSettings = null)

Deletes an Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
OperationExecutionExecution

The RPC response.

Overrides

DeleteExecutionAsync(DeleteExecutionRequest, CallSettings)

public override Task<Operation<Execution, Execution>> DeleteExecutionAsync(DeleteExecutionRequest request, CallSettings callSettings = null)

Deletes an Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskOperationExecutionExecution

A Task containing the RPC response.

Overrides

GetExecution(GetExecutionRequest, CallSettings)

public override Execution GetExecution(GetExecutionRequest request, CallSettings callSettings = null)

Gets information about an Execution.

Parameters
Name Description
request GetExecutionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Execution

The RPC response.

Overrides

GetExecutionAsync(GetExecutionRequest, CallSettings)

public override Task<Execution> GetExecutionAsync(GetExecutionRequest request, CallSettings callSettings = null)

Gets information about an Execution.

Parameters
Name Description
request GetExecutionRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskExecution

A Task containing the RPC response.

Overrides

ListExecutions(ListExecutionsRequest, CallSettings)

public override PagedEnumerable<ListExecutionsResponse, Execution> ListExecutions(ListExecutionsRequest request, CallSettings callSettings = null)

Lists Executions from a Job. Results are sorted by creation time, descending.

Parameters
Name Description
request ListExecutionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerableListExecutionsResponseExecution

A pageable sequence of Execution resources.

Overrides

ListExecutionsAsync(ListExecutionsRequest, CallSettings)

public override PagedAsyncEnumerable<ListExecutionsResponse, Execution> ListExecutionsAsync(ListExecutionsRequest request, CallSettings callSettings = null)

Lists Executions from a Job. Results are sorted by creation time, descending.

Parameters
Name Description
request ListExecutionsRequest

The request object containing all of the parameters for the API call.

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerableListExecutionsResponseExecution

A pageable asynchronous sequence of Execution resources.

Overrides