gogol-dfareporting-0.5.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.Sizes.Insert

Contents

Description

Inserts a new size.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.sizes.insert.

Synopsis

REST Resource

type SizesInsertResource = "dfareporting" :> ("v3.3" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sizes" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Size :> Post '[JSON] Size)))))) Source #

A resource alias for dfareporting.sizes.insert method which the SizesInsert request conforms to.

Creating a Request

sizesInsert Source #

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

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

data SizesInsert Source #

Inserts a new size.

See: sizesInsert smart constructor.

Instances
Eq SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

Data SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

Methods

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

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

toConstr :: SizesInsert -> Constr #

dataTypeOf :: SizesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

Generic SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

Associated Types

type Rep SizesInsert :: Type -> Type #

GoogleRequest SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

Associated Types

type Rs SizesInsert :: Type #

type Scopes SizesInsert :: [Symbol] #

type Rep SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

type Rep SizesInsert = D1 (MetaData "SizesInsert" "Network.Google.Resource.DFAReporting.Sizes.Insert" "gogol-dfareporting-0.5.0-H2nEimqYPoYBpPsdI4WnkF" False) (C1 (MetaCons "SizesInsert'" PrefixI True) (S1 (MetaSel (Just "_siProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_siPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Size)))
type Scopes SizesInsert Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

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

Defined in Network.Google.Resource.DFAReporting.Sizes.Insert

Request Lenses

siProFileId :: Lens' SizesInsert Int64 Source #

User profile ID associated with this request.

siPayload :: Lens' SizesInsert Size Source #

Multipart request metadata.