View Source GoogleApi.People.V1.Model.Relation (google_api_people v0.41.0)
A person's relation to another person.
Attributes
-
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
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type 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 }
Functions
Unwrap a decoded JSON object into its complex fields.