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 documentation covers the \u003ccode\u003eUrlRewrite\u003c/code\u003e class within the Google.Cloud.Compute.V1 namespace, detailing its functionality for modifying request paths before they are forwarded to backend services.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest release, and the documentation provides access to versions all the way back to 1.0.0 for the UrlRewrite class.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUrlRewrite\u003c/code\u003e 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, and inherits members from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class has properties to check for the presence of \u003ccode\u003eHostRewrite\u003c/code\u003e and \u003ccode\u003ePathPrefixRewrite\u003c/code\u003e, as well as the properties \u003ccode\u003eHostRewrite\u003c/code\u003e and \u003ccode\u003ePathPrefixRewrite\u003c/code\u003e that directly allow for modification of the host header and the request path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUrlRewrite\u003c/code\u003e class is within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly and can be constructed with or without an existing \u003ccode\u003eUrlRewrite\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]