View Source GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotMetadata (google_api_content_warehouse v0.3.0)

Attributes

  • countDistinctResources (type: integer(), default: nil) - The number of distinct resources fetched to render the content. This may aid the calculation of total page load time for user experience. For example, if total_content_length is only a few dozen kilobytes, but that is from fetching 100 distinct resources, total page load time might be much higher than the total_content_length would otherwise infer.
  • crawlTimestamp (type: String.t, default: nil) - The time at which the main resource of the Snapshot was fetched, in seconds since epoch. Note that the various page dependencies may have been fetched at much earlier points in time (hours, maybe days) and that this could be off from the actual rendering time.
  • snapshotDocument (type: GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotDocument.t, default: nil) -
  • snapshotQualityScore (type: number(), default: nil) - The score here corresponds to the score in Snapshot, a number between 0.0 and 1.0 (higher the better).
  • totalContentSize (type: String.t, default: nil) - Number of bytes fetched to render the content. For example, to render a web page, this value would include the HTML, stylesheets, images, and all other dependencies. This can be used to calculate a coarse estimate of the total page load time a user might experience.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotMetadata{
  countDistinctResources: integer() | nil,
  crawlTimestamp: String.t() | nil,
  snapshotDocument:
    GoogleApi.ContentWarehouse.V1.Model.SnapshotSnapshotDocument.t() | nil,
  snapshotQualityScore: number() | nil,
  totalContentSize: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.