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

Next ID: 15

Attributes

  • byteSize (type: integer(), default: nil) - the size of the stored thumbnail
  • crops (type: GoogleApi.ContentWarehouse.V1.Model.ContentAwareCropsIndexing.t, default: nil) - SmartCrop crop-hints By default, this field is not populated.
  • deepCrop (type: GoogleApi.ContentWarehouse.V1.Model.DeepCropIndexing.t, default: nil) - DeepCrop crop-hints. Usage in thumbnails could be deprecated in favor or deep_crop_pixels (below). By default, this field is not populated.
  • deepCropPixels (type: GoogleApi.ContentWarehouse.V1.Model.DeepCropPixels.t, default: nil) - DeepCrop signal in pixels, equivalent to deep_crop (above) but with pixels instead of percentages. By default, this field is not populated.
  • docid (type: String.t, default: nil) - the Amarna docid of the thumbnail
  • encryptedDocid (type: String.t, default: nil) - encrypted version of docid
  • fprint (type: String.t, default: nil) - the fprint of the thumbnail
  • height (type: integer(), default: nil) - the height of the stored thumbnail
  • mimeType (type: String.t, default: nil) - The mime_type of the thumbnail ("image/jpeg", "image/png", etc.).
  • originalHeight (type: integer(), default: nil) -
  • originalWidth (type: integer(), default: nil) - Not populated by Amarna/image pipelines, ever. This was apparently introduced by a customer that wished to extend ThumbnailMetadata with this custom data.
  • type (type: String.t, default: nil) -
  • width (type: integer(), default: nil) - the width of the stored thumbnail

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ImageBaseThumbnailMetadata{
  byteSize: integer() | nil,
  crops:
    GoogleApi.ContentWarehouse.V1.Model.ContentAwareCropsIndexing.t() | nil,
  deepCrop: GoogleApi.ContentWarehouse.V1.Model.DeepCropIndexing.t() | nil,
  deepCropPixels: GoogleApi.ContentWarehouse.V1.Model.DeepCropPixels.t() | nil,
  docid: String.t() | nil,
  encryptedDocid: String.t() | nil,
  fprint: String.t() | nil,
  height: integer() | nil,
  mimeType: String.t() | nil,
  originalHeight: integer() | nil,
  originalWidth: integer() | nil,
  type: String.t() | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.