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-02 UTC."],[[["This document provides reference documentation for the `UrlRewrite` class within the Google Cloud Compute Engine v1 API."],["The `UrlRewrite` class allows for modifying the request path and host header before sending to a backend service, with `HostRewrite` and `PathPrefixRewrite` properties allowing for configuration."],["This page details the `UrlRewrite` class's properties, which are `HasHostRewrite`, `HasPathPrefixRewrite`, `HostRewrite`, and `PathPrefixRewrite`, including their types and descriptions."],["The latest version documented for `UrlRewrite` is 3.6.0, with versions available from 1.0.0 up to the latest, and this page focuses specifically on version 2.2.0."]]],[]]