Network Services v1 API - Class TlsRoute.Types.RouteDestination (1.0.0-beta01)

public sealed class TlsRoute.Types.RouteDestination : IMessage<TlsRoute.Types.RouteDestination>, IEquatable<TlsRoute.Types.RouteDestination>, IDeepCloneable<TlsRoute.Types.RouteDestination>, IBufferMessage, IMessage

Reference documentation and code samples for the Network Services v1 API class TlsRoute.Types.RouteDestination.

Describe the destination for traffic to be routed to.

Inheritance

object > TlsRoute.Types.RouteDestination

Namespace

Google.Cloud.NetworkServices.V1

Assembly

Google.Cloud.NetworkServices.V1.dll

Constructors

RouteDestination()

public RouteDestination()

RouteDestination(RouteDestination)

public RouteDestination(TlsRoute.Types.RouteDestination other)
Parameter
Name Description
other TlsRouteTypesRouteDestination

Properties

ServiceName

public string ServiceName { get; set; }

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

Property Value
Type Description
string

ServiceNameAsBackendServiceName

public BackendServiceName ServiceNameAsBackendServiceName { get; set; }

BackendServiceName-typed view over the ServiceName resource name property.

Property Value
Type Description
BackendServiceName

Weight

public int Weight { get; set; }

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.
Property Value
Type Description
int