CrawlerChangerateUrlVersion

GoogleApi.ContentWarehouse.V1.Model.CrawlerChangerateUrlVersion


Table of Contents ▼

Jump to a specific part of the page:

Description

NEXT_TAG: 15

Attributes List

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

View Attributes

Attributes

  1. additionalChangesMerged (type: integer(), default: nil)
    - Same as the field in UrlChange. This allows us to merge identical UrlVersions into a single UrlVersion.
  2. contentType (type: integer(), default: nil)
    - The content type of the page.
  3. isImsNotModified (type: boolean(), default: nil)
    - Whether this is an IMS response (a 304, not modified).
  4. lastModified (type: integer(), default: nil)
    - The date from the LastModified header, if present.
  5. shingleSimhash (type: GoogleApi.ContentWarehouse.V1.Model.IndexingConverterShingleFingerprint, default: nil)
    - The simhash value obtained from shingles.
  6. simhash (type: String.t, default: nil)
    - The simhash-v1 value. The simhash-v1 is now deprecated and new UrlVersions should only populate simhash-v2. During migration phase from using simhash-v1 to simhash-v2, it is possible that previous UrlChange only contain simhash-v1 and the next UrlChange / UrlVersion could only contain simhash-v2. In this case, we skip that interval in our changerate computation. [go/changerate-simhash-v2-migration]
  7. simhashIsTrusted (type: boolean(), default: nil)
    - Whether the simhash-v1 should be trusted.
  8. simhashV2 (type: String.t, default: nil)
    - The simhash-v2 value.
  9. simhashV2IsTrusted (type: boolean(), default: nil)
    - Whether the simhash-v2 value should be trusted.
  10. timestamp (type: integer(), default: nil)
    - The timestamp we crawled the page.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CrawlerChangerateUrlVersion{
additionalChangesMerged: integer() | nil,
contentType: integer() | nil,
isImsNotModified: boolean() | nil,
lastModified: integer() | nil,
shingleSimhash: GoogleApi.ContentWarehouse.V1.Model.IndexingConverterShingleFingerprint.t() | nil,
simhash: String.t() | nil,
simhashIsTrusted: boolean() | nil,
simhashV2: String.t() | nil,
simhashV2IsTrusted: boolean() | nil,
timestamp: integer() | nil
}

Function

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

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