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

The attributes of encoded thumbnail images. Next id: 10.

Attributes

  • byteSize (type: String.t, default: nil) - Image size in bytes. Meaningful when contents are not stored inline (e.g., via image_blob_id).
  • crc32c (type: integer(), default: nil) - CRC-32 checksum of the image bytes. Can be used for data integrity check.
  • encodingQuality (type: integer(), default: nil) - JPEG/WEBP quality factor in range [0,100].
  • encodingType (type: String.t, default: nil) - Image encoding type.
  • height (type: integer(), default: nil) -
  • imageBlobId (type: String.t, default: nil) - The Blob ID of the thumbnail image in the Blobstore. We recommend absolute IDs with universe prefix if this field is passed across systems. The owner of this blob is also responsible for data Wipeout compliance.
  • imageBytes (type: String.t, default: nil) - Encoded thumbnail bytes. Prefer this over image_string as we are not supposed to store image bytes in a proto string field.
  • imageString (type: String.t, default: nil) - Please migrate to image_bytes.
  • width (type: integer(), default: nil) - Thumbnail resolution.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperEncodedThumbnail{
  byteSize: String.t() | nil,
  crc32c: integer() | nil,
  encodingQuality: integer() | nil,
  encodingType: String.t() | nil,
  height: integer() | nil,
  imageBlobId: String.t() | nil,
  imageBytes: String.t() | nil,
  imageString: String.t() | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.