View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2TrafficTargetStatus (google_api_run v0.30.0)

Represents the observed state of a single TrafficTarget entry.

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.