AppsPeopleOzExternalMergedpeopleapiAffinity

GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity


Table of Contents ▼

Jump to a specific part of the page:

Description

Similar to social.graph.storage.Affinity, but pared down to what the clients of the People API are interested in.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. affinityMetadata (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata, default: nil)
    - Contains extra ranking information returned by DAS.
  2. affinityType (type: String.t, default: nil)
    -
  3. containerId (type: String.t, default: nil)
    - The ID of the container
  4. containerType (type: String.t, default: nil)
    - The type of container to which this affinity applies
  5. loggingId (type: String.t, default: nil)
    - Used to log events for this affinity value, for disco diagnostic-purposes. See go/disco-diagnostics.
  6. value (type: float(), default: nil)
    - Affinity value. Frequently represented as an inverse ranking, sometimes with additional data encoded. If data_formats.affinity_formats.score_format is set to RAW_SCORE then the value will be the score returned by DAS.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity{
affinityMetadata: GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata.t() | nil,
affinityType: String.t() | nil,
containerId: String.t() | nil,
containerType: String.t() | nil,
loggingId: String.t() | nil,
value: float() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiAffinity