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

Extra ranking info returned with affinity data. This info is returned by DAS and passed to PAPI clients (Yenta), where it is used for ranking and filtering device and server suggestions together.

Attributes

  • clientInteractionInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadataClientInteractionInfo.t, default: nil) - Information regarding client interactions.
  • cloudDeviceDataInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadataCloudDeviceDataInfo.t, default: nil) - Device information about the candidate available in the cloud.
  • cloudScore (type: float(), default: nil) - Affinity score for the cloud contact.
  • suggestionConfidence (type: String.t, default: nil) - Indicator of the confidence in suggestion relevance.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata{
    clientInteractionInfo:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadataClientInteractionInfo.t()
      | nil,
    cloudDeviceDataInfo:
      GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadataCloudDeviceDataInfo.t()
      | nil,
    cloudScore: float() | nil,
    suggestionConfidence: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.