Path Translation specifies how to combine the backend address with the
request path in order to produce the appropriate forwarding URL for the
request.
Path Translation is applicable only to HTTP-based backends. Backends which
do not accept requests over HTTP/HTTPS should leave path_translation
unspecified.
Use the backend address as-is, with no modification to the path. If the
URL pattern contains variables, the variable names and values will be
appended to the query string. If a query string parameter and a URL
pattern variable have the same name, this may result in duplicate keys in
the query string.
[[["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-08-28 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003ePathTranslation\u003c/code\u003e enum, which dictates how a backend address combines with a request path to form the forwarding URL for HTTP-based requests.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAppendPathToAddress\u003c/code\u003e field indicates that the request path will be directly added to the end of the backend address for the translated URL.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConstantAddress\u003c/code\u003e field specifies that the backend address should be used without altering the path, and any variables from the URL pattern will be added as query string parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUnspecified\u003c/code\u003e field represents a case where there are no specific path translation rules defined.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003ePathTranslation\u003c/code\u003e enum is version 2.15.0.\u003c/p\u003e\n"]]],[],null,["# Enum BackendRule.Types.PathTranslation (2.17.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.0 (latest)](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api.BackendRule.Types.PathTranslation)\n- [2.15.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.15.0/Google.Api.BackendRule.Types.PathTranslation)\n- [2.10.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.10.0/Google.Api.BackendRule.Types.PathTranslation)\n- [2.2.0](/dotnet/docs/reference/Google.Api.CommonProtos/2.2.0/Google.Api.BackendRule.Types.PathTranslation) \n\n public enum BackendRule.Types.PathTranslation\n\nPath Translation specifies how to combine the backend address with the\nrequest path in order to produce the appropriate forwarding URL for the\nrequest.\n\nPath Translation is applicable only to HTTP-based backends. Backends which\ndo not accept requests over HTTP/HTTPS should leave `path_translation`\nunspecified.\n\nNamespace\n---------\n\n[Google.Api](/dotnet/docs/reference/Google.Api.CommonProtos/latest/Google.Api)\n\nAssembly\n--------\n\nGoogle.Api.CommonProtos.dll"]]