[BindServiceMethod(typeof(AssuredWorkloadsService), "BindService")]
public abstract class AssuredWorkloadsServiceBase
Base class for server-side implementations of AssuredWorkloadsService
Namespace
Google.Cloud.AssuredWorkloads.V1Beta1Assembly
Google.Cloud.AssuredWorkloads.V1Beta1.dll
Methods
CreateWorkload(CreateWorkloadRequest, ServerCallContext)
public virtual Task<Operation> CreateWorkload(CreateWorkloadRequest request, ServerCallContext context)
Creates Assured Workload.
Parameters | |
---|---|
Name | Description |
request | CreateWorkloadRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteWorkload(DeleteWorkloadRequest, ServerCallContext)
public virtual Task<Empty> DeleteWorkload(DeleteWorkloadRequest request, ServerCallContext context)
Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.
Parameters | |
---|---|
Name | Description |
request | DeleteWorkloadRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetWorkload(GetWorkloadRequest, ServerCallContext)
public virtual Task<Workload> GetWorkload(GetWorkloadRequest request, ServerCallContext context)
Gets Assured Workload associated with a CRM Node
Parameters | |
---|---|
Name | Description |
request | GetWorkloadRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Workload> | The response to send back to the client (wrapped by a task). |
ListWorkloads(ListWorkloadsRequest, ServerCallContext)
public virtual Task<ListWorkloadsResponse> ListWorkloads(ListWorkloadsRequest request, ServerCallContext context)
Lists Assured Workloads under a CRM Node.
Parameters | |
---|---|
Name | Description |
request | ListWorkloadsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListWorkloadsResponse> | The response to send back to the client (wrapped by a task). |
UpdateWorkload(UpdateWorkloadRequest, ServerCallContext)
public virtual Task<Workload> UpdateWorkload(UpdateWorkloadRequest request, ServerCallContext context)
Updates an existing workload. Currently allows updating of workload display_name and labels. For force updates don't set etag field in the Workload. Only one update operation per workload can be in progress.
Parameters | |
---|---|
Name | Description |
request | UpdateWorkloadRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Workload> | The response to send back to the client (wrapped by a task). |