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 functionality for modifying request paths.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, allows for rewriting the host header and path prefix of requests before forwarding them to a backend service.\u003c/p\u003e\n"],["\u003cp\u003eThere are numerous previous versions available in the documentation, with version 3.6.0 being the most recent, and down to version 1.0.0 being the oldest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class implements several interfaces including \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\u003eKey properties of the \u003ccode\u003eUrlRewrite\u003c/code\u003e class include \u003ccode\u003eHostRewrite\u003c/code\u003e and \u003ccode\u003ePathPrefixRewrite\u003c/code\u003e, which are used to modify the host header and path prefix of the request respectively, with specific character length requirements.\u003c/p\u003e\n"]]],[],null,[]]