Voting helps other researchers find interesting modules.
See go/people-api-howto:names for an overview of name usage in PeopleAPI. The unstructured_name field contains a free form name value. The given_name, middle_name, family_name, etc, fields contain the structured name. For CONTACT mutates, (i.e. when Name.metadata.container is CONTACT), it is recommended for clients to set either the unstructured_name or the set of structured name fields, not both. When only the unstructured_name is set, it is parsed to produce a best-guess set of structured name values for the given_name, family_name, etc. When only the structured name fields are set, the various values are combined to produce an unstructured_name. * When both are set, the unstructured_name is saved as-is and the structured name fields are saved as-is. This may be confusing as they might not "match". For PROFILE mutates, (i.e. when Name.metadata.container is PROFILE), it is required for clients to use the structured name fields as the unstructured field value is ignored on write. The unstructured name fields are generated for convenience on read. For DEVICE_CONTACTS, see b/156020778.
unstructured_name
given_name
middle_name
family_name
displayName
String.t
nil
honorific_prefix
honorific_suffix
display_name
include_account_locale
MergePersonSourceOptions
displayNameLastFirst
displayNameSource
GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoDisplayNameSource.t
familyName
formattedName
givenName
honorificPrefix
honorificSuffix
metadata
GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t
middleName
pronunciations
GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPronunciations.t
shortDisplayName
first_name
short_display_name
unstructuredName
yomiFamilyName
yomiFullName
yomiGivenName
yomiHonorificPrefix
yomiHonorificSuffix
yomiMiddleName
Unwrap a decoded JSON object into its complex fields.
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiName{ displayName: String.t() | nil, displayNameLastFirst: String.t() | nil, displayNameSource: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoDisplayNameSource.t() | nil, familyName: String.t() | nil, formattedName: String.t() | nil, givenName: String.t() | nil, honorificPrefix: String.t() | nil, honorificSuffix: String.t() | nil, metadata: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata.t() | nil, middleName: String.t() | nil, pronunciations: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPronunciations.t() | nil, shortDisplayName: String.t() | nil, unstructuredName: String.t() | nil, yomiFamilyName: String.t() | nil, yomiFullName: String.t() | nil, yomiGivenName: String.t() | nil, yomiHonorificPrefix: String.t() | nil, yomiHonorificSuffix: String.t() | nil, yomiMiddleName: String.t() | nil }
@spec decode(struct(), keyword()) :: struct()