VideoAssetsVenomTransition

GoogleApi.ContentWarehouse.V1.Model.VideoAssetsVenomTransition


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. objective (type: String.t, default: nil)
    - The objective this transition is about. REQUIRED.
  2. outcome (type: String.t, default: nil)
    - Whether the objective is reached or not. REQUIRED.
  3. 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."

Type

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

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.VideoAssetsVenomTransition