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\u003eThis document provides reference documentation for the \u003ccode\u003eUrlRewrite\u003c/code\u003e class within the Google Compute Engine v1 API, detailing its properties, constructors, and inheritance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class is designed for modifying request paths before they are sent to a backend service, including a rewrite of the \u003ccode\u003ehost\u003c/code\u003e header and \u003ccode\u003epath_prefix\u003c/code\u003e as needed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class has methods for determining if the \u003ccode\u003ehost_rewrite\u003c/code\u003e and \u003ccode\u003epath_prefix_rewrite\u003c/code\u003e fields are set, as well as \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003eset\u003c/code\u003e access to these properties, the lengths of which are respectively limited to 255 and 1024 characters.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists all of the versions for \u003ccode\u003eUrlRewrite\u003c/code\u003e from version 1.0.0 to 3.6.0, with 3.6.0 being the latest, where you can find the documentation to the class in the associated version.\u003c/p\u003e\n"]]],[],null,[]]