Class: Google::Cloud::NetworkServices::V1::HttpRoute::RequestMirrorPolicy
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::HttpRoute::RequestMirrorPolicy
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/http_route.rb
Overview
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.
Instance Attribute Summary collapse
-
#destination ⇒ ::Google::Cloud::NetworkServices::V1::HttpRoute::Destination
The destination the requests will be mirrored to.
-
#mirror_percent ⇒ ::Float
Optional.
Instance Attribute Details
#destination ⇒ ::Google::Cloud::NetworkServices::V1::HttpRoute::Destination
Returns The destination the requests will be mirrored to. The weight of the destination will be ignored.
514 515 516 517 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 514 class RequestMirrorPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#mirror_percent ⇒ ::Float
Returns Optional. The percentage of requests to get mirrored to the desired destination.
514 515 516 517 |
# File 'proto_docs/google/cloud/networkservices/v1/http_route.rb', line 514 class RequestMirrorPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |