Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.ConsumerSurveys.Surveys.Get
Description
Retrieves information about the specified survey.
See: Consumer Surveys API Reference for consumersurveys.surveys.get
.
Synopsis
- type SurveysGetResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Survey))))
- surveysGet :: Text -> SurveysGet
- data SurveysGet
- sgSurveyURLId :: Lens' SurveysGet Text
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
Arguments
:: Text | |
-> SurveysGet |
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 # | |
Data SurveysGet Source # | |
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 # | |
Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Get Methods showsPrec :: Int -> SurveysGet -> ShowS # show :: SurveysGet -> String # showList :: [SurveysGet] -> ShowS # | |
Generic SurveysGet Source # | |
Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Get Associated Types type Rep SurveysGet :: Type -> Type # | |
GoogleRequest SurveysGet Source # | |
Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Get Methods requestClient :: SurveysGet -> GClient (Rs SurveysGet) # | |
type Rep SurveysGet Source # | |
Defined in Network.Google.Resource.ConsumerSurveys.Surveys.Get type Rep SurveysGet = D1 (MetaData "SurveysGet" "Network.Google.Resource.ConsumerSurveys.Surveys.Get" "gogol-consumersurveys-0.4.0-EOGkJcqKdGTLcleyAq4x9I" True) (C1 (MetaCons "SurveysGet'" PrefixI True) (S1 (MetaSel (Just "_sgSurveyURLId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) | |
type Scopes SurveysGet Source # | |
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 # | |
Request Lenses
sgSurveyURLId :: Lens' SurveysGet Text Source #
External URL ID for the survey.