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

Description of a present Legos annotation.

Attributes

  • confidence (type: number(), default: nil) - Confidence score. Thresholding at the confidence score at 0.XX yields annotations of precision of at least XX%.
  • contexts (type: list(GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationshipContext.t), default: nil) - Extra context about how the entity relates to the document. Typically vertical-specific. Please refrain from populating this field as we're working on migrating most of the use cases to the LegosEntity proto so clients don't have to scan all relationships to know which annotations they may be interested in.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosPresentRelationship{
    confidence: number() | nil,
    contexts:
      [
        GoogleApi.ContentWarehouse.V1.Model.YoutubeDiscoveryLegosLegosSemanticRelationshipContext.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.