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

General message used to store metadata about references to personal entities, even if those entities cannot be resolved.

Attributes

  • referenceScore (type: number(), default: nil) - The strength of the personal reference. For example "my flight" may receive a high reference_score, whereas "the airport" may receive a low score.
  • references (type: list(GoogleApi.ContentWarehouse.V1.Model.CopleyPersonalReference.t), default: nil) - A list of all references made. Empty if no personal references exist. Multiple references can be present when multiple references were made in a single query, or the type of reference was ambiguous.
  • subreferenceMetadata (type: GoogleApi.ContentWarehouse.V1.Model.CopleySubreferenceMetadata.t, default: nil) - Subreference metadata for all compound references on this span.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.CopleyPersonalReferenceMetadata{
  referenceScore: number() | nil,
  references:
    [GoogleApi.ContentWarehouse.V1.Model.CopleyPersonalReference.t()] | nil,
  subreferenceMetadata:
    GoogleApi.ContentWarehouse.V1.Model.CopleySubreferenceMetadata.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.