Class: Google::Apis::NetworkservicesV1beta1::HttpRouteRequestMirrorPolicy
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1beta1::HttpRouteRequestMirrorPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1beta1/classes.rb,
lib/google/apis/networkservices_v1beta1/representations.rb,
lib/google/apis/networkservices_v1beta1/representations.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.
Instance Attribute Summary collapse
-
#destination ⇒ Google::Apis::NetworkservicesV1beta1::HttpRouteDestination
Specifications of a destination to which the request should be routed to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HttpRouteRequestMirrorPolicy
constructor
A new instance of HttpRouteRequestMirrorPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HttpRouteRequestMirrorPolicy
Returns a new instance of HttpRouteRequestMirrorPolicy.
1643 1644 1645 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 1643 def initialize(**args) update!(**args) end |
Instance Attribute Details
#destination ⇒ Google::Apis::NetworkservicesV1beta1::HttpRouteDestination
Specifications of a destination to which the request should be routed to.
Corresponds to the JSON property destination
1641 1642 1643 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 1641 def destination @destination end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1648 1649 1650 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 1648 def update!(**args) @destination = args[:destination] if args.key?(:destination) end |