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

[BindServiceMethod(typeof(WorkloadManager), "BindService")]
public abstract class WorkloadManager.WorkloadManagerBase

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

Base class for server-side implementations of WorkloadManager

Inheritance

object > WorkloadManager.WorkloadManagerBase

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

Google.Cloud.WorkloadManager.V1.dll

Methods

CreateEvaluation(CreateEvaluationRequest, ServerCallContext)

public virtual Task<Operation> CreateEvaluation(CreateEvaluationRequest request, ServerCallContext context)

Creates a new Evaluation in a given project and location.

Parameters
Name Description
request CreateEvaluationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteEvaluation(DeleteEvaluationRequest, ServerCallContext)

public virtual Task<Operation> DeleteEvaluation(DeleteEvaluationRequest request, ServerCallContext context)

Deletes a single Evaluation.

Parameters
Name Description
request DeleteEvaluationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteExecution(DeleteExecutionRequest, ServerCallContext)

public virtual Task<Operation> DeleteExecution(DeleteExecutionRequest request, ServerCallContext context)

Deletes a single Execution.

Parameters
Name Description
request DeleteExecutionRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

GetEvaluation(GetEvaluationRequest, ServerCallContext)

public virtual Task<Evaluation> GetEvaluation(GetEvaluationRequest request, ServerCallContext context)

Gets details of a single Evaluation.

Parameters
Name Description
request GetEvaluationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEvaluation

The response to send back to the client (wrapped by a task).

GetExecution(GetExecutionRequest, ServerCallContext)

public virtual Task<Execution> GetExecution(GetExecutionRequest request, ServerCallContext context)

Gets details of a single Execution.

Parameters
Name Description
request GetExecutionRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskExecution

The response to send back to the client (wrapped by a task).

ListEvaluations(ListEvaluationsRequest, ServerCallContext)

public virtual Task<ListEvaluationsResponse> ListEvaluations(ListEvaluationsRequest request, ServerCallContext context)

Lists Evaluations in a given project and location.

Parameters
Name Description
request ListEvaluationsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListEvaluationsResponse

The response to send back to the client (wrapped by a task).

ListExecutionResults(ListExecutionResultsRequest, ServerCallContext)

public virtual Task<ListExecutionResultsResponse> ListExecutionResults(ListExecutionResultsRequest request, ServerCallContext context)

Lists the result of a single evaluation.

Parameters
Name Description
request ListExecutionResultsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListExecutionResultsResponse

The response to send back to the client (wrapped by a task).

ListExecutions(ListExecutionsRequest, ServerCallContext)

public virtual Task<ListExecutionsResponse> ListExecutions(ListExecutionsRequest request, ServerCallContext context)

Lists Executions in a given project and location.

Parameters
Name Description
request ListExecutionsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListExecutionsResponse

The response to send back to the client (wrapped by a task).

ListRules(ListRulesRequest, ServerCallContext)

public virtual Task<ListRulesResponse> ListRules(ListRulesRequest request, ServerCallContext context)

Lists rules in a given project.

Parameters
Name Description
request ListRulesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListRulesResponse

The response to send back to the client (wrapped by a task).

ListScannedResources(ListScannedResourcesRequest, ServerCallContext)

public virtual Task<ListScannedResourcesResponse> ListScannedResources(ListScannedResourcesRequest request, ServerCallContext context)

List all scanned resources for a single Execution.

Parameters
Name Description
request ListScannedResourcesRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListScannedResourcesResponse

The response to send back to the client (wrapped by a task).

RunEvaluation(RunEvaluationRequest, ServerCallContext)

public virtual Task<Operation> RunEvaluation(RunEvaluationRequest request, ServerCallContext context)

Creates a new Execution in a given project and location.

Parameters
Name Description
request RunEvaluationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateEvaluation(UpdateEvaluationRequest, ServerCallContext)

public virtual Task<Operation> UpdateEvaluation(UpdateEvaluationRequest request, ServerCallContext context)

Updates the parameters of a single Evaluation.

Parameters
Name Description
request UpdateEvaluationRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).