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

Example: "ukraine" in a query like "read me news about Ukraine"

Attributes

  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua and must not be used by outside clients!!
  • rawText (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaNewsTopic{
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    rawText: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.