[BindServiceMethod(typeof(WorkloadManager), "BindService")]
public abstract class WorkloadManager.WorkloadManagerBaseReference documentation and code samples for the Workload Manager v1 API class WorkloadManager.WorkloadManagerBase.
Base class for server-side implementations of WorkloadManager
Namespace
Google.Cloud.WorkloadManager.V1Assembly
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 |
CreateEvaluationRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteEvaluationRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
DeleteExecutionRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetEvaluationRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
GetExecutionRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListEvaluationsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListExecutionResultsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListExecutionsRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListRulesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
ListScannedResourcesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
RunEvaluationRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
UpdateEvaluationRequestThe request received from the client. |
context |
ServerCallContextThe 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). |