gogol-surveys-0.4.0: Google Surveys 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.Surveys.Surveys.Insert

Contents

Description

Creates a survey.

See: Surveys API Reference for surveys.surveys.insert.

Synopsis

REST Resource

type SurveysInsertResource = "surveys" :> ("v2" :> ("surveys" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Survey :> Post '[JSON] Survey)))) Source #

A resource alias for surveys.surveys.insert method which the SurveysInsert request conforms to.

Creating a Request

surveysInsert Source #

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

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

data SurveysInsert Source #

Creates a survey.

See: surveysInsert smart constructor.

Instances
Eq SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

Data SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

Methods

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

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

toConstr :: SurveysInsert -> Constr #

dataTypeOf :: SurveysInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

Generic SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

Associated Types

type Rep SurveysInsert :: Type -> Type #

GoogleRequest SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

Associated Types

type Rs SurveysInsert :: Type #

type Scopes SurveysInsert :: [Symbol] #

type Rep SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

type Rep SurveysInsert = D1 (MetaData "SurveysInsert" "Network.Google.Resource.Surveys.Surveys.Insert" "gogol-surveys-0.4.0-JDdOowllRumLCrJvGPiXO8" True) (C1 (MetaCons "SurveysInsert'" PrefixI True) (S1 (MetaSel (Just "_siPayload") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Survey)))
type Scopes SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

type Scopes SurveysInsert = "https://www.googleapis.com/auth/surveys" ': ("https://www.googleapis.com/auth/userinfo.email" ': ([] :: [Symbol]))
type Rs SurveysInsert Source # 
Instance details

Defined in Network.Google.Resource.Surveys.Surveys.Insert

Request Lenses

siPayload :: Lens' SurveysInsert Survey Source #

Multipart request metadata.