Class: Google::Apis::ComputeBeta::RequestMirrorPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::RequestMirrorPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. Loadbalancer 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
-
#backend_service ⇒ String
The full or partial URL to the BackendService resource being mirrored to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RequestMirrorPolicy
constructor
A new instance of RequestMirrorPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RequestMirrorPolicy
Returns a new instance of RequestMirrorPolicy.
25898 25899 25900 |
# File 'generated/google/apis/compute_beta/classes.rb', line 25898 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backend_service ⇒ String
The full or partial URL to the BackendService resource being mirrored to.
Corresponds to the JSON property backendService
25896 25897 25898 |
# File 'generated/google/apis/compute_beta/classes.rb', line 25896 def backend_service @backend_service end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
25903 25904 25905 |
# File 'generated/google/apis/compute_beta/classes.rb', line 25903 def update!(**args) @backend_service = args[:backend_service] if args.key?(:backend_service) end |