GDocumentBaseContent

GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseContent


Table of Contents ▼

Jump to a specific part of the page:

Description

Main content section

Attributes List

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

View Attributes

Attributes

  1. AuthMethod (type: integer(), default: nil)
    -
  2. ContentLength (type: integer(), default: nil)
    - The actual length of the content: If Representation is compressed, this equals to Content.UncompressedLength; otherwise it is the length of the representation string.
  3. ContentType (type: integer(), default: nil)
    - See enum ContentType in //depot/google3/webutil/http/content-type.proto.
  4. CrawlTime (type: String.t, default: nil)
    - Seconds since Unix epoch.
  5. Encoding (type: integer(), default: nil)
    - See //depot/google3/i18n/encodings/public/encodings.h Encoding of representation
  6. HasHttpHeader (type: boolean(), default: nil)
    - Set to false if Representation does not contain HTTP headers.
  7. Language (type: integer(), default: nil)
    - A Language enum value. See: go/language-enum Default is english
  8. OriginalEncoding (type: integer(), default: nil)
    - If OriginalEncoding is present, the body part of the Representation was converted to UTF-8, Encoding was set to UTF8, and OriginalEncoding was set to the original encoding before conversion. However, the HTTP headers part of the content might not be valid UTF-8. -1=an invalid value
  9. Representation (type: String.t, default: nil)
    - Possibly compressed for old documents. It is not compressed for docjoins produced by Raffia after ~2012.
  10. UncompressedLength (type: integer(), default: nil)
    - Historically present if Representation is compressed.
  11. VisualType (type: integer(), default: nil)
    - Whether the content was visual right-to-left, and if so, what type of visual document it is. Must be one of the values in enum VisualType from google3/repository/rtl/visualtype.h Default is NOT_VISUAL_DOCUMENT. See http://wiki/Main/RtlLanguages for background.
  12. crawledFileSize (type: integer(), default: nil)
    - Crawled file size of the original document.
  13. encodedGeometryAnnotations (type: String.t, default: nil)
    - GeometryAnnotations, encoded with GeometryUtil::DeltaEncode() to reduce disk space usage. Use GeometryUtil::DeltaDecode() to decode this field.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseContent{
AuthMethod: integer() | nil,
ContentLength: integer() | nil,
ContentType: integer() | nil,
CrawlTime: String.t() | nil,
Encoding: integer() | nil,
HasHttpHeader: boolean() | nil,
Language: integer() | nil,
OriginalEncoding: integer() | nil,
Representation: String.t() | nil,
UncompressedLength: integer() | nil,
VisualType: integer() | nil,
crawledFileSize: integer() | nil,
encodedGeometryAnnotations: String.t() | nil
}

Function

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

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