gogol-plus-domains-0.3.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.Patch

Contents

Description

Update a circle's description. This method supports patch semantics.

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

Synopsis

REST Resource

type CirclesPatchResource = "plusDomains" :> ("v1" :> ("circles" :> (Capture "circleId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Circle :> Patch '[JSON] Circle))))) Source #

A resource alias for plusDomains.circles.patch method which the CirclesPatch request conforms to.

Creating a Request

circlesPatch Source #

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

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

data CirclesPatch Source #

Update a circle's description. This method supports patch semantics.

See: circlesPatch smart constructor.

Instances

Eq CirclesPatch Source # 
Data CirclesPatch Source # 

Methods

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

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

toConstr :: CirclesPatch -> Constr #

dataTypeOf :: CirclesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CirclesPatch Source # 
Generic CirclesPatch Source # 

Associated Types

type Rep CirclesPatch :: * -> * #

GoogleRequest CirclesPatch Source # 

Associated Types

type Rs CirclesPatch :: * #

type Scopes CirclesPatch :: [Symbol] #

type Rep CirclesPatch Source # 
type Rep CirclesPatch = D1 (MetaData "CirclesPatch" "Network.Google.Resource.PlusDomains.Circles.Patch" "gogol-plus-domains-0.3.0-JpV5qYRylxvK99A0iL04Hw" False) (C1 (MetaCons "CirclesPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Circle)) (S1 (MetaSel (Just Symbol "_cpCircleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CirclesPatch Source # 
type Scopes CirclesPatch = (:) Symbol "https://www.googleapis.com/auth/plus.circles.write" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs CirclesPatch Source # 

Request Lenses

cpPayload :: Lens' CirclesPatch Circle Source #

Multipart request metadata.

cpCircleId :: Lens' CirclesPatch Text Source #

The ID of the circle to update.