Class: Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination
- Inherits:
-
Object
- Object
- Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/networkservices/v1/tls_route.rb
Overview
Describe the destination for traffic to be routed to.
Instance Attribute Summary collapse
-
#service_name ⇒ ::String
Required.
-
#weight ⇒ ::Integer
Optional.
Instance Attribute Details
#service_name ⇒ ::String
Returns Required. The URL of a BackendService to route traffic to.
127 128 129 130 |
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 127 class RouteDestination include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#weight ⇒ ::Integer
Returns Optional. Specifies the proportion of requests forwareded to the backend referenced by the service_name field. This is computed as:
- weight/Sum(weights in destinations) Weights in all destinations does not need to sum up to 100.
127 128 129 130 |
# File 'proto_docs/google/cloud/networkservices/v1/tls_route.rb', line 127 class RouteDestination include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |