google_api_people v0.7.0 GoogleApi.People.V1.Model.Person View Source
Information about a person merged from various data sources such as the authenticated user's contacts and profile data.
Most fields can have multiple items. The items in a field have no guaranteed
order, but each non-empty field is guaranteed to have exactly one field with
metadata.primary
set to true.
Attributes
addresses
(type:list(GoogleApi.People.V1.Model.Address.t)
, default:nil
) - The person's street addresses.ageRange
(type:String.t
, default:nil
) - DEPRECATED (Please useperson.ageRanges
instead)**The person's read-only age range.
ageRanges
(type:list(GoogleApi.People.V1.Model.AgeRangeType.t)
, default:nil
) - The person's read-only age ranges.biographies
(type:list(GoogleApi.People.V1.Model.Biography.t)
, default:nil
) - The person's biographies.birthdays
(type:list(GoogleApi.People.V1.Model.Birthday.t)
, default:nil
) - The person's birthdays.braggingRights
(type:list(GoogleApi.People.V1.Model.BraggingRights.t)
, default:nil
) - The person's bragging rights.coverPhotos
(type:list(GoogleApi.People.V1.Model.CoverPhoto.t)
, default:nil
) - The person's read-only cover photos.emailAddresses
(type:list(GoogleApi.People.V1.Model.EmailAddress.t)
, default:nil
) - The person's email addresses.etag
(type:String.t
, default:nil
) - The HTTP entity tag of the resource. Used for web cache validation.events
(type:list(GoogleApi.People.V1.Model.Event.t)
, default:nil
) - The person's events.genders
(type:list(GoogleApi.People.V1.Model.Gender.t)
, default:nil
) - The person's genders.imClients
(type:list(GoogleApi.People.V1.Model.ImClient.t)
, default:nil
) - The person's instant messaging clients.interests
(type:list(GoogleApi.People.V1.Model.Interest.t)
, default:nil
) - The person's interests.locales
(type:list(GoogleApi.People.V1.Model.Locale.t)
, default:nil
) - The person's locale preferences.memberships
(type:list(GoogleApi.People.V1.Model.Membership.t)
, default:nil
) - The person's group memberships.metadata
(type:GoogleApi.People.V1.Model.PersonMetadata.t
, default:nil
) - Read-only metadata about the person.names
(type:list(GoogleApi.People.V1.Model.Name.t)
, default:nil
) - The person's names.nicknames
(type:list(GoogleApi.People.V1.Model.Nickname.t)
, default:nil
) - The person's nicknames.occupations
(type:list(GoogleApi.People.V1.Model.Occupation.t)
, default:nil
) - The person's occupations.organizations
(type:list(GoogleApi.People.V1.Model.Organization.t)
, default:nil
) - The person's past or current organizations.phoneNumbers
(type:list(GoogleApi.People.V1.Model.PhoneNumber.t)
, default:nil
) - The person's phone numbers.photos
(type:list(GoogleApi.People.V1.Model.Photo.t)
, default:nil
) - The person's read-only photos.relations
(type:list(GoogleApi.People.V1.Model.Relation.t)
, default:nil
) - The person's relations.relationshipInterests
(type:list(GoogleApi.People.V1.Model.RelationshipInterest.t)
, default:nil
) - The person's read-only relationship interests.relationshipStatuses
(type:list(GoogleApi.People.V1.Model.RelationshipStatus.t)
, default:nil
) - The person's read-only relationship statuses.residences
(type:list(GoogleApi.People.V1.Model.Residence.t)
, default:nil
) - The person's residences.resourceName
(type:String.t
, default:nil
) - The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form ofpeople/
person_id.sipAddresses
(type:list(GoogleApi.People.V1.Model.SipAddress.t)
, default:nil
) - The person's SIP addresses.skills
(type:list(GoogleApi.People.V1.Model.Skill.t)
, default:nil
) - The person's skills.taglines
(type:list(GoogleApi.People.V1.Model.Tagline.t)
, default:nil
) - The person's read-only taglines.urls
(type:list(GoogleApi.People.V1.Model.Url.t)
, default:nil
) - The person's associated URLs.userDefined
(type:list(GoogleApi.People.V1.Model.UserDefined.t)
, default:nil
) - The person's user defined data.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
t()
View Source
t() :: %GoogleApi.People.V1.Model.Person{
addresses: [GoogleApi.People.V1.Model.Address.t()],
ageRange: String.t(),
ageRanges: [GoogleApi.People.V1.Model.AgeRangeType.t()],
biographies: [GoogleApi.People.V1.Model.Biography.t()],
birthdays: [GoogleApi.People.V1.Model.Birthday.t()],
braggingRights: [GoogleApi.People.V1.Model.BraggingRights.t()],
coverPhotos: [GoogleApi.People.V1.Model.CoverPhoto.t()],
emailAddresses: [GoogleApi.People.V1.Model.EmailAddress.t()],
etag: String.t(),
events: [GoogleApi.People.V1.Model.Event.t()],
genders: [GoogleApi.People.V1.Model.Gender.t()],
imClients: [GoogleApi.People.V1.Model.ImClient.t()],
interests: [GoogleApi.People.V1.Model.Interest.t()],
locales: [GoogleApi.People.V1.Model.Locale.t()],
memberships: [GoogleApi.People.V1.Model.Membership.t()],
metadata: GoogleApi.People.V1.Model.PersonMetadata.t(),
names: [GoogleApi.People.V1.Model.Name.t()],
nicknames: [GoogleApi.People.V1.Model.Nickname.t()],
occupations: [GoogleApi.People.V1.Model.Occupation.t()],
organizations: [GoogleApi.People.V1.Model.Organization.t()],
phoneNumbers: [GoogleApi.People.V1.Model.PhoneNumber.t()],
photos: [GoogleApi.People.V1.Model.Photo.t()],
relations: [GoogleApi.People.V1.Model.Relation.t()],
relationshipInterests: [GoogleApi.People.V1.Model.RelationshipInterest.t()],
relationshipStatuses: [GoogleApi.People.V1.Model.RelationshipStatus.t()],
residences: [GoogleApi.People.V1.Model.Residence.t()],
resourceName: String.t(),
sipAddresses: [GoogleApi.People.V1.Model.SipAddress.t()],
skills: [GoogleApi.People.V1.Model.Skill.t()],
taglines: [GoogleApi.People.V1.Model.Tagline.t()],
urls: [GoogleApi.People.V1.Model.Url.t()],
userDefined: [GoogleApi.People.V1.Model.UserDefined.t()]
}
t() :: %GoogleApi.People.V1.Model.Person{ addresses: [GoogleApi.People.V1.Model.Address.t()], ageRange: String.t(), ageRanges: [GoogleApi.People.V1.Model.AgeRangeType.t()], biographies: [GoogleApi.People.V1.Model.Biography.t()], birthdays: [GoogleApi.People.V1.Model.Birthday.t()], braggingRights: [GoogleApi.People.V1.Model.BraggingRights.t()], coverPhotos: [GoogleApi.People.V1.Model.CoverPhoto.t()], emailAddresses: [GoogleApi.People.V1.Model.EmailAddress.t()], etag: String.t(), events: [GoogleApi.People.V1.Model.Event.t()], genders: [GoogleApi.People.V1.Model.Gender.t()], imClients: [GoogleApi.People.V1.Model.ImClient.t()], interests: [GoogleApi.People.V1.Model.Interest.t()], locales: [GoogleApi.People.V1.Model.Locale.t()], memberships: [GoogleApi.People.V1.Model.Membership.t()], metadata: GoogleApi.People.V1.Model.PersonMetadata.t(), names: [GoogleApi.People.V1.Model.Name.t()], nicknames: [GoogleApi.People.V1.Model.Nickname.t()], occupations: [GoogleApi.People.V1.Model.Occupation.t()], organizations: [GoogleApi.People.V1.Model.Organization.t()], phoneNumbers: [GoogleApi.People.V1.Model.PhoneNumber.t()], photos: [GoogleApi.People.V1.Model.Photo.t()], relations: [GoogleApi.People.V1.Model.Relation.t()], relationshipInterests: [GoogleApi.People.V1.Model.RelationshipInterest.t()], relationshipStatuses: [GoogleApi.People.V1.Model.RelationshipStatus.t()], residences: [GoogleApi.People.V1.Model.Residence.t()], resourceName: String.t(), sipAddresses: [GoogleApi.People.V1.Model.SipAddress.t()], skills: [GoogleApi.People.V1.Model.Skill.t()], taglines: [GoogleApi.People.V1.Model.Tagline.t()], urls: [GoogleApi.People.V1.Model.Url.t()], userDefined: [GoogleApi.People.V1.Model.UserDefined.t()] }
Link to this section Functions
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.