View Source GoogleApi.CloudTrace.V2.Model.TimeEvent (google_api_cloud_trace v0.23.2)

A time-stamped annotation or message event in the Span.

Attributes

  • annotation (type: GoogleApi.CloudTrace.V2.Model.Annotation.t, default: nil) - Text annotation with a set of attributes.
  • messageEvent (type: GoogleApi.CloudTrace.V2.Model.MessageEvent.t, default: nil) - An event describing a message sent/received between Spans.
  • time (type: DateTime.t, default: nil) - The timestamp indicating the time the event occurred.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudTrace.V2.Model.TimeEvent{
  annotation: GoogleApi.CloudTrace.V2.Model.Annotation.t() | nil,
  messageEvent: GoogleApi.CloudTrace.V2.Model.MessageEvent.t() | nil,
  time: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.