View Source GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseOriginalContent (google_api_content_warehouse v0.4.0)

The original, unconverted document, typically PDF or Word. Copied from OriginalDoc field of doclogs. Unlike "Content", this does not contain any HTTP headers. The content may be compressed using the same method as "Content". In practice it is only compressed in the Teragoogle index. It is never compressed in docjoins because those are compressed at the sstable level. In doclogs content will only be compressed if the Trawler fetchreply is also compressed--which is currently never and unlikely to change for performance reasons.

Attributes

  • Representation (type: String.t, default: nil) -
  • UncompressedLength (type: integer(), default: nil) - present iff rep is compressed

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseOriginalContent{
  Representation: String.t() | nil,
  UncompressedLength: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.