View Source GoogleApi.People.V1.Model.Relation (google_api_people v0.40.3)

A person's relation to another person.


  • formattedType (type: String.t, default: nil) - Output only. The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
  • metadata (type: GoogleApi.People.V1.Model.FieldMetadata.t, default: nil) - Metadata about the relation.
  • person (type: String.t, default: nil) - The name of the other person this relation refers to.
  • type (type: String.t, default: nil) - The person's relation to the other person. The type can be custom or one of these predefined values: spouse child mother father parent brother sister friend relative domesticPartner manager assistant referredBy partner

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.People.V1.Model.Relation{
  formattedType: String.t() | nil,
  metadata: GoogleApi.People.V1.Model.FieldMetadata.t() | nil,
  person: String.t() | nil,
  type: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.