gogol-bigquery-0.0.1: Google BigQuery SDK.

Copyright(c) 2015 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.

Request Lenses

jqPayload :: Lens' JobsQuery QueryRequest Source

Multipart request metadata.

jqProjectId :: Lens' JobsQuery Text Source

Project ID of the project billed for the query