# Assured Workloads v1 API - Class AssuredWorkloadsServiceClientImpl (2.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.7.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.6.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.5.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.4.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.3.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.2.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.1.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/2.0.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/1.1.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/1.0.0/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClientImpl)

    public sealed class AssuredWorkloadsServiceClientImpl : AssuredWorkloadsServiceClient

Reference documentation and code samples for the Assured Workloads v1 API class AssuredWorkloadsServiceClientImpl.

AssuredWorkloadsService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [AssuredWorkloadsServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient) \> AssuredWorkloadsServiceClientImpl

## Inherited Members

[AssuredWorkloadsServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DefaultEndpoint) [AssuredWorkloadsServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DefaultScopes) [AssuredWorkloadsServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ServiceMetadata) [AssuredWorkloadsServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateAsync_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_Create) [AssuredWorkloadsServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ShutdownDefaultChannelsAsync) [AssuredWorkloadsServiceClient.CreateWorkloadAsync(CreateWorkloadRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_CreateWorkloadRequest_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.PollOnceCreateWorkload(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_PollOnceCreateWorkload_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.PollOnceCreateWorkloadAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_PollOnceCreateWorkloadAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.CreateWorkload(string, Workload, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkload_System_String_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.CreateWorkloadAsync(string, Workload, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadAsync_System_String_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.CreateWorkloadAsync(string, Workload, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadAsync_System_String_Google_Cloud_AssuredWorkloads_V1_Workload_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.CreateWorkload(LocationName, Workload, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkload_Google_Cloud_AssuredWorkloads_V1_LocationName_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.CreateWorkloadAsync(LocationName, Workload, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_LocationName_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.CreateWorkloadAsync(LocationName, Workload, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_LocationName_Google_Cloud_AssuredWorkloads_V1_Workload_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.UpdateWorkloadAsync(UpdateWorkloadRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_UpdateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_UpdateWorkloadRequest_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.UpdateWorkload(Workload, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_UpdateWorkload_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.UpdateWorkloadAsync(Workload, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_UpdateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.UpdateWorkloadAsync(Workload, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_UpdateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_Workload_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.RestrictAllowedResourcesAsync(RestrictAllowedResourcesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_RestrictAllowedResourcesAsync_Google_Cloud_AssuredWorkloads_V1_RestrictAllowedResourcesRequest_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.DeleteWorkloadAsync(DeleteWorkloadRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_DeleteWorkloadRequest_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.DeleteWorkload(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkload_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.DeleteWorkloadAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkloadAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.DeleteWorkloadAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkloadAsync_System_String_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.DeleteWorkload(WorkloadName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkload_Google_Cloud_AssuredWorkloads_V1_WorkloadName_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.DeleteWorkloadAsync(WorkloadName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_WorkloadName_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.DeleteWorkloadAsync(WorkloadName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_WorkloadName_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.GetWorkloadAsync(GetWorkloadRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_GetWorkloadRequest_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.GetWorkload(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkload_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetWorkloadAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkloadAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetWorkloadAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkloadAsync_System_String_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.GetWorkload(WorkloadName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkload_Google_Cloud_AssuredWorkloads_V1_WorkloadName_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetWorkloadAsync(WorkloadName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_WorkloadName_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetWorkloadAsync(WorkloadName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_WorkloadName_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.ListWorkloads(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListWorkloads_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListWorkloadsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListWorkloadsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListWorkloads(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListWorkloads_Google_Cloud_AssuredWorkloads_V1_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListWorkloadsAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListWorkloadsAsync_Google_Cloud_AssuredWorkloads_V1_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListViolations(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListViolations_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListViolationsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListViolationsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListViolations(WorkloadName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListViolations_Google_Cloud_AssuredWorkloads_V1_WorkloadName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.ListViolationsAsync(WorkloadName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListViolationsAsync_Google_Cloud_AssuredWorkloads_V1_WorkloadName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetViolationAsync(GetViolationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolationAsync_Google_Cloud_AssuredWorkloads_V1_GetViolationRequest_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.GetViolation(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolation_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetViolationAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolationAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetViolationAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolationAsync_System_String_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.GetViolation(ViolationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolation_Google_Cloud_AssuredWorkloads_V1_ViolationName_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetViolationAsync(ViolationName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolationAsync_Google_Cloud_AssuredWorkloads_V1_ViolationName_Google_Api_Gax_Grpc_CallSettings_) [AssuredWorkloadsServiceClient.GetViolationAsync(ViolationName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolationAsync_Google_Cloud_AssuredWorkloads_V1_ViolationName_System_Threading_CancellationToken_) [AssuredWorkloadsServiceClient.AcknowledgeViolationAsync(AcknowledgeViolationRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_AcknowledgeViolationAsync_Google_Cloud_AssuredWorkloads_V1_AcknowledgeViolationRequest_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AssuredWorkloads.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1)

## Assembly

Google.Cloud.AssuredWorkloads.V1.dll

## Remarks

Service to manage AssuredWorkloads.

## Constructors

### AssuredWorkloadsServiceClientImpl(AssuredWorkloadsServiceClient, AssuredWorkloadsServiceSettings, ILogger)

    public AssuredWorkloadsServiceClientImpl(AssuredWorkloadsService.AssuredWorkloadsServiceClient grpcClient, AssuredWorkloadsServiceSettings settings, ILogger logger)

Constructs a client wrapper for the AssuredWorkloadsService service, with the specified gRPC client and
settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsService.AssuredWorkloadsServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceSettings` The base [AssuredWorkloadsServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### CreateWorkloadOperationsClient

    public override OperationsClient CreateWorkloadOperationsClient { get; }

The long-running operations client for `CreateWorkload`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [AssuredWorkloadsServiceClient.CreateWorkloadOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadOperationsClient)

### GrpcClient

    public override AssuredWorkloadsService.AssuredWorkloadsServiceClient GrpcClient { get; }

The underlying gRPC AssuredWorkloadsService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsService.AssuredWorkloadsServiceClient` |   |

**Overrides** [AssuredWorkloadsServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GrpcClient)

## Methods

### AcknowledgeViolation(AcknowledgeViolationRequest, CallSettings)

    public override AcknowledgeViolationResponse AcknowledgeViolation(AcknowledgeViolationRequest request, CallSettings callSettings = null)

Acknowledges an existing violation. By acknowledging a violation, users
acknowledge the existence of a compliance violation in their workload and
decide to ignore it due to a valid business justification. Acknowledgement
is a permanent operation and it cannot be reverted.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationResponse` | The RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.AcknowledgeViolation(AcknowledgeViolationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_AcknowledgeViolation_Google_Cloud_AssuredWorkloads_V1_AcknowledgeViolationRequest_Google_Api_Gax_Grpc_CallSettings_)

### AcknowledgeViolationAsync(AcknowledgeViolationRequest, CallSettings)

    public override Task<AcknowledgeViolationResponse> AcknowledgeViolationAsync(AcknowledgeViolationRequest request, CallSettings callSettings = null)

Acknowledges an existing violation. By acknowledging a violation, users
acknowledge the existence of a compliance violation in their workload and
decide to ignore it due to a valid business justification. Acknowledgement
is a permanent operation and it cannot be reverted.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AcknowledgeViolationResponse` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.AcknowledgeViolationAsync(AcknowledgeViolationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_AcknowledgeViolationAsync_Google_Cloud_AssuredWorkloads_V1_AcknowledgeViolationRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateWorkload(CreateWorkloadRequest, CallSettings)

    public override Operation<Workload, CreateWorkloadOperationMetadata> CreateWorkload(CreateWorkloadRequest request, CallSettings callSettings = null)

Creates Assured Workload.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.CreateWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workloadhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.CreateWorkloadOperationMetadata` | The RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.CreateWorkload(CreateWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkload_Google_Cloud_AssuredWorkloads_V1_CreateWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateWorkloadAsync(CreateWorkloadRequest, CallSettings)

    public override Task<Operation<Workload, CreateWorkloadOperationMetadata>> CreateWorkloadAsync(CreateWorkloadRequest request, CallSettings callSettings = null)

Creates Assured Workload.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.CreateWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workloadhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.CreateWorkloadOperationMetadata` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.CreateWorkloadAsync(CreateWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_CreateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_CreateWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.DeleteWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [AssuredWorkloadsServiceClient.DeleteWorkload(DeleteWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkload_Google_Cloud_AssuredWorkloads_V1_DeleteWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.DeleteWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.DeleteWorkloadAsync(DeleteWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_DeleteWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_DeleteWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetViolation(GetViolationRequest, CallSettings)

    public override Violation GetViolation(GetViolationRequest request, CallSettings callSettings = null)

Retrieves Assured Workload Violation based on ID.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.GetViolationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation` | The RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.GetViolation(GetViolationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolation_Google_Cloud_AssuredWorkloads_V1_GetViolationRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetViolationAsync(GetViolationRequest, CallSettings)

    public override Task<Violation> GetViolationAsync(GetViolationRequest request, CallSettings callSettings = null)

Retrieves Assured Workload Violation based on ID.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.GetViolationRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.GetViolationAsync(GetViolationRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetViolationAsync_Google_Cloud_AssuredWorkloads_V1_GetViolationRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetWorkload(GetWorkloadRequest, CallSettings)

    public override Workload GetWorkload(GetWorkloadRequest request, CallSettings callSettings = null)

Gets Assured Workload associated with a CRM Node

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.GetWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload` | The RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.GetWorkload(GetWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkload_Google_Cloud_AssuredWorkloads_V1_GetWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.GetWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.GetWorkloadAsync(GetWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_GetWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_GetWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListViolations(ListViolationsRequest, CallSettings)

    public override PagedEnumerable<ListViolationsResponse, Violation> ListViolations(ListViolationsRequest request, CallSettings callSettings = null)

Lists the Violations in the AssuredWorkload Environment.
Callers may also choose to read across multiple Workloads as per
[AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
character) as a wildcard character instead of workload-id in the parent.
Format `organizations/{org_id}/locations/{location}/workloads/-`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation` | A pageable sequence of [Violation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation) resources. |

**Overrides** [AssuredWorkloadsServiceClient.ListViolations(ListViolationsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListViolations_Google_Cloud_AssuredWorkloads_V1_ListViolationsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListViolationsAsync(ListViolationsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListViolationsResponse, Violation> ListViolationsAsync(ListViolationsRequest request, CallSettings callSettings = null)

Lists the Violations in the AssuredWorkload Environment.
Callers may also choose to read across multiple Workloads as per
[AIP-159](https://google.aip.dev/159) by using '-' (the hyphen or dash
character) as a wildcard character instead of workload-id in the parent.
Format `organizations/{org_id}/locations/{location}/workloads/-`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListViolationsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation` | A pageable asynchronous sequence of [Violation](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Violation) resources. |

**Overrides** [AssuredWorkloadsServiceClient.ListViolationsAsync(ListViolationsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListViolationsAsync_Google_Cloud_AssuredWorkloads_V1_ListViolationsRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload` | A pageable sequence of [Workload](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload) resources. |

**Overrides** [AssuredWorkloadsServiceClient.ListWorkloads(ListWorkloadsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListWorkloads_Google_Cloud_AssuredWorkloads_V1_ListWorkloadsRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.ListWorkloadsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload` | A pageable asynchronous sequence of [Workload](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload) resources. |

**Overrides** [AssuredWorkloadsServiceClient.ListWorkloadsAsync(ListWorkloadsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_ListWorkloadsAsync_Google_Cloud_AssuredWorkloads_V1_ListWorkloadsRequest_Google_Api_Gax_Grpc_CallSettings_)

### RestrictAllowedResources(RestrictAllowedResourcesRequest, CallSettings)

    public override RestrictAllowedResourcesResponse RestrictAllowedResources(RestrictAllowedResourcesRequest request, CallSettings callSettings = null)

Restrict the list of resources allowed in the Workload environment.
The current list of allowed products can be found at
<https://cloud.google.com/assured-workloads/docs/supported-products>
In addition to assuredworkloads.workload.update permission, the user should
also have orgpolicy.policy.set permission on the folder resource
to use this functionality.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.RestrictAllowedResourcesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.RestrictAllowedResourcesResponse` | The RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.RestrictAllowedResources(RestrictAllowedResourcesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_RestrictAllowedResources_Google_Cloud_AssuredWorkloads_V1_RestrictAllowedResourcesRequest_Google_Api_Gax_Grpc_CallSettings_)

### RestrictAllowedResourcesAsync(RestrictAllowedResourcesRequest, CallSettings)

    public override Task<RestrictAllowedResourcesResponse> RestrictAllowedResourcesAsync(RestrictAllowedResourcesRequest request, CallSettings callSettings = null)

Restrict the list of resources allowed in the Workload environment.
The current list of allowed products can be found at
<https://cloud.google.com/assured-workloads/docs/supported-products>
In addition to assuredworkloads.workload.update permission, the user should
also have orgpolicy.policy.set permission on the folder resource
to use this functionality.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.RestrictAllowedResourcesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.RestrictAllowedResourcesResponse` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.RestrictAllowedResourcesAsync(RestrictAllowedResourcesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_RestrictAllowedResourcesAsync_Google_Cloud_AssuredWorkloads_V1_RestrictAllowedResourcesRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.UpdateWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload` | The RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.UpdateWorkload(UpdateWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_UpdateWorkload_Google_Cloud_AssuredWorkloads_V1_UpdateWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.UpdateWorkloadRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.Workload` | A Task containing the RPC response. |

**Overrides** [AssuredWorkloadsServiceClient.UpdateWorkloadAsync(UpdateWorkloadRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AssuredWorkloads.V1/latest/Google.Cloud.AssuredWorkloads.V1.AssuredWorkloadsServiceClient#Google_Cloud_AssuredWorkloads_V1_AssuredWorkloadsServiceClient_UpdateWorkloadAsync_Google_Cloud_AssuredWorkloads_V1_UpdateWorkloadRequest_Google_Api_Gax_Grpc_CallSettings_)