Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- OAuth Scopes
- API Declaration
- Resources
- people.contactGroups.batchGet
- people.contactGroups.create
- people.contactGroups.delete
- people.contactGroups.get
- people.contactGroups.list
- people.contactGroups.members.modify
- people.contactGroups.update
- people.people.connections.list
- people.people.createContact
- people.people.deleteContact
- people.people.get
- people.people.getBatchGet
- people.people.updateContact
- Types
- SipAddress
- Photo
- Event
- ListConnectionsResponse
- Status
- ContactGroupResponse
- ContactGroup
- ModifyContactGroupMembersResponse
- UpdateContactGroupRequest
- DomainMembership
- RelationshipInterest
- BraggingRights
- Membership
- Person
- Empty
- SourceType
- ListContactGroupsResponse
- ContactGroupMembership
- ContactGroupGroupType
- UserDefined
- NicknameType
- Locale
- RelationshipStatus
- URL
- StatusDetailsItem
- Address
- ProFileMetadata
- Relation
- GetPeopleResponse
- Birthday
- PersonAgeRange
- Date
- Tagline
- Residence
- AgeRangeType
- Gender
- Name
- FieldMetadata
- PhoneNumber
- Occupation
- Xgafv
- EmailAddress
- CreateContactGroupRequest
- ContactGroupMetadata
- ModifyContactGroupMembersRequest
- PersonMetadataObjectType
- Source
- ImClient
- BatchGetContactGroupsResponse
- BiographyContentType
- PersonMetadata
- AgeRangeTypeAgeRange
- Nickname
- ProFileMetadataObjectType
- Organization
- Interest
- PersonResponse
- Skill
- Biography
- CoverPhoto
Provides access to information about profiles and contacts.
See: People API Reference
Synopsis
- peopleService :: ServiceConfig
- userBirthdayReadScope :: Proxy '["https://www.googleapis.com/auth/user.birthday.read"]
- userInfoProFileScope :: Proxy '["https://www.googleapis.com/auth/userinfo.profile"]
- userPhoneNumbersReadScope :: Proxy '["https://www.googleapis.com/auth/user.phonenumbers.read"]
- userInfoEmailScope :: Proxy '["https://www.googleapis.com/auth/userinfo.email"]
- contactsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/contacts.readonly"]
- userAddressesReadScope :: Proxy '["https://www.googleapis.com/auth/user.addresses.read"]
- contactsScope :: Proxy '["https://www.googleapis.com/auth/contacts"]
- userEmailsReadScope :: Proxy '["https://www.googleapis.com/auth/user.emails.read"]
- type PeopleAPI = ContactGroupsMembersModifyResource :<|> (ContactGroupsListResource :<|> (ContactGroupsGetResource :<|> (ContactGroupsCreateResource :<|> (ContactGroupsBatchGetResource :<|> (ContactGroupsDeleteResource :<|> (ContactGroupsUpdateResource :<|> (PeopleConnectionsListResource :<|> (PeopleGetBatchGetResource :<|> (PeopleGetResource :<|> (PeopleDeleteContactResource :<|> (PeopleUpdateContactResource :<|> PeopleCreateContactResource)))))))))))
- module Network.Google.Resource.People.ContactGroups.BatchGet
- module Network.Google.Resource.People.ContactGroups.Create
- module Network.Google.Resource.People.ContactGroups.Delete
- module Network.Google.Resource.People.ContactGroups.Get
- module Network.Google.Resource.People.ContactGroups.List
- module Network.Google.Resource.People.ContactGroups.Members.Modify
- module Network.Google.Resource.People.ContactGroups.Update
- module Network.Google.Resource.People.People.Connections.List
- module Network.Google.Resource.People.People.CreateContact
- module Network.Google.Resource.People.People.DeleteContact
- module Network.Google.Resource.People.People.Get
- module Network.Google.Resource.People.People.GetBatchGet
- module Network.Google.Resource.People.People.UpdateContact
- data SipAddress
- sipAddress :: SipAddress
- saValue :: Lens' SipAddress (Maybe Text)
- saMetadata :: Lens' SipAddress (Maybe FieldMetadata)
- saType :: Lens' SipAddress (Maybe Text)
- saFormattedType :: Lens' SipAddress (Maybe Text)
- data Photo
- photo :: Photo
- pDefault :: Lens' Photo (Maybe Bool)
- pURL :: Lens' Photo (Maybe Text)
- pMetadata :: Lens' Photo (Maybe FieldMetadata)
- data Event
- event :: Event
- eDate :: Lens' Event (Maybe Date)
- eMetadata :: Lens' Event (Maybe FieldMetadata)
- eType :: Lens' Event (Maybe Text)
- eFormattedType :: Lens' Event (Maybe Text)
- data ListConnectionsResponse
- listConnectionsResponse :: ListConnectionsResponse
- lcrTotalItems :: Lens' ListConnectionsResponse (Maybe Int32)
- lcrNextPageToken :: Lens' ListConnectionsResponse (Maybe Text)
- lcrConnections :: Lens' ListConnectionsResponse [Person]
- lcrNextSyncToken :: Lens' ListConnectionsResponse (Maybe Text)
- lcrTotalPeople :: Lens' ListConnectionsResponse (Maybe Int32)
- data Status
- status :: Status
- sDetails :: Lens' Status [StatusDetailsItem]
- sCode :: Lens' Status (Maybe Int32)
- sMessage :: Lens' Status (Maybe Text)
- data ContactGroupResponse
- contactGroupResponse :: ContactGroupResponse
- cgrStatus :: Lens' ContactGroupResponse (Maybe Status)
- cgrContactGroup :: Lens' ContactGroupResponse (Maybe ContactGroup)
- cgrRequestedResourceName :: Lens' ContactGroupResponse (Maybe Text)
- data ContactGroup
- contactGroup :: ContactGroup
- cgEtag :: Lens' ContactGroup (Maybe Text)
- cgResourceName :: Lens' ContactGroup (Maybe Text)
- cgMemberResourceNames :: Lens' ContactGroup [Text]
- cgFormattedName :: Lens' ContactGroup (Maybe Text)
- cgName :: Lens' ContactGroup (Maybe Text)
- cgGroupType :: Lens' ContactGroup (Maybe ContactGroupGroupType)
- cgMetadata :: Lens' ContactGroup (Maybe ContactGroupMetadata)
- cgMemberCount :: Lens' ContactGroup (Maybe Int32)
- data ModifyContactGroupMembersResponse
- modifyContactGroupMembersResponse :: ModifyContactGroupMembersResponse
- mcgmrNotFoundResourceNames :: Lens' ModifyContactGroupMembersResponse [Text]
- data UpdateContactGroupRequest
- updateContactGroupRequest :: UpdateContactGroupRequest
- ucgrContactGroup :: Lens' UpdateContactGroupRequest (Maybe ContactGroup)
- data DomainMembership
- domainMembership :: DomainMembership
- dmInViewerDomain :: Lens' DomainMembership (Maybe Bool)
- data RelationshipInterest
- relationshipInterest :: RelationshipInterest
- riValue :: Lens' RelationshipInterest (Maybe Text)
- riMetadata :: Lens' RelationshipInterest (Maybe FieldMetadata)
- riFormattedValue :: Lens' RelationshipInterest (Maybe Text)
- data BraggingRights
- braggingRights :: BraggingRights
- brValue :: Lens' BraggingRights (Maybe Text)
- brMetadata :: Lens' BraggingRights (Maybe FieldMetadata)
- data Membership
- membership :: Membership
- mDomainMembership :: Lens' Membership (Maybe DomainMembership)
- mContactGroupMembership :: Lens' Membership (Maybe ContactGroupMembership)
- mMetadata :: Lens' Membership (Maybe FieldMetadata)
- data Person
- person :: Person
- perEmailAddresses :: Lens' Person [EmailAddress]
- perAgeRange :: Lens' Person (Maybe PersonAgeRange)
- perEtag :: Lens' Person (Maybe Text)
- perResidences :: Lens' Person [Residence]
- perBiographies :: Lens' Person [Biography]
- perTaglines :: Lens' Person [Tagline]
- perBraggingRights :: Lens' Person [BraggingRights]
- perBirthdays :: Lens' Person [Birthday]
- perResourceName :: Lens' Person (Maybe Text)
- perRelations :: Lens' Person [Relation]
- perURLs :: Lens' Person [URL]
- perAddresses :: Lens' Person [Address]
- perUserDefined :: Lens' Person [UserDefined]
- perNicknames :: Lens' Person [Nickname]
- perRelationshipStatuses :: Lens' Person [RelationshipStatus]
- perImClients :: Lens' Person [ImClient]
- perPhoneNumbers :: Lens' Person [PhoneNumber]
- perOccupations :: Lens' Person [Occupation]
- perNames :: Lens' Person [Name]
- perGenders :: Lens' Person [Gender]
- perPhotos :: Lens' Person [Photo]
- perAgeRanges :: Lens' Person [AgeRangeType]
- perEvents :: Lens' Person [Event]
- perCoverPhotos :: Lens' Person [CoverPhoto]
- perSkills :: Lens' Person [Skill]
- perSipAddresses :: Lens' Person [SipAddress]
- perMetadata :: Lens' Person (Maybe PersonMetadata)
- perInterests :: Lens' Person [Interest]
- perOrganizations :: Lens' Person [Organization]
- perLocales :: Lens' Person [Locale]
- perMemberships :: Lens' Person [Membership]
- perRelationshipInterests :: Lens' Person [RelationshipInterest]
- data Empty
- empty :: Empty
- data SourceType
- data ListContactGroupsResponse
- listContactGroupsResponse :: ListContactGroupsResponse
- lcgrContactGroups :: Lens' ListContactGroupsResponse [ContactGroup]
- lcgrTotalItems :: Lens' ListContactGroupsResponse (Maybe Int32)
- lcgrNextPageToken :: Lens' ListContactGroupsResponse (Maybe Text)
- lcgrNextSyncToken :: Lens' ListContactGroupsResponse (Maybe Text)
- data ContactGroupMembership
- contactGroupMembership :: ContactGroupMembership
- cgmContactGroupResourceName :: Lens' ContactGroupMembership (Maybe Text)
- cgmContactGroupId :: Lens' ContactGroupMembership (Maybe Text)
- data ContactGroupGroupType
- data UserDefined
- userDefined :: UserDefined
- udValue :: Lens' UserDefined (Maybe Text)
- udKey :: Lens' UserDefined (Maybe Text)
- udMetadata :: Lens' UserDefined (Maybe FieldMetadata)
- data NicknameType
- = Default
- | MaidenName
- | Initials
- | Gplus
- | OtherName
- data Locale
- locale :: Locale
- lValue :: Lens' Locale (Maybe Text)
- lMetadata :: Lens' Locale (Maybe FieldMetadata)
- data RelationshipStatus
- relationshipStatus :: RelationshipStatus
- rsValue :: Lens' RelationshipStatus (Maybe Text)
- rsMetadata :: Lens' RelationshipStatus (Maybe FieldMetadata)
- rsFormattedValue :: Lens' RelationshipStatus (Maybe Text)
- data URL
- url :: URL
- uValue :: Lens' URL (Maybe Text)
- uMetadata :: Lens' URL (Maybe FieldMetadata)
- uType :: Lens' URL (Maybe Text)
- uFormattedType :: Lens' URL (Maybe Text)
- data StatusDetailsItem
- statusDetailsItem :: HashMap Text JSONValue -> StatusDetailsItem
- sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue)
- data Address
- address :: Address
- aStreetAddress :: Lens' Address (Maybe Text)
- aPoBox :: Lens' Address (Maybe Text)
- aCountry :: Lens' Address (Maybe Text)
- aPostalCode :: Lens' Address (Maybe Text)
- aExtendedAddress :: Lens' Address (Maybe Text)
- aCity :: Lens' Address (Maybe Text)
- aMetadata :: Lens' Address (Maybe FieldMetadata)
- aCountryCode :: Lens' Address (Maybe Text)
- aFormattedValue :: Lens' Address (Maybe Text)
- aRegion :: Lens' Address (Maybe Text)
- aType :: Lens' Address (Maybe Text)
- aFormattedType :: Lens' Address (Maybe Text)
- data ProFileMetadata
- proFileMetadata :: ProFileMetadata
- pfmObjectType :: Lens' ProFileMetadata (Maybe ProFileMetadataObjectType)
- pfmUserTypes :: Lens' ProFileMetadata [Text]
- data Relation
- relation :: Relation
- rPerson :: Lens' Relation (Maybe Text)
- rMetadata :: Lens' Relation (Maybe FieldMetadata)
- rType :: Lens' Relation (Maybe Text)
- rFormattedType :: Lens' Relation (Maybe Text)
- data GetPeopleResponse
- getPeopleResponse :: GetPeopleResponse
- gprResponses :: Lens' GetPeopleResponse [PersonResponse]
- data Birthday
- birthday :: Birthday
- bText :: Lens' Birthday (Maybe Text)
- bDate :: Lens' Birthday (Maybe Date)
- bMetadata :: Lens' Birthday (Maybe FieldMetadata)
- data PersonAgeRange
- data Date
- date :: Date
- dDay :: Lens' Date (Maybe Int32)
- dYear :: Lens' Date (Maybe Int32)
- dMonth :: Lens' Date (Maybe Int32)
- data Tagline
- tagline :: Tagline
- tValue :: Lens' Tagline (Maybe Text)
- tMetadata :: Lens' Tagline (Maybe FieldMetadata)
- data Residence
- residence :: Residence
- resValue :: Lens' Residence (Maybe Text)
- resCurrent :: Lens' Residence (Maybe Bool)
- resMetadata :: Lens' Residence (Maybe FieldMetadata)
- data AgeRangeType
- ageRangeType :: AgeRangeType
- artAgeRange :: Lens' AgeRangeType (Maybe AgeRangeTypeAgeRange)
- artMetadata :: Lens' AgeRangeType (Maybe FieldMetadata)
- data Gender
- gender :: Gender
- gValue :: Lens' Gender (Maybe Text)
- gMetadata :: Lens' Gender (Maybe FieldMetadata)
- gFormattedValue :: Lens' Gender (Maybe Text)
- data Name
- name :: Name
- nGivenName :: Lens' Name (Maybe Text)
- nPhoneticHonorificSuffix :: Lens' Name (Maybe Text)
- nMiddleName :: Lens' Name (Maybe Text)
- nPhoneticMiddleName :: Lens' Name (Maybe Text)
- nPhoneticFamilyName :: Lens' Name (Maybe Text)
- nPhoneticHonorificPrefix :: Lens' Name (Maybe Text)
- nHonorificPrefix :: Lens' Name (Maybe Text)
- nFamilyName :: Lens' Name (Maybe Text)
- nMetadata :: Lens' Name (Maybe FieldMetadata)
- nDisplayName :: Lens' Name (Maybe Text)
- nDisplayNameLastFirst :: Lens' Name (Maybe Text)
- nPhoneticGivenName :: Lens' Name (Maybe Text)
- nHonorificSuffix :: Lens' Name (Maybe Text)
- nPhoneticFullName :: Lens' Name (Maybe Text)
- data FieldMetadata
- fieldMetadata :: FieldMetadata
- fmVerified :: Lens' FieldMetadata (Maybe Bool)
- fmPrimary :: Lens' FieldMetadata (Maybe Bool)
- fmSource :: Lens' FieldMetadata (Maybe Source)
- data PhoneNumber
- phoneNumber :: PhoneNumber
- pnCanonicalForm :: Lens' PhoneNumber (Maybe Text)
- pnValue :: Lens' PhoneNumber (Maybe Text)
- pnMetadata :: Lens' PhoneNumber (Maybe FieldMetadata)
- pnType :: Lens' PhoneNumber (Maybe Text)
- pnFormattedType :: Lens' PhoneNumber (Maybe Text)
- data Occupation
- occupation :: Occupation
- oValue :: Lens' Occupation (Maybe Text)
- oMetadata :: Lens' Occupation (Maybe FieldMetadata)
- data Xgafv
- data EmailAddress
- emailAddress :: EmailAddress
- eaValue :: Lens' EmailAddress (Maybe Text)
- eaMetadata :: Lens' EmailAddress (Maybe FieldMetadata)
- eaDisplayName :: Lens' EmailAddress (Maybe Text)
- eaType :: Lens' EmailAddress (Maybe Text)
- eaFormattedType :: Lens' EmailAddress (Maybe Text)
- data CreateContactGroupRequest
- createContactGroupRequest :: CreateContactGroupRequest
- ccgrContactGroup :: Lens' CreateContactGroupRequest (Maybe ContactGroup)
- data ContactGroupMetadata
- contactGroupMetadata :: ContactGroupMetadata
- cgmUpdateTime :: Lens' ContactGroupMetadata (Maybe UTCTime)
- cgmDeleted :: Lens' ContactGroupMetadata (Maybe Bool)
- data ModifyContactGroupMembersRequest
- modifyContactGroupMembersRequest :: ModifyContactGroupMembersRequest
- mcgmrResourceNamesToAdd :: Lens' ModifyContactGroupMembersRequest [Text]
- mcgmrResourceNamesToRemove :: Lens' ModifyContactGroupMembersRequest [Text]
- data PersonMetadataObjectType
- data Source
- source :: Source
- sEtag :: Lens' Source (Maybe Text)
- sProFileMetadata :: Lens' Source (Maybe ProFileMetadata)
- sUpdateTime :: Lens' Source (Maybe UTCTime)
- sId :: Lens' Source (Maybe Text)
- sType :: Lens' Source (Maybe SourceType)
- data ImClient
- imClient :: ImClient
- icFormattedProtocol :: Lens' ImClient (Maybe Text)
- icUsername :: Lens' ImClient (Maybe Text)
- icProtocol :: Lens' ImClient (Maybe Text)
- icMetadata :: Lens' ImClient (Maybe FieldMetadata)
- icType :: Lens' ImClient (Maybe Text)
- icFormattedType :: Lens' ImClient (Maybe Text)
- data BatchGetContactGroupsResponse
- batchGetContactGroupsResponse :: BatchGetContactGroupsResponse
- bgcgrResponses :: Lens' BatchGetContactGroupsResponse [ContactGroupResponse]
- data BiographyContentType
- data PersonMetadata
- personMetadata :: PersonMetadata
- pmPreviousResourceNames :: Lens' PersonMetadata [Text]
- pmObjectType :: Lens' PersonMetadata (Maybe PersonMetadataObjectType)
- pmSources :: Lens' PersonMetadata [Source]
- pmLinkedPeopleResourceNames :: Lens' PersonMetadata [Text]
- pmDeleted :: Lens' PersonMetadata (Maybe Bool)
- data AgeRangeTypeAgeRange
- data Nickname
- nickname :: Nickname
- nicValue :: Lens' Nickname (Maybe Text)
- nicMetadata :: Lens' Nickname (Maybe FieldMetadata)
- nicType :: Lens' Nickname (Maybe NicknameType)
- data ProFileMetadataObjectType
- data Organization
- organization :: Organization
- orgDePartment :: Lens' Organization (Maybe Text)
- orgLocation :: Lens' Organization (Maybe Text)
- orgDomain :: Lens' Organization (Maybe Text)
- orgEndDate :: Lens' Organization (Maybe Date)
- orgSymbol :: Lens' Organization (Maybe Text)
- orgJobDescription :: Lens' Organization (Maybe Text)
- orgCurrent :: Lens' Organization (Maybe Bool)
- orgStartDate :: Lens' Organization (Maybe Date)
- orgName :: Lens' Organization (Maybe Text)
- orgMetadata :: Lens' Organization (Maybe FieldMetadata)
- orgPhoneticName :: Lens' Organization (Maybe Text)
- orgTitle :: Lens' Organization (Maybe Text)
- orgType :: Lens' Organization (Maybe Text)
- orgFormattedType :: Lens' Organization (Maybe Text)
- data Interest
- interest :: Interest
- iValue :: Lens' Interest (Maybe Text)
- iMetadata :: Lens' Interest (Maybe FieldMetadata)
- data PersonResponse
- personResponse :: PersonResponse
- prStatus :: Lens' PersonResponse (Maybe Status)
- prRequestedResourceName :: Lens' PersonResponse (Maybe Text)
- prPerson :: Lens' PersonResponse (Maybe Person)
- prHTTPStatusCode :: Lens' PersonResponse (Maybe Int32)
- data Skill
- skill :: Skill
- sValue :: Lens' Skill (Maybe Text)
- sMetadata :: Lens' Skill (Maybe FieldMetadata)
- data Biography
- biography :: Biography
- bioValue :: Lens' Biography (Maybe Text)
- bioMetadata :: Lens' Biography (Maybe FieldMetadata)
- bioContentType :: Lens' Biography (Maybe BiographyContentType)
- data CoverPhoto
- coverPhoto :: CoverPhoto
- cpDefault :: Lens' CoverPhoto (Maybe Bool)
- cpURL :: Lens' CoverPhoto (Maybe Text)
- cpMetadata :: Lens' CoverPhoto (Maybe FieldMetadata)
Service Configuration
peopleService :: ServiceConfig Source #
Default request referring to version v1
of the People API. This contains the host and root path used as a starting point for constructing service requests.
OAuth Scopes
userBirthdayReadScope :: Proxy '["https://www.googleapis.com/auth/user.birthday.read"] Source #
View your complete date of birth
userInfoProFileScope :: Proxy '["https://www.googleapis.com/auth/userinfo.profile"] Source #
See your personal info, including any personal info you've made publicly available
userPhoneNumbersReadScope :: Proxy '["https://www.googleapis.com/auth/user.phonenumbers.read"] Source #
View your phone numbers
userInfoEmailScope :: Proxy '["https://www.googleapis.com/auth/userinfo.email"] Source #
View your email address
contactsReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/contacts.readonly"] Source #
See and download your contacts
userAddressesReadScope :: Proxy '["https://www.googleapis.com/auth/user.addresses.read"] Source #
View your street addresses
contactsScope :: Proxy '["https://www.googleapis.com/auth/contacts"] Source #
See, edit, download, and permanently delete your contacts
userEmailsReadScope :: Proxy '["https://www.googleapis.com/auth/user.emails.read"] Source #
View your email addresses
API Declaration
type PeopleAPI = ContactGroupsMembersModifyResource :<|> (ContactGroupsListResource :<|> (ContactGroupsGetResource :<|> (ContactGroupsCreateResource :<|> (ContactGroupsBatchGetResource :<|> (ContactGroupsDeleteResource :<|> (ContactGroupsUpdateResource :<|> (PeopleConnectionsListResource :<|> (PeopleGetBatchGetResource :<|> (PeopleGetResource :<|> (PeopleDeleteContactResource :<|> (PeopleUpdateContactResource :<|> PeopleCreateContactResource))))))))))) Source #
Represents the entirety of the methods and resources available for the People API service.
Resources
people.contactGroups.batchGet
people.contactGroups.create
people.contactGroups.delete
people.contactGroups.get
people.contactGroups.list
people.contactGroups.members.modify
people.contactGroups.update
people.people.connections.list
people.people.createContact
people.people.deleteContact
people.people.get
people.people.getBatchGet
people.people.updateContact
Types
SipAddress
data SipAddress Source #
A person's SIP address. Session Initial Protocol addresses are used for VoIP communications to make voice or video calls over the internet.
See: sipAddress
smart constructor.
Instances
sipAddress :: SipAddress Source #
Creates a value of SipAddress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saValue :: Lens' SipAddress (Maybe Text) Source #
The SIP address in the RFC 3261 19.1 SIP URI format.
saMetadata :: Lens' SipAddress (Maybe FieldMetadata) Source #
Metadata about the SIP address.
saType :: Lens' SipAddress (Maybe Text) Source #
The type of the SIP address. The type can be custom or or one of these predefined values: * `home` * `work` * `mobile` * `other`
saFormattedType :: Lens' SipAddress (Maybe Text) Source #
The read-only type of the SIP address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
Photo
A person's read-only photo. A picture shown next to the person's name to help others recognize the person.
See: photo
smart constructor.
Instances
Eq Photo Source # | |
Data Photo Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Photo -> c Photo # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Photo # dataTypeOf :: Photo -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Photo) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Photo) # gmapT :: (forall b. Data b => b -> b) -> Photo -> Photo # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Photo -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Photo -> r # gmapQ :: (forall d. Data d => d -> u) -> Photo -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Photo -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Photo -> m Photo # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Photo -> m Photo # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Photo -> m Photo # | |
Show Photo Source # | |
Generic Photo Source # | |
ToJSON Photo Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Photo Source # | |
type Rep Photo Source # | |
Defined in Network.Google.People.Types.Product type Rep Photo = D1 (MetaData "Photo" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Photo'" PrefixI True) (S1 (MetaSel (Just "_pDefault") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_pURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))))) |
pDefault :: Lens' Photo (Maybe Bool) Source #
True if the photo is a default photo; false if the photo is a user-provided photo.
pURL :: Lens' Photo (Maybe Text) Source #
The URL of the photo. You can change the desired size by appending a query parameter `sz=`size at the end of the url. Example: `https://lh3.googleusercontent.com/-T_wVWLlmg7w/AAAAAAAAAAI/AAAAAAAABa8/00gzXvDBYqw/s100/photo.jpg?sz=50`
Event
An event related to the person.
See: event
smart constructor.
Instances
Eq Event Source # | |
Data Event Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Event -> c Event # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Event # dataTypeOf :: Event -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Event) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Event) # gmapT :: (forall b. Data b => b -> b) -> Event -> Event # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Event -> r # gmapQ :: (forall d. Data d => d -> u) -> Event -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Event -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Event -> m Event # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Event -> m Event # | |
Show Event Source # | |
Generic Event Source # | |
ToJSON Event Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Event Source # | |
type Rep Event Source # | |
Defined in Network.Google.People.Types.Product type Rep Event = D1 (MetaData "Event" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Event'" PrefixI True) ((S1 (MetaSel (Just "_eDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date)) :*: S1 (MetaSel (Just "_eMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))) :*: (S1 (MetaSel (Just "_eType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eFormattedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Event
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eType :: Lens' Event (Maybe Text) Source #
The type of the event. The type can be custom or one of these predefined values: * `anniversary` * `other`
eFormattedType :: Lens' Event (Maybe Text) Source #
The read-only type of the event translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
ListConnectionsResponse
data ListConnectionsResponse Source #
Instances
listConnectionsResponse :: ListConnectionsResponse Source #
Creates a value of ListConnectionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcrTotalItems :: Lens' ListConnectionsResponse (Maybe Int32) Source #
The total number of items in the list without pagination.
lcrNextPageToken :: Lens' ListConnectionsResponse (Maybe Text) Source #
The token that can be used to retrieve the next page of results.
lcrConnections :: Lens' ListConnectionsResponse [Person] Source #
The list of people that the requestor is connected to.
lcrNextSyncToken :: Lens' ListConnectionsResponse (Maybe Text) Source #
The token that can be used to retrieve changes since the last request.
lcrTotalPeople :: Lens' ListConnectionsResponse (Maybe Int32) Source #
- *DEPRECATED** (Please use totalItems) The total number of people in the list without pagination.
Status
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. The error model is designed to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers *understand* and *resolve* the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.rpc` that can be used for common error conditions. # Language mapping The `Status` message is the logical representation of the error model, but it is not necessarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Example uses of this error model include: - Partial errors. If a service needs to return partial errors to the client, it may embed the `Status` in the normal response to indicate the partial errors. - Workflow errors. A typical workflow has multiple steps. Each step may have a `Status` message for error reporting. - Batch operations. If a client uses batch request and batch response, the `Status` message should be used directly inside batch response, one for each error sub-response. - Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored in logs, the message `Status` could be used directly after any stripping needed for security/privacy reasons.
See: status
smart constructor.
Instances
Eq Status Source # | |
Data Status Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Status -> c Status # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Status # toConstr :: Status -> Constr # dataTypeOf :: Status -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Status) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Status) # gmapT :: (forall b. Data b => b -> b) -> Status -> Status # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Status -> r # gmapQ :: (forall d. Data d => d -> u) -> Status -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Status -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Status -> m Status # | |
Show Status Source # | |
Generic Status Source # | |
ToJSON Status Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Status Source # | |
type Rep Status Source # | |
Defined in Network.Google.People.Types.Product type Rep Status = D1 (MetaData "Status" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Status'" PrefixI True) (S1 (MetaSel (Just "_sDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [StatusDetailsItem])) :*: (S1 (MetaSel (Just "_sCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_sMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
sDetails :: Lens' Status [StatusDetailsItem] Source #
A list of messages that carry the error details. There is a common set of message types for APIs to use.
sCode :: Lens' Status (Maybe Int32) Source #
The status code, which should be an enum value of google.rpc.Code.
sMessage :: Lens' Status (Maybe Text) Source #
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
ContactGroupResponse
data ContactGroupResponse Source #
The response for a specific contact group.
See: contactGroupResponse
smart constructor.
Instances
contactGroupResponse :: ContactGroupResponse Source #
Creates a value of ContactGroupResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgrContactGroup :: Lens' ContactGroupResponse (Maybe ContactGroup) Source #
The contact group.
cgrRequestedResourceName :: Lens' ContactGroupResponse (Maybe Text) Source #
The original requested resource name.
ContactGroup
data ContactGroup Source #
A contact group.
See: contactGroup
smart constructor.
Instances
contactGroup :: ContactGroup Source #
Creates a value of ContactGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgEtag :: Lens' ContactGroup (Maybe Text) Source #
The HTTP entity tag of the resource. Used for web cache validation.
cgResourceName :: Lens' ContactGroup (Maybe Text) Source #
The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/`contact_group_id.
cgMemberResourceNames :: Lens' ContactGroup [Text] Source #
The list of contact person resource names that are members of the contact group. The field is not populated for LIST requests and can only be updated through the ModifyContactGroupMembers.
cgFormattedName :: Lens' ContactGroup (Maybe Text) Source #
The read-only name translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale for system groups names. Group names set by the owner are the same as name.
cgName :: Lens' ContactGroup (Maybe Text) Source #
The contact group name set by the group owner or a system provided name for system groups.
cgGroupType :: Lens' ContactGroup (Maybe ContactGroupGroupType) Source #
The read-only contact group type.
cgMetadata :: Lens' ContactGroup (Maybe ContactGroupMetadata) Source #
Metadata about the contact group.
cgMemberCount :: Lens' ContactGroup (Maybe Int32) Source #
The total number of contacts in the group irrespective of max members in specified in the request.
ModifyContactGroupMembersResponse
data ModifyContactGroupMembersResponse Source #
The response to a modify contact group members request.
See: modifyContactGroupMembersResponse
smart constructor.
Instances
modifyContactGroupMembersResponse :: ModifyContactGroupMembersResponse Source #
Creates a value of ModifyContactGroupMembersResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcgmrNotFoundResourceNames :: Lens' ModifyContactGroupMembersResponse [Text] Source #
The contact people resource names that were not found.
UpdateContactGroupRequest
data UpdateContactGroupRequest Source #
A request to update an existing user contact group. All updated fields will be replaced.
See: updateContactGroupRequest
smart constructor.
Instances
updateContactGroupRequest :: UpdateContactGroupRequest Source #
Creates a value of UpdateContactGroupRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ucgrContactGroup :: Lens' UpdateContactGroupRequest (Maybe ContactGroup) Source #
The contact group to update.
DomainMembership
data DomainMembership Source #
A read-only G Suite Domain membership.
See: domainMembership
smart constructor.
Instances
domainMembership :: DomainMembership Source #
Creates a value of DomainMembership
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dmInViewerDomain :: Lens' DomainMembership (Maybe Bool) Source #
True if the person is in the viewer's G Suite domain.
RelationshipInterest
data RelationshipInterest Source #
A person's read-only relationship interest .
See: relationshipInterest
smart constructor.
Instances
relationshipInterest :: RelationshipInterest Source #
Creates a value of RelationshipInterest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
riValue :: Lens' RelationshipInterest (Maybe Text) Source #
The kind of relationship the person is looking for. The value can be custom or one of these predefined values: * `friend` * `date` * `relationship` * `networking`
riMetadata :: Lens' RelationshipInterest (Maybe FieldMetadata) Source #
Metadata about the relationship interest.
riFormattedValue :: Lens' RelationshipInterest (Maybe Text) Source #
The value of the relationship interest translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
BraggingRights
data BraggingRights Source #
A person's bragging rights.
See: braggingRights
smart constructor.
Instances
braggingRights :: BraggingRights Source #
Creates a value of BraggingRights
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
brValue :: Lens' BraggingRights (Maybe Text) Source #
The bragging rights; for example, `climbed mount everest`.
brMetadata :: Lens' BraggingRights (Maybe FieldMetadata) Source #
Metadata about the bragging rights.
Membership
data Membership Source #
A person's membership in a group. Only contact group memberships can be modified.
See: membership
smart constructor.
Instances
membership :: Membership Source #
Creates a value of Membership
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mDomainMembership :: Lens' Membership (Maybe DomainMembership) Source #
The read-only domain membership.
mContactGroupMembership :: Lens' Membership (Maybe ContactGroupMembership) Source #
The contact group membership.
mMetadata :: Lens' Membership (Maybe FieldMetadata) Source #
Metadata about the membership.
Person
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.
See: person
smart constructor.
Instances
Creates a value of Person
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
perEmailAddresses
perAgeRange
perEtag
perResidences
perBiographies
perTaglines
perBraggingRights
perBirthdays
perResourceName
perRelations
perURLs
perAddresses
perUserDefined
perNicknames
perRelationshipStatuses
perImClients
perPhoneNumbers
perOccupations
perNames
perGenders
perPhotos
perAgeRanges
perEvents
perCoverPhotos
perSkills
perSipAddresses
perMetadata
perInterests
perOrganizations
perLocales
perMemberships
perRelationshipInterests
perEmailAddresses :: Lens' Person [EmailAddress] Source #
The person's email addresses.
perAgeRange :: Lens' Person (Maybe PersonAgeRange) Source #
- *DEPRECATED** (Please use `person.ageRanges` instead)** The person's read-only age range.
perEtag :: Lens' Person (Maybe Text) Source #
The HTTP entity tag of the resource. Used for web cache validation.
perBraggingRights :: Lens' Person [BraggingRights] Source #
The person's bragging rights.
perResourceName :: Lens' Person (Maybe Text) Source #
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/`person_id.
perUserDefined :: Lens' Person [UserDefined] Source #
The person's user defined data.
perRelationshipStatuses :: Lens' Person [RelationshipStatus] Source #
The person's read-only relationship statuses.
perPhoneNumbers :: Lens' Person [PhoneNumber] Source #
The person's phone numbers.
perOccupations :: Lens' Person [Occupation] Source #
The person's occupations.
perAgeRanges :: Lens' Person [AgeRangeType] Source #
The person's read-only age ranges.
perCoverPhotos :: Lens' Person [CoverPhoto] Source #
The person's read-only cover photos.
perSipAddresses :: Lens' Person [SipAddress] Source #
The person's SIP addresses.
perMetadata :: Lens' Person (Maybe PersonMetadata) Source #
Read-only metadata about the person.
perOrganizations :: Lens' Person [Organization] Source #
The person's past or current organizations.
perMemberships :: Lens' Person [Membership] Source #
The person's group memberships.
perRelationshipInterests :: Lens' Person [RelationshipInterest] Source #
The person's read-only relationship interests.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
See: empty
smart constructor.
Instances
Eq Empty Source # | |
Data Empty Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Empty -> c Empty # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Empty # dataTypeOf :: Empty -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Empty) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Empty) # gmapT :: (forall b. Data b => b -> b) -> Empty -> Empty # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Empty -> r # gmapQ :: (forall d. Data d => d -> u) -> Empty -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Empty -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Empty -> m Empty # | |
Show Empty Source # | |
Generic Empty Source # | |
ToJSON Empty Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Empty Source # | |
type Rep Empty Source # | |
SourceType
data SourceType Source #
The source type.
SourceTypeUnspecified |
|
Account |
|
ProFile |
|
DomainProFile |
|
Contact |
|
Instances
ListContactGroupsResponse
data ListContactGroupsResponse Source #
The response to a list contact groups request.
See: listContactGroupsResponse
smart constructor.
Instances
listContactGroupsResponse :: ListContactGroupsResponse Source #
Creates a value of ListContactGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lcgrContactGroups :: Lens' ListContactGroupsResponse [ContactGroup] Source #
The list of contact groups. Members of the contact groups are not populated.
lcgrTotalItems :: Lens' ListContactGroupsResponse (Maybe Int32) Source #
The total number of items in the list without pagination.
lcgrNextPageToken :: Lens' ListContactGroupsResponse (Maybe Text) Source #
The token that can be used to retrieve the next page of results.
lcgrNextSyncToken :: Lens' ListContactGroupsResponse (Maybe Text) Source #
The token that can be used to retrieve changes since the last request.
ContactGroupMembership
data ContactGroupMembership Source #
A Google contact group membership.
See: contactGroupMembership
smart constructor.
Instances
contactGroupMembership :: ContactGroupMembership Source #
Creates a value of ContactGroupMembership
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgmContactGroupResourceName :: Lens' ContactGroupMembership (Maybe Text) Source #
The resource name for the contact group, assigned by the server. An ASCII string, in the form of `contactGroups/`contact_group_id. Only contact_group_resource_name can be used for modifying memberships. Any contact group membership can be removed, but only user group or "myContacts" or "starred" system groups memberships can be added. A contact must always have at least one contact group membership.
cgmContactGroupId :: Lens' ContactGroupMembership (Maybe Text) Source #
The read-only contact group ID for the contact group membership.
ContactGroupGroupType
data ContactGroupGroupType Source #
The read-only contact group type.
GroupTypeUnspecified |
|
UserContactGroup |
|
SystemContactGroup |
|
Instances
UserDefined
data UserDefined Source #
Arbitrary user data that is populated by the end users.
See: userDefined
smart constructor.
Instances
userDefined :: UserDefined Source #
Creates a value of UserDefined
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
udValue :: Lens' UserDefined (Maybe Text) Source #
The end user specified value of the user defined data.
udKey :: Lens' UserDefined (Maybe Text) Source #
The end user specified key of the user defined data.
udMetadata :: Lens' UserDefined (Maybe FieldMetadata) Source #
Metadata about the user defined data.
NicknameType
data NicknameType Source #
The type of the nickname.
Default |
|
MaidenName |
|
Initials |
|
Gplus |
|
OtherName |
|
Instances
Locale
A person's locale preference.
See: locale
smart constructor.
Instances
Eq Locale Source # | |
Data Locale Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Locale -> c Locale # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Locale # toConstr :: Locale -> Constr # dataTypeOf :: Locale -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Locale) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Locale) # gmapT :: (forall b. Data b => b -> b) -> Locale -> Locale # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Locale -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Locale -> r # gmapQ :: (forall d. Data d => d -> u) -> Locale -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Locale -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Locale -> m Locale # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Locale -> m Locale # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Locale -> m Locale # | |
Show Locale Source # | |
Generic Locale Source # | |
ToJSON Locale Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Locale Source # | |
type Rep Locale Source # | |
Defined in Network.Google.People.Types.Product type Rep Locale = D1 (MetaData "Locale" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Locale'" PrefixI True) (S1 (MetaSel (Just "_lValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)))) |
lValue :: Lens' Locale (Maybe Text) Source #
The well-formed IETF BCP 47 language tag representing the locale.
RelationshipStatus
data RelationshipStatus Source #
A person's read-only relationship status.
See: relationshipStatus
smart constructor.
Instances
relationshipStatus :: RelationshipStatus Source #
Creates a value of RelationshipStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsValue :: Lens' RelationshipStatus (Maybe Text) Source #
The relationship status. The value can be custom or one of these predefined values: * `single` * `inARelationship` * `engaged` * `married` * `itsComplicated` * `openRelationship` * `widowed` * `inDomesticPartnership` * `inCivilUnion`
rsMetadata :: Lens' RelationshipStatus (Maybe FieldMetadata) Source #
Metadata about the relationship status.
rsFormattedValue :: Lens' RelationshipStatus (Maybe Text) Source #
The read-only value of the relationship status translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
URL
A person's associated URLs.
See: url
smart constructor.
Instances
Eq URL Source # | |
Data URL Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> URL -> c URL # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c URL # dataTypeOf :: URL -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c URL) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c URL) # gmapT :: (forall b. Data b => b -> b) -> URL -> URL # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> URL -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> URL -> r # gmapQ :: (forall d. Data d => d -> u) -> URL -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> URL -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> URL -> m URL # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> URL -> m URL # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> URL -> m URL # | |
Show URL Source # | |
Generic URL Source # | |
ToJSON URL Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON URL Source # | |
type Rep URL Source # | |
Defined in Network.Google.People.Types.Product type Rep URL = D1 (MetaData "URL" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "URL'" PrefixI True) ((S1 (MetaSel (Just "_uValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))) :*: (S1 (MetaSel (Just "_uType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uFormattedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of URL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uType :: Lens' URL (Maybe Text) Source #
The type of the URL. The type can be custom or one of these predefined values: * `home` * `work` * `blog` * `profile` * `homePage` * `ftp` * `reservations` * `appInstallPage`: website for a Google+ application. * `other`
uFormattedType :: Lens' URL (Maybe Text) Source #
The read-only type of the URL translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
StatusDetailsItem
data StatusDetailsItem Source #
Instances
Creates a value of StatusDetailsItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sdiAddtional :: Lens' StatusDetailsItem (HashMap Text JSONValue) Source #
Properties of the object. Contains field 'type with type URL.
Address
A person's physical address. May be a P.O. box or street address. All fields are optional.
See: address
smart constructor.
Instances
Creates a value of Address
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aExtendedAddress :: Lens' Address (Maybe Text) Source #
The extended address of the address; for example, the apartment number.
aCountryCode :: Lens' Address (Maybe Text) Source #
The ISO 3166-1 alpha-2 country code of the address.
aFormattedValue :: Lens' Address (Maybe Text) Source #
The unstructured value of the address. If this is not set by the user it will be automatically constructed from structured values.
aRegion :: Lens' Address (Maybe Text) Source #
The region of the address; for example, the state or province.
aType :: Lens' Address (Maybe Text) Source #
The type of the address. The type can be custom or one of these predefined values: * `home` * `work` * `other`
aFormattedType :: Lens' Address (Maybe Text) Source #
The read-only type of the address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
ProFileMetadata
data ProFileMetadata Source #
The read-only metadata about a profile.
See: proFileMetadata
smart constructor.
Instances
proFileMetadata :: ProFileMetadata Source #
Creates a value of ProFileMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pfmObjectType :: Lens' ProFileMetadata (Maybe ProFileMetadataObjectType) Source #
The profile object type.
pfmUserTypes :: Lens' ProFileMetadata [Text] Source #
The user types.
Relation
A person's relation to another person.
See: relation
smart constructor.
Instances
Eq Relation Source # | |
Data Relation Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Relation -> c Relation # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Relation # toConstr :: Relation -> Constr # dataTypeOf :: Relation -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Relation) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Relation) # gmapT :: (forall b. Data b => b -> b) -> Relation -> Relation # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Relation -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Relation -> r # gmapQ :: (forall d. Data d => d -> u) -> Relation -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Relation -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Relation -> m Relation # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Relation -> m Relation # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Relation -> m Relation # | |
Show Relation Source # | |
Generic Relation Source # | |
ToJSON Relation Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Relation Source # | |
type Rep Relation Source # | |
Defined in Network.Google.People.Types.Product type Rep Relation = D1 (MetaData "Relation" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Relation'" PrefixI True) ((S1 (MetaSel (Just "_rPerson") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))) :*: (S1 (MetaSel (Just "_rType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_rFormattedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Relation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rPerson :: Lens' Relation (Maybe Text) Source #
The name of the other person this relation refers to.
rType :: Lens' Relation (Maybe Text) Source #
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`
rFormattedType :: Lens' Relation (Maybe Text) Source #
The type of the relation translated and formatted in the viewer's account locale or the locale specified in the Accept-Language HTTP header.
GetPeopleResponse
data GetPeopleResponse Source #
Instances
getPeopleResponse :: GetPeopleResponse Source #
Creates a value of GetPeopleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gprResponses :: Lens' GetPeopleResponse [PersonResponse] Source #
The response for each requested resource name.
Birthday
A person's birthday. At least one of the `date` and `text` fields are specified. The `date` and `text` fields typically represent the same date, but are not guaranteed to.
See: birthday
smart constructor.
Instances
Eq Birthday Source # | |
Data Birthday Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Birthday -> c Birthday # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Birthday # toConstr :: Birthday -> Constr # dataTypeOf :: Birthday -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Birthday) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Birthday) # gmapT :: (forall b. Data b => b -> b) -> Birthday -> Birthday # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Birthday -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Birthday -> r # gmapQ :: (forall d. Data d => d -> u) -> Birthday -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Birthday -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Birthday -> m Birthday # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Birthday -> m Birthday # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Birthday -> m Birthday # | |
Show Birthday Source # | |
Generic Birthday Source # | |
ToJSON Birthday Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Birthday Source # | |
type Rep Birthday Source # | |
Defined in Network.Google.People.Types.Product type Rep Birthday = D1 (MetaData "Birthday" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Birthday'" PrefixI True) (S1 (MetaSel (Just "_bText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Date)) :*: S1 (MetaSel (Just "_bMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))))) |
PersonAgeRange
data PersonAgeRange Source #
- *DEPRECATED** (Please use `person.ageRanges` instead)** The person's read-only age range.
AgeRangeUnspecified |
|
LessThanEighteen |
|
EighteenToTwenty |
|
TwentyOneOrOlder |
|
Instances
Date
Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The day may be 0 to represent a year and month where the day is not significant. The year may be 0 to represent a month and day independent of year; for example, anniversary date.
See: date
smart constructor.
Instances
Eq Date Source # | |
Data Date Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Date -> c Date # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Date # dataTypeOf :: Date -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Date) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Date) # gmapT :: (forall b. Data b => b -> b) -> Date -> Date # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Date -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Date -> r # gmapQ :: (forall d. Data d => d -> u) -> Date -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Date -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Date -> m Date # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Date -> m Date # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Date -> m Date # | |
Show Date Source # | |
Generic Date Source # | |
ToJSON Date Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Date Source # | |
type Rep Date Source # | |
Defined in Network.Google.People.Types.Product type Rep Date = D1 (MetaData "Date" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Date'" PrefixI True) (S1 (MetaSel (Just "_dDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_dYear") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_dMonth") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))) |
dDay :: Lens' Date (Maybe Int32) Source #
Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if specifying a year by itself or a year and month where the day is not significant.
dYear :: Lens' Date (Maybe Int32) Source #
Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
dMonth :: Lens' Date (Maybe Int32) Source #
Month of year. Must be from 1 to 12, or 0 if specifying a year without a month and day.
Tagline
A read-only brief one-line description of the person.
See: tagline
smart constructor.
Instances
Eq Tagline Source # | |
Data Tagline Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Tagline -> c Tagline # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Tagline # toConstr :: Tagline -> Constr # dataTypeOf :: Tagline -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Tagline) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Tagline) # gmapT :: (forall b. Data b => b -> b) -> Tagline -> Tagline # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Tagline -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Tagline -> r # gmapQ :: (forall d. Data d => d -> u) -> Tagline -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Tagline -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Tagline -> m Tagline # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Tagline -> m Tagline # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Tagline -> m Tagline # | |
Show Tagline Source # | |
Generic Tagline Source # | |
ToJSON Tagline Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Tagline Source # | |
type Rep Tagline Source # | |
Defined in Network.Google.People.Types.Product type Rep Tagline = D1 (MetaData "Tagline" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Tagline'" PrefixI True) (S1 (MetaSel (Just "_tValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)))) |
Residence
A person's past or current residence.
See: residence
smart constructor.
Instances
Eq Residence Source # | |
Data Residence Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Residence -> c Residence # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Residence # toConstr :: Residence -> Constr # dataTypeOf :: Residence -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Residence) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Residence) # gmapT :: (forall b. Data b => b -> b) -> Residence -> Residence # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Residence -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Residence -> r # gmapQ :: (forall d. Data d => d -> u) -> Residence -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Residence -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Residence -> m Residence # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Residence -> m Residence # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Residence -> m Residence # | |
Show Residence Source # | |
Generic Residence Source # | |
ToJSON Residence Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Residence Source # | |
type Rep Residence Source # | |
Defined in Network.Google.People.Types.Product type Rep Residence = D1 (MetaData "Residence" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Residence'" PrefixI True) (S1 (MetaSel (Just "_resValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_resCurrent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_resMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))))) |
residence :: Residence Source #
Creates a value of Residence
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
resCurrent :: Lens' Residence (Maybe Bool) Source #
True if the residence is the person's current residence; false if the residence is a past residence.
resMetadata :: Lens' Residence (Maybe FieldMetadata) Source #
Metadata about the residence.
AgeRangeType
data AgeRangeType Source #
A person's age range.
See: ageRangeType
smart constructor.
Instances
ageRangeType :: AgeRangeType Source #
Creates a value of AgeRangeType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
artAgeRange :: Lens' AgeRangeType (Maybe AgeRangeTypeAgeRange) Source #
The age range.
artMetadata :: Lens' AgeRangeType (Maybe FieldMetadata) Source #
Metadata about the age range.
Gender
A person's gender.
See: gender
smart constructor.
Instances
Eq Gender Source # | |
Data Gender Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Gender -> c Gender # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Gender # toConstr :: Gender -> Constr # dataTypeOf :: Gender -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Gender) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Gender) # gmapT :: (forall b. Data b => b -> b) -> Gender -> Gender # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Gender -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Gender -> r # gmapQ :: (forall d. Data d => d -> u) -> Gender -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Gender -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Gender -> m Gender # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Gender -> m Gender # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Gender -> m Gender # | |
Show Gender Source # | |
Generic Gender Source # | |
ToJSON Gender Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Gender Source # | |
type Rep Gender Source # | |
Defined in Network.Google.People.Types.Product type Rep Gender = D1 (MetaData "Gender" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Gender'" PrefixI True) (S1 (MetaSel (Just "_gValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_gMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)) :*: S1 (MetaSel (Just "_gFormattedValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) |
Creates a value of Gender
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gValue :: Lens' Gender (Maybe Text) Source #
The gender for the person. The gender can be custom or one of these predefined values: * `male` * `female` * `other` * `unknown`
gFormattedValue :: Lens' Gender (Maybe Text) Source #
The read-only value of the gender translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
Name
A person's name. If the name is a mononym, the family name is empty.
See: name
smart constructor.
Instances
Creates a value of Name
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nPhoneticHonorificSuffix :: Lens' Name (Maybe Text) Source #
The honorific suffixes spelled as they sound.
nPhoneticHonorificPrefix :: Lens' Name (Maybe Text) Source #
The honorific prefixes spelled as they sound.
nDisplayName :: Lens' Name (Maybe Text) Source #
The read-only display name formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.
nDisplayNameLastFirst :: Lens' Name (Maybe Text) Source #
The read-only display name with the last name first formatted according to the locale specified by the viewer's account or the `Accept-Language` HTTP header.
FieldMetadata
data FieldMetadata Source #
Metadata about a field.
See: fieldMetadata
smart constructor.
Instances
fieldMetadata :: FieldMetadata Source #
Creates a value of FieldMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fmVerified :: Lens' FieldMetadata (Maybe Bool) Source #
True if the field is verified; false if the field is unverified. A verified field is typically a name, email address, phone number, or website that has been confirmed to be owned by the person.
fmPrimary :: Lens' FieldMetadata (Maybe Bool) Source #
True if the field is the primary field; false if the field is a secondary field.
PhoneNumber
data PhoneNumber Source #
A person's phone number.
See: phoneNumber
smart constructor.
Instances
phoneNumber :: PhoneNumber Source #
Creates a value of PhoneNumber
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pnCanonicalForm :: Lens' PhoneNumber (Maybe Text) Source #
The read-only canonicalized ITU-T E.164 form of the phone number.
pnMetadata :: Lens' PhoneNumber (Maybe FieldMetadata) Source #
Metadata about the phone number.
pnType :: Lens' PhoneNumber (Maybe Text) Source #
The type of the phone number. The type can be custom or one of these predefined values: * `home` * `work` * `mobile` * `homeFax` * `workFax` * `otherFax` * `pager` * `workMobile` * `workPager` * `main` * `googleVoice` * `other`
pnFormattedType :: Lens' PhoneNumber (Maybe Text) Source #
The read-only type of the phone number translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
Occupation
data Occupation Source #
A person's occupation.
See: occupation
smart constructor.
Instances
occupation :: Occupation Source #
Creates a value of Occupation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
oMetadata :: Lens' Occupation (Maybe FieldMetadata) Source #
Metadata about the occupation.
Xgafv
V1 error format.
Instances
EmailAddress
data EmailAddress Source #
A person's email address.
See: emailAddress
smart constructor.
Instances
emailAddress :: EmailAddress Source #
Creates a value of EmailAddress
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eaMetadata :: Lens' EmailAddress (Maybe FieldMetadata) Source #
Metadata about the email address.
eaDisplayName :: Lens' EmailAddress (Maybe Text) Source #
The display name of the email.
eaType :: Lens' EmailAddress (Maybe Text) Source #
The type of the email address. The type can be custom or one of these predefined values: * `home` * `work` * `other`
eaFormattedType :: Lens' EmailAddress (Maybe Text) Source #
The read-only type of the email address translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
CreateContactGroupRequest
data CreateContactGroupRequest Source #
A request to create a new contact group.
See: createContactGroupRequest
smart constructor.
Instances
createContactGroupRequest :: CreateContactGroupRequest Source #
Creates a value of CreateContactGroupRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ccgrContactGroup :: Lens' CreateContactGroupRequest (Maybe ContactGroup) Source #
The contact group to create.
ContactGroupMetadata
data ContactGroupMetadata Source #
The read-only metadata about a contact group.
See: contactGroupMetadata
smart constructor.
Instances
contactGroupMetadata :: ContactGroupMetadata Source #
Creates a value of ContactGroupMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cgmUpdateTime :: Lens' ContactGroupMetadata (Maybe UTCTime) Source #
The time the group was last updated.
cgmDeleted :: Lens' ContactGroupMetadata (Maybe Bool) Source #
True if the contact group resource has been deleted. Populated only for `ListContactGroups` requests that include a sync token.
ModifyContactGroupMembersRequest
data ModifyContactGroupMembersRequest Source #
A request to modify an existing contact group's members. Contacts can be removed from any group but they can only be added to a user group or "myContacts" or "starred" system groups.
See: modifyContactGroupMembersRequest
smart constructor.
Instances
modifyContactGroupMembersRequest :: ModifyContactGroupMembersRequest Source #
Creates a value of ModifyContactGroupMembersRequest
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
mcgmrResourceNamesToAdd :: Lens' ModifyContactGroupMembersRequest [Text] Source #
The resource names of the contact people to add in the form of in the form `people/`person_id.
mcgmrResourceNamesToRemove :: Lens' ModifyContactGroupMembersRequest [Text] Source #
The resource names of the contact people to remove in the form of in the form of `people/`person_id.
PersonMetadataObjectType
data PersonMetadataObjectType Source #
- *DEPRECATED** (Please use `person.metadata.sources.profileMetadata.objectType` instead) The type of the person object.
PMOTObjectTypeUnspecified |
|
PMOTPerson |
|
PMOTPage |
|
Instances
Source
The source of a field.
See: source
smart constructor.
Instances
Creates a value of Source
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sEtag :: Lens' Source (Maybe Text) Source #
- *Only populated in `person.metadata.sources`.** The HTTP entity tag of the source. Used for web cache validation.
sProFileMetadata :: Lens' Source (Maybe ProFileMetadata) Source #
- *Only populated in `person.metadata.sources`.** Metadata about a source of type PROFILE.
sUpdateTime :: Lens' Source (Maybe UTCTime) Source #
- *Only populated in `person.metadata.sources`.** Last update timestamp of this source.
sId :: Lens' Source (Maybe Text) Source #
The unique identifier within the source type generated by the server.
ImClient
A person's instant messaging client.
See: imClient
smart constructor.
Instances
Creates a value of ImClient
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
icFormattedProtocol :: Lens' ImClient (Maybe Text) Source #
The read-only protocol of the IM client formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
icProtocol :: Lens' ImClient (Maybe Text) Source #
The protocol of the IM client. The protocol can be custom or one of these predefined values: * `aim` * `msn` * `yahoo` * `skype` * `qq` * `googleTalk` * `icq` * `jabber` * `netMeeting`
icMetadata :: Lens' ImClient (Maybe FieldMetadata) Source #
Metadata about the IM client.
icType :: Lens' ImClient (Maybe Text) Source #
The type of the IM client. The type can be custom or one of these predefined values: * `home` * `work` * `other`
icFormattedType :: Lens' ImClient (Maybe Text) Source #
The read-only type of the IM client translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
BatchGetContactGroupsResponse
data BatchGetContactGroupsResponse Source #
The response to a batch get contact groups request.
See: batchGetContactGroupsResponse
smart constructor.
Instances
batchGetContactGroupsResponse :: BatchGetContactGroupsResponse Source #
Creates a value of BatchGetContactGroupsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bgcgrResponses :: Lens' BatchGetContactGroupsResponse [ContactGroupResponse] Source #
The list of responses for each requested contact group resource.
BiographyContentType
data BiographyContentType Source #
The content type of the biography.
ContentTypeUnspecified |
|
TextPlain |
|
TextHTML |
|
Instances
PersonMetadata
data PersonMetadata Source #
The read-only metadata about a person.
See: personMetadata
smart constructor.
Instances
personMetadata :: PersonMetadata Source #
Creates a value of PersonMetadata
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pmPreviousResourceNames :: Lens' PersonMetadata [Text] Source #
Any former resource names this person has had. Populated only for `connections.list` requests that include a sync token. The resource name may change when adding or removing fields that link a contact and profile such as a verified email, verified phone number, or profile URL.
pmObjectType :: Lens' PersonMetadata (Maybe PersonMetadataObjectType) Source #
- *DEPRECATED** (Please use `person.metadata.sources.profileMetadata.objectType` instead) The type of the person object.
pmLinkedPeopleResourceNames :: Lens' PersonMetadata [Text] Source #
Resource names of people linked to this resource.
pmDeleted :: Lens' PersonMetadata (Maybe Bool) Source #
True if the person resource has been deleted. Populated only for `connections.list` requests that include a sync token.
AgeRangeTypeAgeRange
data AgeRangeTypeAgeRange Source #
The age range.
ARTARAgeRangeUnspecified |
|
ARTARLessThanEighteen |
|
ARTAREighteenToTwenty |
|
ARTARTwentyOneOrOlder |
|
Instances
Nickname
A person's nickname.
See: nickname
smart constructor.
Instances
Eq Nickname Source # | |
Data Nickname Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Nickname -> c Nickname # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Nickname # toConstr :: Nickname -> Constr # dataTypeOf :: Nickname -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Nickname) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Nickname) # gmapT :: (forall b. Data b => b -> b) -> Nickname -> Nickname # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Nickname -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Nickname -> r # gmapQ :: (forall d. Data d => d -> u) -> Nickname -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Nickname -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Nickname -> m Nickname # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Nickname -> m Nickname # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Nickname -> m Nickname # | |
Show Nickname Source # | |
Generic Nickname Source # | |
ToJSON Nickname Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Nickname Source # | |
type Rep Nickname Source # | |
Defined in Network.Google.People.Types.Product type Rep Nickname = D1 (MetaData "Nickname" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Nickname'" PrefixI True) (S1 (MetaSel (Just "_nicValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_nicMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)) :*: S1 (MetaSel (Just "_nicType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe NicknameType))))) |
Creates a value of Nickname
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nicMetadata :: Lens' Nickname (Maybe FieldMetadata) Source #
Metadata about the nickname.
ProFileMetadataObjectType
data ProFileMetadataObjectType Source #
The profile object type.
PFMOTObjectTypeUnspecified |
|
PFMOTPerson |
|
PFMOTPage |
|
Instances
Organization
data Organization Source #
A person's past or current organization. Overlapping date ranges are permitted.
See: organization
smart constructor.
Instances
organization :: Organization Source #
Creates a value of Organization
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
orgDePartment :: Lens' Organization (Maybe Text) Source #
The person's department at the organization.
orgLocation :: Lens' Organization (Maybe Text) Source #
The location of the organization office the person works at.
orgDomain :: Lens' Organization (Maybe Text) Source #
The domain name associated with the organization; for example, `google.com`.
orgEndDate :: Lens' Organization (Maybe Date) Source #
The end date when the person left the organization.
orgSymbol :: Lens' Organization (Maybe Text) Source #
The symbol associated with the organization; for example, a stock ticker symbol, abbreviation, or acronym.
orgJobDescription :: Lens' Organization (Maybe Text) Source #
The person's job description at the organization.
orgCurrent :: Lens' Organization (Maybe Bool) Source #
True if the organization is the person's current organization; false if the organization is a past organization.
orgStartDate :: Lens' Organization (Maybe Date) Source #
The start date when the person joined the organization.
orgMetadata :: Lens' Organization (Maybe FieldMetadata) Source #
Metadata about the organization.
orgPhoneticName :: Lens' Organization (Maybe Text) Source #
The phonetic name of the organization.
orgType :: Lens' Organization (Maybe Text) Source #
The type of the organization. The type can be custom or one of these predefined values: * `work` * `school`
orgFormattedType :: Lens' Organization (Maybe Text) Source #
The read-only type of the organization translated and formatted in the viewer's account locale or the `Accept-Language` HTTP header locale.
Interest
One of the person's interests.
See: interest
smart constructor.
Instances
Eq Interest Source # | |
Data Interest Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Interest -> c Interest # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Interest # toConstr :: Interest -> Constr # dataTypeOf :: Interest -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Interest) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Interest) # gmapT :: (forall b. Data b => b -> b) -> Interest -> Interest # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Interest -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Interest -> r # gmapQ :: (forall d. Data d => d -> u) -> Interest -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Interest -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Interest -> m Interest # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Interest -> m Interest # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Interest -> m Interest # | |
Show Interest Source # | |
Generic Interest Source # | |
ToJSON Interest Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Interest Source # | |
type Rep Interest Source # | |
Defined in Network.Google.People.Types.Product type Rep Interest = D1 (MetaData "Interest" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Interest'" PrefixI True) (S1 (MetaSel (Just "_iValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_iMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)))) |
PersonResponse
data PersonResponse Source #
The response for a single person
See: personResponse
smart constructor.
Instances
personResponse :: PersonResponse Source #
Creates a value of PersonResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
prRequestedResourceName :: Lens' PersonResponse (Maybe Text) Source #
The original requested resource name. May be different than the resource name on the returned person. The resource name can change when adding or removing fields that link a contact and profile such as a verified email, verified phone number, or a profile URL.
prHTTPStatusCode :: Lens' PersonResponse (Maybe Int32) Source #
- *DEPRECATED** (Please use status instead) HTTP 1.1 status code.
Skill
A skill that the person has.
See: skill
smart constructor.
Instances
Eq Skill Source # | |
Data Skill Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Skill -> c Skill # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Skill # dataTypeOf :: Skill -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Skill) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Skill) # gmapT :: (forall b. Data b => b -> b) -> Skill -> Skill # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Skill -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Skill -> r # gmapQ :: (forall d. Data d => d -> u) -> Skill -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Skill -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Skill -> m Skill # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Skill -> m Skill # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Skill -> m Skill # | |
Show Skill Source # | |
Generic Skill Source # | |
ToJSON Skill Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Skill Source # | |
type Rep Skill Source # | |
Defined in Network.Google.People.Types.Product type Rep Skill = D1 (MetaData "Skill" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Skill'" PrefixI True) (S1 (MetaSel (Just "_sValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)))) |
Biography
A person's short biography.
See: biography
smart constructor.
Instances
Eq Biography Source # | |
Data Biography Source # | |
Defined in Network.Google.People.Types.Product gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Biography -> c Biography # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Biography # toConstr :: Biography -> Constr # dataTypeOf :: Biography -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Biography) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Biography) # gmapT :: (forall b. Data b => b -> b) -> Biography -> Biography # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Biography -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Biography -> r # gmapQ :: (forall d. Data d => d -> u) -> Biography -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Biography -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Biography -> m Biography # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Biography -> m Biography # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Biography -> m Biography # | |
Show Biography Source # | |
Generic Biography Source # | |
ToJSON Biography Source # | |
Defined in Network.Google.People.Types.Product | |
FromJSON Biography Source # | |
type Rep Biography Source # | |
Defined in Network.Google.People.Types.Product type Rep Biography = D1 (MetaData "Biography" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Biography'" PrefixI True) (S1 (MetaSel (Just "_bioValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_bioMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)) :*: S1 (MetaSel (Just "_bioContentType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BiographyContentType))))) |
biography :: Biography Source #
Creates a value of Biography
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bioMetadata :: Lens' Biography (Maybe FieldMetadata) Source #
Metadata about the biography.
bioContentType :: Lens' Biography (Maybe BiographyContentType) Source #
The content type of the biography.
CoverPhoto
data CoverPhoto Source #
A person's read-only cover photo. A large image shown on the person's profile page that represents who they are or what they care about.
See: coverPhoto
smart constructor.
Instances
coverPhoto :: CoverPhoto Source #
Creates a value of CoverPhoto
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cpDefault :: Lens' CoverPhoto (Maybe Bool) Source #
True if the cover photo is the default cover photo; false if the cover photo is a user-provided cover photo.
cpMetadata :: Lens' CoverPhoto (Maybe FieldMetadata) Source #
Metadata about the cover photo.