DrishtiVesperEncodedThumbnail

GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperEncodedThumbnail


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

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

View Attributes

Attributes

  1. byteSize (type: String.t, default: nil)
    - Image size in bytes. Meaningful when contents are not stored inline (e.g., via image_blob_id).
  2. crc32c (type: integer(), default: nil)
    - CRC-32 checksum of the image bytes. Can be used for data integrity check.
  3. encodingQuality (type: integer(), default: nil)
    - JPEG/WEBP quality factor in range [0,100].
  4. encodingType (type: String.t, default: nil)
    - Image encoding type.
  5. height (type: integer(), default: nil)
    -
  6. 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.
  7. 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.
  8. imageString (type: String.t, default: nil)
    - Please migrate to image_bytes.
  9. width (type: integer(), default: nil)
    - Thumbnail resolution.

Type

@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
}

Function

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

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