View Source GoogleApi.ContentWarehouse.V1.Model.VideoAssetsVenomTransition (google_api_content_warehouse v0.3.0)

As video mutations are reconciled by Venom, we can tell if the ingredient did or did not reach certain objectives. When processing has completed, all objectives will have a corresponding transition. All transitions are reset for every mutation, but will take into account assets outside of that mutation. For example, if Asset X fails, and was part of "OBJECTIVE_PRIMARY_ASSETS_DONE", a rerun of Asset Y is destined to result in OUTCOME_FAILED, regardless of the fate of Asset Y. Some phenonema have effects on most or all Objectives. For example, a bad input file will result on OUTCOME_INFEASIBLE across the board (eventually, for now it's just GO_LIVE and DO_ALL, work in progress), and a failure to produce Format 18 will cause OUTCOME_FAILED across most Objectives.

Attributes

  • objective (type: String.t, default: nil) - The objective this transition is about. REQUIRED.
  • outcome (type: String.t, default: nil) - Whether the objective is reached or not. REQUIRED.
  • reason (type: String.t, default: nil) - An optional debug string indicating the reason for this transition. This is typically omitted for OUTCOME_SUCCESS. e.g. "The video's content is invalid due to failed blobstore cloning."

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoAssetsVenomTransition{
  objective: String.t() | nil,
  outcome: String.t() | nil,
  reason: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.