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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `RequestMirrorPolicy` class in the Google.Cloud.Compute.V1 namespace is used to specify how requests are mirrored to a separate backend service without waiting for responses."],["The latest version of `RequestMirrorPolicy` is 3.6.0, with several previous versions available, ranging from 1.0.0 to 3.5.0."],["The `RequestMirrorPolicy` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, offering a range of functionalities for message handling and object management."],["It includes properties like `BackendService`, which specifies the URL of the backend service being mirrored to, and `HasBackendService`, which checks if the backend service field is set."],["The mirroring process appends \"-shadow\" to the host or authority header before directing traffic to the shadow service, and serverless NEG backends are not supported for mirroring."]]],[]]