View Source GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCollectionMembership (google_api_content_warehouse v0.3.0)

A message representing the collection membership of an entity.

Attributes

  • collectionId (type: String.t, default: nil) - Human readable id of the collection.
  • collectionMid (type: String.t, default: nil) - Identifier of the collection, usually a MID (/m/xyz or /g/zyw).
  • collectionScore (type: number(), default: nil) - The collection score for a entity.
  • score (type: list(GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCollectionScore.t), default: nil) - Different types of scores for the collection. Each score type has at most one score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCollectionMembership{
    collectionId: String.t() | nil,
    collectionMid: String.t() | nil,
    collectionScore: number() | nil,
    score:
      [
        GoogleApi.ContentWarehouse.V1.Model.KnowledgeAnswersIntentQueryCollectionScore.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.