google_api_cloud_run v0.15.0 GoogleApi.CloudRun.V1alpha1.Model.RouteSpec View Source

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

Attributes

  • generation (type: integer(), default: nil) - Deprecated and not currently populated by Cloud Run. See metadata.generation instead, which is the sequence number containing the latest generation of the desired state.

    Read-only.

  • traffic (type: list(GoogleApi.CloudRun.V1alpha1.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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.CloudRun.V1alpha1.Model.RouteSpec{
  generation: integer(),
  traffic: [GoogleApi.CloudRun.V1alpha1.Model.TrafficTarget.t()]
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.