gogol-bigquery-0.4.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 "location" 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:

data JobsGetQueryResults Source #

Retrieves the results of a query job.

See: jobsGetQueryResults smart constructor.

Instances
Eq JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

Data JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

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 Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

Generic JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

Associated Types

type Rep JobsGetQueryResults :: Type -> Type #

GoogleRequest JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

Associated Types

type Rs JobsGetQueryResults :: Type #

type Scopes JobsGetQueryResults :: [Symbol] #

type Rep JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

type Rep JobsGetQueryResults = D1 (MetaData "JobsGetQueryResults" "Network.Google.Resource.BigQuery.Jobs.GetQueryResults" "gogol-bigquery-0.4.0-3wbQXUDNgiIGV0tYGk98l5" False) (C1 (MetaCons "JobsGetQueryResults'" PrefixI True) ((S1 (MetaSel (Just "_jgqrJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_jgqrLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jgqrTimeoutMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))) :*: ((S1 (MetaSel (Just "_jgqrPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_jgqrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_jgqrStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))) :*: S1 (MetaSel (Just "_jgqrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))))))
type Scopes JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

type Scopes JobsGetQueryResults = "https://www.googleapis.com/auth/bigquery" ': ("https://www.googleapis.com/auth/cloud-platform" ': ("https://www.googleapis.com/auth/cloud-platform.read-only" ': ([] :: [Symbol])))
type Rs JobsGetQueryResults Source # 
Instance details

Defined in Network.Google.Resource.BigQuery.Jobs.GetQueryResults

Request Lenses

jgqrJobId :: Lens' JobsGetQueryResults Text Source #

Required
Job ID of the query job

jgqrLocation :: Lens' JobsGetQueryResults (Maybe Text) Source #

The geographic location where the job should run. Required except for US and EU. See details at https://cloud.google.com/bigquery/docs/locations#specifying_your_location.

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 #

Required
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