GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRelation
Table of Contents ▼
Jump to a specific part of the page:
Description
Relation stores the related person between the contact or profile and a third person. See go/relation-vs-relationship for relation vs relationship explanation. This field currently includes RelationshipToMe data in fields value and canonical_value for ContainerType CONTACT_ANNOTATION. This will be moved to RelationshipToMe in b/221081499.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
canonicalValue
(type:String.t
, default:nil
)
- Canonicalizedvalue
of the relation from this person to the user. This is currently used for data from contact annotations. Possible canonical values are based from http://google3/googledata/quality/aliases/relationship_en.config. -
formattedType
(type:String.t
, default:nil
)
- Thetype
translated and formatted in the request locale. See go/people-api-howto/localization for details on how to usage. -
metadata
(type:GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata
, default:nil
)
- -
relationDetails
(type:GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRelationRelationDetails
, default:nil
)
- The person whose email matches the Relation.value field, if it is a valid email address. This field is read-only and ignored on update. -
type
(type:String.t
, default:nil
)
- The relation type. The type can be free form or one of these predefined values:spouse
child
mother
father
parent
brother
sister
friend
relative
domesticPartner
manager
assistant
referredBy
partner
-
value
(type:String.t
, default:nil
)
- The person this relation applies to. Custom value provided by the user.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRelation{
canonicalValue: String.t() | nil,
formattedType: String.t() | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | nil,
relationDetails: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRelationRelationDetails.t() | nil,
type: String.t() | nil,
value: String.t() | nil
}
canonicalValue: String.t() | nil,
formattedType: String.t() | nil,
metadata: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | nil,
relationDetails: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRelationRelationDetails.t() | nil,
type: String.t() | nil,
value: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiRelation