View Source GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryFramePerdoc (google_api_content_warehouse v0.4.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

  • errorStatus (type: GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto.t, default: nil) - Error, if any, while generating the frame perdoc. It is mutually exclusive to the perdoc, only set when perdoc is missing.
  • 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{
  errorStatus: GoogleApi.ContentWarehouse.V1.Model.UtilStatusProto.t() | nil,
  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.