gogol-bigquery-0.4.0: Google BigQuery 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.BigQuery.Jobs.Query

Contents

Description

Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.

See: BigQuery API Reference for bigquery.jobs.query.

Synopsis

REST Resource

type JobsQueryResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("queries" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryRequest :> Post '[JSON] QueryResponse)))))) Source #

A resource alias for bigquery.jobs.query method which the JobsQuery request conforms to.

Creating a Request

jobsQuery Source #

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

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

data JobsQuery Source #

Runs a BigQuery SQL query synchronously and returns query results if the query completes within a specified timeout.

See: jobsQuery smart constructor.

Instances
Eq JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

Data JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

Methods

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

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

toConstr :: JobsQuery -> Constr #

dataTypeOf :: JobsQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

Generic JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

Associated Types

type Rep JobsQuery :: Type -> Type #

GoogleRequest JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

Associated Types

type Rs JobsQuery :: Type #

type Scopes JobsQuery :: [Symbol] #

type Rep JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

type Rep JobsQuery = D1 (MetaData "JobsQuery" "Network.Google.Resource.BigQuery.Jobs.Query" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "JobsQuery'" PrefixI True) (S1 (MetaSel (Just "_jqPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 QueryRequest) :*: S1 (MetaSel (Just "_jqProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

type Scopes JobsQuery = "https://www.googleapis.com/auth/bigquery" ': ("https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ([] :: [Symbol])))
type Rs JobsQuery Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.Query

Request Lenses

jqPayload :: Lens' JobsQuery QueryRequest Source #

Multipart request metadata.

jqProjectId :: Lens' JobsQuery Text Source #

Project ID of the project billed for the query