gogol-bigquery-0.3.0: 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.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)))))))))) #

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

Creating a Request

jobsGetQueryResults #

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:

data JobsGetQueryResults #

Retrieves the results of a query job.

See: jobsGetQueryResults smart constructor.

Instances

Eq JobsGetQueryResults # 
Data JobsGetQueryResults # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> JobsGetQueryResults -> c JobsGetQueryResults #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c JobsGetQueryResults #

toConstr :: JobsGetQueryResults -> Constr #

dataTypeOf :: JobsGetQueryResults -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c JobsGetQueryResults) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c JobsGetQueryResults) #

gmapT :: (forall b. Data b => b -> b) -> JobsGetQueryResults -> JobsGetQueryResults #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> JobsGetQueryResults -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> JobsGetQueryResults -> r #

gmapQ :: (forall d. Data d => d -> u) -> JobsGetQueryResults -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> JobsGetQueryResults -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> JobsGetQueryResults -> m JobsGetQueryResults #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> JobsGetQueryResults -> m JobsGetQueryResults #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> JobsGetQueryResults -> m JobsGetQueryResults #

Show JobsGetQueryResults # 
Generic JobsGetQueryResults # 
GoogleRequest JobsGetQueryResults # 
type Rep JobsGetQueryResults # 
type Rep JobsGetQueryResults = D1 (MetaData "JobsGetQueryResults" "Network.Google.Resource.BigQuery.Jobs.GetQueryResults" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobsGetQueryResults'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jgqrJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_jgqrTimeoutMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_jgqrPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_jgqrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_jgqrStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_jgqrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))))
type Scopes JobsGetQueryResults # 
type Scopes JobsGetQueryResults = (:) 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 JobsGetQueryResults # 

Request Lenses

jgqrJobId :: Lens' JobsGetQueryResults Text #

Required
Job ID of the query job

jgqrTimeoutMs :: Lens' JobsGetQueryResults (Maybe Word32) #

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) #

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

jgqrProjectId :: Lens' JobsGetQueryResults Text #

Required
Project ID of the query job

jgqrStartIndex :: Lens' JobsGetQueryResults (Maybe Word64) #

Zero-based index of the starting row

jgqrMaxResults :: Lens' JobsGetQueryResults (Maybe Word32) #

Maximum number of results to read