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.Delete

Contents

Description

Removes a survey from view in all user GET requests.

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

Synopsis

REST Resource

type SurveysDeleteResource = "consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] SurveysDeleteResponse)))) Source #

A resource alias for consumersurveys.surveys.delete method which the SurveysDelete request conforms to.

Creating a Request

surveysDelete Source #

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

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

data SurveysDelete Source #

Removes a survey from view in all user GET requests.

See: surveysDelete smart constructor.

Instances
Eq SurveysDelete Source # 
Instance details

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

Data SurveysDelete Source # 
Instance details

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

Methods

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

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

toConstr :: SurveysDelete -> Constr #

dataTypeOf :: SurveysDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SurveysDelete Source # 
Instance details

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

Generic SurveysDelete Source # 
Instance details

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

Associated Types

type Rep SurveysDelete :: Type -> Type #

GoogleRequest SurveysDelete Source # 
Instance details

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

Associated Types

type Rs SurveysDelete :: Type #

type Scopes SurveysDelete :: [Symbol] #

type Rep SurveysDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

sdSurveyURLId :: Lens' SurveysDelete Text Source #

External URL ID for the survey.