gogol-consumersurveys-0.5.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.Get

Contents

Description

Retrieves information about the specified survey.

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

Synopsis

REST Resource

type SurveysGetResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Survey)))) Source #

A resource alias for consumersurveys.surveys.get method which the SurveysGet request conforms to.

Creating a Request

surveysGet Source #

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

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

data SurveysGet Source #

Retrieves information about the specified survey.

See: surveysGet smart constructor.

Instances
Eq SurveysGet Source # 
Instance details

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

Data SurveysGet Source # 
Instance details

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

Methods

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

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

toConstr :: SurveysGet -> Constr #

dataTypeOf :: SurveysGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SurveysGet Source # 
Instance details

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

Generic SurveysGet Source # 
Instance details

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

Associated Types

type Rep SurveysGet :: Type -> Type #

GoogleRequest SurveysGet Source # 
Instance details

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

Associated Types

type Rs SurveysGet :: Type #

type Scopes SurveysGet :: [Symbol] #

type Rep SurveysGet Source # 
Instance details

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

type Rep SurveysGet = D1 (MetaData "SurveysGet" "Network.Google.Resource.ConsumerSurveys.Surveys.Get" "gogol-consumersurveys-0.5.0-Gtzym1HJEJ4D7WE6CKK6HB" True) (C1 (MetaCons "SurveysGet'" PrefixI True) (S1 (MetaSel (Just "_sgSurveyURLId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes SurveysGet Source # 
Instance details

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

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

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

Request Lenses

sgSurveyURLId :: Lens' SurveysGet Text Source #

External URL ID for the survey.