# Class RequestMirrorPolicy (0.12.0)

0.12.0 (latest) 0.11.0 0.4.0 0.3.0 0.2.0 0.1.8

    RequestMirrorPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `backend_service` | `str` 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. This field is a member of `oneof`_ `_backend_service`. |
| `mirror_percent` | `float` The percentage of requests to be mirrored to `backend_service`. This field is a member of `oneof`_ `_mirror_percent`. |