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

The annotation of a document by a given entity, for a given type of relationship.

Attributes

  • entity (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosEntity.t, default: nil) - The entity annotating the document.
  • format (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosFormatRelationship.t, default: nil) - The annotation is a format annotation, i.e. it tells the format of the video.
  • present (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosPresentRelationship.t, default: nil) - The annotation is present in the video. Semantic Legos and Presence Legos naturally overlap and can contain the same entities. However, we do not enforce a strict subset relation.
  • semantic (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationship.t, default: nil) - The annotation is a semantic annotation, i.e. it tells what the document is about and what the reasons to watch the video are. The annotation should be valid for the complete annotated document, not simply a part of the document such as a video segment.
  • taxonomic (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosTaxonomicRelationship.t, default: nil) - The annotation is a taxonomic annotation, i.e. it tells to which class of the Legos taxonomy the document belongs to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.