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

A message that stores relations between this annotation and another entity. Stores the mid and the kind of relationship. These links may be consumed downstream for various purposes, including support transfer and other business logic. An example is for the Honda Civic entity. It may have an mdvc_relation that is a generalization_of the 2015 Honda Civic entity. So the Honda Civic would have the following: RelatedEntity { mid = 2015 Honda Civic Mid mdvc_relation = GENERALIZATION_OF } It has no equivalent_relation because it is by default NO_EQUIVALENT. The Honda Civic entity might then have a separate relation to the Old Honda Civic entity, as they are considered the same entity, or the following relation: RelatedEntity { mid = Old Honda Civic Mid equivalent_relation = EQUIVALENT }

Attributes

  • clusterSupportTransferRelation (type: String.t, default: nil) - Denotes whether or not the related entity is derived from cluster support transfer.
  • composedFromRelation (type: String.t, default: nil) - Denotes whether or not the related entity composes a compound entity together with other related entities.
  • equivalentRelation (type: String.t, default: nil) - Whether or not the given mid is related to the other mid. Equivalent mids are usually mutually exclusive with other kinds of relations.
  • mdvcRelation (type: String.t, default: nil) - The mdvc relation with the related mid.
  • mid (type: String.t, default: nil) - Mid that is related.
  • supportTransferRelation (type: String.t, default: nil) - Denotes whether or not there was support transfer between the two entities.
  • targetIsStbrSource (type: boolean(), default: nil) - Set if the related entity is the source of an STBR rule and the target is not this one.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingRelatedEntity{
  clusterSupportTransferRelation: String.t() | nil,
  composedFromRelation: String.t() | nil,
  equivalentRelation: String.t() | nil,
  mdvcRelation: String.t() | nil,
  mid: String.t() | nil,
  supportTransferRelation: String.t() | nil,
  targetIsStbrSource: boolean() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.