GDocumentBaseContent

AI Overview😉

  • The potential purpose of this module is to analyze and process the content of a webpage, including its metadata, encoding, language, and visual characteristics, in order to better understand its meaning and relevance to a search query.
  • This module could impact search results by influencing how Google ranks and displays webpages in its search engine results pages (SERPs). For example, it may prioritize webpages with clear and concise metadata, or those that are optimized for specific languages or regions. It may also affect the display of search results, such as the snippet or title displayed for each webpage.
  • A website may change things to be more favorable for this function by ensuring that its metadata is accurate and complete, including the title, description, and keywords. It may also optimize its content for specific languages or regions, and ensure that its encoding and visual characteristics are compatible with Google's algorithms. Additionally, it may improve its webpage's loading speed and mobile responsiveness, as these factors may also be taken into account by this module.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GDocumentBaseContent (google_api_content_warehouse v0.4.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

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.