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

Groups together the NameInfo for all variants of a given name. The variants of a name have the same normalized string, but they have a different original string and/or a different language/region. Example: For the name "apple", there may be variants such as "apple|en", "apple|en|US", "apple|de", "Apple|en"...

Attributes

  • normalizedName (type: String.t, default: nil) - The normalized name.
  • variantInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNameInfo.t), default: nil) - All the variants of this name together with associated information such as score, sources, etc.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefGlobalNameInfo{
  normalizedName: String.t() | nil,
  variantInfo:
    [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNameInfo.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.