Workload Manager v1 API - Class WorkloadManager.WorkloadManagerClient (1.0.0-beta01)

public class WorkloadManager.WorkloadManagerClient : ClientBase<WorkloadManager.WorkloadManagerClient>

Reference documentation and code samples for the Workload Manager v1 API class WorkloadManager.WorkloadManagerClient.

Client for WorkloadManager

Inheritance

object > ClientBase > ClientBaseWorkloadManagerWorkloadManagerClient > WorkloadManager.WorkloadManagerClient

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

Google.Cloud.WorkloadManager.V1.dll

Constructors

WorkloadManagerClient()

protected WorkloadManagerClient()

Protected parameterless constructor to allow creation of test doubles.

WorkloadManagerClient(CallInvoker)

public WorkloadManagerClient(CallInvoker callInvoker)

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

Parameter
Name Description
callInvoker CallInvoker

The callInvoker to use to make remote calls.

WorkloadManagerClient(ChannelBase)

public WorkloadManagerClient(ChannelBase channel)

Creates a new client for WorkloadManager

Parameter
Name Description
channel ChannelBase

The channel to use to make remote calls.

WorkloadManagerClient(ClientBaseConfiguration)

protected WorkloadManagerClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration

The client configuration.

Methods

CreateEvaluation(CreateEvaluationRequest, CallOptions)

public virtual Operation CreateEvaluation(CreateEvaluationRequest request, CallOptions options)

Creates a new Evaluation in a given project and location.

Parameters
Name Description
request CreateEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

