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

Represents all information we have about a specific/localized link. Next available tag: 11.

Attributes

  • aggregatedScore (type: number(), default: nil) - The score aggregated from all sources.
  • isPreferredDirection (type: boolean(), default: nil) - The EntityJoin keeps bi-directional links, but for some applications we only need them in one direction. This value indicates whether this is the preferred direction to keep. (We usually prefer keeping the link from the less common to the more common entity for performance reasons). For categorical links the preferred direction is from child to parent.
  • metadata (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityLinkMetadata.t, default: nil) - The metadata associated with the link.
  • source (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityLinkSource.t), default: nil) - The per-source scores.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefLinkInfo{
  aggregatedScore: number() | nil,
  isPreferredDirection: boolean() | nil,
  metadata:
    GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityLinkMetadata.t()
    | nil,
  source:
    [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityLinkSource.t()]
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.