gogol-plus-domains-0.4.0: Google + Domains 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.Resource.PlusDomains.Circles.AddPeople

Contents

Description

Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More.

See: Google+ Domains API Reference for plusDomains.circles.addPeople.

Synopsis

REST Resource

type CirclesAddPeopleResource = "plusDomains" :> ("v1" :> ("circles" :> (Capture "circleId" Text :> ("people" :> (QueryParams "email" Text :> (QueryParams "userId" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] Circle))))))) Source #

A resource alias for plusDomains.circles.addPeople method which the CirclesAddPeople request conforms to.

Creating a Request

circlesAddPeople Source #

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

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

data CirclesAddPeople Source #

Add a person to a circle. Google+ limits certain circle operations, including the number of circle adds. Learn More.

See: circlesAddPeople smart constructor.

Instances
Eq CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

Data CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

Methods

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

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

toConstr :: CirclesAddPeople -> Constr #

dataTypeOf :: CirclesAddPeople -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

Generic CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

Associated Types

type Rep CirclesAddPeople :: Type -> Type #

GoogleRequest CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

Associated Types

type Rs CirclesAddPeople :: Type #

type Scopes CirclesAddPeople :: [Symbol] #

type Rep CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

type Rep CirclesAddPeople = D1 (MetaData "CirclesAddPeople" "Network.Google.Resource.PlusDomains.Circles.AddPeople" "gogol-plus-domains-0.4.0-34lALQjqVKZA6ahc5WKRcy" False) (C1 (MetaCons "CirclesAddPeople'" PrefixI True) (S1 (MetaSel (Just "_capEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 (MetaSel (Just "_capUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_capCircleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

type Scopes CirclesAddPeople = "https://www.googleapis.com/auth/plus.circles.write" ': ("https://www.googleapis.com/auth/plus.login" ': ([] :: [Symbol]))
type Rs CirclesAddPeople Source # 
Instance details

Defined in Network.Google.Resource.PlusDomains.Circles.AddPeople

Request Lenses

capEmail :: Lens' CirclesAddPeople [Text] Source #

Email of the people to add to the circle. Optional, can be repeated.

capUserId :: Lens' CirclesAddPeople [Text] Source #

IDs of the people to add to the circle. Optional, can be repeated.

capCircleId :: Lens' CirclesAddPeople Text Source #

The ID of the circle to add the person to.