Class: Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#service_name::String

Returns Required. The URL of a BackendService to route traffic to.

Returns:

  • (::String)

    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.

Returns:

  • (::Integer)

    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