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

This proto represents metadata of the users SearchProfile like profile state, GOG account id etc.,

Attributes

  • accountId (type: String.t, default: nil) - Unique contributor account id allocated by presence/janata infrastructure. This will be used in the frontend for various actions like reporting errors, photo uploads etc., go/boba-janata, go/cleanup-contributor-creation
  • accountMid (type: String.t, default: nil) - Account KG entity mid assigned to this user required by old janata serving stack. This is not required anymore for serving. But might need it for historical purposes. See https://hume.google.com/edit/g/11gg6cyvch for more details.
  • aresId (type: String.t, default: nil) - Ares id used for tracking the auto moderation.
  • state (type: list(GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoSearchProfileState.t), default: nil) - Current state of the Search Profile.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoSearchProfileMetadata{
    accountId: String.t() | nil,
    accountMid: String.t() | nil,
    aresId: String.t() | nil,
    state:
      [
        GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoSearchProfileState.t()
      ]
      | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.