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.
Namespace
Google.Cloud.Run.V2Assembly
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 |
DeleteExecutionOperationsClient
public override OperationsClient DeleteExecutionOperationsClient { get; }
The long-running operations client for DeleteExecution
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override Executions.ExecutionsClient GrpcClient { get; }
The underlying gRPC Executions client
Property Value | |
---|---|
Type | Description |
ExecutionsExecutionsClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |