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

Store all app unique info that are needed for app action fulfillment.

Attributes

  • appUniqueId (type: String.t, default: nil) - Store the app unique id endpoint. This will be passed over to app to fulfill the action. For example, app_unique_id for Whatsapp will be "11234567890@s.whatsapp.net"
  • contactInfoSource (type: String.t, default: nil) - Where this contact info was retrieved from. Note: only added for Assistant usage, and will not be populated by PAPI. This is due to the coupling between Assistant Proto, and PAPI proto. (//depot/google3/quality/qrewrite/servlets/proto/focus_name.proto)
  • displayAppUniqueId (type: String.t, default: nil) - Store third party endpoint that is displayed to users. For example, display_app_unique_id for Whatsapp will be "Message +11234567890".
  • label (type: String.t, default: nil) - Store third party endpoint label. For example, "HOME", "WORK"
  • mimetype (type: String.t, default: nil) - Store mimetype of this endpoint. We will use this as the differentiator for Assistant to know whether to use the RawContact for messaging, call or video call. For example, send message mimetype for whatsapp: "vnd.android.cursor.item/vnd.com.whatsapp.profile" voice call mimetype for whatsapp: "vnd.android.cursor.item/vnd.com.whatsapp.voip.call"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAppUniqueInfo{
    appUniqueId: String.t() | nil,
    contactInfoSource: String.t() | nil,
    displayAppUniqueId: String.t() | nil,
    label: String.t() | nil,
    mimetype: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.