gogol-people-0.5.0: Google People SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.People.Types

Contents

Description

 
Synopsis

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

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
Eq SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SipAddress -> c SipAddress #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SipAddress #

toConstr :: SipAddress -> Constr #

dataTypeOf :: SipAddress -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SipAddress) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SipAddress) #

gmapT :: (forall b. Data b => b -> b) -> SipAddress -> SipAddress #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SipAddress -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SipAddress -> r #

gmapQ :: (forall d. Data d => d -> u) -> SipAddress -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SipAddress -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SipAddress -> m SipAddress #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SipAddress -> m SipAddress #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SipAddress -> m SipAddress #

Show SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep SipAddress :: Type -> Type #

ToJSON SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep SipAddress Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep SipAddress = D1 (MetaData "SipAddress" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "SipAddress'" PrefixI True) ((S1 (MetaSel (Just "_saValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_saMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))) :*: (S1 (MetaSel (Just "_saType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_saFormattedType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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

data Photo Source #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Photo -> Photo -> Bool #

(/=) :: Photo -> Photo -> Bool #

Data Photo Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 #

toConstr :: Photo -> Constr #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

showsPrec :: Int -> Photo -> ShowS #

show :: Photo -> String #

showList :: [Photo] -> ShowS #

Generic Photo Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Photo :: Type -> Type #

Methods

from :: Photo -> Rep Photo x #

to :: Rep Photo x -> Photo #

ToJSON Photo Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Photo Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Photo Source # 
Instance details

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)))))

photo :: Photo Source #

