gogol-fusiontables-0.4.0: Google Fusion Tables 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.FusionTables.Query.SQLGet

Contents

Description

Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE

See: Fusion Tables API Reference for fusiontables.query.sqlGet.

Synopsis

REST Resource

type QuerySQLGetResource = ("fusiontables" :> ("v2" :> ("query" :> (QueryParam "sql" Text :> (QueryParam "typed" Bool :> (QueryParam "hdrs" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] SQLresponse))))))) :<|> ("fusiontables" :> ("v2" :> ("query" :> (QueryParam "sql" Text :> (QueryParam "typed" Bool :> (QueryParam "hdrs" Bool :> (QueryParam "alt" AltMedia :> Get '[OctetStream] Stream))))))) Source #

A resource alias for fusiontables.query.sqlGet method which the QuerySQLGet request conforms to.

Creating a Request

querySQLGet Source #

Arguments

:: Text

qsqlgSQL

-> QuerySQLGet 

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

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

data QuerySQLGet Source #

Executes a SQL statement which can be any of - SELECT - SHOW - DESCRIBE

See: querySQLGet smart constructor.

Instances
Eq QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Data QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Methods

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

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

toConstr :: QuerySQLGet -> Constr #

dataTypeOf :: QuerySQLGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Generic QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Associated Types

type Rep QuerySQLGet :: Type -> Type #

GoogleRequest QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Associated Types

type Rs QuerySQLGet :: Type #

type Scopes QuerySQLGet :: [Symbol] #

GoogleRequest (MediaDownload QuerySQLGet) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Associated Types

type Rs (MediaDownload QuerySQLGet) :: Type #

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

type Rep QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

type Rep QuerySQLGet = D1 (MetaData "QuerySQLGet" "Network.Google.Resource.FusionTables.Query.SQLGet" "gogol-fusiontables-0.4.0-Jb8aaUwQ1vj5yEgIm76X5I" False) (C1 (MetaCons "QuerySQLGet'" PrefixI True) (S1 (MetaSel (Just "_qsqlgTyped") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_qsqlgHdrs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_qsqlgSQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes QuerySQLGet Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

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

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

type Scopes (MediaDownload QuerySQLGet) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

type Rs (MediaDownload QuerySQLGet) Source # 
Instance details

Defined in Network.Google.Resource.FusionTables.Query.SQLGet

Request Lenses

qsqlgTyped :: Lens' QuerySQLGet (Maybe Bool) Source #

Whether typed values are returned in the (JSON) response: numbers for numeric values and parsed geometries for KML values. Default is true.

qsqlgHdrs :: Lens' QuerySQLGet (Maybe Bool) Source #

Whether column names are included (in the first row). Default is true.

qsqlgSQL :: Lens' QuerySQLGet Text Source #

A SQL statement which can be any of - SELECT - SHOW - DESCRIBE