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 Engine v1 API defines how requests are mirrored to a separate backend service for shadowing purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 3.6.0, with numerous prior versions available, including 2.14.0, which is the version the documentation focuses on.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces such as \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\u003eIt includes a \u003ccode\u003eBackendService\u003c/code\u003e property, which is a string that represents the URL of the backend service being mirrored, which also has a boolean \u003ccode\u003eHasBackendService\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe RequestMirrorPolicy has two constructors one that takes no parameters and the other taking another RequestMirrorPolicy as a parameter.\u003c/p\u003e\n"]]],[],null,[]]