Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::HttpRoute::RequestMirrorPolicy.
Specifies the policy on how requests are shadowed to a separate mirrored destination service. The proxy does not wait for responses from the shadow service. Prior to sending traffic to the shadow service, the host/authority header is suffixed with -shadow.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#destination
def destination() -> ::Google::Cloud::NetworkServices::V1::HttpRoute::Destination
Returns
- (::Google::Cloud::NetworkServices::V1::HttpRoute::Destination) — The destination the requests will be mirrored to. The weight of the destination will be ignored.
#destination=
def destination=(value) -> ::Google::Cloud::NetworkServices::V1::HttpRoute::Destination
Parameter
- value (::Google::Cloud::NetworkServices::V1::HttpRoute::Destination) — The destination the requests will be mirrored to. The weight of the destination will be ignored.
Returns
- (::Google::Cloud::NetworkServices::V1::HttpRoute::Destination) — The destination the requests will be mirrored to. The weight of the destination will be ignored.