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

Some per-doc info is returned for all www DocInfo requests. Next id: 94

Attributes

  • shoppingAttachment (type: GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachment.t, default: nil) -
  • isRoboted (type: boolean(), default: nil) - Is disallowed for crawling according to host's robots.txt.
  • googleLabelData (type: String.t, default: nil) - Addition to support google label per-search-result annotation.
  • thumbHeight (type: integer(), default: nil) - thumbnail height
  • visibleImage (type: boolean(), default: nil) - If an image request, was the coupled image visible on the page?
  • thumbnail (type: list(GoogleApi.ContentWarehouse.V1.Model.WWWDocInfoThumbnail.t), default: nil) -
  • docVersionId (type: String.t, default: nil) - Fields generated by the docserver, but whose meaning is unclear. Sometimes last crawl time
  • authMethod (type: integer(), default: nil) - Sometimes called secureid
  • relatedimages (type: list(GoogleApi.ContentWarehouse.V1.Model.WWWDocInfoRelatedImages.t), default: nil) -
  • isSoftporn (type: boolean(), default: nil) - Doc softporn classification.
  • imageSize (type: integer(), default: nil) - size in bytes;
  • metaDescriptionLanguages (type: list(String.t), default: nil) - If meta description/body title were detected to be in a different language from the document language (the 'language' field above) in RosettaLanguageAnnotator, the detected languages are populated here. Note: as of ariane/154728, no more than one language is populated for each field.
  • visualType (type: String.t, default: nil) - Is this doc visual RTL? See enum VisualType in visualtype.h. Default is NOT_VISUAL_DOCUMENT.
  • seenNoindex (type: boolean(), default: nil) - Has noindex meta robots flag
  • imageLicenseInfo (type: GoogleApi.ContentWarehouse.V1.Model.ImageSearchImageLicenseInfo.t, default: nil) - Image license info such as license url and how to acquire the license.
  • isAnimated (type: boolean(), default: nil) - Is this image animated?
  • badMetadescription (type: boolean(), default: nil) - Bad meta flag
  • isHostedImage (type: boolean(), default: nil) - Hosted Images related fields.
  • seenNoarchive (type: boolean(), default: nil) - Has noarchive meta robots flag
  • additionalSafesearchStats (type: list(integer()), default: nil) - Additional stats output by SafeSearch. See classifier/porn/public/porn-attachments.h.
  • fuzzyMetadescription (type: boolean(), default: nil) -
  • contentType (type: String.t, default: nil) - If not present, then the type
  • indexingTs (type: String.t, default: nil) - The timestamp (the time since the Epoch, in microseconds) when the docjoin is exported from indexing. This is mainly exported and used by Youtube Search. See MustangBasicInfo.indexing_ts for more details.
  • encoding (type: String.t, default: nil) -
  • shoppingOffers (type: list(GoogleApi.ContentWarehouse.V1.Model.ImageMustangShoppingOffer.t), default: nil) - Shopping offer info from Inventory & Policy Service.
  • imageHeight (type: integer(), default: nil) - image height
  • cropData (type: integer(), default: nil) - Thumbnail cropping information.
  • crawlTime (type: String.t, default: nil) - Last time this doc crawled
  • seenNoodp (type: boolean(), default: nil) - NOTE(kinoue): ODP/GWD snippet is unlaunched as of June 2017. This is no longer used.
  • bodySize (type: integer(), default: nil) - Size of document
  • languageTag (type: String.t, default: nil) - This returns the most probable language for the document. The complete set of languages is in the GenericSearchResponse. (If some future use requires all languages from the doc request, note that fetching that will require decoding the entire per-doc data attachment, which is a performance hit) Use docinfo-util.h to set & read language fields. Language tag as defined by http://www.unicode.org/reports/tr35/#Identifiers and https://tools.ietf.org/html/bcp47 If not present, then use language.
  • thumbWidth (type: integer(), default: nil) - Additions for image search.
  • fileTypeId (type: String.t, default: nil) - If converted to TEXT or HTML
  • noimageframeoverlayreason (type: integer(), default: nil) - If not 0, we should not show the image in overlay mode in image snippets.
  • nearbyText (type: String.t, default: nil) - Nearby text of the image on landing page. Used to construct Scroll to Image urls.
  • pornStats (type: integer(), default: nil) - 'porn_stats' is used in porn demotion and filtering. See classifier/porn/public/porn-attachments.h.
  • boilerplateMetadescription (type: boolean(), default: nil) -
  • partialBoilerplateMetadescription (type: boolean(), default: nil) -
  • language (type: String.t, default: nil) - go/iii-td b/130371355
  • ipaddr (type: String.t, default: nil) -
  • foreignMetadescription (type: boolean(), default: nil) - Indicate if the meta description in a different language than its page.
  • nsrSitechunk (type: String.t, default: nil) - Sitechunk used by NSR. For most pages this is equivalent HOST_LEVEL_V3 sitechunk. Main difference is that, for sites like youtube.com and vimeo.com, nsr_sitechunks are channel level (based on schema.org markup, not url alone). See go/nsr-chunks for more details.
  • qualityWithoutAdjustment (type: number(), default: nil) - Quality score (also known as QScore, see go/qscore-faq).
  • isPorn (type: boolean(), default: nil) - Doc porn classification.
  • hasBadSslCertificate (type: boolean(), default: nil) - If true, the original document has a bad SSL certificate.
  • seenNosnippet (type: boolean(), default: nil) - Has nosnippet meta robots flag
  • dataVersion (type: String.t, default: nil) -
  • ip (type: integer(), default: nil) - If ipaddr is set, ip should be ignored (it should not be set). Ipaddr should be either 4- or 16-byte string for IPv4 or IPv6 addresses. If ipaddr is not set, ip is set to the IPv4 address for the host.
  • seenNopreview (type: boolean(), default: nil) - Has nopreview meta robots flag
  • imageWidth (type: integer(), default: nil) - image width
  • lastModTime (type: String.t, default: nil) - Unused by gws
  • referrerUrl (type: String.t, default: nil) - Url of referring doc
  • urlAfterRedirects (type: String.t, default: nil) - empty => same as url
  • unionBuildTime (type: String.t, default: nil) -
  • url (type: String.t, default: nil) - Url
  • licensedWebImagesOptInState (type: String.t, default: nil) - Indicates the web-master opt-in state of this image. This project is still in MVP stage, please contact us licensed-media-team@ before use.
  • colorDetectionResult (type: integer(), default: nil) - Detected color in the image in RGB565 format in the lower 16 bits.
  • coupledUrl (type: String.t, default: nil) - Url of coupled doc (e.g. image)
  • imagePublisher (type: String.t, default: nil) -
  • subindex (type: integer(), default: nil) - Subindex id of the document should be one of the values defined by enum CompositeDoc::SubIndexType. Used for superroot/gws logging if a shard has documents from multiple indices.
  • rootpageDuplicateMetadescription (type: boolean(), default: nil) - True if the meta-description is duplicated on many other pages and this page is the rootpage of such pages which have the same meta-description.
  • urlEncoding (type: integer(), default: nil) - See webutil/urlencoding
  • bodyTitleLanguages (type: list(String.t), default: nil) -
  • lowQualityMetadescription (type: boolean(), default: nil) -
  • isSitePorn (type: boolean(), default: nil) - Consider the page classification is_porn as an alternative for is_site_porn, and talk to safesearch@google.com for additional information if needed.
  • failsSafeSearch (type: String.t, default: nil) - fails_safe_search is never filled in production.
  • seenNotranslate (type: boolean(), default: nil) - Has notranslate meta robots flag
  • coupledUrlEncoding (type: integer(), default: nil) -
  • title (type: String.t, default: nil) - Landing page title.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.WWWDocInfo{
  additionalSafesearchStats: [integer()] | nil,
  authMethod: integer() | nil,
  badMetadescription: boolean() | nil,
  bodySize: integer() | nil,
  bodyTitleLanguages: [String.t()] | nil,
  boilerplateMetadescription: boolean() | nil,
  colorDetectionResult: integer() | nil,
  contentType: String.t() | nil,
  coupledUrl: String.t() | nil,
  coupledUrlEncoding: integer() | nil,
  crawlTime: String.t() | nil,
  cropData: integer() | nil,
  dataVersion: String.t() | nil,
  docVersionId: String.t() | nil,
  encoding: String.t() | nil,
  failsSafeSearch: String.t() | nil,
  fileTypeId: String.t() | nil,
  foreignMetadescription: boolean() | nil,
  fuzzyMetadescription: boolean() | nil,
  googleLabelData: String.t() | nil,
  hasBadSslCertificate: boolean() | nil,
  imageHeight: integer() | nil,
  imageLicenseInfo:
    GoogleApi.ContentWarehouse.V1.Model.ImageSearchImageLicenseInfo.t() | nil,
  imagePublisher: String.t() | nil,
  imageSize: integer() | nil,
  imageWidth: integer() | nil,
  indexingTs: String.t() | nil,
  ip: integer() | nil,
  ipaddr: String.t() | nil,
  isAnimated: boolean() | nil,
  isHostedImage: boolean() | nil,
  isPorn: boolean() | nil,
  isRoboted: boolean() | nil,
  isSitePorn: boolean() | nil,
  isSoftporn: boolean() | nil,
  language: String.t() | nil,
  languageTag: String.t() | nil,
  lastModTime: String.t() | nil,
  licensedWebImagesOptInState: String.t() | nil,
  lowQualityMetadescription: boolean() | nil,
  metaDescriptionLanguages: [String.t()] | nil,
  nearbyText: String.t() | nil,
  noimageframeoverlayreason: integer() | nil,
  nsrSitechunk: String.t() | nil,
  partialBoilerplateMetadescription: boolean() | nil,
  pornStats: integer() | nil,
  qualityWithoutAdjustment: number() | nil,
  referrerUrl: String.t() | nil,
  relatedimages:
    [GoogleApi.ContentWarehouse.V1.Model.WWWDocInfoRelatedImages.t()] | nil,
  rootpageDuplicateMetadescription: boolean() | nil,
  seenNoarchive: boolean() | nil,
  seenNoindex: boolean() | nil,
  seenNoodp: boolean() | nil,
  seenNopreview: boolean() | nil,
  seenNosnippet: boolean() | nil,
  seenNotranslate: boolean() | nil,
  shoppingAttachment:
    GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachment.t()
    | nil,
  shoppingOffers:
    [GoogleApi.ContentWarehouse.V1.Model.ImageMustangShoppingOffer.t()] | nil,
  subindex: integer() | nil,
  thumbHeight: integer() | nil,
  thumbWidth: integer() | nil,
  thumbnail:
    [GoogleApi.ContentWarehouse.V1.Model.WWWDocInfoThumbnail.t()] | nil,
  title: String.t() | nil,
  unionBuildTime: String.t() | nil,
  url: String.t() | nil,
  urlAfterRedirects: String.t() | nil,
  urlEncoding: integer() | nil,
  visibleImage: boolean() | nil,
  visualType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.