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 Compute Engine v1 API allows for shadowing requests to a separate mirrored backend service without waiting for a response.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, while the current context is focused on version 2.8.0, and many other versions are available, from version 1.0.0 to version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, as well as inheriting from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendService\u003c/code\u003e property within \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e specifies the full or partial URL of the mirrored \u003ccode\u003eBackendService\u003c/code\u003e, and only supports backend services that are of the same type as the original.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e, a parameterless one, and one that takes another \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,[]]