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

The set of information that helps Assistant identify a device-user pair. An example use of this proto is in broadcast reply, when after receiving a broadcast, we store a device-user pair in an attentional entity in order to later infer who initated the broadcast on which device.

Attributes

  • deviceId (type: GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t, default: nil) - The identifier of the device.
  • gaiaId (type: String.t, default: nil) - The identifier of the user.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceUserIdentity{
    deviceId:
      GoogleApi.ContentWarehouse.V1.Model.AssistantApiCoreTypesDeviceId.t()
      | nil,
    gaiaId: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.