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\u003eThis webpage provides documentation for the \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e class within the Google Cloud Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e class is used to define how requests are mirrored to a separate backend service without waiting for its responses, and it is suffixed with '-shadow' before sending traffic.\u003c/p\u003e\n"],["\u003cp\u003eThis page lists the various versions of the \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e documentation, ranging from version 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from the \u003ccode\u003eobject\u003c/code\u003e class and 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.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e class include \u003ccode\u003eBackendService\u003c/code\u003e, which is a string property representing the URL of the mirrored backend service, and \u003ccode\u003eHasBackendService\u003c/code\u003e for checking if the \u003ccode\u003eBackendService\u003c/code\u003e field is set.\u003c/p\u003e\n"]]],[],null,[]]