Retrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.
public virtual Task<Operation> Patch(PatchServiceAttachmentRequest request, ServerCallContext context)
Patches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eServiceAttachments.ServiceAttachmentsBase\u003c/code\u003e class in the Google Cloud Compute Engine v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 3.6.0, and the page also lists many older versions of the \u003ccode\u003eServiceAttachments.ServiceAttachmentsBase\u003c/code\u003e, going as far back as version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServiceAttachments.ServiceAttachmentsBase\u003c/code\u003e class serves as a base for server-side implementations of \u003ccode\u003eServiceAttachments\u003c/code\u003e and includes several methods for managing service attachments such as \u003ccode\u003eAggregatedList\u003c/code\u003e, \u003ccode\u003eDelete\u003c/code\u003e, \u003ccode\u003eGet\u003c/code\u003e, \u003ccode\u003eInsert\u003c/code\u003e, \u003ccode\u003eList\u003c/code\u003e, \u003ccode\u003ePatch\u003c/code\u003e, and methods to manage access control policies like \u003ccode\u003eGetIamPolicy\u003c/code\u003e, \u003ccode\u003eSetIamPolicy\u003c/code\u003e, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAll methods in this class are designed to work asynchronously, returning a \u003ccode\u003eTask\u003c/code\u003e that wraps the expected return type, and they all expect \u003ccode\u003erequest\u003c/code\u003e and \u003ccode\u003econtext\u003c/code\u003e parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation also provides details on the inheritance hierarchy, namespace, assembly, and specific parameters and return types for each method offered by this class, along with links to external resources where relevant.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class ServiceAttachments.ServiceAttachmentsBase (3.13.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.13.0 (latest)](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.ServiceAttachments.ServiceAttachmentsBase) \n\n [BindServiceMethod(typeof(ServiceAttachments), \"BindService\")]\n public abstract class ServiceAttachments.ServiceAttachmentsBase\n\nReference documentation and code samples for the Compute Engine v1 API class ServiceAttachments.ServiceAttachmentsBase.\n\nBase class for server-side implementations of ServiceAttachments \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceAttachments.ServiceAttachmentsBase \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Compute.V1](/dotnet/docs/reference/Google.Cloud.Compute.V1/latest/Google.Cloud.Compute.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Compute.V1.dll\n\nMethods\n-------\n\n### AggregatedList(AggregatedListServiceAttachmentsRequest, ServerCallContext)\n\n public virtual Task\u003cServiceAttachmentAggregatedList\u003e AggregatedList(AggregatedListServiceAttachmentsRequest request, ServerCallContext context)\n\nRetrieves the list of all ServiceAttachment resources, regional and global, available to the specified project. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.\n\n### Delete(DeleteServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Delete(DeleteServiceAttachmentRequest request, ServerCallContext context)\n\nDeletes the specified ServiceAttachment in the given scope\n\n### Get(GetServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cServiceAttachment\u003e Get(GetServiceAttachmentRequest request, ServerCallContext context)\n\nReturns the specified ServiceAttachment resource in the given scope.\n\n### GetIamPolicy(GetIamPolicyServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cPolicy\u003e GetIamPolicy(GetIamPolicyServiceAttachmentRequest request, ServerCallContext context)\n\nGets the access control policy for a resource. May be empty if no such policy or resource exists.\n\n### Insert(InsertServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Insert(InsertServiceAttachmentRequest request, ServerCallContext context)\n\nCreates a ServiceAttachment in the specified project in the given scope using the parameters that are included in the request.\n\n### List(ListServiceAttachmentsRequest, ServerCallContext)\n\n public virtual Task\u003cServiceAttachmentList\u003e List(ListServiceAttachmentsRequest request, ServerCallContext context)\n\nLists the ServiceAttachments for a project in the given scope.\n\n### Patch(PatchServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Patch(PatchServiceAttachmentRequest request, ServerCallContext context)\n\nPatches the specified ServiceAttachment resource with the data included in the request. This method supports PATCH semantics and uses JSON merge patch format and processing rules.\n\n### SetIamPolicy(SetIamPolicyServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cPolicy\u003e SetIamPolicy(SetIamPolicyServiceAttachmentRequest request, ServerCallContext context)\n\nSets the access control policy on the specified resource. Replaces any existing policy.\n\n### TestIamPermissions(TestIamPermissionsServiceAttachmentRequest, ServerCallContext)\n\n public virtual Task\u003cTestPermissionsResponse\u003e TestIamPermissions(TestIamPermissionsServiceAttachmentRequest request, ServerCallContext context)\n\nReturns permissions that a caller has on the specified resource."]]