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

//////////////////// DeviceId ////////////////////// Used by Device Contacts only. For more details see go/fbs-support-for-device-contacts.

Attributes

  • AndroidDeviceId (type: String.t, default: nil) - The GServices id on Android. See go/android-id.
  • Hash (type: String.t, default: nil) - DeviceId.Hash is a SHA256 of some attribute of the user and device. For Android devices: Hash = SHA256(gaia_account_name + “:” + “1” + “:” + (android id - LSB)); For iOS devices: Hash = TOLOWER(HEX(GMCSComputeUserDeviceToken(userId, iOsDeviceId)) For more details see go/client-instance-id.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.FocusBackendDeviceId{
  AndroidDeviceId: String.t() | nil,
  Hash: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.