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

Event is for logging interesting events that happen during a url fetch. Interesting events include "fetch start", "url rejected", etc. The events are written to binary logs together with the request and reply messages. If the same event occurs multiple times consecutively, We record the time of the first three instances in EarliestTimeStamp but omit the rest. We keep track the total number of occurrences in NumOccurrences and the timestamp of the last occurrence is kept in TimeStamp field.

Attributes

  • ID (type: String.t, default: nil) -
  • Msg (type: String.t, default: nil) -
  • NumOccurrences (type: integer(), default: nil) -
  • OldestTimeStampInUS (type: list(String.t), default: nil) - Limited to 3.
  • TimeStampInUS (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.TrawlerEvent{
  ID: String.t() | nil,
  Msg: String.t() | nil,
  NumOccurrences: integer() | nil,
  OldestTimeStampInUS: [String.t()] | nil,
  TimeStampInUS: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.