Network Services V1 API - Class Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination (v0.2.0)

Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::TlsRoute::RouteDestination.

Describe the destination for traffic to be routed to.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#service_name

def service_name() -> ::String
Returns
  • (::String) — Required. The URL of a BackendService to route traffic to.

#service_name=

def service_name=(value) -> ::String
Parameter
  • value (::String) — Required. The URL of a BackendService to route traffic to.
Returns
  • (::String) — Required. The URL of a BackendService to route traffic to.

#weight

def weight() -> ::Integer
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.

#weight=

def weight=(value) -> ::Integer
Parameter
  • value (::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.
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.