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.Results.Get

Contents

Description

Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an argument to get results.

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

Synopsis

REST Resource

type ResultsGetResource = ("consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> ("results" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResultsGetRequest :> Get '[JSON] SurveyResults))))))) :<|> ("consumersurveys" :> ("v2" :> ("surveys" :> (Capture "surveyUrlId" Text :> ("results" :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream)))))) Source #

A resource alias for consumersurveys.results.get method which the ResultsGet request conforms to.

Creating a Request

resultsGet Source #

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

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

data ResultsGet Source #

Retrieves any survey results that have been produced so far. Results are formatted as an Excel file. You must add "?alt=media" to the URL as an argument to get results.

See: resultsGet smart constructor.

Instances
Eq ResultsGet Source # 
Instance details

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

Data ResultsGet Source # 
Instance details

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

Methods

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

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

toConstr :: ResultsGet -> Constr #

dataTypeOf :: ResultsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ResultsGet Source # 
Instance details

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

Generic ResultsGet Source # 
Instance details

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

Associated Types

type Rep ResultsGet :: Type -> Type #

GoogleRequest ResultsGet Source # 
Instance details

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

Associated Types

type Rs ResultsGet :: Type #

type Scopes ResultsGet :: [Symbol] #

GoogleRequest (MediaDownload ResultsGet) Source # 
Instance details

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

Associated Types

type Rs (MediaDownload ResultsGet) :: Type #

type Scopes (MediaDownload ResultsGet) :: [Symbol] #

type Rep ResultsGet Source # 
Instance details

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

type Rep ResultsGet = D1 (MetaData "ResultsGet" "Network.Google.Resource.ConsumerSurveys.Results.Get" "gogol-consumersurveys-0.5.0-Gtzym1HJEJ4D7WE6CKK6HB" False) (C1 (MetaCons "ResultsGet'" PrefixI True) (S1 (MetaSel (Just "_rgSurveyURLId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rgPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ResultsGetRequest)))
type Scopes ResultsGet Source # 
Instance details

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

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

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

type Scopes (MediaDownload ResultsGet) Source # 
Instance details

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

type Rs (MediaDownload ResultsGet) Source # 
Instance details

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

Request Lenses

rgSurveyURLId :: Lens' ResultsGet Text Source #

External URL ID for the survey.

rgPayload :: Lens' ResultsGet ResultsGetRequest Source #

Multipart request metadata.