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

Contents

Description

Retrieves the results of a query job.

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

Synopsis

REST Resource

type JobsGetQueryResultsResource = "bigquery" :> ("v2" :> ("projects" :> (Capture "projectId" Text :> ("queries" :> (Capture "jobId" Text :> (QueryParam "timeoutMs" (Textual Word32) :> (QueryParam "pageToken" Text :> (QueryParam "startIndex" (Textual Word64) :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get `[JSON]` GetQueryResultsResponse)))))))))) Source

A resource alias for bigquery.jobs.getQueryResults method which the JobsGetQueryResults request conforms to.

Creating a Request

jobsGetQueryResults Source

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

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

Request Lenses

jgqrJobId :: Lens' JobsGetQueryResults Text Source

Job ID of the query job

jgqrTimeoutMs :: Lens' JobsGetQueryResults (Maybe Word32) Source

How long to wait for the query to complete, in milliseconds, before returning. Default is 10 seconds. If the timeout passes before the job completes, the 'jobComplete' field in the response will be false

jgqrPageToken :: Lens' JobsGetQueryResults (Maybe Text) Source

Page token, returned by a previous call, to request the next page of results

jgqrProjectId :: Lens' JobsGetQueryResults Text Source

Project ID of the query job

jgqrStartIndex :: Lens' JobsGetQueryResults (Maybe Word64) Source

Zero-based index of the starting row

jgqrMaxResults :: Lens' JobsGetQueryResults (Maybe Word32) Source

Maximum number of results to read