CreateEvaluation(CreateEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Evaluation in a given project and location.

Parameters
Name Description
request CreateEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

CreateEvaluationAsync(CreateEvaluationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> CreateEvaluationAsync(CreateEvaluationRequest request, CallOptions options)

Creates a new Evaluation in a given project and location.

Parameters
Name Description
request CreateEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateEvaluationAsync(CreateEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Evaluation in a given project and location.

Parameters
Name Description
request CreateEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

CreateLocationsClient()

public virtual Locations.LocationsClient CreateLocationsClient()

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

Returns
Type Description
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
Type Description
OperationsOperationsClient

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

DeleteEvaluation(DeleteEvaluationRequest, CallOptions)

public virtual Operation DeleteEvaluation(DeleteEvaluationRequest request, CallOptions options)

Deletes a single Evaluation.

Parameters
Name Description
request DeleteEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

DeleteEvaluation(DeleteEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single Evaluation.

Parameters
Name Description
request DeleteEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteEvaluationAsync(DeleteEvaluationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> DeleteEvaluationAsync(DeleteEvaluationRequest request, CallOptions options)

Deletes a single Evaluation.

Parameters
Name Description
request DeleteEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteEvaluationAsync(DeleteEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Deletes a single Evaluation.

Parameters
Name Description
request DeleteEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

DeleteExecution(DeleteExecutionRequest, CallOptions)

public virtual Operation DeleteExecution(DeleteExecutionRequest request, CallOptions options)

Deletes a single Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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 a single Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

DeleteExecutionAsync(DeleteExecutionRequest, CallOptions)

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

Deletes a single Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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 a single Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

GetEvaluation(GetEvaluationRequest, CallOptions)

public virtual Evaluation GetEvaluation(GetEvaluationRequest request, CallOptions options)

Gets details of a single Evaluation.

Parameters
Name Description
request GetEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Evaluation

The response received from the server.

GetEvaluation(GetEvaluationRequest, Metadata, DateTime?, CancellationToken)

public virtual Evaluation GetEvaluation(GetEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Evaluation.

Parameters
Name Description
request GetEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Evaluation

The response received from the server.

GetEvaluationAsync(GetEvaluationRequest, CallOptions)

public virtual AsyncUnaryCall<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, CallOptions options)

Gets details of a single Evaluation.

Parameters
Name Description
request GetEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallEvaluation

The call object.

GetEvaluationAsync(GetEvaluationRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<Evaluation> GetEvaluationAsync(GetEvaluationRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Gets details of a single Evaluation.

Parameters
Name Description
request GetEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallEvaluation

The call object.

GetExecution(GetExecutionRequest, CallOptions)

public virtual Execution GetExecution(GetExecutionRequest request, CallOptions options)

Gets details of a single Execution.

Parameters
Name Description
request GetExecutionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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 details of a single Execution.

Parameters
Name Description
request GetExecutionRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Execution

The response received from the server.

GetExecutionAsync(GetExecutionRequest, CallOptions)

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

Gets details of a single Execution.

Parameters
Name Description
request GetExecutionRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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 details of a single Execution.

Parameters
Name Description
request GetExecutionRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallExecution

The call object.

ListEvaluations(ListEvaluationsRequest, CallOptions)

public virtual ListEvaluationsResponse ListEvaluations(ListEvaluationsRequest request, CallOptions options)

Lists Evaluations in a given project and location.

Parameters
Name Description
request ListEvaluationsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListEvaluationsResponse

The response received from the server.

ListEvaluations(ListEvaluationsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListEvaluationsResponse ListEvaluations(ListEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Evaluations in a given project and location.

Parameters
Name Description
request ListEvaluationsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListEvaluationsResponse

The response received from the server.

ListEvaluationsAsync(ListEvaluationsRequest, CallOptions)

public virtual AsyncUnaryCall<ListEvaluationsResponse> ListEvaluationsAsync(ListEvaluationsRequest request, CallOptions options)

Lists Evaluations in a given project and location.

Parameters
Name Description
request ListEvaluationsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListEvaluationsResponse

The call object.

ListEvaluationsAsync(ListEvaluationsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListEvaluationsResponse> ListEvaluationsAsync(ListEvaluationsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists Evaluations in a given project and location.

Parameters
Name Description
request ListEvaluationsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListEvaluationsResponse

The call object.

ListExecutionResults(ListExecutionResultsRequest, CallOptions)

public virtual ListExecutionResultsResponse ListExecutionResults(ListExecutionResultsRequest request, CallOptions options)

Lists the result of a single evaluation.

Parameters
Name Description
request ListExecutionResultsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListExecutionResultsResponse

The response received from the server.

ListExecutionResults(ListExecutionResultsRequest, Metadata, DateTime?, CancellationToken)

public virtual ListExecutionResultsResponse ListExecutionResults(ListExecutionResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the result of a single evaluation.

Parameters
Name Description
request ListExecutionResultsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListExecutionResultsResponse

The response received from the server.

ListExecutionResultsAsync(ListExecutionResultsRequest, CallOptions)

public virtual AsyncUnaryCall<ListExecutionResultsResponse> ListExecutionResultsAsync(ListExecutionResultsRequest request, CallOptions options)

Lists the result of a single evaluation.

Parameters
Name Description
request ListExecutionResultsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListExecutionResultsResponse

The call object.

ListExecutionResultsAsync(ListExecutionResultsRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListExecutionResultsResponse> ListExecutionResultsAsync(ListExecutionResultsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists the result of a single evaluation.

Parameters
Name Description
request ListExecutionResultsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListExecutionResultsResponse

The call object.

ListExecutions(ListExecutionsRequest, CallOptions)

public virtual ListExecutionsResponse ListExecutions(ListExecutionsRequest request, CallOptions options)

Lists Executions in a given project and location.

Parameters
Name Description
request ListExecutionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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 in a given project and location.

Parameters
Name Description
request ListExecutionsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListExecutionsResponse

The response received from the server.

ListExecutionsAsync(ListExecutionsRequest, CallOptions)

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

Lists Executions in a given project and location.

Parameters
Name Description
request ListExecutionsRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
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 in a given project and location.

Parameters
Name Description
request ListExecutionsRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListExecutionsResponse

The call object.

ListRules(ListRulesRequest, CallOptions)

public virtual ListRulesResponse ListRules(ListRulesRequest request, CallOptions options)

Lists rules in a given project.

Parameters
Name Description
request ListRulesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListRulesResponse

The response received from the server.

ListRules(ListRulesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListRulesResponse ListRules(ListRulesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists rules in a given project.

Parameters
Name Description
request ListRulesRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListRulesResponse

The response received from the server.

ListRulesAsync(ListRulesRequest, CallOptions)

public virtual AsyncUnaryCall<ListRulesResponse> ListRulesAsync(ListRulesRequest request, CallOptions options)

Lists rules in a given project.

Parameters
Name Description
request ListRulesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListRulesResponse

The call object.

ListRulesAsync(ListRulesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListRulesResponse> ListRulesAsync(ListRulesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

Lists rules in a given project.

Parameters
Name Description
request ListRulesRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListRulesResponse

The call object.

ListScannedResources(ListScannedResourcesRequest, CallOptions)

public virtual ListScannedResourcesResponse ListScannedResources(ListScannedResourcesRequest request, CallOptions options)

List all scanned resources for a single Execution.

Parameters
Name Description
request ListScannedResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
ListScannedResourcesResponse

The response received from the server.

ListScannedResources(ListScannedResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual ListScannedResourcesResponse ListScannedResources(ListScannedResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List all scanned resources for a single Execution.

Parameters
Name Description
request ListScannedResourcesRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
ListScannedResourcesResponse

The response received from the server.

ListScannedResourcesAsync(ListScannedResourcesRequest, CallOptions)

public virtual AsyncUnaryCall<ListScannedResourcesResponse> ListScannedResourcesAsync(ListScannedResourcesRequest request, CallOptions options)

List all scanned resources for a single Execution.

Parameters
Name Description
request ListScannedResourcesRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallListScannedResourcesResponse

The call object.

ListScannedResourcesAsync(ListScannedResourcesRequest, Metadata, DateTime?, CancellationToken)

public virtual AsyncUnaryCall<ListScannedResourcesResponse> ListScannedResourcesAsync(ListScannedResourcesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

List all scanned resources for a single Execution.

Parameters
Name Description
request ListScannedResourcesRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallListScannedResourcesResponse

The call object.

NewInstance(ClientBaseConfiguration)

protected override WorkloadManager.WorkloadManagerClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
Name Description
configuration ClientBaseClientBaseConfiguration
Returns
Type Description
WorkloadManagerWorkloadManagerClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.WorkloadManager.V1.WorkloadManager.WorkloadManagerClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

RunEvaluation(RunEvaluationRequest, CallOptions)

public virtual Operation RunEvaluation(RunEvaluationRequest request, CallOptions options)

Creates a new Execution in a given project and location.

Parameters
Name Description
request RunEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

RunEvaluation(RunEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Execution in a given project and location.

Parameters
Name Description
request RunEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

RunEvaluationAsync(RunEvaluationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> RunEvaluationAsync(RunEvaluationRequest request, CallOptions options)

Creates a new Execution in a given project and location.

Parameters
Name Description
request RunEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

RunEvaluationAsync(RunEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Creates a new Execution in a given project and location.

Parameters
Name Description
request RunEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateEvaluation(UpdateEvaluationRequest, CallOptions)

public virtual Operation UpdateEvaluation(UpdateEvaluationRequest request, CallOptions options)

Updates the parameters of a single Evaluation.

Parameters
Name Description
request UpdateEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
Operation

The response received from the server.

UpdateEvaluation(UpdateEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single Evaluation.

Parameters
Name Description
request UpdateEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
Operation

The response received from the server.

UpdateEvaluationAsync(UpdateEvaluationRequest, CallOptions)

public virtual AsyncUnaryCall<Operation> UpdateEvaluationAsync(UpdateEvaluationRequest request, CallOptions options)

Updates the parameters of a single Evaluation.

Parameters
Name Description
request UpdateEvaluationRequest

The request to send to the server.

options CallOptions

The options for the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.

UpdateEvaluationAsync(UpdateEvaluationRequest, Metadata, DateTime?, CancellationToken)

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

Updates the parameters of a single Evaluation.

Parameters
Name Description
request UpdateEvaluationRequest

The request to send to the server.

headers Metadata

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

deadline System.DateTime

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

cancellationToken CancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCallOperation

The call object.