public sealed class AssuredWorkloadsServiceClientImpl : AssuredWorkloadsServiceClientAssuredWorkloadsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.AssuredWorkloads.V1Assembly
Google.Cloud.AssuredWorkloads.V1.dll
Remarks
Service to manage AssuredWorkloads.
Constructors
AssuredWorkloadsServiceClientImpl(AssuredWorkloadsService.AssuredWorkloadsServiceClient, AssuredWorkloadsServiceSettings)
public AssuredWorkloadsServiceClientImpl(AssuredWorkloadsService.AssuredWorkloadsServiceClient grpcClient, AssuredWorkloadsServiceSettings settings)Constructs a client wrapper for the AssuredWorkloadsService service, with the specified gRPC client and settings.
| Parameters | |
|---|---|
| Name | Description | 
| grpcClient | AssuredWorkloadsService.AssuredWorkloadsServiceClientThe underlying gRPC client. | 
| settings | AssuredWorkloadsServiceSettingsThe base AssuredWorkloadsServiceSettings used within this client. | 
Properties
CreateWorkloadOperationsClient
public override OperationsClient CreateWorkloadOperationsClient { get; }The long-running operations client for CreateWorkload.
| Property Value | |
|---|---|
| Type | Description | 
| OperationsClient | |
GrpcClient
public override AssuredWorkloadsService.AssuredWorkloadsServiceClient GrpcClient { get; }The underlying gRPC AssuredWorkloadsService client
| Property Value | |
|---|---|
| Type | Description | 
| AssuredWorkloadsService.AssuredWorkloadsServiceClient | |
Methods
CreateWorkload(CreateWorkloadRequest, CallSettings)
public override Operation<Workload, CreateWorkloadOperationMetadata> CreateWorkload(CreateWorkloadRequest request, CallSettings callSettings = null)Creates Assured Workload.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Operation<Workload, CreateWorkloadOperationMetadata> | The RPC response. | 
CreateWorkloadAsync(CreateWorkloadRequest, CallSettings)
public override Task<Operation<Workload, CreateWorkloadOperationMetadata>> CreateWorkloadAsync(CreateWorkloadRequest request, CallSettings callSettings = null)Creates Assured Workload.
| Parameters | |
|---|---|
| Name | Description | 
| request | CreateWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Operation<Workload, CreateWorkloadOperationMetadata>> | A Task containing the RPC response. | 
DeleteWorkload(DeleteWorkloadRequest, CallSettings)
public override void DeleteWorkload(DeleteWorkloadRequest request, CallSettings callSettings = null)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 | DeleteWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
DeleteWorkloadAsync(DeleteWorkloadRequest, CallSettings)
public override Task DeleteWorkloadAsync(DeleteWorkloadRequest request, CallSettings callSettings = null)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 | DeleteWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task | A Task containing the RPC response. | 
GetWorkload(GetWorkloadRequest, CallSettings)
public override Workload GetWorkload(GetWorkloadRequest request, CallSettings callSettings = null)Gets Assured Workload associated with a CRM Node
| Parameters | |
|---|---|
| Name | Description | 
| request | GetWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Workload | The RPC response. | 
GetWorkloadAsync(GetWorkloadRequest, CallSettings)
public override Task<Workload> GetWorkloadAsync(GetWorkloadRequest request, CallSettings callSettings = null)Gets Assured Workload associated with a CRM Node
| Parameters | |
|---|---|
| Name | Description | 
| request | GetWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Workload> | A Task containing the RPC response. | 
ListWorkloads(ListWorkloadsRequest, CallSettings)
public override PagedEnumerable<ListWorkloadsResponse, Workload> ListWorkloads(ListWorkloadsRequest request, CallSettings callSettings = null)Lists Assured Workloads under a CRM Node.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListWorkloadsRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerable<ListWorkloadsResponse, Workload> | A pageable sequence of Workload resources. | 
ListWorkloadsAsync(ListWorkloadsRequest, CallSettings)
public override PagedAsyncEnumerable<ListWorkloadsResponse, Workload> ListWorkloadsAsync(ListWorkloadsRequest request, CallSettings callSettings = null)Lists Assured Workloads under a CRM Node.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListWorkloadsRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerable<ListWorkloadsResponse, Workload> | A pageable asynchronous sequence of Workload resources. | 
UpdateWorkload(UpdateWorkloadRequest, CallSettings)
public override Workload UpdateWorkload(UpdateWorkloadRequest request, CallSettings callSettings = null)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 | UpdateWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Workload | The RPC response. | 
UpdateWorkloadAsync(UpdateWorkloadRequest, CallSettings)
public override Task<Workload> UpdateWorkloadAsync(UpdateWorkloadRequest request, CallSettings callSettings = null)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 | UpdateWorkloadRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task<Workload> | A Task containing the RPC response. |