Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- type JobsQueryResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("queries" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryRequest :> Post '[JSON] QueryResponse))))))
- jobsQuery :: QueryRequest -> Text -> JobsQuery
- data JobsQuery
- jqPayload :: Lens' JobsQuery QueryRequest
- jqProjectId :: Lens' JobsQuery Text
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
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:
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 # | |
Defined in Network.Google.Resource.BigQuery.Jobs.Query 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 # | |
GoogleRequest JobsQuery Source # | |
type Rep JobsQuery Source # | |
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 # | |
Defined in Network.Google.Resource.BigQuery.Jobs.Query | |
type Rs JobsQuery Source # | |
Defined in Network.Google.Resource.BigQuery.Jobs.Query |