# Google Cloud OS Config v1 API - Class OsConfigZonalServiceClientImpl (2.6.0)

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

- [2.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.5.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.4.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.3.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.2.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.1.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/2.0.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [1.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.8.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [1.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.7.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [1.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.6.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [1.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.5.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.4.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/1.3.0/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClientImpl)

    public sealed class OsConfigZonalServiceClientImpl : OsConfigZonalServiceClient

Reference documentation and code samples for the Google Cloud OS Config v1 API class OsConfigZonalServiceClientImpl.

OsConfigZonalService client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[OsConfigZonalServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DefaultEndpoint) [OsConfigZonalServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DefaultScopes) [OsConfigZonalServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ServiceMetadata) [OsConfigZonalServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateAsync_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_Create) [OsConfigZonalServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ShutdownDefaultChannelsAsync) [OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_CreateOSPolicyAssignmentRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.PollOnceCreateOSPolicyAssignment(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_PollOnceCreateOSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.PollOnceCreateOSPolicyAssignmentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_PollOnceCreateOSPolicyAssignmentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.CreateOSPolicyAssignment(string, OSPolicyAssignment, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignment_System_String_Google_Cloud_OsConfig_V1_OSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync(string, OSPolicyAssignment, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentAsync_System_String_Google_Cloud_OsConfig_V1_OSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync(string, OSPolicyAssignment, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentAsync_System_String_Google_Cloud_OsConfig_V1_OSPolicyAssignment_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.CreateOSPolicyAssignment(LocationName, OSPolicyAssignment, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignment_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_OsConfig_V1_OSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync(LocationName, OSPolicyAssignment, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_OsConfig_V1_OSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync(LocationName, OSPolicyAssignment, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentAsync_Google_Api_Gax_ResourceNames_LocationName_Google_Cloud_OsConfig_V1_OSPolicyAssignment_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_UpdateOSPolicyAssignmentRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.PollOnceUpdateOSPolicyAssignment(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_PollOnceUpdateOSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.PollOnceUpdateOSPolicyAssignmentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_PollOnceUpdateOSPolicyAssignmentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.UpdateOSPolicyAssignment(OSPolicyAssignment, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignment_Google_Cloud_OsConfig_V1_OSPolicyAssignment_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.UpdateOSPolicyAssignmentAsync(OSPolicyAssignment, FieldMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignment_Google_Protobuf_WellKnownTypes_FieldMask_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.UpdateOSPolicyAssignmentAsync(OSPolicyAssignment, FieldMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignment_Google_Protobuf_WellKnownTypes_FieldMask_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_GetOSPolicyAssignmentRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetOSPolicyAssignment(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentAsync_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetOSPolicyAssignment(OSPolicyAssignmentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignment_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync(OSPolicyAssignmentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync(OSPolicyAssignmentName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.ListOSPolicyAssignments(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignments_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignments(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignments_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentsAsync(LocationName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentsAsync_Google_Api_Gax_ResourceNames_LocationName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisions(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentRevisions_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentRevisionsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisions(OSPolicyAssignmentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentRevisions_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsAsync(OSPolicyAssignmentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentRevisionsAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_DeleteOSPolicyAssignmentRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.PollOnceDeleteOSPolicyAssignment(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_PollOnceDeleteOSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.PollOnceDeleteOSPolicyAssignmentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_PollOnceDeleteOSPolicyAssignmentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignment(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignment_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentAsync_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignment(OSPolicyAssignmentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignment_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync(OSPolicyAssignmentName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync(OSPolicyAssignmentName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentName_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReportAsync_Google_Cloud_OsConfig_V1_GetOSPolicyAssignmentReportRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReport(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReport_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReportAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReportAsync_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReport(OSPolicyAssignmentReportName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReport_Google_Cloud_OsConfig_V1_OSPolicyAssignmentReportName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync(OSPolicyAssignmentReportName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReportAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentReportName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync(OSPolicyAssignmentReportName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReportAsync_Google_Cloud_OsConfig_V1_OSPolicyAssignmentReportName_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentReports(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentReports_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentReportsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentReports(InstanceOSPolicyAssignmentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentReports_Google_Cloud_OsConfig_V1_InstanceOSPolicyAssignmentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsAsync(InstanceOSPolicyAssignmentName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentReportsAsync_Google_Cloud_OsConfig_V1_InstanceOSPolicyAssignmentName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetInventoryAsync(GetInventoryRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventoryAsync_Google_Cloud_OsConfig_V1_GetInventoryRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetInventory(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventory_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetInventoryAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventoryAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetInventoryAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventoryAsync_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetInventory(InventoryName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventory_Google_Cloud_OsConfig_V1_InventoryName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetInventoryAsync(InventoryName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventoryAsync_Google_Cloud_OsConfig_V1_InventoryName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetInventoryAsync(InventoryName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventoryAsync_Google_Cloud_OsConfig_V1_InventoryName_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.ListInventories(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListInventories_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListInventoriesAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListInventoriesAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListInventories(InstanceName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListInventories_Google_Cloud_OsConfig_V1_InstanceName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListInventoriesAsync(InstanceName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListInventoriesAsync_Google_Cloud_OsConfig_V1_InstanceName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReportAsync_Google_Cloud_OsConfig_V1_GetVulnerabilityReportRequest_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetVulnerabilityReport(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReport_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetVulnerabilityReportAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReportAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetVulnerabilityReportAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReportAsync_System_String_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.GetVulnerabilityReport(VulnerabilityReportName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReport_Google_Cloud_OsConfig_V1_VulnerabilityReportName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetVulnerabilityReportAsync(VulnerabilityReportName, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReportAsync_Google_Cloud_OsConfig_V1_VulnerabilityReportName_Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.GetVulnerabilityReportAsync(VulnerabilityReportName, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReportAsync_Google_Cloud_OsConfig_V1_VulnerabilityReportName_System_Threading_CancellationToken_) [OsConfigZonalServiceClient.ListVulnerabilityReports(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListVulnerabilityReports_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListVulnerabilityReportsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListVulnerabilityReportsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListVulnerabilityReports(InstanceName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListVulnerabilityReports_Google_Cloud_OsConfig_V1_InstanceName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [OsConfigZonalServiceClient.ListVulnerabilityReportsAsync(InstanceName, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListVulnerabilityReportsAsync_Google_Cloud_OsConfig_V1_InstanceName_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [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.OsConfig.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1)

## Assembly

Google.Cloud.OsConfig.V1.dll

## Remarks

Zonal OS Config API

The OS Config service is the server-side component that allows users to
manage package installations and patch jobs for Compute Engine VM instances.

## Constructors

### OsConfigZonalServiceClientImpl(OsConfigZonalServiceClient, OsConfigZonalServiceSettings, ILogger)

    public OsConfigZonalServiceClientImpl(OsConfigZonalService.OsConfigZonalServiceClient grpcClient, OsConfigZonalServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalService.OsConfigZonalServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceSettings` The base [OsConfigZonalServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceSettings) 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

### CreateOSPolicyAssignmentOperationsClient

    public override OperationsClient CreateOSPolicyAssignmentOperationsClient { get; }

The long-running operations client for `CreateOSPolicyAssignment`.

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

**Overrides** [OsConfigZonalServiceClient.CreateOSPolicyAssignmentOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentOperationsClient)

### DeleteOSPolicyAssignmentOperationsClient

    public override OperationsClient DeleteOSPolicyAssignmentOperationsClient { get; }

The long-running operations client for `DeleteOSPolicyAssignment`.

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

**Overrides** [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentOperationsClient)

### GrpcClient

    public override OsConfigZonalService.OsConfigZonalServiceClient GrpcClient { get; }

The underlying gRPC OsConfigZonalService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalService.OsConfigZonalServiceClient` |   |

**Overrides** [OsConfigZonalServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GrpcClient)

### UpdateOSPolicyAssignmentOperationsClient

    public override OperationsClient UpdateOSPolicyAssignmentOperationsClient { get; }

The long-running operations client for `UpdateOSPolicyAssignment`.

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

**Overrides** [OsConfigZonalServiceClient.UpdateOSPolicyAssignmentOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignmentOperationsClient)

## Methods

### CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest, CallSettings)

    public override Operation<OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Create an OS policy assignment.

This method also creates the first revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.CreateOSPolicyAssignmentRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentOperationMetadata` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignment_Google_Cloud_OsConfig_V1_CreateOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest, CallSettings)

    public override Task<Operation<OSPolicyAssignment, OSPolicyAssignmentOperationMetadata>> CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Create an OS policy assignment.

This method also creates the first revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.CreateOSPolicyAssignmentRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentOperationMetadata` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_CreateOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_CreateOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest, CallSettings)

    public override Operation<Empty, OSPolicyAssignmentOperationMetadata> DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Delete the OS policy assignment.

This method creates a new revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

If the LRO completes and is not cancelled, all revisions associated with
the OS policy assignment are deleted.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.DeleteOSPolicyAssignmentRequest` 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://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentOperationMetadata` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignment_Google_Cloud_OsConfig_V1_DeleteOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest, CallSettings)

    public override Task<Operation<Empty, OSPolicyAssignmentOperationMetadata>> DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Delete the OS policy assignment.

This method creates a new revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

If the LRO completes and is not cancelled, all revisions associated with
the OS policy assignment are deleted.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.DeleteOSPolicyAssignmentRequest` 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://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Empty.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentOperationMetadata` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_DeleteOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_DeleteOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetInventory(GetInventoryRequest, CallSettings)

    public override Inventory GetInventory(GetInventoryRequest request, CallSettings callSettings = null)

Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message `NOT_FOUND` is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetInventoryRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetInventory(GetInventoryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventory_Google_Cloud_OsConfig_V1_GetInventoryRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetInventoryAsync(GetInventoryRequest, CallSettings)

    public override Task<Inventory> GetInventoryAsync(GetInventoryRequest request, CallSettings callSettings = null)

Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message `NOT_FOUND` is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetInventoryRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetInventoryAsync(GetInventoryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetInventoryAsync_Google_Cloud_OsConfig_V1_GetInventoryRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetOSPolicyAssignment(GetOSPolicyAssignmentRequest, CallSettings)

    public override OSPolicyAssignment GetOSPolicyAssignment(GetOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Retrieve an existing OS policy assignment.

This method always returns the latest revision. In order to retrieve a
previous revision of the assignment, also provide the revision ID in the
`name` parameter.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetOSPolicyAssignmentRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetOSPolicyAssignment(GetOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignment_Google_Cloud_OsConfig_V1_GetOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest, CallSettings)

    public override Task<OSPolicyAssignment> GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Retrieve an existing OS policy assignment.

This method always returns the latest revision. In order to retrieve a
previous revision of the assignment, also provide the revision ID in the
`name` parameter.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetOSPolicyAssignmentRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_GetOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest, CallSettings)

    public override OSPolicyAssignmentReport GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, CallSettings callSettings = null)

Get the OS policy asssignment report for the specified Compute Engine VM
instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetOSPolicyAssignmentReportRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentReport` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReport_Google_Cloud_OsConfig_V1_GetOSPolicyAssignmentReportRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest, CallSettings)

    public override Task<OSPolicyAssignmentReport> GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest request, CallSettings callSettings = null)

Get the OS policy asssignment report for the specified Compute Engine VM
instance.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetOSPolicyAssignmentReportRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentReport` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetOSPolicyAssignmentReportAsync_Google_Cloud_OsConfig_V1_GetOSPolicyAssignmentReportRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetVulnerabilityReport(GetVulnerabilityReportRequest, CallSettings)

    public override VulnerabilityReport GetVulnerabilityReport(GetVulnerabilityReportRequest request, CallSettings callSettings = null)

Gets the vulnerability report for the specified VM instance. Only VMs with
inventory data have vulnerability reports associated with them.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetVulnerabilityReportRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.VulnerabilityReport` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetVulnerabilityReport(GetVulnerabilityReportRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReport_Google_Cloud_OsConfig_V1_GetVulnerabilityReportRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, CallSettings)

    public override Task<VulnerabilityReport> GetVulnerabilityReportAsync(GetVulnerabilityReportRequest request, CallSettings callSettings = null)

Gets the vulnerability report for the specified VM instance. Only VMs with
inventory data have vulnerability reports associated with them.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.GetVulnerabilityReportRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.VulnerabilityReport` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_GetVulnerabilityReportAsync_Google_Cloud_OsConfig_V1_GetVulnerabilityReportRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListInventories(ListInventoriesRequest, CallSettings)

    public override PagedEnumerable<ListInventoriesResponse, Inventory> ListInventories(ListInventoriesRequest request, CallSettings callSettings = null)

List inventory data for all VM instances in the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListInventoriesRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListInventoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory` | A pageable sequence of [Inventory](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory) resources. |

**Overrides** [OsConfigZonalServiceClient.ListInventories(ListInventoriesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListInventories_Google_Cloud_OsConfig_V1_ListInventoriesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListInventoriesAsync(ListInventoriesRequest, CallSettings)

    public override PagedAsyncEnumerable<ListInventoriesResponse, Inventory> ListInventoriesAsync(ListInventoriesRequest request, CallSettings callSettings = null)

List inventory data for all VM instances in the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListInventoriesRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListInventoriesResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory` | A pageable asynchronous sequence of [Inventory](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.Inventory) resources. |

**Overrides** [OsConfigZonalServiceClient.ListInventoriesAsync(ListInventoriesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListInventoriesAsync_Google_Cloud_OsConfig_V1_ListInventoriesRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest, CallSettings)

    public override PagedEnumerable<ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, CallSettings callSettings = null)

List OS policy asssignment reports for all Compute Engine VM instances in
the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentReportsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentReport` | A pageable sequence of [OSPolicyAssignmentReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentReport) resources. |

**Overrides** [OsConfigZonalServiceClient.ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentReports_Google_Cloud_OsConfig_V1_ListOSPolicyAssignmentReportsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListOSPolicyAssignmentReportsResponse, OSPolicyAssignmentReport> ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest request, CallSettings callSettings = null)

List OS policy asssignment reports for all Compute Engine VM instances in
the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentReportsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentReport` | A pageable asynchronous sequence of [OSPolicyAssignmentReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentReport) resources. |

**Overrides** [OsConfigZonalServiceClient.ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentReportsAsync_Google_Cloud_OsConfig_V1_ListOSPolicyAssignmentReportsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest, CallSettings)

    public override PagedEnumerable<ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, CallSettings callSettings = null)

List the OS policy assignment revisions for a given OS policy assignment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentRevisionsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment` | A pageable sequence of [OSPolicyAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment) resources. |

**Overrides** [OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentRevisions_Google_Cloud_OsConfig_V1_ListOSPolicyAssignmentRevisionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListOSPolicyAssignmentRevisionsResponse, OSPolicyAssignment> ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest request, CallSettings callSettings = null)

List the OS policy assignment revisions for a given OS policy assignment.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentRevisionsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentRevisionsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment` | A pageable asynchronous sequence of [OSPolicyAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment) resources. |

**Overrides** [OsConfigZonalServiceClient.ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentRevisionsAsync_Google_Cloud_OsConfig_V1_ListOSPolicyAssignmentRevisionsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest, CallSettings)

    public override PagedEnumerable<ListOSPolicyAssignmentsResponse, OSPolicyAssignment> ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, CallSettings callSettings = null)

List the OS policy assignments under the parent resource.

For each OS policy assignment, the latest revision is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment` | A pageable sequence of [OSPolicyAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment) resources. |

**Overrides** [OsConfigZonalServiceClient.ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignments_Google_Cloud_OsConfig_V1_ListOSPolicyAssignmentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListOSPolicyAssignmentsResponse, OSPolicyAssignment> ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest request, CallSettings callSettings = null)

List the OS policy assignments under the parent resource.

For each OS policy assignment, the latest revision is returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListOSPolicyAssignmentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment` | A pageable asynchronous sequence of [OSPolicyAssignment](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignment) resources. |

**Overrides** [OsConfigZonalServiceClient.ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListOSPolicyAssignmentsAsync_Google_Cloud_OsConfig_V1_ListOSPolicyAssignmentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListVulnerabilityReports(ListVulnerabilityReportsRequest, CallSettings)

    public override PagedEnumerable<ListVulnerabilityReportsResponse, VulnerabilityReport> ListVulnerabilityReports(ListVulnerabilityReportsRequest request, CallSettings callSettings = null)

List vulnerability reports for all VM instances in the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListVulnerabilityReportsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListVulnerabilityReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.VulnerabilityReport` | A pageable sequence of [VulnerabilityReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.VulnerabilityReport) resources. |

**Overrides** [OsConfigZonalServiceClient.ListVulnerabilityReports(ListVulnerabilityReportsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListVulnerabilityReports_Google_Cloud_OsConfig_V1_ListVulnerabilityReportsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListVulnerabilityReportsResponse, VulnerabilityReport> ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest request, CallSettings callSettings = null)

List vulnerability reports for all VM instances in the specified zone.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListVulnerabilityReportsRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.ListVulnerabilityReportsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.VulnerabilityReport` | A pageable asynchronous sequence of [VulnerabilityReport](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.VulnerabilityReport) resources. |

**Overrides** [OsConfigZonalServiceClient.ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_ListVulnerabilityReportsAsync_Google_Cloud_OsConfig_V1_ListVulnerabilityReportsRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest, CallSettings)

    public override Operation<OSPolicyAssignment, OSPolicyAssignmentOperationMetadata> UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Update an existing OS policy assignment.

This method creates a new revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.UpdateOSPolicyAssignmentRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentOperationMetadata` | The RPC response. |

**Overrides** [OsConfigZonalServiceClient.UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignment_Google_Cloud_OsConfig_V1_UpdateOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest, CallSettings)

    public override Task<Operation<OSPolicyAssignment, OSPolicyAssignmentOperationMetadata>> UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest request, CallSettings callSettings = null)

Update an existing OS policy assignment.

This method creates a new revision of the OS policy assignment.

This method returns a long running operation (LRO) that contains the
rollout details. The rollout can be cancelled by cancelling the LRO.

For more information, see [Method:
projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.UpdateOSPolicyAssignmentRequest` 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.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmenthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OSPolicyAssignmentOperationMetadata` | A Task containing the RPC response. |

**Overrides** [OsConfigZonalServiceClient.UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsConfig.V1/latest/Google.Cloud.OsConfig.V1.OsConfigZonalServiceClient#Google_Cloud_OsConfig_V1_OsConfigZonalServiceClient_UpdateOSPolicyAssignmentAsync_Google_Cloud_OsConfig_V1_UpdateOSPolicyAssignmentRequest_Google_Api_Gax_Grpc_CallSettings_)