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):
Attributes
-
affinityMetadata
(type:GoogleApi.ContentWarehouse.V1.Model.SocialGraphWireProtoPeopleapiAffinityMetadata
, default:nil
)
- Contains extra ranking information returned by DAS. -
affinityType
(type:String.t
, default:nil
)
- -
containerId
(type:String.t
, default:nil
)
- The ID of the container -
containerType
(type:String.t
, default:nil
)
- The type of container to which this affinity applies -
loggingId
(type:String.t
, default:nil
)
- Used to log events for this affinity value, for disco diagnostic-purposes. See go/disco-diagnostics. -
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
}
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