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

Contents

Description

Updates a survey. Currently the only property that can be updated is the owners property.

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

Synopsis

REST Resource

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

A resource alias for consumersurveys.surveys.update method which the SurveysUpdate request conforms to.

Creating a Request

surveysUpdate Source #

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

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

data SurveysUpdate Source #

Updates a survey. Currently the only property that can be updated is the owners property.

See: surveysUpdate smart constructor.

Instances
Eq SurveysUpdate Source # 
Instance details

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

Data SurveysUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: SurveysUpdate -> Constr #

dataTypeOf :: SurveysUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SurveysUpdate Source # 
Instance details

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

Generic SurveysUpdate Source # 
Instance details

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

Associated Types

type Rep SurveysUpdate :: Type -> Type #

GoogleRequest SurveysUpdate Source # 
Instance details

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

Associated Types

type Rs SurveysUpdate :: Type #

type Scopes SurveysUpdate :: [Symbol] #

type Rep SurveysUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

suSurveyURLId :: Lens' SurveysUpdate Text Source #

External URL ID for the survey.

suPayload :: Lens' SurveysUpdate Survey Source #

Multipart request metadata.