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

A Topic represents a Knowledge Graph entity with its associated properties and their values.

Attributes

  • id (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseId.t, default: nil) - The id (mid and human-readable id) of the topic. The id will always be present and will contain a mid value for topics in the topic sstable.
  • propertyValue (type: list(GoogleApi.ContentWarehouse.V1.Model.FreebasePropertyValue.t), default: nil) - The property-value bindings associated with the topic. Note that in the case where a property is relevant to a topic based on its type, but no values of that property are present for the topic, the PropertyValue will simply not appear, rather than being present with a null value, or empty repeated value list.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.FreebaseTopic{
  id: GoogleApi.ContentWarehouse.V1.Model.FreebaseId.t() | nil,
  propertyValue:
    [GoogleApi.ContentWarehouse.V1.Model.FreebasePropertyValue.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.