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.Insert

Contents

Description

Create a new circle for the authenticated user.

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

Synopsis

REST Resource

type CirclesInsertResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("circles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Circle :> Post '[JSON] Circle)))))) Source #

A resource alias for plusDomains.circles.insert method which the CirclesInsert request conforms to.

Creating a Request

circlesInsert Source #

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

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

data CirclesInsert Source #

Create a new circle for the authenticated user.

See: circlesInsert smart constructor.

Instances
Eq CirclesInsert Source # 
Instance details

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

Data CirclesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: CirclesInsert -> Constr #

dataTypeOf :: CirclesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CirclesInsert Source # 
Instance details

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

Generic CirclesInsert Source # 
Instance details

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

Associated Types

type Rep CirclesInsert :: Type -> Type #

GoogleRequest CirclesInsert Source # 
Instance details

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

Associated Types

type Rs CirclesInsert :: Type #

type Scopes CirclesInsert :: [Symbol] #

type Rep CirclesInsert Source # 
Instance details

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

type Rep CirclesInsert = D1 (MetaData "CirclesInsert" "Network.Google.Resource.PlusDomains.Circles.Insert" "gogol-plus-domains-0.4.0-34lALQjqVKZA6ahc5WKRcy" False) (C1 (MetaCons "CirclesInsert'" PrefixI True) (S1 (MetaSel (Just "_ciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Circle) :*: S1 (MetaSel (Just "_ciUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes CirclesInsert Source # 
Instance details

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

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

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

Request Lenses

ciPayload :: Lens' CirclesInsert Circle Source #

Multipart request metadata.

ciUserId :: Lens' CirclesInsert Text Source #

The ID of the user to create the circle on behalf of. The value "me" can be used to indicate the authenticated user.