Cloud Run Admin v2 API - Class Executions.ExecutionsClient (2.2.0)

public class Executions.ExecutionsClient : ClientBase<Executions.ExecutionsClient>

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

Client for Executions

Inheritance

object > ClientBase > ClientBaseExecutionsExecutionsClient > Executions.ExecutionsClient

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

ExecutionsClient()

protected ExecutionsClient()

Protected parameterless constructor to allow creation of test doubles.

ExecutionsClient(CallInvoker)

public ExecutionsClient(CallInvoker callInvoker)

Creates a new client for Executions that uses a custom CallInvoker.

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ExecutionsClient(ChannelBase)

public ExecutionsClient(ChannelBase channel)

Creates a new client for Executions

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ExecutionsClient(ClientBaseConfiguration)

protected ExecutionsClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

Creates a new instance of Locations.LocationsClient using the same call invoker as this client.

Returns
TypeDescription
LocationsLocationsClient

A new Locations.LocationsClient for the same target as this client.

CreateOperationsClient()

public virtual Operations.OperationsClient CreateOperationsClient()

Creates a new instance of Operations.OperationsClient using the same call invoker as this client.

Returns
TypeDescription
OperationsOperationsClient

A new Operations client for the same target as this client.

DeleteExecution(DeleteExecutionRequest, CallOptions)

public virtual Operation DeleteExecution(DeleteExecutionRequest request, CallOptions options)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteExecution(DeleteExecutionRequest, Metadata, DateTime?, CancellationToken)

public virtual Operation DeleteExecution(DeleteExecutionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteExecutionAsync(DeleteExecutionRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteExecutionAsync(DeleteExecutionRequest request, CallOptions options)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

DeleteExecutionAsync(DeleteExecutionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteExecutionAsync(DeleteExecutionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Deletes an Execution.

Parameters
NameDescription
requestDeleteExecutionRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallOperation

The call object.

GetExecution(GetExecutionRequest, CallOptions)

public virtual Execution GetExecution(GetExecutionRequest request, CallOptions options)

Gets information about an Execution.

Parameters
NameDescription
requestGetExecutionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Execution

The response received from the server.

GetExecution(GetExecutionRequest, Metadata, DateTime?, CancellationToken)

public virtual Execution GetExecution(GetExecutionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets information about an Execution.

Parameters
NameDescription
requestGetExecutionRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Execution

The response received from the server.

GetExecutionAsync(GetExecutionRequest, CallOptions)

public virtual AsyncUnaryCall<Execution> GetExecutionAsync(GetExecutionRequest request, CallOptions options)

Gets information about an Execution.

Parameters
NameDescription
requestGetExecutionRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallExecution

The call object.

GetExecutionAsync(GetExecutionRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Execution> GetExecutionAsync(GetExecutionRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets information about an Execution.

Parameters
NameDescription
requestGetExecutionRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallExecution

The call object.

ListExecutions(ListExecutionsRequest, CallOptions)

public virtual ListExecutionsResponse ListExecutions(ListExecutionsRequest request, CallOptions options)

Lists Executions from a Job.

Parameters
NameDescription
requestListExecutionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListExecutionsResponse

The response received from the server.

ListExecutions(ListExecutionsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListExecutionsResponse ListExecutions(ListExecutionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Executions from a Job.

Parameters
NameDescription
requestListExecutionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListExecutionsResponse

The response received from the server.

ListExecutionsAsync(ListExecutionsRequest, CallOptions)

public virtual AsyncUnaryCall<ListExecutionsResponse> ListExecutionsAsync(ListExecutionsRequest request, CallOptions options)

Lists Executions from a Job.

Parameters
NameDescription
requestListExecutionsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCallListExecutionsResponse

The call object.

ListExecutionsAsync(ListExecutionsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListExecutionsResponse> ListExecutionsAsync(ListExecutionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Executions from a Job.

Parameters
NameDescription
requestListExecutionsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineDateTime

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCallListExecutionsResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override Executions.ExecutionsClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBaseClientBaseConfiguration
Returns
TypeDescription
ExecutionsExecutionsClient
Overrides