Creates a value of Photo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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`

pMetadata :: Lens' Photo (Maybe FieldMetadata) Source #

Metadata about the photo.

Event

data Event Source #

An event related to the person.

See: event smart constructor.

Instances
Eq Event Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Data Event Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 #

toConstr :: Event -> Constr #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

ToJSON Event Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Event Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Event Source # 
Instance details

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)))))

event :: Event Source #

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:

eDate :: Lens' Event (Maybe Date) Source #

The date of the event.

eMetadata :: Lens' Event (Maybe FieldMetadata) Source #

Metadata about the event.

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
Eq ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListConnectionsResponse -> c ListConnectionsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListConnectionsResponse #

toConstr :: ListConnectionsResponse -> Constr #

dataTypeOf :: ListConnectionsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListConnectionsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListConnectionsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListConnectionsResponse -> ListConnectionsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListConnectionsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListConnectionsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListConnectionsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListConnectionsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListConnectionsResponse -> m ListConnectionsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListConnectionsResponse -> m ListConnectionsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListConnectionsResponse -> m ListConnectionsResponse #

Show ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ListConnectionsResponse :: Type -> Type #

ToJSON ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ListConnectionsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ListConnectionsResponse = D1 (MetaData "ListConnectionsResponse" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "ListConnectionsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lcrTotalItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_lcrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_lcrConnections") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Person])) :*: (S1 (MetaSel (Just "_lcrNextSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcrTotalPeople") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

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

data Status Source #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Status -> Status -> Bool #

(/=) :: Status -> Status -> Bool #

Data Status Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Status Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

ToJSON Status Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Status Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Status Source # 
Instance details

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)))))

status :: Status Source #

Creates a value of Status with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

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
Eq ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContactGroupResponse -> c ContactGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContactGroupResponse #

toConstr :: ContactGroupResponse -> Constr #

dataTypeOf :: ContactGroupResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContactGroupResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContactGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> ContactGroupResponse -> ContactGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContactGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContactGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContactGroupResponse -> m ContactGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroupResponse -> m ContactGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroupResponse -> m ContactGroupResponse #

Show ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ContactGroupResponse :: Type -> Type #

ToJSON ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ContactGroupResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ContactGroupResponse = D1 (MetaData "ContactGroupResponse" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "ContactGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_cgrStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Status)) :*: (S1 (MetaSel (Just "_cgrContactGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContactGroup)) :*: S1 (MetaSel (Just "_cgrRequestedResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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:

cgrStatus :: Lens' ContactGroupResponse (Maybe Status) Source #

The status of the response.

cgrRequestedResourceName :: Lens' ContactGroupResponse (Maybe Text) Source #

The original requested resource name.

ContactGroup

data ContactGroup Source #

A contact group.

See: contactGroup smart constructor.

Instances
Eq ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContactGroup -> c ContactGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContactGroup #

toConstr :: ContactGroup -> Constr #

dataTypeOf :: ContactGroup -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContactGroup) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContactGroup) #

gmapT :: (forall b. Data b => b -> b) -> ContactGroup -> ContactGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContactGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContactGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContactGroup -> m ContactGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroup -> m ContactGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroup -> m ContactGroup #

Show ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ContactGroup :: Type -> Type #

ToJSON ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ContactGroup Source # 
Instance details

Defined in Network.Google.People.Types.Product

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
Eq ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyContactGroupMembersResponse -> c ModifyContactGroupMembersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyContactGroupMembersResponse #

toConstr :: ModifyContactGroupMembersResponse -> Constr #

dataTypeOf :: ModifyContactGroupMembersResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyContactGroupMembersResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyContactGroupMembersResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyContactGroupMembersResponse -> ModifyContactGroupMembersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyContactGroupMembersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyContactGroupMembersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyContactGroupMembersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyContactGroupMembersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyContactGroupMembersResponse -> m ModifyContactGroupMembersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyContactGroupMembersResponse -> m ModifyContactGroupMembersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyContactGroupMembersResponse -> m ModifyContactGroupMembersResponse #

Show ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ModifyContactGroupMembersResponse :: Type -> Type #

ToJSON ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ModifyContactGroupMembersResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ModifyContactGroupMembersResponse = D1 (MetaData "ModifyContactGroupMembersResponse" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" True) (C1 (MetaCons "ModifyContactGroupMembersResponse'" PrefixI True) (S1 (MetaSel (Just "_mcgmrNotFoundResourceNames") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

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
Eq UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UpdateContactGroupRequest -> c UpdateContactGroupRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UpdateContactGroupRequest #

toConstr :: UpdateContactGroupRequest -> Constr #

dataTypeOf :: UpdateContactGroupRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UpdateContactGroupRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UpdateContactGroupRequest) #

gmapT :: (forall b. Data b => b -> b) -> UpdateContactGroupRequest -> UpdateContactGroupRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UpdateContactGroupRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UpdateContactGroupRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> UpdateContactGroupRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UpdateContactGroupRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UpdateContactGroupRequest -> m UpdateContactGroupRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateContactGroupRequest -> m UpdateContactGroupRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UpdateContactGroupRequest -> m UpdateContactGroupRequest #

Show UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep UpdateContactGroupRequest :: Type -> Type #

ToJSON UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep UpdateContactGroupRequest Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep UpdateContactGroupRequest = D1 (MetaData "UpdateContactGroupRequest" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" True) (C1 (MetaCons "UpdateContactGroupRequest'" PrefixI True) (S1 (MetaSel (Just "_ucgrContactGroup") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe ContactGroup))))

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:

DomainMembership

data DomainMembership Source #

A read-only G Suite Domain membership.

See: domainMembership smart constructor.

Instances
Eq DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DomainMembership -> c DomainMembership #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DomainMembership #

toConstr :: DomainMembership -> Constr #

dataTypeOf :: DomainMembership -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DomainMembership) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DomainMembership) #

gmapT :: (forall b. Data b => b -> b) -> DomainMembership -> DomainMembership #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DomainMembership -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DomainMembership -> r #

gmapQ :: (forall d. Data d => d -> u) -> DomainMembership -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DomainMembership -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DomainMembership -> m DomainMembership #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainMembership -> m DomainMembership #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DomainMembership -> m DomainMembership #

Show DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep DomainMembership :: Type -> Type #

ToJSON DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep DomainMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep DomainMembership = D1 (MetaData "DomainMembership" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" True) (C1 (MetaCons "DomainMembership'" PrefixI True) (S1 (MetaSel (Just "_dmInViewerDomain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))

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
Eq RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RelationshipInterest -> c RelationshipInterest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RelationshipInterest #

toConstr :: RelationshipInterest -> Constr #

dataTypeOf :: RelationshipInterest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RelationshipInterest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RelationshipInterest) #

gmapT :: (forall b. Data b => b -> b) -> RelationshipInterest -> RelationshipInterest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RelationshipInterest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RelationshipInterest -> r #

gmapQ :: (forall d. Data d => d -> u) -> RelationshipInterest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RelationshipInterest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RelationshipInterest -> m RelationshipInterest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RelationshipInterest -> m RelationshipInterest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RelationshipInterest -> m RelationshipInterest #

Show RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep RelationshipInterest :: Type -> Type #

ToJSON RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep RelationshipInterest Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep RelationshipInterest = D1 (MetaData "RelationshipInterest" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "RelationshipInterest'" PrefixI True) (S1 (MetaSel (Just "_riValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_riMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)) :*: S1 (MetaSel (Just "_riFormattedValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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
Eq BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BraggingRights -> c BraggingRights #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BraggingRights #

toConstr :: BraggingRights -> Constr #

dataTypeOf :: BraggingRights -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BraggingRights) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BraggingRights) #

gmapT :: (forall b. Data b => b -> b) -> BraggingRights -> BraggingRights #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BraggingRights -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BraggingRights -> r #

gmapQ :: (forall d. Data d => d -> u) -> BraggingRights -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BraggingRights -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BraggingRights -> m BraggingRights #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BraggingRights -> m BraggingRights #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BraggingRights -> m BraggingRights #

Show BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep BraggingRights :: Type -> Type #

ToJSON BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep BraggingRights Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep BraggingRights = D1 (MetaData "BraggingRights" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "BraggingRights'" PrefixI True) (S1 (MetaSel (Just "_brValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_brMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata))))

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
Eq Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Membership -> c Membership #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Membership #

toConstr :: Membership -> Constr #

dataTypeOf :: Membership -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Membership) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Membership) #

gmapT :: (forall b. Data b => b -> b) -> Membership -> Membership #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Membership -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Membership -> r #

gmapQ :: (forall d. Data d => d -> u) -> Membership -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Membership -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Membership -> m Membership #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Membership -> m Membership #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Membership -> m Membership #

Show Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Membership :: Type -> Type #

ToJSON Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Membership Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Membership = D1 (MetaData "Membership" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Membership'" PrefixI True) (S1 (MetaSel (Just "_mDomainMembership") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DomainMembership)) :*: (S1 (MetaSel (Just "_mContactGroupMembership") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ContactGroupMembership)) :*: S1 (MetaSel (Just "_mMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)))))

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.

mMetadata :: Lens' Membership (Maybe FieldMetadata) Source #

Metadata about the membership.

Person

data Person 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.

See: person smart constructor.

Instances
Eq Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Person -> Person -> Bool #

(/=) :: Person -> Person -> Bool #

Data Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Person -> c Person #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Person #

toConstr :: Person -> Constr #

dataTypeOf :: Person -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Person) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Person) #

gmapT :: (forall b. Data b => b -> b) -> Person -> Person #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Person -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Person -> r #

gmapQ :: (forall d. Data d => d -> u) -> Person -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Person -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Person -> m Person #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Person -> m Person #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Person -> m Person #

Show Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Person :: Type -> Type #

Methods

from :: Person -> Rep Person x #

to :: Rep Person x -> Person #

ToJSON Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Person Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Person = D1 (MetaData "Person" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Person'" PrefixI True) (((((S1 (MetaSel (Just "_perEmailAddresses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EmailAddress])) :*: S1 (MetaSel (Just "_perAgeRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PersonAgeRange))) :*: (S1 (MetaSel (Just "_perEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_perResidences") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Residence])))) :*: ((S1 (MetaSel (Just "_perBiographies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Biography])) :*: S1 (MetaSel (Just "_perTaglines") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Tagline]))) :*: (S1 (MetaSel (Just "_perBraggingRights") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BraggingRights])) :*: S1 (MetaSel (Just "_perBirthdays") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Birthday]))))) :*: (((S1 (MetaSel (Just "_perResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_perRelations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Relation]))) :*: (S1 (MetaSel (Just "_perURLs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [URL])) :*: S1 (MetaSel (Just "_perAddresses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Address])))) :*: ((S1 (MetaSel (Just "_perUserDefined") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserDefined])) :*: S1 (MetaSel (Just "_perNicknames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Nickname]))) :*: (S1 (MetaSel (Just "_perRelationshipStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RelationshipStatus])) :*: S1 (MetaSel (Just "_perImClients") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ImClient])))))) :*: ((((S1 (MetaSel (Just "_perPhoneNumbers") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [PhoneNumber])) :*: S1 (MetaSel (Just "_perOccupations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Occupation]))) :*: (S1 (MetaSel (Just "_perNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Name])) :*: S1 (MetaSel (Just "_perGenders") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Gender])))) :*: ((S1 (MetaSel (Just "_perPhotos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Photo])) :*: S1 (MetaSel (Just "_perAgeRanges") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AgeRangeType]))) :*: (S1 (MetaSel (Just "_perEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Event])) :*: S1 (MetaSel (Just "_perCoverPhotos") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [CoverPhoto]))))) :*: (((S1 (MetaSel (Just "_perSkills") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Skill])) :*: S1 (MetaSel (Just "_perSipAddresses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SipAddress]))) :*: (S1 (MetaSel (Just "_perMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PersonMetadata)) :*: S1 (MetaSel (Just "_perInterests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Interest])))) :*: ((S1 (MetaSel (Just "_perOrganizations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Organization])) :*: S1 (MetaSel (Just "_perLocales") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Locale]))) :*: (S1 (MetaSel (Just "_perMemberships") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Membership])) :*: S1 (MetaSel (Just "_perRelationshipInterests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RelationshipInterest]))))))))

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.

perResidences :: Lens' Person [Residence] Source #

The person's residences.

perBiographies :: Lens' Person [Biography] Source #

The person's biographies.

perTaglines :: Lens' Person [Tagline] Source #

The person's read-only taglines.

perBraggingRights :: Lens' Person [BraggingRights] Source #

The person's bragging rights.

perBirthdays :: Lens' Person [Birthday] Source #

The person's birthdays.

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.

perRelations :: Lens' Person [Relation] Source #

The person's relations.

perURLs :: Lens' Person [URL] Source #

The person's associated URLs.

perAddresses :: Lens' Person [Address] Source #

The person's street addresses.

perUserDefined :: Lens' Person [UserDefined] Source #

The person's user defined data.

perNicknames :: Lens' Person [Nickname] Source #

The person's nicknames.

perRelationshipStatuses :: Lens' Person [RelationshipStatus] Source #

The person's read-only relationship statuses.

perImClients :: Lens' Person [ImClient] Source #

The person's instant messaging clients.

perPhoneNumbers :: Lens' Person [PhoneNumber] Source #

The person's phone numbers.

perOccupations :: Lens' Person [Occupation] Source #

The person's occupations.

perNames :: Lens' Person [Name] Source #

The person's names.

perGenders :: Lens' Person [Gender] Source #

The person's genders.

perPhotos :: Lens' Person [Photo] Source #

The person's read-only photos.

perAgeRanges :: Lens' Person [AgeRangeType] Source #

The person's read-only age ranges.

perEvents :: Lens' Person [Event] Source #

The person's events.

perCoverPhotos :: Lens' Person [CoverPhoto] Source #

The person's read-only cover photos.

perSkills :: Lens' Person [Skill] Source #

The person's skills.

perSipAddresses :: Lens' Person [SipAddress] Source #

The person's SIP addresses.

perMetadata :: Lens' Person (Maybe PersonMetadata) Source #

Read-only metadata about the person.

perInterests :: Lens' Person [Interest] Source #

The person's interests.

perOrganizations :: Lens' Person [Organization] Source #

The person's past or current organizations.

perLocales :: Lens' Person [Locale] Source #

The person's locale preferences.

perMemberships :: Lens' Person [Membership] Source #

The person's group memberships.

perRelationshipInterests :: Lens' Person [RelationshipInterest] Source #

The person's read-only relationship interests.

Empty

data Empty Source #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 #

toConstr :: Empty -> Constr #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

Creates a value of Empty with the minimum fields required to make a request.

SourceType

data SourceType Source #

The source type.

Constructors

SourceTypeUnspecified

SOURCE_TYPE_UNSPECIFIED Unspecified.

Account

ACCOUNT Google Account.

ProFile

PROFILE Google profile. You can view the profile at https://profiles.google.com/id where id is the source id.

DomainProFile

DOMAIN_PROFILE G Suite domain profile.

Contact

CONTACT Google contact. You can view the contact at https://contact.google.com/id where id is the source id.

Instances
Enum SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Eq SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Data SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SourceType -> c SourceType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SourceType #

toConstr :: SourceType -> Constr #

dataTypeOf :: SourceType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SourceType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SourceType) #

gmapT :: (forall b. Data b => b -> b) -> SourceType -> SourceType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SourceType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SourceType -> r #

gmapQ :: (forall d. Data d => d -> u) -> SourceType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SourceType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SourceType -> m SourceType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceType -> m SourceType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SourceType -> m SourceType #

Ord SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Read SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Show SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Generic SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Associated Types

type Rep SourceType :: Type -> Type #

Hashable SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

ToJSON SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

FromJSON SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

FromHttpApiData SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

ToHttpApiData SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

type Rep SourceType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

type Rep SourceType = D1 (MetaData "SourceType" "Network.Google.People.Types.Sum" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) ((C1 (MetaCons "SourceTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Account" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ProFile" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DomainProFile" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Contact" PrefixI False) (U1 :: Type -> Type))))

ListContactGroupsResponse

data ListContactGroupsResponse Source #

The response to a list contact groups request.

See: listContactGroupsResponse smart constructor.

Instances
Eq ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListContactGroupsResponse -> c ListContactGroupsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListContactGroupsResponse #

toConstr :: ListContactGroupsResponse -> Constr #

dataTypeOf :: ListContactGroupsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListContactGroupsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListContactGroupsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListContactGroupsResponse -> ListContactGroupsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListContactGroupsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListContactGroupsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListContactGroupsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListContactGroupsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListContactGroupsResponse -> m ListContactGroupsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListContactGroupsResponse -> m ListContactGroupsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListContactGroupsResponse -> m ListContactGroupsResponse #

Show ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ListContactGroupsResponse :: Type -> Type #

ToJSON ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ListContactGroupsResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ListContactGroupsResponse = D1 (MetaData "ListContactGroupsResponse" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "ListContactGroupsResponse'" PrefixI True) ((S1 (MetaSel (Just "_lcgrContactGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ContactGroup])) :*: S1 (MetaSel (Just "_lcgrTotalItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_lcgrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcgrNextSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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
Eq ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContactGroupMembership -> c ContactGroupMembership #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContactGroupMembership #

toConstr :: ContactGroupMembership -> Constr #

dataTypeOf :: ContactGroupMembership -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContactGroupMembership) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContactGroupMembership) #

gmapT :: (forall b. Data b => b -> b) -> ContactGroupMembership -> ContactGroupMembership #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroupMembership -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroupMembership -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContactGroupMembership -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContactGroupMembership -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContactGroupMembership -> m ContactGroupMembership #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroupMembership -> m ContactGroupMembership #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroupMembership -> m ContactGroupMembership #

Show ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ContactGroupMembership :: Type -> Type #

ToJSON ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ContactGroupMembership Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ContactGroupMembership = D1 (MetaData "ContactGroupMembership" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "ContactGroupMembership'" PrefixI True) (S1 (MetaSel (Just "_cgmContactGroupResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cgmContactGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

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.

Constructors

GroupTypeUnspecified

GROUP_TYPE_UNSPECIFIED Unspecified.

UserContactGroup

USER_CONTACT_GROUP User defined contact group.

SystemContactGroup

SYSTEM_CONTACT_GROUP System defined contact group.

Instances
Enum ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Eq ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Data ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContactGroupGroupType -> c ContactGroupGroupType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContactGroupGroupType #

toConstr :: ContactGroupGroupType -> Constr #

dataTypeOf :: ContactGroupGroupType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContactGroupGroupType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContactGroupGroupType) #

gmapT :: (forall b. Data b => b -> b) -> ContactGroupGroupType -> ContactGroupGroupType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroupGroupType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContactGroupGroupType -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContactGroupGroupType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContactGroupGroupType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContactGroupGroupType -> m ContactGroupGroupType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroupGroupType -> m ContactGroupGroupType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContactGroupGroupType -> m ContactGroupGroupType #

Ord ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Read ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Show ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Generic ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Associated Types

type Rep ContactGroupGroupType :: Type -> Type #

Hashable ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

ToJSON ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

FromJSON ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

FromHttpApiData ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

ToHttpApiData ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

type Rep ContactGroupGroupType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

type Rep ContactGroupGroupType = D1 (MetaData "ContactGroupGroupType" "Network.Google.People.Types.Sum" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "GroupTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "UserContactGroup" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SystemContactGroup" PrefixI False) (U1 :: Type -> Type)))

UserDefined

data UserDefined Source #

Arbitrary user data that is populated by the end users.

See: userDefined smart constructor.

Instances
Eq UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UserDefined -> c UserDefined #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UserDefined #

toConstr :: UserDefined -> Constr #

dataTypeOf :: UserDefined -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UserDefined) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UserDefined) #

gmapT :: (forall b. Data b => b -> b) -> UserDefined -> UserDefined #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UserDefined -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UserDefined -> r #

gmapQ :: (forall d. Data d => d -> u) -> UserDefined -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UserDefined -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UserDefined -> m UserDefined #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UserDefined -> m UserDefined #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UserDefined -> m UserDefined #

Show UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep UserDefined :: Type -> Type #

ToJSON UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep UserDefined Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep UserDefined = D1 (MetaData "UserDefined" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "UserDefined'" PrefixI True) (S1 (MetaSel (Just "_udValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_udKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_udMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)))))

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.

Constructors

Default

DEFAULT Generic nickname.

MaidenName

MAIDEN_NAME Maiden name or birth family name. Used when the person's family name has changed as a result of marriage.

Initials

INITIALS Initials.

Gplus

GPLUS Google+ profile nickname.

OtherName

OTHER_NAME A professional affiliation or other name; for example, `Dr. Smith.`

Instances
Enum NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Eq NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Data NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NicknameType -> c NicknameType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NicknameType #

toConstr :: NicknameType -> Constr #

dataTypeOf :: NicknameType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c NicknameType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NicknameType) #

gmapT :: (forall b. Data b => b -> b) -> NicknameType -> NicknameType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NicknameType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NicknameType -> r #

gmapQ :: (forall d. Data d => d -> u) -> NicknameType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NicknameType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NicknameType -> m NicknameType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NicknameType -> m NicknameType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NicknameType -> m NicknameType #

Ord NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Read NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Show NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Generic NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

Associated Types

type Rep NicknameType :: Type -> Type #

Hashable NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

ToJSON NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

FromJSON NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

FromHttpApiData NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

ToHttpApiData NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

type Rep NicknameType Source # 
Instance details

Defined in Network.Google.People.Types.Sum

type Rep NicknameType = D1 (MetaData "NicknameType" "Network.Google.People.Types.Sum" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) ((C1 (MetaCons "Default" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MaidenName" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Initials" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Gplus" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "OtherName" PrefixI False) (U1 :: Type -> Type))))

Locale

data Locale Source #

A person's locale preference.

See: locale smart constructor.

Instances
Eq Locale Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Locale -> Locale -> Bool #

(/=) :: Locale -> Locale -> Bool #

Data Locale Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Locale Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Locale :: Type -> Type #

Methods

from :: Locale -> Rep Locale x #

to :: Rep Locale x -> Locale #

ToJSON Locale Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Locale Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Locale Source # 
Instance details

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))))

locale :: Locale Source #

Creates a value of Locale with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lValue :: Lens' Locale (Maybe Text) Source #

The well-formed IETF BCP 47 language tag representing the locale.

lMetadata :: Lens' Locale (Maybe FieldMetadata) Source #

Metadata about the locale.

RelationshipStatus

data RelationshipStatus Source #

A person's read-only relationship status.

See: relationshipStatus smart constructor.

Instances
Eq RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RelationshipStatus -> c RelationshipStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RelationshipStatus #

toConstr :: RelationshipStatus -> Constr #

dataTypeOf :: RelationshipStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c RelationshipStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RelationshipStatus) #

gmapT :: (forall b. Data b => b -> b) -> RelationshipStatus -> RelationshipStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RelationshipStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RelationshipStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> RelationshipStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RelationshipStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RelationshipStatus -> m RelationshipStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RelationshipStatus -> m RelationshipStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RelationshipStatus -> m RelationshipStatus #

Show RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep RelationshipStatus :: Type -> Type #

ToJSON RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep RelationshipStatus Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep RelationshipStatus = D1 (MetaData "RelationshipStatus" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "RelationshipStatus'" PrefixI True) (S1 (MetaSel (Just "_rsValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rsMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe FieldMetadata)) :*: S1 (MetaSel (Just "_rsFormattedValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

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

data URL Source #

A person's associated URLs.

See: url smart constructor.

Instances
Eq URL Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: URL -> URL -> Bool #

(/=) :: URL -> URL -> Bool #

Data URL Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 #

toConstr :: URL -> Constr #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

showsPrec :: Int -> URL -> ShowS #

show :: URL -> String #

showList :: [URL] -> ShowS #

Generic URL Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep URL :: Type -> Type #

Methods

from :: URL -> Rep URL x #

to :: Rep URL x -> URL #

ToJSON URL Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON URL Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep URL Source # 
Instance details

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)))))

url :: URL Source #

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:

uMetadata :: Lens' URL (Maybe FieldMetadata) Source #

Metadata about the URL.

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
Eq StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StatusDetailsItem -> c StatusDetailsItem #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StatusDetailsItem #

toConstr :: StatusDetailsItem -> Constr #

dataTypeOf :: StatusDetailsItem -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StatusDetailsItem) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StatusDetailsItem) #

gmapT :: (forall b. Data b => b -> b) -> StatusDetailsItem -> StatusDetailsItem #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StatusDetailsItem -> r #

gmapQ :: (forall d. Data d => d -> u) -> StatusDetailsItem -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StatusDetailsItem -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StatusDetailsItem -> m StatusDetailsItem #

Show StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep StatusDetailsItem :: Type -> Type #

ToJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep StatusDetailsItem Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep StatusDetailsItem = D1 (MetaData "StatusDetailsItem" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" True) (C1 (MetaCons "StatusDetailsItem'" PrefixI True) (S1 (MetaSel (Just "_sdiAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

statusDetailsItem Source #

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

data Address Source #

A person's physical address. May be a P.O. box or street address. All fields are optional.

See: address smart constructor.

Instances
Eq Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Data Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Address -> c Address #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Address #

toConstr :: Address -> Constr #

dataTypeOf :: Address -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Address) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Address) #

gmapT :: (forall b. Data b => b -> b) -> Address -> Address #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Address -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Address -> r #

gmapQ :: (forall d. Data d => d -> u) -> Address -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Address -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Address -> m Address #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Address -> m Address #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Address -> m Address #

Show Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Address :: Type -> Type #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

ToJSON Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Address Source # 
Instance details

Defined in Network.Google.People.Types.Product

address :: Address Source #

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:

aStreetAddress :: Lens' Address (Maybe Text) Source #

The street address.

aPoBox :: Lens' Address (Maybe Text) Source #

The P.O. box of the address.

aCountry :: Lens' Address (Maybe Text) Source #

The country of the address.

aPostalCode :: Lens' Address (Maybe Text) Source #

The postal code of the address.

aExtendedAddress :: Lens' Address (Maybe Text) Source #

The extended address of the address; for example, the apartment number.

aCity :: Lens' Address (Maybe Text) Source #

The city of the address.

aMetadata :: Lens' Address (Maybe FieldMetadata) Source #

Metadata about the address.

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
Eq ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProFileMetadata -> c ProFileMetadata #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProFileMetadata #

toConstr :: ProFileMetadata -> Constr #

dataTypeOf :: ProFileMetadata -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProFileMetadata) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProFileMetadata) #

gmapT :: (forall b. Data b => b -> b) -> ProFileMetadata -> ProFileMetadata #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProFileMetadata -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProFileMetadata -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProFileMetadata -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProFileMetadata -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProFileMetadata -> m ProFileMetadata #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFileMetadata -> m ProFileMetadata #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFileMetadata -> m ProFileMetadata #

Show ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep ProFileMetadata :: Type -> Type #

ToJSON ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ProFileMetadata Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep ProFileMetadata = D1 (MetaData "ProFileMetadata" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" False) (C1 (MetaCons "ProFileMetadata'" PrefixI True) (S1 (MetaSel (Just "_pfmObjectType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProFileMetadataObjectType)) :*: S1 (MetaSel (Just "_pfmUserTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

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:

Relation

data Relation Source #

A person's relation to another person.

See: relation smart constructor.

Instances
Eq Relation Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data Relation Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Relation Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Relation :: Type -> Type #

Methods

from :: Relation -> Rep Relation x #

to :: Rep Relation x -> Relation #

ToJSON Relation Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Relation Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Relation Source # 
Instance details

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)))))

relation :: Relation Source #

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.

rMetadata :: Lens' Relation (Maybe FieldMetadata) Source #

Metadata about the relation.

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
Eq GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Data GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetPeopleResponse -> c GetPeopleResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetPeopleResponse #

toConstr :: GetPeopleResponse -> Constr #

dataTypeOf :: GetPeopleResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetPeopleResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetPeopleResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetPeopleResponse -> GetPeopleResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetPeopleResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetPeopleResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetPeopleResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetPeopleResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetPeopleResponse -> m GetPeopleResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetPeopleResponse -> m GetPeopleResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetPeopleResponse -> m GetPeopleResponse #

Show GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Generic GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep GetPeopleResponse :: Type -> Type #

ToJSON GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep GetPeopleResponse Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep GetPeopleResponse = D1 (MetaData "GetPeopleResponse" "Network.Google.People.Types.Product" "gogol-people-0.5.0-IsBsGVqbJOyDT4by3VTcjm" True) (C1 (MetaCons "GetPeopleResponse'" PrefixI True) (S1 (MetaSel (Just "_gprResponses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [PersonResponse]))))

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

data Birthday Source #

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Data Birthday Source # 
Instance details

Defined in Network.Google.People.Types.Product

Methods

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 # 
Instance details

Defined in Network.Google.People.Types.Product

Generic Birthday Source # 
Instance details

Defined in Network.Google.People.Types.Product

Associated Types

type Rep Birthday :: Type -> Type #

Methods

from :: Birthday -> Rep Birthday x #

to :: Rep Birthday x -> Birthday #

ToJSON Birthday Source # 
Instance details

Defined in Network.Google.People.Types.Product

FromJSON Birthday Source # 
Instance details

Defined in Network.Google.People.Types.Product

type Rep Birthday Source # 
Instance details

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)))))

birthday :: Birthday Source #

Creates a value of Birthday with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bText :: Lens' Birthday (Maybe Text) Source #

A free-form string representing the user's birthday.

bDate :: Lens' Birthday (Maybe Date) Source #

The date of the birthday.

bMetadata :: Lens' Birthday (Maybe FieldMetadata) Source #

Metadata about the birthday.

PersonAgeRange

data PersonAgeRange Source #

  • *DEPRECATED** (Please use `person.ageRanges` instead)** The person's read-only age range.

Constructors

AgeRangeUnspecified

AGE_RANGE_UNSPECIFIED Unspecified.

LessThanEighteen

LESS_THAN_EIGHTEEN Younger than eighteen.

EighteenToTwenty

EIGHTEEN_TO_TWENTY Between eighteen and twenty.

TwentyOneOrOlder

TWENTY_ONE_OR_OLDER Twenty-one and older.