gogol-consumersurveys-0.4.0: Google Consumer 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.ConsumerSurveys.Surveys.Start

Contents

Description

Begins running a survey.

See: Consumer Surveys API Reference for consumersurveys.surveys.start.

Synopsis

REST Resource

type SurveysStartResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "resourceId" Text :> ("start" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SurveysStartRequest :> Post '[JSON] SurveysStartResponse)))))) Source #

A resource alias for consumersurveys.surveys.start method which the SurveysStart request conforms to.

Creating a Request

surveysStart Source #

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

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

data SurveysStart Source #

Begins running a survey.

See: surveysStart smart constructor.

Instances
Eq SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

Data SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

Methods

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

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

toConstr :: SurveysStart -> Constr #

dataTypeOf :: SurveysStart -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

Generic SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

Associated Types

type Rep SurveysStart :: Type -> Type #

GoogleRequest SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

Associated Types

type Rs SurveysStart :: Type #

type Scopes SurveysStart :: [Symbol] #

type Rep SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

type Rep SurveysStart = D1 (MetaData "SurveysStart" "Network.Google.Resource.ConsumerSurveys.Surveys.Start" "gogol-consumersurveys-0.4.0-EOGkJcqKdGTLcleyAq4x9I" False) (C1 (MetaCons "SurveysStart'" PrefixI True) (S1 (MetaSel (Just "_ssResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ssPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SurveysStartRequest)))
type Scopes SurveysStart Source # 
Instance details

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

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

Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Start

Request Lenses

ssPayload :: Lens' SurveysStart SurveysStartRequest Source #

Multipart request metadata.