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. Mirroring is currently not supported for Cloud Run destinations.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#destination
def destination() -> ::Google::Cloud::NetworkServices::V1::HttpRoute::Destination
- (::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
- value (::Google::Cloud::NetworkServices::V1::HttpRoute::Destination) — The destination the requests will be mirrored to. The weight of the destination will be ignored.
- (::Google::Cloud::NetworkServices::V1::HttpRoute::Destination) — The destination the requests will be mirrored to. The weight of the destination will be ignored.
#mirror_percent
def mirror_percent() -> ::Float
- (::Float) — Optional. The percentage of requests to get mirrored to the desired destination.
#mirror_percent=
def mirror_percent=(value) -> ::Float
- value (::Float) — Optional. The percentage of requests to get mirrored to the desired destination.
- (::Float) — Optional. The percentage of requests to get mirrored to the desired destination.