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