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

Only one of timestamp_msec or frame_identifier should be set. timestamp_msec is the old identifier for frames, and is still used on thumbnail frames. frame_identifier should be used on other kinds of frames (e.g. preview frame zero).

Attributes

  • frameIdentifier (type: GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryFrameIdentifier.t, default: nil) -
  • perdoc (type: GoogleApi.ContentWarehouse.V1.Model.ImageData.t, default: nil) -
  • timestampMsec (type: integer(), default: nil) - Timestamp (in msec) of the frame from the original video DEPRECATED: Use the timestamp_ms field in frame_identifier instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryFramePerdoc{
  frameIdentifier:
    GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryFrameIdentifier.t() | nil,
  perdoc: GoogleApi.ContentWarehouse.V1.Model.ImageData.t() | nil,
  timestampMsec: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.