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

Attributes

  • docid (type: String.t, default: nil) - The docid of the news result from News360 backend.
  • newsContentType (type: String.t, default: nil) - Indicates how the type of the news result.
  • publicationTime (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t, default: nil) - Publication time of the news, in seconds (unix epoch).
  • publisher (type: String.t, default: nil) - The publisher of the news.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaNewsInfo{
    docid: String.t() | nil,
    newsContentType: String.t() | nil,
    publicationTime:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiTimestamp.t() | nil,
    publisher: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.