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

This proto represents either a KG-entity, as represented by it's MID, or free-string text.

Attributes

  • countryCode (type: String.t, default: nil) - Corresponding country code. Refer to go/people-search-dashboard for code list.
  • entity (type: String.t, default: nil) - Corresponding mid in KG.
  • name (type: list(String.t), default: nil) - Custom name of entity if there is no corresponding place/entity in KG (mid)

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoSearchProfileEntity{
    countryCode: String.t() | nil,
    entity: String.t() | nil,
    name: [String.t()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.