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"]],[["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-04-09 UTC."],[[["This document provides reference documentation for the `UrlRewrite` class within the Google Compute Engine v1 API, detailing its properties, constructors, and inheritance."],["The `UrlRewrite` class is designed for modifying request paths before they are sent to a backend service, including a rewrite of the `host` header and `path_prefix` as needed."],["The `UrlRewrite` class has methods for determining if the `host_rewrite` and `path_prefix_rewrite` fields are set, as well as `get` and `set` access to these properties, the lengths of which are respectively limited to 255 and 1024 characters."],["This page lists all of the versions for `UrlRewrite` 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."]]],[]]