public virtual Task<Operation> Patch(PatchForwardingRuleRequest 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\u003eThis document provides reference documentation for the \u003ccode\u003eForwardingRules.ForwardingRulesBase\u003c/code\u003e class within the Google.Cloud.Compute.V1 namespace, detailing various versions and API methods.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this class is 3.6.0, and the documentation outlines numerous previous versions spanning from 1.0.0 to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eForwardingRules.ForwardingRulesBase\u003c/code\u003e serves as a base class for server-side implementations of ForwardingRules, and it inherits members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes several methods for managing forwarding rules, including \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, \u003ccode\u003eSetLabels\u003c/code\u003e, and \u003ccode\u003eSetTarget\u003c/code\u003e, each of which handles specific operations related to forwarding rules.\u003c/p\u003e\n"],["\u003cp\u003eEach method in the \u003ccode\u003eForwardingRules.ForwardingRulesBase\u003c/code\u003e class is documented with parameters, return types, and descriptions, providing comprehensive information on how to interact with forwarding rules using the Compute Engine v1 API.\u003c/p\u003e\n"]]],[],null,["# Compute Engine v1 API - Class ForwardingRules.ForwardingRulesBase (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.ForwardingRules.ForwardingRulesBase)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.12.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.11.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.10.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.9.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.8.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.7.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.6.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.5.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.4.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.3.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.2.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.1.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/3.0.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.17.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.17.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.16.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.16.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.15.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.14.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.13.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.12.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.11.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.10.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.9.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.8.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.7.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.6.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.5.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.4.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.3.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.2.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.1.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/2.0.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.4.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.3.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.2.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.1.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Compute.V1/1.0.0/Google.Cloud.Compute.V1.ForwardingRules.ForwardingRulesBase) \n\n [BindServiceMethod(typeof(ForwardingRules), \"BindService\")]\n public abstract class ForwardingRules.ForwardingRulesBase\n\nReference documentation and code samples for the Compute Engine v1 API class ForwardingRules.ForwardingRulesBase.\n\nBase class for server-side implementations of ForwardingRules \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ForwardingRules.ForwardingRulesBase \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(AggregatedListForwardingRulesRequest, ServerCallContext)\n\n public virtual Task\u003cForwardingRuleAggregatedList\u003e AggregatedList(AggregatedListForwardingRulesRequest request, ServerCallContext context)\n\nRetrieves an aggregated list of forwarding rules. To prevent failure, Google recommends that you set the `returnPartialSuccess` parameter to `true`.\n\n### Delete(DeleteForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Delete(DeleteForwardingRuleRequest request, ServerCallContext context)\n\nDeletes the specified ForwardingRule resource.\n\n### Get(GetForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cForwardingRule\u003e Get(GetForwardingRuleRequest request, ServerCallContext context)\n\nReturns the specified ForwardingRule resource.\n\n### Insert(InsertForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Insert(InsertForwardingRuleRequest request, ServerCallContext context)\n\nCreates a ForwardingRule resource in the specified project and region using the data included in the request.\n\n### List(ListForwardingRulesRequest, ServerCallContext)\n\n public virtual Task\u003cForwardingRuleList\u003e List(ListForwardingRulesRequest request, ServerCallContext context)\n\nRetrieves a list of ForwardingRule resources available to the specified project and region.\n\n### Patch(PatchForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e Patch(PatchForwardingRuleRequest 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(SetLabelsForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e SetLabels(SetLabelsForwardingRuleRequest request, ServerCallContext context)\n\nSets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.\n\n### SetTarget(SetTargetForwardingRuleRequest, ServerCallContext)\n\n public virtual Task\u003cOperation\u003e SetTarget(SetTargetForwardingRuleRequest request, ServerCallContext context)\n\nChanges target URL for forwarding rule. The new target should be of the same type as the old target."]]