Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters.
Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters.
[[["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\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, is designed to modify the request path before it is sent to the matched backend service.\u003c/p\u003e\n"],["\u003cp\u003eThis page contains a list of the available versions of \u003ccode\u003eUrlRewrite\u003c/code\u003e, ranging from version 1.0.0 to the latest 3.6.0, with hyperlinks to the specific version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class can modify both the host header via \u003ccode\u003eHostRewrite\u003c/code\u003e and the path prefix via \u003ccode\u003ePathPrefixRewrite\u003c/code\u003e, as long as the characters in the value meet the given length requirements.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page contains two constructors for the \u003ccode\u003eUrlRewrite\u003c/code\u003e class, one of which is parameterless, and the second which accepts an existing \u003ccode\u003eUrlRewrite\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]