public sealed class RequestMirrorPolicy : IMessage<RequestMirrorPolicy>, IEquatable<RequestMirrorPolicy>, IDeepCloneable<RequestMirrorPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class RequestMirrorPolicy.
A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow.
The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service.
[[["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 \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e class in the Google.Cloud.Compute.V1 API allows specifying how to mirror requests to a separate backend service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 3.6.0, with multiple prior versions available, including 2.17.0, which is the current context.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e can be implemented through \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendService\u003c/code\u003e property specifies the URL of the backend service where requests are mirrored, though serverless NEG backends are currently unsupported.\u003c/p\u003e\n"],["\u003cp\u003eThe mirrored requests will have the host or authority header suffixed with "-shadow" and the load balancer will not wait for responses from it.\u003c/p\u003e\n"]]],[],null,[]]