# Compute Engine v1 API - Class NetworkAttachmentsClientImpl (3.28.0)

3.28.0 (latest) 3.27.0 3.26.0 3.25.0 3.24.0 3.23.0 3.22.0 3.21.0 3.20.0 3.19.0 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class NetworkAttachmentsClientImpl : NetworkAttachmentsClient

Reference documentation and code samples for the Compute Engine v1 API class NetworkAttachmentsClientImpl.

NetworkAttachments client wrapper implementation, for convenient use.

## Inheritance

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

## Inherited Members

[NetworkAttachmentsClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DefaultEndpoint) [NetworkAttachmentsClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DefaultScopes) [NetworkAttachmentsClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_ServiceMetadata) [NetworkAttachmentsClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_CreateAsync_System_Threading_CancellationToken_) [NetworkAttachmentsClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Create) [NetworkAttachmentsClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_ShutdownDefaultChannelsAsync) [NetworkAttachmentsClient.AggregatedList(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_AggregatedList_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.AggregatedListAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_AggregatedListAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.DeleteAsync(DeleteNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.PollOnceDelete(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PollOnceDelete_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.PollOnceDeleteAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PollOnceDeleteAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.Delete(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Delete_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.DeleteAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DeleteAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.DeleteAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DeleteAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [NetworkAttachmentsClient.GetAsync(GetNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetAsync_Google_Cloud_Compute_V1_GetNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.Get(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Get_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.GetAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.GetAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [NetworkAttachmentsClient.GetIamPolicyAsync(GetIamPolicyNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicyNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.GetIamPolicy(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetIamPolicy_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.GetIamPolicyAsync(string, string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetIamPolicyAsync_System_String_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.GetIamPolicyAsync(string, string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetIamPolicyAsync_System_String_System_String_System_String_System_Threading_CancellationToken_) [NetworkAttachmentsClient.InsertAsync(InsertNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_InsertAsync_Google_Cloud_Compute_V1_InsertNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.PollOnceInsert(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PollOnceInsert_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.PollOnceInsertAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PollOnceInsertAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.Insert(string, string, NetworkAttachment, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Insert_System_String_System_String_Google_Cloud_Compute_V1_NetworkAttachment_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.InsertAsync(string, string, NetworkAttachment, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_InsertAsync_System_String_System_String_Google_Cloud_Compute_V1_NetworkAttachment_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.InsertAsync(string, string, NetworkAttachment, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_InsertAsync_System_String_System_String_Google_Cloud_Compute_V1_NetworkAttachment_System_Threading_CancellationToken_) [NetworkAttachmentsClient.List(string, string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_List_System_String_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.ListAsync(string, string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_ListAsync_System_String_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.PatchAsync(PatchNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PatchAsync_Google_Cloud_Compute_V1_PatchNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.PollOncePatch(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PollOncePatch_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.PollOncePatchAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PollOncePatchAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.Patch(string, string, string, NetworkAttachment, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Patch_System_String_System_String_System_String_Google_Cloud_Compute_V1_NetworkAttachment_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.PatchAsync(string, string, string, NetworkAttachment, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PatchAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_NetworkAttachment_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.PatchAsync(string, string, string, NetworkAttachment, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PatchAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_NetworkAttachment_System_Threading_CancellationToken_) [NetworkAttachmentsClient.SetIamPolicyAsync(SetIamPolicyNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicyNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.SetIamPolicy(string, string, string, RegionSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_SetIamPolicy_System_String_System_String_System_String_Google_Cloud_Compute_V1_RegionSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.SetIamPolicyAsync(string, string, string, RegionSetPolicyRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_SetIamPolicyAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_RegionSetPolicyRequest_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.SetIamPolicyAsync(string, string, string, RegionSetPolicyRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_SetIamPolicyAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_RegionSetPolicyRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.TestIamPermissionsAsync(TestIamPermissionsNetworkAttachmentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsNetworkAttachmentRequest_System_Threading_CancellationToken_) [NetworkAttachmentsClient.TestIamPermissions(string, string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_TestIamPermissions_System_String_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.TestIamPermissionsAsync(string, string, string, TestPermissionsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_TestIamPermissionsAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_Google_Api_Gax_Grpc_CallSettings_) [NetworkAttachmentsClient.TestIamPermissionsAsync(string, string, string, TestPermissionsRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_TestIamPermissionsAsync_System_String_System_String_System_String_Google_Cloud_Compute_V1_TestPermissionsRequest_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.Compute.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)

## Assembly

Google.Cloud.Compute.V1.dll

## Remarks

The NetworkAttachments API.

## Constructors

### NetworkAttachmentsClientImpl(NetworkAttachmentsClient, NetworkAttachmentsSettings, ILogger)

    public NetworkAttachmentsClientImpl(NetworkAttachments.NetworkAttachmentsClient grpcClient, NetworkAttachmentsSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachments.NetworkAttachmentsClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsSettings` The base [NetworkAttachmentsSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsSettings) 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

### DeleteOperationsClient

    public override OperationsClient DeleteOperationsClient { get; }

The long-running operations client for `Delete`.

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

**Overrides** [NetworkAttachmentsClient.DeleteOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DeleteOperationsClient)

### GrpcClient

    public override NetworkAttachments.NetworkAttachmentsClient GrpcClient { get; }

The underlying gRPC NetworkAttachments client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachments.NetworkAttachmentsClient` |   |

**Overrides** [NetworkAttachmentsClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GrpcClient)

### InsertOperationsClient

    public override OperationsClient InsertOperationsClient { get; }

The long-running operations client for `Insert`.

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

**Overrides** [NetworkAttachmentsClient.InsertOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_InsertOperationsClient)

### PatchOperationsClient

    public override OperationsClient PatchOperationsClient { get; }

The long-running operations client for `Patch`.

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

**Overrides** [NetworkAttachmentsClient.PatchOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PatchOperationsClient)

## Methods

### AggregatedList(AggregatedListNetworkAttachmentsRequest, CallSettings)

    public override PagedEnumerable<NetworkAttachmentAggregatedList, KeyValuePair<string, NetworkAttachmentsScopedList>> AggregatedList(AggregatedListNetworkAttachmentsRequest request, CallSettings callSettings = null)

Retrieves the list of all NetworkAttachment resources,
regional and global, available to the specified project.

To prevent failure, Google recommends that you set the
`returnPartialSuccess` parameter to `true`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AggregatedListNetworkAttachmentsRequest` 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.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentAggregatedListhttps://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2https://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsScopedList` | A pageable sequence of [KeyValuePair\<TKey, TValue\>](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2) resources. |

**Overrides** [NetworkAttachmentsClient.AggregatedList(AggregatedListNetworkAttachmentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_AggregatedList_Google_Cloud_Compute_V1_AggregatedListNetworkAttachmentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### AggregatedListAsync(AggregatedListNetworkAttachmentsRequest, CallSettings)

    public override PagedAsyncEnumerable<NetworkAttachmentAggregatedList, KeyValuePair<string, NetworkAttachmentsScopedList>> AggregatedListAsync(AggregatedListNetworkAttachmentsRequest request, CallSettings callSettings = null)

Retrieves the list of all NetworkAttachment resources,
regional and global, available to the specified project.

To prevent failure, Google recommends that you set the
`returnPartialSuccess` parameter to `true`.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.AggregatedListNetworkAttachmentsRequest` 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.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentAggregatedListhttps://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2https://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsScopedList` | A pageable asynchronous sequence of [KeyValuePair\<TKey, TValue\>](https://learn.microsoft.com/dotnet/api/system.collections.generic.keyvaluepair-2) resources. |

**Overrides** [NetworkAttachmentsClient.AggregatedListAsync(AggregatedListNetworkAttachmentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_AggregatedListAsync_Google_Cloud_Compute_V1_AggregatedListNetworkAttachmentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### Delete(DeleteNetworkAttachmentRequest, CallSettings)

    public override Operation<Operation, Operation> Delete(DeleteNetworkAttachmentRequest request, CallSettings callSettings = null)

Deletes the specified NetworkAttachment in the given scope

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

**Overrides** [NetworkAttachmentsClient.Delete(DeleteNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Delete_Google_Cloud_Compute_V1_DeleteNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteAsync(DeleteNetworkAttachmentRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> DeleteAsync(DeleteNetworkAttachmentRequest request, CallSettings callSettings = null)

Deletes the specified NetworkAttachment in the given scope

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

**Overrides** [NetworkAttachmentsClient.DeleteAsync(DeleteNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_DeleteAsync_Google_Cloud_Compute_V1_DeleteNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### Get(GetNetworkAttachmentRequest, CallSettings)

    public override NetworkAttachment Get(GetNetworkAttachmentRequest request, CallSettings callSettings = null)

Returns the specified NetworkAttachment resource in the given scope.

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

**Overrides** [NetworkAttachmentsClient.Get(GetNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Get_Google_Cloud_Compute_V1_GetNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetAsync(GetNetworkAttachmentRequest, CallSettings)

    public override Task<NetworkAttachment> GetAsync(GetNetworkAttachmentRequest request, CallSettings callSettings = null)

Returns the specified NetworkAttachment resource in the given scope.

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

**Overrides** [NetworkAttachmentsClient.GetAsync(GetNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetAsync_Google_Cloud_Compute_V1_GetNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicy(GetIamPolicyNetworkAttachmentRequest, CallSettings)

    public override Policy GetIamPolicy(GetIamPolicyNetworkAttachmentRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such
policy or resource exists.

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

**Overrides** [NetworkAttachmentsClient.GetIamPolicy(GetIamPolicyNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetIamPolicy_Google_Cloud_Compute_V1_GetIamPolicyNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetIamPolicyAsync(GetIamPolicyNetworkAttachmentRequest, CallSettings)

    public override Task<Policy> GetIamPolicyAsync(GetIamPolicyNetworkAttachmentRequest request, CallSettings callSettings = null)

Gets the access control policy for a resource. May be empty if no such
policy or resource exists.

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

**Overrides** [NetworkAttachmentsClient.GetIamPolicyAsync(GetIamPolicyNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_GetIamPolicyAsync_Google_Cloud_Compute_V1_GetIamPolicyNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### Insert(InsertNetworkAttachmentRequest, CallSettings)

    public override Operation<Operation, Operation> Insert(InsertNetworkAttachmentRequest request, CallSettings callSettings = null)

Creates a NetworkAttachment in the specified project in the given scope
using the parameters that are included in the request.

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

**Overrides** [NetworkAttachmentsClient.Insert(InsertNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Insert_Google_Cloud_Compute_V1_InsertNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### InsertAsync(InsertNetworkAttachmentRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> InsertAsync(InsertNetworkAttachmentRequest request, CallSettings callSettings = null)

Creates a NetworkAttachment in the specified project in the given scope
using the parameters that are included in the request.

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

**Overrides** [NetworkAttachmentsClient.InsertAsync(InsertNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_InsertAsync_Google_Cloud_Compute_V1_InsertNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### List(ListNetworkAttachmentsRequest, CallSettings)

    public override PagedEnumerable<NetworkAttachmentList, NetworkAttachment> List(ListNetworkAttachmentsRequest request, CallSettings callSettings = null)

Lists the NetworkAttachments for a project in the given scope.

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

**Overrides** [NetworkAttachmentsClient.List(ListNetworkAttachmentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_List_Google_Cloud_Compute_V1_ListNetworkAttachmentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListAsync(ListNetworkAttachmentsRequest, CallSettings)

    public override PagedAsyncEnumerable<NetworkAttachmentList, NetworkAttachment> ListAsync(ListNetworkAttachmentsRequest request, CallSettings callSettings = null)

Lists the NetworkAttachments for a project in the given scope.

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

**Overrides** [NetworkAttachmentsClient.ListAsync(ListNetworkAttachmentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_ListAsync_Google_Cloud_Compute_V1_ListNetworkAttachmentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### Patch(PatchNetworkAttachmentRequest, CallSettings)

    public override Operation<Operation, Operation> Patch(PatchNetworkAttachmentRequest request, CallSettings callSettings = null)

Patches the specified NetworkAttachment resource with the data included in
the request. This method supports PATCH
semantics and usesJSON merge
patch format and processing rules.

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

**Overrides** [NetworkAttachmentsClient.Patch(PatchNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_Patch_Google_Cloud_Compute_V1_PatchNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### PatchAsync(PatchNetworkAttachmentRequest, CallSettings)

    public override Task<Operation<Operation, Operation>> PatchAsync(PatchNetworkAttachmentRequest request, CallSettings callSettings = null)

Patches the specified NetworkAttachment resource with the data included in
the request. This method supports PATCH
semantics and usesJSON merge
patch format and processing rules.

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

**Overrides** [NetworkAttachmentsClient.PatchAsync(PatchNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_PatchAsync_Google_Cloud_Compute_V1_PatchNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicy(SetIamPolicyNetworkAttachmentRequest, CallSettings)

    public override Policy SetIamPolicy(SetIamPolicyNetworkAttachmentRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource.
Replaces any existing policy.

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

**Overrides** [NetworkAttachmentsClient.SetIamPolicy(SetIamPolicyNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_SetIamPolicy_Google_Cloud_Compute_V1_SetIamPolicyNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### SetIamPolicyAsync(SetIamPolicyNetworkAttachmentRequest, CallSettings)

    public override Task<Policy> SetIamPolicyAsync(SetIamPolicyNetworkAttachmentRequest request, CallSettings callSettings = null)

Sets the access control policy on the specified resource.
Replaces any existing policy.

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

**Overrides** [NetworkAttachmentsClient.SetIamPolicyAsync(SetIamPolicyNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_SetIamPolicyAsync_Google_Cloud_Compute_V1_SetIamPolicyNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissions(TestIamPermissionsNetworkAttachmentRequest, CallSettings)

    public override TestPermissionsResponse TestIamPermissions(TestIamPermissionsNetworkAttachmentRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

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

**Overrides** [NetworkAttachmentsClient.TestIamPermissions(TestIamPermissionsNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_TestIamPermissions_Google_Cloud_Compute_V1_TestIamPermissionsNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)

### TestIamPermissionsAsync(TestIamPermissionsNetworkAttachmentRequest, CallSettings)

    public override Task<TestPermissionsResponse> TestIamPermissionsAsync(TestIamPermissionsNetworkAttachmentRequest request, CallSettings callSettings = null)

Returns permissions that a caller has on the specified resource.

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

**Overrides** [NetworkAttachmentsClient.TestIamPermissionsAsync(TestIamPermissionsNetworkAttachmentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.NetworkAttachmentsClient#Google_Cloud_Compute_V1_NetworkAttachmentsClient_TestIamPermissionsAsync_Google_Cloud_Compute_V1_TestIamPermissionsNetworkAttachmentRequest_Google_Api_Gax_Grpc_CallSettings_)