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 latest version available for \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e in the Compute Engine v1 API is 3.6.0, with a comprehensive list of versions dating back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e is a class within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, found in the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly, that dictates how requests are mirrored to a separate backend service without the load balancer waiting for responses.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements 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\u003e\u003ccode\u003eRequestMirrorPolicy\u003c/code\u003e includes a \u003ccode\u003eBackendService\u003c/code\u003e property, which is a string representing the URL of the mirrored backend service, and a \u003ccode\u003eHasBackendService\u003c/code\u003e property of type boolean that indicates if the \u003ccode\u003eBackendService\u003c/code\u003e is set.\u003c/p\u003e\n"],["\u003cp\u003eThis class also includes two constructors: a parameterless \u003ccode\u003eRequestMirrorPolicy()\u003c/code\u003e constructor and a \u003ccode\u003eRequestMirrorPolicy(RequestMirrorPolicy other)\u003c/code\u003e constructor that allows for creating a new instance of the class based off of another instance.\u003c/p\u003e\n"]]],[],null,[]]