View Source GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseContent (google_api_content_warehouse v0.3.0)
Main content section
Attributes
-
AuthMethod
(type:integer()
, default:nil
) - -
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. -
ContentType
(type:integer()
, default:nil
) - See enum ContentType in //depot/google3/webutil/http/content-type.proto. -
CrawlTime
(type:String.t
, default:nil
) - Seconds since Unix epoch. -
Encoding
(type:integer()
, default:nil
) - See //depot/google3/i18n/encodings/public/encodings.h Encoding of representation -
HasHttpHeader
(type:boolean()
, default:nil
) - Set to false if Representation does not contain HTTP headers. -
Language
(type:integer()
, default:nil
) - A Language enum value. See: go/language-enum Default is english -
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 -
Representation
(type:String.t
, default:nil
) - Possibly compressed for old documents. It is not compressed for docjoins produced by Raffia after ~2012. -
UncompressedLength
(type:integer()
, default:nil
) - Historically present if Representation is compressed. -
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. -
crawledFileSize
(type:integer()
, default:nil
) - Crawled file size of the original document. -
encodedGeometryAnnotations
(type:String.t
, default:nil
) - GeometryAnnotations, encoded with GeometryUtil::DeltaEncode() to reduce disk space usage. Use GeometryUtil::DeltaDecode() to decode this field.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.