google_api_people v0.4.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 ([Address]): The person's street addresses. Defaults to:
null
. ageRange (String.t): DEPRECATED (Please use `person.ageRanges` instead)** The person's read-only age range. Defaults to:
null
.- Enum - one of [AGE_RANGE_UNSPECIFIED, LESS_THAN_EIGHTEEN, EIGHTEEN_TO_TWENTY, TWENTY_ONE_OR_OLDER]
- ageRanges ([AgeRangeType]): The person's read-only age ranges. Defaults to:
null
. - biographies ([Biography]): The person's biographies. Defaults to:
null
. - birthdays ([Birthday]): The person's birthdays. Defaults to:
null
. - braggingRights ([BraggingRights]): The person's bragging rights. Defaults to:
null
. - coverPhotos ([CoverPhoto]): The person's read-only cover photos. Defaults to:
null
. - emailAddresses ([EmailAddress]): The person's email addresses. Defaults to:
null
. - etag (String.t): The HTTP entity tag of the resource. Used for web cache validation. Defaults to:
null
. - events ([Event]): The person's events. Defaults to:
null
. - genders ([Gender]): The person's genders. Defaults to:
null
. - imClients ([ImClient]): The person's instant messaging clients. Defaults to:
null
. - interests ([Interest]): The person's interests. Defaults to:
null
. - locales ([Locale]): The person's locale preferences. Defaults to:
null
. - memberships ([Membership]): The person's read-only group memberships. Defaults to:
null
. - metadata (PersonMetadata): Read-only metadata about the person. Defaults to:
null
. - names ([Name]): The person's names. Defaults to:
null
. - nicknames ([Nickname]): The person's nicknames. Defaults to:
null
. - occupations ([Occupation]): The person's occupations. Defaults to:
null
. - organizations ([Organization]): The person's past or current organizations. Defaults to:
null
. - phoneNumbers ([PhoneNumber]): The person's phone numbers. Defaults to:
null
. - photos ([Photo]): The person's read-only photos. Defaults to:
null
. - relations ([Relation]): The person's relations. Defaults to:
null
. - relationshipInterests ([RelationshipInterest]): The person's read-only relationship interests. Defaults to:
null
. - relationshipStatuses ([RelationshipStatus]): The person's read-only relationship statuses. Defaults to:
null
. - residences ([Residence]): The person's residences. Defaults to:
null
. - resourceName (String.t): The resource name for the person, assigned by the server. An ASCII string with a max length of 27 characters, in the form of `people/`<var>person_id</var>. Defaults to:
null
. - sipAddresses ([SipAddress]): The person's SIP addresses. Defaults to:
null
. - skills ([Skill]): The person's skills. Defaults to:
null
. - taglines ([Tagline]): The person's read-only taglines. Defaults to:
null
. - urls ([Url]): The person's associated URLs. Defaults to:
null
. - userDefined ([UserDefined]): The person's user defined data. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.People.V1.Model.Person{
addresses: [GoogleApi.People.V1.Model.Address.t()],
ageRange: any(),
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: any(),
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: any(),
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: any(), 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: any(), 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: any(), 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
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.