View Source GoogleApi.Run.V1.Model.RouteSpec (google_api_run v0.30.0)

RouteSpec holds the desired state of the Route (from the client).

Attributes

  • traffic (type: list(GoogleApi.Run.V1.Model.TrafficTarget.t), default: nil) - Traffic specifies how to distribute traffic over a collection of Knative Revisions and Configurations. Cloud Run currently supports a single configurationName.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V1.Model.RouteSpec{
  traffic: [GoogleApi.Run.V1.Model.TrafficTarget.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.