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

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

Attributes

  • noimageframeoverlayreason (type: integer(), default: nil) - If not 0, we should not show the image in overlay mode in image snippets.
  • hasBadSslCertificate (type: boolean(), default: nil) - If true, the original document has a bad SSL certificate.
  • seenNotranslate (type: boolean(), default: nil) - Has notranslate meta robots flag
  • docVersionId (type: String.t, default: nil) - Fields generated by the docserver, but whose meaning is unclear. Sometimes last crawl time
  • partialBoilerplateMetadescription (type: boolean(), default: nil) -
  • imageHeight (type: integer(), default: nil) - image height
  • 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.
  • visualType (type: String.t, default: nil) - Is this doc visual RTL? See enum VisualType in visualtype.h. Default is NOT_VISUAL_DOCUMENT.
  • lowQualityMetadescription (type: boolean(), default: nil) -
  • coupledUrl (type: String.t, default: nil) - Url of coupled doc (e.g. image)
  • imageLicenseInfo (type: GoogleApi.ContentWarehouse.V1.Model.ImageSearchImageLicenseInfo.t, default: nil) - Image license info such as license url and how to acquire the license.
  • boilerplateMetadescription (type: boolean(), 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.
  • lastModTime (type: String.t, default: nil) - Unused by gws
  • thumbWidth (type: integer(), default: nil) - Additions for image search.
  • failsSafeSearch (type: String.t, default: nil) - fails_safe_search is never filled in production.
  • fuzzyMetadescription (type: boolean(), default: nil) -
  • pornStats (type: integer(), default: nil) - 'porn_stats' is used in porn demotion and filtering. See classifier/porn/public/porn-attachments.h.
  • seenNoodp (type: boolean(), default: nil) - NOTE(kinoue): ODP/GWD snippet is unlaunched as of June 2017. This is no longer used.
  • language (type: String.t, default: nil) - go/iii-td b/130371355
  • 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.
  • url (type: String.t, default: nil) - Url
  • authMethod (type: integer(), default: nil) - Sometimes called secureid
  • foreignMetadescription (type: boolean(), default: nil) - Indicate if the meta description in a different language than its page.
  • relatedimages (type: list(GoogleApi.ContentWarehouse.V1.Model.WWWDocInfoRelatedImages.t), default: nil) -
  • nearbyText (type: String.t, default: nil) - Nearby text of the image on landing page. Used to construct Scroll to Image urls.
  • isAnimated (type: boolean(), default: nil) - Is this image animated?
  • isPorn (type: boolean(), default: nil) - Doc porn classification.
  • seenNopreview (type: boolean(), default: nil) - Has nopreview meta robots flag
  • isHostedImage (type: boolean(), default: nil) - Hosted Images related fields.
  • badMetadescription (type: boolean(), default: nil) - Bad meta flag
  • isRoboted (type: boolean(), default: nil) - Is disallowed for crawling according to host's robots.txt.
  • bodySize (type: integer(), default: nil) - Size of document
  • shoppingAttachment (type: GoogleApi.ContentWarehouse.V1.Model.QualityShoppingShoppingAttachment.t, default: nil) -
  • coupledUrlEncoding (type: integer(), default: nil) -
  • thumbHeight (type: integer(), default: nil) - thumbnail height
  • imageWidth (type: integer(), default: nil) - image width
  • contentType (type: String.t, default: nil) - If not present, then the type
  • colorDetectionResult (type: integer(), default: nil) - Detected color in the image in RGB565 format in the lower 16 bits.
  • referrerUrl (type: String.t, default: nil) - Url of referring doc
  • isSoftporn (type: boolean(), default: nil) - Doc softporn classification.
  • additionalSafesearchStats (type: list(integer()), default: nil) - Additional stats output by SafeSearch. See classifier/porn/public/porn-attachments.h.
  • 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.
  • seenNoarchive (type: boolean(), default: nil) - Has noarchive meta robots flag
  • thumbnail (type: list(GoogleApi.ContentWarehouse.V1.Model.WWWDocInfoThumbnail.t), default: nil) -
  • seenNoindex (type: boolean(), default: nil) - Has noindex meta robots flag
  • 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.
  • unionBuildTime (type: String.t, default: nil) -
  • encoding (type: String.t, default: nil) -
  • qualityWithoutAdjustment (type: number(), default: nil) - Quality score (also known as QScore, see go/qscore-faq).
  • bodyTitleLanguages (type: list(String.t), default: nil) -
  • shoppingOffers (type: list(GoogleApi.ContentWarehouse.V1.Model.ImageMustangShoppingOffer.t), default: nil) - Shopping offer info from Inventory & Policy Service.
  • crawlTime (type: String.t, default: nil) - Last time this doc crawled
  • imageSize (type: integer(), default: nil) - size in bytes;
  • seenNosnippet (type: boolean(), default: nil) - Has nosnippet meta robots flag
  • dataVersion (type: String.t, default: nil) -
  • ipaddr (type: String.t, default: nil) -
  • cropData (type: integer(), default: nil) - Thumbnail cropping information.
  • googleLabelData (type: String.t, default: nil) - Addition to support google label per-search-result annotation.
  • urlEncoding (type: integer(), default: nil) - See webutil/urlencoding
  • visibleImage (type: boolean(), default: nil) - If an image request, was the coupled image visible on the page?
  • fileTypeId (type: String.t, default: nil) - If converted to TEXT or HTML
  • urlAfterRedirects (type: String.t, default: nil) - empty => same as url
  • 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.
  • title (type: String.t, default: nil) - Landing page title.
  • 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.
  • 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.
  • 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.
  • imagePublisher (type: String.t, default: nil) -

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.