public virtual Task<Operation> Patch(PatchGlobalForwardingRuleRequest request, ServerCallContext context)
Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGlobalForwardingRules.GlobalForwardingRulesBase\u003c/code\u003e class is 3.6.0, with multiple prior versions available dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class is a base for server-side implementations of \u003ccode\u003eGlobalForwardingRules\u003c/code\u003e within the Compute Engine v1 API, specifically in the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities include deleting, getting, inserting, listing, patching, setting labels, and setting targets for \u003ccode\u003eGlobalForwardingRule\u003c/code\u003e resources, all using corresponding request objects.\u003c/p\u003e\n"],["\u003cp\u003eEach method within the \u003ccode\u003eGlobalForwardingRulesBase\u003c/code\u003e class interacts with the server using \u003ccode\u003eServerCallContext\u003c/code\u003e and returns results wrapped in a \u003ccode\u003eTask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eobject\u003c/code\u003e and includes inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e, all available from the dotnet API.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class GlobalForwardingRules.GlobalForwardingRulesBase (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.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.GlobalForwardingRules.GlobalForwardingRulesBase) \n\n [BindServiceMethod(typeof(GlobalForwardingRules), \"BindService\")]\n public abstract class GlobalForwardingRules.GlobalForwardingRulesBase\n\nReference documentation and code samples for the Compute Engine v1 API class GlobalForwardingRules.GlobalForwardingRulesBase.\n\nBase class for server-side implementations of GlobalForwardingRules \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GlobalForwardingRules.GlobalForwardingRulesBase \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### Delete(DeleteGlobalForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Delete(DeleteGlobalForwardingRuleRequest request, ServerCallContext context)\n\nDeletes the specified GlobalForwardingRule resource.\n\n### Get(GetGlobalForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cForwardingRule\u003e Get(GetGlobalForwardingRuleRequest request, ServerCallContext context)\n\nReturns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.\n\n### Insert(InsertGlobalForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Insert(InsertGlobalForwardingRuleRequest request, ServerCallContext context)\n\nCreates a GlobalForwardingRule resource in the specified project using the data included in the request.\n\n### List(ListGlobalForwardingRulesRequest, ServerCallContext)\n\n public virtual Task\u003cForwardingRuleList\u003e List(ListGlobalForwardingRulesRequest request, ServerCallContext context)\n\nRetrieves a list of GlobalForwardingRule resources available to the specified project.\n\n### Patch(PatchGlobalForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Patch(PatchGlobalForwardingRuleRequest request, ServerCallContext context)\n\nUpdates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.\n\n### SetLabels(SetLabelsGlobalForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e SetLabels(SetLabelsGlobalForwardingRuleRequest request, ServerCallContext context)\n\nSets the labels on the specified resource. To learn more about labels, read the Labeling resources documentation.\n\n### SetTarget(SetTargetGlobalForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e SetTarget(SetTargetGlobalForwardingRuleRequest request, ServerCallContext context)\n\nChanges target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target."]]