View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2TrafficTargetStatus (quiqup_google_api_run v0.28.0)

Represents the observed state of a single TrafficTarget entry.

attributes

Attributes

  • percent (type: integer(), default: nil) - Specifies percent of the traffic to this Revision.
  • revision (type: String.t, default: nil) - Revision to which this traffic is sent.
  • tag (type: String.t, default: nil) - Indicates the string used in the URI to exclusively reference this target.
  • type (type: String.t, default: nil) - The allocation type for this traffic target.
  • uri (type: String.t, default: nil) - Displays the target URI.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2TrafficTargetStatus{
  percent: integer() | nil,
  revision: String.t() | nil,
  tag: String.t() | nil,
  type: String.t() | nil,
  uri: String.t() | nil
}

Link to this section Functions

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

Unwrap a decoded JSON object into its complex fields.