gogol-dfareporting-0.4.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.Placements.Patch

Contents

Description

Updates an existing placement. This method supports patch semantics.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.placements.patch.

Synopsis

REST Resource

type PlacementsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("placements" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Placement :> Patch '[JSON] Placement))))))) Source #

A resource alias for dfareporting.placements.patch method which the PlacementsPatch request conforms to.

Creating a Request

placementsPatch Source #

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

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

data PlacementsPatch Source #

Updates an existing placement. This method supports patch semantics.

See: placementsPatch smart constructor.

Instances
Eq PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

Data PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

Methods

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

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

toConstr :: PlacementsPatch -> Constr #

dataTypeOf :: PlacementsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

Generic PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

Associated Types

type Rep PlacementsPatch :: Type -> Type #

GoogleRequest PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

Associated Types

type Rs PlacementsPatch :: Type #

type Scopes PlacementsPatch :: [Symbol] #

type Rep PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

type Rep PlacementsPatch = D1 (MetaData "PlacementsPatch" "Network.Google.Resource.DFAReporting.Placements.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "PlacementsPatch'" PrefixI True) (S1 (MetaSel (Just "_ppProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_ppPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Placement) :*: S1 (MetaSel (Just "_ppId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

type Scopes PlacementsPatch = "https://www.googleapis.com/auth/dfatrafficking" ': ([] :: [Symbol])
type Rs PlacementsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Placements.Patch

Request Lenses

ppProFileId :: Lens' PlacementsPatch Int64 Source #

User profile ID associated with this request.

ppPayload :: Lens' PlacementsPatch Placement Source #

Multipart request metadata.