gogol-surveys-0.4.0: Google 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.Surveys.Surveys.Update

Contents

Description

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

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

Synopsis

REST Resource

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

A resource alias for surveys.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.Surveys.Surveys.Update

Data SurveysUpdate Source # 
Instance details

Defined in Network.Google.Resource.Surveys.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.Surveys.Surveys.Update

Generic SurveysUpdate Source # 
Instance details

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

Associated Types

type Rep SurveysUpdate :: Type -> Type #

GoogleRequest SurveysUpdate Source # 
Instance details

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

Associated Types

type Rs SurveysUpdate :: Type #

type Scopes SurveysUpdate :: [Symbol] #

type Rep SurveysUpdate Source # 
Instance details

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

type Rep SurveysUpdate = D1 (MetaData "SurveysUpdate" "Network.Google.Resource.Surveys.Surveys.Update" "gogol-surveys-0.4.0-JDdOowllRumLCrJvGPiXO8" 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.Surveys.Surveys.Update

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

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

Request Lenses

suSurveyURLId :: Lens' SurveysUpdate Text Source #

External URL ID for the survey.

suPayload :: Lens' SurveysUpdate Survey Source #

Multipart request metadata.