gogol-bigquery-0.1.1: 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 # 
Data JobsQuery Source # 

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 # 
Generic JobsQuery Source # 

Associated Types

type Rep JobsQuery :: * -> * #

GoogleRequest JobsQuery Source # 

Associated Types

type Rs JobsQuery :: * #

type Scopes JobsQuery :: [Symbol] #

type Rep JobsQuery Source # 
type Rep JobsQuery = D1 (MetaData "JobsQuery" "Network.Google.Resource.BigQuery.Jobs.Query" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "JobsQuery'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jqPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 QueryRequest)) (S1 (MetaSel (Just Symbol "_jqProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes JobsQuery Source # 
type Scopes JobsQuery = (:) Symbol "https://www.googleapis.com/auth/bigquery" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/cloud-platform.read-only" ([] Symbol)))
type Rs JobsQuery Source # 

Request Lenses

jqPayload :: Lens' JobsQuery QueryRequest Source #

Multipart request metadata.

jqProjectId :: Lens' JobsQuery Text Source #

Project ID of the project billed for the query