gogol-bigquery-0.1.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.BigQuery

Contents

Description

A data platform for customers to create, manage, share and query data.

See: BigQuery API Reference

Synopsis

Service Configuration

bigQueryService :: ServiceConfig Source #

Default request referring to version v2 of the BigQuery API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

cloudPlatformReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform.read-only"] Source #

View your data across Google Cloud Platform services

cloudPlatformScope :: Proxy '["https://www.googleapis.com/auth/cloud-platform"] Source #

View and manage your data across Google Cloud Platform services

storageReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_only"] Source #

View your data in Google Cloud Storage

bigQueryInsertDataScope :: Proxy '["https://www.googleapis.com/auth/bigquery.insertdata"] Source #

Insert data into Google BigQuery

storageReadWriteScope :: Proxy '["https://www.googleapis.com/auth/devstorage.read_write"] Source #

Manage your data in Google Cloud Storage

bigQueryScope :: Proxy '["https://www.googleapis.com/auth/bigquery"] Source #

View and manage your data in Google BigQuery

storageFullControlScope :: Proxy '["https://www.googleapis.com/auth/devstorage.full_control"] Source #

Manage your data and permissions in Google Cloud Storage

API Declaration

Resources

bigquery.datasets.delete

bigquery.datasets.get

bigquery.datasets.insert

bigquery.datasets.list

bigquery.datasets.patch

bigquery.datasets.update

bigquery.jobs.cancel

bigquery.jobs.get

bigquery.jobs.getQueryResults

bigquery.jobs.insert

bigquery.jobs.list

bigquery.jobs.query

bigquery.projects.list

bigquery.tabledata.insertAll

bigquery.tabledata.list

bigquery.tables.delete

bigquery.tables.get

bigquery.tables.insert

bigquery.tables.list

bigquery.tables.patch

bigquery.tables.update

Types

JobReference

data JobReference Source #

Instances

Eq JobReference Source # 
Data JobReference Source # 

Methods

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

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

toConstr :: JobReference -> Constr #

dataTypeOf :: JobReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobReference Source # 
Generic JobReference Source # 

Associated Types

type Rep JobReference :: * -> * #

ToJSON JobReference Source # 
FromJSON JobReference Source # 
type Rep JobReference Source # 
type Rep JobReference = D1 (MetaData "JobReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobReference'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jrJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

jobReference :: JobReference Source #

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

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

jrJobId :: Lens' JobReference (Maybe Text) Source #

Required
The ID of the job. The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-). The maximum length is 1,024 characters.

jrProjectId :: Lens' JobReference (Maybe Text) Source #

Required
The ID of the project containing this job.

TableList

data TableList Source #

Instances

Eq TableList Source # 
Data TableList Source # 

Methods

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

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

toConstr :: TableList -> Constr #

dataTypeOf :: TableList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableList Source # 
Generic TableList Source # 

Associated Types

type Rep TableList :: * -> * #

ToJSON TableList Source # 
FromJSON TableList Source # 
type Rep TableList Source # 

tableList :: TableList Source #

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

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

tlTotalItems :: Lens' TableList (Maybe Int32) Source #

The total number of tables in the dataset.

tlEtag :: Lens' TableList (Maybe Text) Source #

A hash of this page of results.

tlNextPageToken :: Lens' TableList (Maybe Text) Source #

A token to request the next page of results.

tlKind :: Lens' TableList Text Source #

The type of list.

tlTables :: Lens' TableList [TableListTablesItem] Source #

Tables in the requested dataset.

DataSetListDataSetsItem

data DataSetListDataSetsItem Source #

Instances

Eq DataSetListDataSetsItem Source # 
Data DataSetListDataSetsItem Source # 

Methods

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

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

toConstr :: DataSetListDataSetsItem -> Constr #

dataTypeOf :: DataSetListDataSetsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetListDataSetsItem Source # 
Generic DataSetListDataSetsItem Source # 
ToJSON DataSetListDataSetsItem Source # 
FromJSON DataSetListDataSetsItem Source # 
type Rep DataSetListDataSetsItem Source # 
type Rep DataSetListDataSetsItem = D1 (MetaData "DataSetListDataSetsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "DataSetListDataSetsItem'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsldsiFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsldsiKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsldsiDataSetReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetReference))) (S1 (MetaSel (Just Symbol "_dsldsiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

dataSetListDataSetsItem :: DataSetListDataSetsItem Source #

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

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

dsldsiFriendlyName :: Lens' DataSetListDataSetsItem (Maybe Text) Source #

A descriptive name for the dataset, if one exists.

dsldsiKind :: Lens' DataSetListDataSetsItem Text Source #

The resource type. This property always returns the value "bigquery#dataset".

dsldsiDataSetReference :: Lens' DataSetListDataSetsItem (Maybe DataSetReference) Source #

The dataset reference. Use this property to access specific parts of the dataset's ID, such as project ID or dataset ID.

dsldsiId :: Lens' DataSetListDataSetsItem (Maybe Text) Source #

The fully-qualified, unique, opaque ID of the dataset.

TableDataList

data TableDataList Source #

Instances

Eq TableDataList Source # 
Data TableDataList Source # 

Methods

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

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

toConstr :: TableDataList -> Constr #

dataTypeOf :: TableDataList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataList Source # 
Generic TableDataList Source # 

Associated Types

type Rep TableDataList :: * -> * #

ToJSON TableDataList Source # 
FromJSON TableDataList Source # 
type Rep TableDataList Source # 
type Rep TableDataList = D1 (MetaData "TableDataList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableDataList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tdlEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tdlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tdlRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableRow]))) ((:*:) (S1 (MetaSel (Just Symbol "_tdlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tdlTotalRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))))

tableDataList :: TableDataList Source #

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

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

tdlEtag :: Lens' TableDataList (Maybe Text) Source #

A hash of this page of results.

tdlKind :: Lens' TableDataList Text Source #

The resource type of the response.

tdlPageToken :: Lens' TableDataList (Maybe Text) Source #

A token used for paging results. Providing this token instead of the startIndex parameter can help you retrieve stable results when an underlying table is changing.

tdlTotalRows :: Lens' TableDataList (Maybe Int64) Source #

The total number of rows in the complete table.

JobConfigurationTableCopy

data JobConfigurationTableCopy Source #

Instances

Eq JobConfigurationTableCopy Source # 
Data JobConfigurationTableCopy Source # 

Methods

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

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

toConstr :: JobConfigurationTableCopy -> Constr #

dataTypeOf :: JobConfigurationTableCopy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationTableCopy Source # 
Generic JobConfigurationTableCopy Source # 
ToJSON JobConfigurationTableCopy Source # 
FromJSON JobConfigurationTableCopy Source # 
type Rep JobConfigurationTableCopy Source # 
type Rep JobConfigurationTableCopy = D1 (MetaData "JobConfigurationTableCopy" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobConfigurationTableCopy'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jctcDestinationTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_jctcWriteDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jctcSourceTables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableReference]))) ((:*:) (S1 (MetaSel (Just Symbol "_jctcCreateDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jctcSourceTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference)))))))

jobConfigurationTableCopy :: JobConfigurationTableCopy Source #

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

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

jctcWriteDisPosition :: Lens' JobConfigurationTableCopy (Maybe Text) Source #

Optional
Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.

jctcCreateDisPosition :: Lens' JobConfigurationTableCopy (Maybe Text) Source #

Optional
Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.

TableListTablesItem

data TableListTablesItem Source #

Instances

Eq TableListTablesItem Source # 
Data TableListTablesItem Source # 

Methods

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

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

toConstr :: TableListTablesItem -> Constr #

dataTypeOf :: TableListTablesItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableListTablesItem Source # 
Generic TableListTablesItem Source # 
ToJSON TableListTablesItem Source # 
FromJSON TableListTablesItem Source # 
type Rep TableListTablesItem Source # 
type Rep TableListTablesItem = D1 (MetaData "TableListTablesItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableListTablesItem'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tltiTableReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_tltiFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tltiKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tltiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tltiType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

tableListTablesItem :: TableListTablesItem Source #

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

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

tltiTableReference :: Lens' TableListTablesItem (Maybe TableReference) Source #

A reference uniquely identifying the table.

tltiFriendlyName :: Lens' TableListTablesItem (Maybe Text) Source #

The user-friendly name for this table.

tltiId :: Lens' TableListTablesItem (Maybe Text) Source #

An opaque ID of the table

tltiType :: Lens' TableListTablesItem (Maybe Text) Source #

The type of table. Possible values are: TABLE, VIEW.

TableSchema

data TableSchema Source #

Instances

Eq TableSchema Source # 
Data TableSchema Source # 

Methods

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

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

toConstr :: TableSchema -> Constr #

dataTypeOf :: TableSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableSchema Source # 
Generic TableSchema Source # 

Associated Types

type Rep TableSchema :: * -> * #

ToJSON TableSchema Source # 
FromJSON TableSchema Source # 
type Rep TableSchema Source # 
type Rep TableSchema = D1 (MetaData "TableSchema" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "TableSchema'" PrefixI True) (S1 (MetaSel (Just Symbol "_tsFields") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [TableFieldSchema]))))

tableSchema :: TableSchema Source #

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

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

tsFields :: Lens' TableSchema [TableFieldSchema] Source #

Describes the fields in a table.

ProjectList

data ProjectList Source #

Instances

Eq ProjectList Source # 
Data ProjectList Source # 

Methods

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

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

toConstr :: ProjectList -> Constr #

dataTypeOf :: ProjectList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectList Source # 
Generic ProjectList Source # 

Associated Types

type Rep ProjectList :: * -> * #

ToJSON ProjectList Source # 
FromJSON ProjectList Source # 
type Rep ProjectList Source # 
type Rep ProjectList = D1 (MetaData "ProjectList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ProjectList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_plTotalItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_plEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_plNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_plKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_plProjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ProjectListProjectsItem])))))))

projectList :: ProjectList Source #

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

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

plTotalItems :: Lens' ProjectList (Maybe Int32) Source #

The total number of projects in the list.

plEtag :: Lens' ProjectList (Maybe Text) Source #

A hash of the page of results

plNextPageToken :: Lens' ProjectList (Maybe Text) Source #

A token to request the next page of results.

plKind :: Lens' ProjectList Text Source #

The type of list.

plProjects :: Lens' ProjectList [ProjectListProjectsItem] Source #

Projects to which you have at least READ access.

ExplainQueryStep

data ExplainQueryStep Source #

Instances

Eq ExplainQueryStep Source # 
Data ExplainQueryStep Source # 

Methods

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

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

toConstr :: ExplainQueryStep -> Constr #

dataTypeOf :: ExplainQueryStep -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExplainQueryStep Source # 
Generic ExplainQueryStep Source # 
ToJSON ExplainQueryStep Source # 
FromJSON ExplainQueryStep Source # 
type Rep ExplainQueryStep Source # 
type Rep ExplainQueryStep = D1 (MetaData "ExplainQueryStep" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ExplainQueryStep'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eqsSubsteps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_eqsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

explainQueryStep :: ExplainQueryStep Source #

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

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

eqsSubsteps :: Lens' ExplainQueryStep [Text] Source #

Human-readable stage descriptions.

eqsKind :: Lens' ExplainQueryStep (Maybe Text) Source #

Machine-readable operation type.

BigtableColumnFamily

data BigtableColumnFamily Source #

Instances

Eq BigtableColumnFamily Source # 
Data BigtableColumnFamily Source # 

Methods

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

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

toConstr :: BigtableColumnFamily -> Constr #

dataTypeOf :: BigtableColumnFamily -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BigtableColumnFamily Source # 
Generic BigtableColumnFamily Source # 
ToJSON BigtableColumnFamily Source # 
FromJSON BigtableColumnFamily Source # 
type Rep BigtableColumnFamily Source # 
type Rep BigtableColumnFamily = D1 (MetaData "BigtableColumnFamily" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "BigtableColumnFamily'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bcfFamilyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bcfColumns") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BigtableColumn])))) ((:*:) (S1 (MetaSel (Just Symbol "_bcfOnlyReadLatest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_bcfType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bcfEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

bigtableColumnFamily :: BigtableColumnFamily Source #

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

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

bcfFamilyId :: Lens' BigtableColumnFamily (Maybe Text) Source #

Identifier of the column family.

bcfColumns :: Lens' BigtableColumnFamily [BigtableColumn] Source #

Optional
Lists of columns that should be exposed as individual fields as opposed to a list of (column name, value) pairs. All columns whose qualifier matches a qualifier in this list can be accessed as .. Other columns can be accessed as a list through .Column field.

bcfOnlyReadLatest :: Lens' BigtableColumnFamily (Maybe Bool) Source #

Optional
If this is set only the latest version of value are exposed for all columns in this column family. This can be overridden for a specific column by listing that column in 'columns' and specifying a different setting for that column.

bcfType :: Lens' BigtableColumnFamily (Maybe Text) Source #

Optional
The type to convert the value in cells of this column family. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Defaut type is BYTES. This can be overridden for a specific column by listing that column in 'columns' and specifying a type for it.

bcfEncoding :: Lens' BigtableColumnFamily (Maybe Text) Source #

Optional
The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. This can be overridden for a specific column by listing that column in 'columns' and specifying an encoding for it.

JobStatistics

data JobStatistics Source #

Instances

Eq JobStatistics Source # 
Data JobStatistics Source # 

Methods

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

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

toConstr :: JobStatistics -> Constr #

dataTypeOf :: JobStatistics -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatistics Source # 
Generic JobStatistics Source # 

Associated Types

type Rep JobStatistics :: * -> * #

ToJSON JobStatistics Source # 
FromJSON JobStatistics Source # 
type Rep JobStatistics Source # 

jobStatistics :: JobStatistics Source #

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

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

jsCreationTime :: Lens' JobStatistics (Maybe Int64) Source #

Output-only
Creation time of this job, in milliseconds since the epoch. This field will be present on all jobs.

jsStartTime :: Lens' JobStatistics (Maybe Int64) Source #

Output-only
Start time of this job, in milliseconds since the epoch. This field will be present when the job transitions from the PENDING state to either RUNNING or DONE.

jsLoad :: Lens' JobStatistics (Maybe JobStatistics3) Source #

Output-only
Statistics for a load job.

jsTotalBytesProcessed :: Lens' JobStatistics (Maybe Int64) Source #

Output-only
[Deprecated] Use the bytes processed in the query statistics instead.

jsEndTime :: Lens' JobStatistics (Maybe Int64) Source #

Output-only
End time of this job, in milliseconds since the epoch. This field will be present whenever a job is in the DONE state.

jsQuery :: Lens' JobStatistics (Maybe JobStatistics2) Source #

Output-only
Statistics for a query job.

jsExtract :: Lens' JobStatistics (Maybe JobStatistics4) Source #

Output-only
Statistics for an extract job.

DataSet

data DataSet Source #

Instances

Eq DataSet Source # 

Methods

(==) :: DataSet -> DataSet -> Bool #

(/=) :: DataSet -> DataSet -> Bool #

Data DataSet Source # 

Methods

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

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

toConstr :: DataSet -> Constr #

dataTypeOf :: DataSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSet Source # 
Generic DataSet Source # 

Associated Types

type Rep DataSet :: * -> * #

Methods

from :: DataSet -> Rep DataSet x #

to :: Rep DataSet x -> DataSet #

ToJSON DataSet Source # 
FromJSON DataSet Source # 
type Rep DataSet Source # 
type Rep DataSet = D1 (MetaData "DataSet" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "DataSet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_dsAccess") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DataSetAccessItem]))) (S1 (MetaSel (Just Symbol "_dsEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_dsDataSetReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetReference))) (S1 (MetaSel (Just Symbol "_dsSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsDefaultTableExpirationMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_dsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

dataSet :: DataSet Source #

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

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

dsCreationTime :: Lens' DataSet (Maybe Int64) Source #

Output-only
The time when this dataset was created, in milliseconds since the epoch.

dsAccess :: Lens' DataSet [DataSetAccessItem] Source #

Optional
An array of objects that define dataset access for one or more entities. You can set this property when inserting or updating a dataset in order to control who is allowed to access the data. If unspecified at dataset creation time, BigQuery adds default dataset access for the following entities: access.specialGroup: projectReaders; access.role: READER; access.specialGroup: projectWriters; access.role: WRITER; access.specialGroup: projectOwners; access.role: OWNER; access.userByEmail: [dataset creator email]; access.role: OWNER;

dsEtag :: Lens' DataSet (Maybe Text) Source #

Output-only
A hash of the resource.

dsLocation :: Lens' DataSet (Maybe Text) Source #

Experimental
The geographic location where the dataset should reside. Possible values include EU and US. The default value is US.

dsFriendlyName :: Lens' DataSet (Maybe Text) Source #

Optional
A descriptive name for the dataset.

dsKind :: Lens' DataSet Text Source #

Output-only
The resource type.

dsLastModifiedTime :: Lens' DataSet (Maybe Int64) Source #

Output-only
The date when this dataset or any of its tables was last modified, in milliseconds since the epoch.

dsDataSetReference :: Lens' DataSet (Maybe DataSetReference) Source #

Required
A reference that identifies the dataset.

dsSelfLink :: Lens' DataSet (Maybe Text) Source #

Output-only
A URL that can be used to access the resource again. You can use this URL in Get or Update requests to the resource.

dsId :: Lens' DataSet (Maybe Text) Source #

Output-only
The fully-qualified unique name of the dataset in the format projectId:datasetId. The dataset name without the project name is given in the datasetId field. When creating a new dataset, leave this field blank, and instead specify the datasetId field.

dsDefaultTableExpirationMs :: Lens' DataSet (Maybe Int64) Source #

Optional
The default lifetime of all tables in the dataset, in milliseconds. The minimum value is 3600000 milliseconds (one hour). Once this property is set, all newly-created tables in the dataset will have an expirationTime property set to the creation time plus the value in this property, and changing the value will only affect new tables, not existing ones. When the expirationTime for a given table is reached, that table will be deleted automatically. If a table's expirationTime is modified or removed before the table expires, or if you provide an explicit expirationTime when creating a table, that value takes precedence over the default expiration time indicated by this property.

dsDescription :: Lens' DataSet (Maybe Text) Source #

Optional
A user-friendly description of the dataset.

BigtableOptions

data BigtableOptions Source #

Instances

Eq BigtableOptions Source # 
Data BigtableOptions Source # 

Methods

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

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

toConstr :: BigtableOptions -> Constr #

dataTypeOf :: BigtableOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BigtableOptions Source # 
Generic BigtableOptions Source # 
ToJSON BigtableOptions Source # 
FromJSON BigtableOptions Source # 
type Rep BigtableOptions Source # 
type Rep BigtableOptions = D1 (MetaData "BigtableOptions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "BigtableOptions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_boIgnoreUnspecifiedColumnFamilies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_boColumnFamilies") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [BigtableColumnFamily])))))

bigtableOptions :: BigtableOptions Source #

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

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

boIgnoreUnspecifiedColumnFamilies :: Lens' BigtableOptions (Maybe Bool) Source #

Optional
If field is true, then the column families that are not specified in columnFamilies list are not exposed in the table schema. Otherwise, they are read with BYTES type values. The default value is false.

boColumnFamilies :: Lens' BigtableOptions [BigtableColumnFamily] Source #

Optional
List of column families to expose in the table schema along with their types. This list restricts the column families that can be referenced in queries and specifies their value types. You can use this list to do type conversions - see the 'type' field for more details. If you leave this list empty, all column families are present in the table schema and their values are read as BYTES. During a query only the column families referenced in that query are read from Bigtable.

ExternalDataConfiguration

data ExternalDataConfiguration Source #

Instances

Eq ExternalDataConfiguration Source # 
Data ExternalDataConfiguration Source # 

Methods

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

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

toConstr :: ExternalDataConfiguration -> Constr #

dataTypeOf :: ExternalDataConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExternalDataConfiguration Source # 
Generic ExternalDataConfiguration Source # 
ToJSON ExternalDataConfiguration Source # 
FromJSON ExternalDataConfiguration Source # 
type Rep ExternalDataConfiguration Source # 
type Rep ExternalDataConfiguration = D1 (MetaData "ExternalDataConfiguration" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ExternalDataConfiguration'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_edcBigtableOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe BigtableOptions))) (S1 (MetaSel (Just Symbol "_edcIgnoreUnknownValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_edcCompression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_edcSourceFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_edcSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_edcMaxBadRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_edcGoogleSheetsOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GoogleSheetsOptions)))) ((:*:) (S1 (MetaSel (Just Symbol "_edcAutodetect") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_edcSourceURIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_edcCSVOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CSVOptions))))))))

edcBigtableOptions :: Lens' ExternalDataConfiguration (Maybe BigtableOptions) Source #

Optional
Additional options if sourceFormat is set to BIGTABLE.

edcIgnoreUnknownValues :: Lens' ExternalDataConfiguration (Maybe Bool) Source #

Optional
Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names Google Cloud Bigtable: This setting is ignored. Google Cloud Datastore backups: This setting is ignored. Avro: This setting is ignored.

edcCompression :: Lens' ExternalDataConfiguration (Maybe Text) Source #

Optional
The compression type of the data source. Possible values include GZIP and NONE. The default value is NONE. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.

edcSourceFormat :: Lens' ExternalDataConfiguration (Maybe Text) Source #

Required
The data format. For CSV files, specify "CSV". For Google sheets, specify "GOOGLE_SHEETS". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro files, specify "AVRO". For Google Cloud Datastore backups, specify "DATASTORE_BACKUP". [Experimental] For Google Cloud Bigtable, specify "BIGTABLE". Please note that reading from Google Cloud Bigtable is experimental and has to be enabled for your project. Please contact Google Cloud Support to enable this for your project.

edcSchema :: Lens' ExternalDataConfiguration (Maybe TableSchema) Source #

Optional
The schema for the data. Schema is required for CSV and JSON formats. Schema is disallowed for Google Cloud Bigtable, Cloud Datastore backups, and Avro formats.

edcMaxBadRecords :: Lens' ExternalDataConfiguration (Maybe Int32) Source #

Optional
The maximum number of bad records that BigQuery can ignore when reading data. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid. This setting is ignored for Google Cloud Bigtable, Google Cloud Datastore backups and Avro formats.

edcGoogleSheetsOptions :: Lens' ExternalDataConfiguration (Maybe GoogleSheetsOptions) Source #

Optional
Additional options if sourceFormat is set to GOOGLE_SHEETS.

edcAutodetect :: Lens' ExternalDataConfiguration (Maybe Bool) Source #

Experimental
Try to detect schema and format options automatically. Any option specified explicitly will be honored.

edcSourceURIs :: Lens' ExternalDataConfiguration [Text] Source #

Required
The fully-qualified URIs that point to your data in Google Cloud. For Google Cloud Storage URIs: Each URI can contain one '*' wildcard character and it must come after the 'bucket' name. Size limits related to load jobs apply to external data sources. For Google Cloud Bigtable URIs: Exactly one URI can be specified and it has be a fully specified and valid HTTPS URL for a Google Cloud Bigtable table. For Google Cloud Datastore backups, exactly one URI can be specified, and it must end with '.backup_info'. Also, the '*' wildcard character is not allowed.

edcCSVOptions :: Lens' ExternalDataConfiguration (Maybe CSVOptions) Source #

Additional properties to set if sourceFormat is set to CSV.

TableReference

data TableReference Source #

Instances

Eq TableReference Source # 
Data TableReference Source # 

Methods

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

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

toConstr :: TableReference -> Constr #

dataTypeOf :: TableReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableReference Source # 
Generic TableReference Source # 

Associated Types

type Rep TableReference :: * -> * #

ToJSON TableReference Source # 
FromJSON TableReference Source # 
type Rep TableReference Source # 
type Rep TableReference = D1 (MetaData "TableReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableReference'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_trDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_trProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_trTableId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

tableReference :: TableReference Source #

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

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

trDataSetId :: Lens' TableReference (Maybe Text) Source #

Required
The ID of the dataset containing this table.

trProjectId :: Lens' TableReference (Maybe Text) Source #

Required
The ID of the project containing this table.

trTableId :: Lens' TableReference (Maybe Text) Source #

Required
The ID of the table. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

TableFieldSchema

data TableFieldSchema Source #

Instances

Eq TableFieldSchema Source # 
Data TableFieldSchema Source # 

Methods

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

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

toConstr :: TableFieldSchema -> Constr #

dataTypeOf :: TableFieldSchema -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableFieldSchema Source # 
Generic TableFieldSchema Source # 
ToJSON TableFieldSchema Source # 
FromJSON TableFieldSchema Source # 
type Rep TableFieldSchema Source # 
type Rep TableFieldSchema = D1 (MetaData "TableFieldSchema" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableFieldSchema'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tfsMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tfsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tfsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tfsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tfsFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableFieldSchema])))))))

tableFieldSchema :: TableFieldSchema Source #

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

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

tfsMode :: Lens' TableFieldSchema (Maybe Text) Source #

Optional
The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.

tfsName :: Lens' TableFieldSchema (Maybe Text) Source #

Required
The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.

tfsType :: Lens' TableFieldSchema (Maybe Text) Source #

Required
The field data type. Possible values include STRING, BYTES, INTEGER, FLOAT, BOOLEAN, TIMESTAMP or RECORD (where RECORD indicates that the field contains a nested schema).

tfsDescription :: Lens' TableFieldSchema (Maybe Text) Source #

Optional
The field description. The maximum length is 16K characters.

tfsFields :: Lens' TableFieldSchema [TableFieldSchema] Source #

Optional
Describes the nested schema fields if the type property is set to RECORD.

GetQueryResultsResponse

data GetQueryResultsResponse Source #

Instances

Eq GetQueryResultsResponse Source # 
Data GetQueryResultsResponse Source # 

Methods

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

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

toConstr :: GetQueryResultsResponse -> Constr #

dataTypeOf :: GetQueryResultsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GetQueryResultsResponse Source # 
Generic GetQueryResultsResponse Source # 
ToJSON GetQueryResultsResponse Source # 
FromJSON GetQueryResultsResponse Source # 
type Rep GetQueryResultsResponse Source # 
type Rep GetQueryResultsResponse = D1 (MetaData "GetQueryResultsResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "GetQueryResultsResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrJobReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobReference))) (S1 (MetaSel (Just Symbol "_gqrrEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema))) (S1 (MetaSel (Just Symbol "_gqrrTotalBytesProcessed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableRow]))) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gqrrTotalRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorProto]))) ((:*:) (S1 (MetaSel (Just Symbol "_gqrrJobComplete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_gqrrCacheHit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

getQueryResultsResponse :: GetQueryResultsResponse Source #

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

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

gqrrJobReference :: Lens' GetQueryResultsResponse (Maybe JobReference) Source #

Reference to the BigQuery Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults).

gqrrEtag :: Lens' GetQueryResultsResponse (Maybe Text) Source #

A hash of this response.

gqrrKind :: Lens' GetQueryResultsResponse Text Source #

The resource type of the response.

gqrrSchema :: Lens' GetQueryResultsResponse (Maybe TableSchema) Source #

The schema of the results. Present only when the query completes successfully.

gqrrTotalBytesProcessed :: Lens' GetQueryResultsResponse (Maybe Int64) Source #

The total number of bytes processed for this query.

gqrrRows :: Lens' GetQueryResultsResponse [TableRow] Source #

An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above. Present only when the query completes successfully.

gqrrPageToken :: Lens' GetQueryResultsResponse (Maybe Text) Source #

A token used for paging results.

gqrrTotalRows :: Lens' GetQueryResultsResponse (Maybe Word64) Source #

The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results. Present only when the query completes successfully.

gqrrErrors :: Lens' GetQueryResultsResponse [ErrorProto] Source #

Output-only
All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.

gqrrJobComplete :: Lens' GetQueryResultsResponse (Maybe Bool) Source #

Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.

gqrrCacheHit :: Lens' GetQueryResultsResponse (Maybe Bool) Source #

Whether the query result was fetched from the query cache.

DataSetList

data DataSetList Source #

Instances

Eq DataSetList Source # 
Data DataSetList Source # 

Methods

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

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

toConstr :: DataSetList -> Constr #

dataTypeOf :: DataSetList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetList Source # 
Generic DataSetList Source # 

Associated Types

type Rep DataSetList :: * -> * #

ToJSON DataSetList Source # 
FromJSON DataSetList Source # 
type Rep DataSetList Source # 
type Rep DataSetList = D1 (MetaData "DataSetList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "DataSetList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dslEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dslNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dslKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dslDataSets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [DataSetListDataSetsItem]))))))

dataSetList :: DataSetList Source #

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

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

dslEtag :: Lens' DataSetList (Maybe Text) Source #

A hash value of the results page. You can use this property to determine if the page has changed since the last request.

dslNextPageToken :: Lens' DataSetList (Maybe Text) Source #

A token that can be used to request the next results page. This property is omitted on the final results page.

dslKind :: Lens' DataSetList Text Source #

The list type. This property always returns the value "bigquery#datasetList".

dslDataSets :: Lens' DataSetList [DataSetListDataSetsItem] Source #

An array of the dataset resources in the project. Each resource contains basic information. For full information about a particular dataset resource, use the Datasets: get method. This property is omitted when there are no datasets in the project.

QueryRequest

data QueryRequest Source #

Instances

Eq QueryRequest Source # 
Data QueryRequest Source # 

Methods

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

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

toConstr :: QueryRequest -> Constr #

dataTypeOf :: QueryRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryRequest Source # 
Generic QueryRequest Source # 

Associated Types

type Rep QueryRequest :: * -> * #

ToJSON QueryRequest Source # 
FromJSON QueryRequest Source # 
type Rep QueryRequest Source # 

queryRequest :: QueryRequest Source #

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

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

qrUseQueryCache :: Lens' QueryRequest Bool Source #

Optional
Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. The default value is true.

qrPreserveNulls :: Lens' QueryRequest (Maybe Bool) Source #

Deprecated
This property is deprecated.

qrKind :: Lens' QueryRequest Text Source #

The resource type of the request.

qrQuery :: Lens' QueryRequest (Maybe Text) Source #

Required
A query string, following the BigQuery query syntax, of the query to execute. Example: "SELECT count(f1) FROM
myProjectId:myDatasetId.myTableId
".

qrTimeoutMs :: Lens' QueryRequest (Maybe Word32) Source #

Optional
How long to wait for the query to complete, in milliseconds, before the request times out and returns. Note that this is only a timeout for the request, not the query. If the query takes longer to run than the timeout value, the call returns without any results and with the 'jobComplete' flag set to false. You can call GetQueryResults() to wait for the query to complete and read the results. The default value is 10000 milliseconds (10 seconds).

qrUseLegacySQL :: Lens' QueryRequest (Maybe Bool) Source #

Experimental
Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false.

qrDryRun :: Lens' QueryRequest (Maybe Bool) Source #

Optional
If set to true, BigQuery doesn't run the job. Instead, if the query is valid, BigQuery returns statistics about the job such as how many bytes would be processed. If the query is invalid, an error returns. The default value is false.

qrMaxResults :: Lens' QueryRequest (Maybe Word32) Source #

Optional
The maximum number of rows of data to return per page of results. Setting this flag to a small value such as 1000 and then paging through results might improve reliability when the query result set is large. In addition to this limit, responses are also limited to 10 MB. By default, there is no maximum row count, and only the byte limit applies.

qrDefaultDataSet :: Lens' QueryRequest (Maybe DataSetReference) Source #

Optional
Specifies the default datasetId and projectId to assume for any unqualified table names in the query. If not set, all table names in the query string must be qualified in the format 'datasetId.tableId'.

JobsListProjection

data JobsListProjection Source #

Restrict information returned to a set of selected fields

Constructors

Full

full Includes all job data

Minimal

minimal Does not include the job configuration

Instances

Enum JobsListProjection Source # 
Eq JobsListProjection Source # 
Data JobsListProjection Source # 

Methods

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

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

toConstr :: JobsListProjection -> Constr #

dataTypeOf :: JobsListProjection -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord JobsListProjection Source # 
Read JobsListProjection Source # 
Show JobsListProjection Source # 
Generic JobsListProjection Source # 
Hashable JobsListProjection Source # 
ToJSON JobsListProjection Source # 
FromJSON JobsListProjection Source # 
FromHttpApiData JobsListProjection Source # 
ToHttpApiData JobsListProjection Source # 
type Rep JobsListProjection Source # 
type Rep JobsListProjection = D1 (MetaData "JobsListProjection" "Network.Google.BigQuery.Types.Sum" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) ((:+:) (C1 (MetaCons "Full" PrefixI False) U1) (C1 (MetaCons "Minimal" PrefixI False) U1))

JobStatistics4

data JobStatistics4 Source #

Instances

Eq JobStatistics4 Source # 
Data JobStatistics4 Source # 

Methods

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

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

toConstr :: JobStatistics4 -> Constr #

dataTypeOf :: JobStatistics4 -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatistics4 Source # 
Generic JobStatistics4 Source # 

Associated Types

type Rep JobStatistics4 :: * -> * #

ToJSON JobStatistics4 Source # 
FromJSON JobStatistics4 Source # 
type Rep JobStatistics4 Source # 
type Rep JobStatistics4 = D1 (MetaData "JobStatistics4" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "JobStatistics4'" PrefixI True) (S1 (MetaSel (Just Symbol "_jsDestinationURIFileCounts") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Textual Int64]))))

jobStatistics4 :: JobStatistics4 Source #

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

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

jsDestinationURIFileCounts :: Lens' JobStatistics4 [Int64] Source #

Output-only
Number of files per destination URI or URI pattern specified in the extract configuration. These values will be in the same order as the URIs specified in the 'destinationUris' field.

ProjectReference

data ProjectReference Source #

Instances

Eq ProjectReference Source # 
Data ProjectReference Source # 

Methods

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

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

toConstr :: ProjectReference -> Constr #

dataTypeOf :: ProjectReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectReference Source # 
Generic ProjectReference Source # 
ToJSON ProjectReference Source # 
FromJSON ProjectReference Source # 
type Rep ProjectReference Source # 
type Rep ProjectReference = D1 (MetaData "ProjectReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "ProjectReference'" PrefixI True) (S1 (MetaSel (Just Symbol "_prProjectId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

projectReference :: ProjectReference Source #

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

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

prProjectId :: Lens' ProjectReference (Maybe Text) Source #

Required
ID of the project. Can be either the numeric ID or the assigned ID of the project.

ExplainQueryStage

data ExplainQueryStage Source #

Instances

Eq ExplainQueryStage Source # 
Data ExplainQueryStage Source # 

Methods

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

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

toConstr :: ExplainQueryStage -> Constr #

dataTypeOf :: ExplainQueryStage -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ExplainQueryStage Source # 
Generic ExplainQueryStage Source # 
ToJSON ExplainQueryStage Source # 
FromJSON ExplainQueryStage Source # 
type Rep ExplainQueryStage Source # 
type Rep ExplainQueryStage = D1 (MetaData "ExplainQueryStage" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ExplainQueryStage'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eqsWaitRatioMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) ((:*:) (S1 (MetaSel (Just Symbol "_eqsRecordsWritten") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_eqsSteps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExplainQueryStep]))))) ((:*:) (S1 (MetaSel (Just Symbol "_eqsWriteRatioAvg") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) ((:*:) (S1 (MetaSel (Just Symbol "_eqsRecordsRead") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_eqsComputeRatioAvg") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eqsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_eqsReadRatioMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_eqsWaitRatioAvg") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eqsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_eqsComputeRatioMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double))))) ((:*:) (S1 (MetaSel (Just Symbol "_eqsWriteRatioMax") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))) (S1 (MetaSel (Just Symbol "_eqsReadRatioAvg") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Double)))))))))

eqsWaitRatioMax :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the slowest shard spent waiting to be scheduled.

eqsRecordsWritten :: Lens' ExplainQueryStage (Maybe Int64) Source #

Number of records written by the stage.

eqsSteps :: Lens' ExplainQueryStage [ExplainQueryStep] Source #

List of operations within the stage in dependency order (approximately chronological).

eqsWriteRatioAvg :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the average shard spent on writing output.

eqsRecordsRead :: Lens' ExplainQueryStage (Maybe Int64) Source #

Number of records read into the stage.

eqsComputeRatioAvg :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the average shard spent on CPU-bound tasks.

eqsName :: Lens' ExplainQueryStage (Maybe Text) Source #

Human-readable name for stage.

eqsReadRatioMax :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the slowest shard spent reading input.

eqsWaitRatioAvg :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the average shard spent waiting to be scheduled.

eqsId :: Lens' ExplainQueryStage (Maybe Int64) Source #

Unique ID for stage within plan.

eqsComputeRatioMax :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the slowest shard spent on CPU-bound tasks.

eqsWriteRatioMax :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the slowest shard spent on writing output.

eqsReadRatioAvg :: Lens' ExplainQueryStage (Maybe Double) Source #

Relative amount of time the average shard spent reading input.

JobConfigurationLoad

data JobConfigurationLoad Source #

Instances

Eq JobConfigurationLoad Source # 
Data JobConfigurationLoad Source # 

Methods

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

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

toConstr :: JobConfigurationLoad -> Constr #

dataTypeOf :: JobConfigurationLoad -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationLoad Source # 
Generic JobConfigurationLoad Source # 
ToJSON JobConfigurationLoad Source # 
FromJSON JobConfigurationLoad Source # 
type Rep JobConfigurationLoad Source # 
type Rep JobConfigurationLoad = D1 (MetaData "JobConfigurationLoad" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobConfigurationLoad'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jclSkipLeadingRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_jclProjectionFields") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_jclDestinationTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_jclWriteDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jclAllowJaggedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jclSchemaInline") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jclIgnoreUnknownValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_jclCreateDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jclSchemaInlineFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jclAllowQuotedNewlines") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jclSourceFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jclSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema))) (S1 (MetaSel (Just Symbol "_jclQuote") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jclMaxBadRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_jclAutodetect") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_jclSourceURIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) ((:*:) (S1 (MetaSel (Just Symbol "_jclEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jclFieldDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

jclSkipLeadingRows :: Lens' JobConfigurationLoad (Maybe Int32) Source #

Optional
The number of rows at the top of a CSV file that BigQuery will skip when loading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped.

jclProjectionFields :: Lens' JobConfigurationLoad [Text] Source #

Experimental
If sourceFormat is set to "DATASTORE_BACKUP", indicates which entity properties to load into BigQuery from a Cloud Datastore backup. Property names are case sensitive and must be top-level properties. If no properties are specified, BigQuery loads all properties. If any named property isn't found in the Cloud Datastore backup, an invalid error is returned in the job result.

jclDestinationTable :: Lens' JobConfigurationLoad (Maybe TableReference) Source #

Required
The destination table to load the data into.

jclWriteDisPosition :: Lens' JobConfigurationLoad (Maybe Text) Source #

Optional
Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_APPEND. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.

jclAllowJaggedRows :: Lens' JobConfigurationLoad (Maybe Bool) Source #

Optional
Accept rows that are missing trailing optional columns. The missing values are treated as nulls. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. Only applicable to CSV, ignored for other formats.

jclSchemaInline :: Lens' JobConfigurationLoad (Maybe Text) Source #

Deprecated
The inline schema. For CSV schemas, specify as "Field1:Type1[,Field2:Type2]*". For example, "foo:STRING, bar:INTEGER, baz:FLOAT".

jclIgnoreUnknownValues :: Lens' JobConfigurationLoad (Maybe Bool) Source #

Optional
Indicates if BigQuery should allow extra values that are not represented in the table schema. If true, the extra values are ignored. If false, records with extra columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false. The sourceFormat property determines what BigQuery treats as an extra value: CSV: Trailing columns JSON: Named values that don't match any column names

jclCreateDisPosition :: Lens' JobConfigurationLoad (Maybe Text) Source #

Optional
Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.

jclSchemaInlineFormat :: Lens' JobConfigurationLoad (Maybe Text) Source #

Deprecated
The format of the schemaInline property.

jclAllowQuotedNewlines :: Lens' JobConfigurationLoad (Maybe Bool) Source #

Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.

jclSourceFormat :: Lens' JobConfigurationLoad (Maybe Text) Source #

Optional
The format of the data files. For CSV files, specify "CSV". For datastore backups, specify "DATASTORE_BACKUP". For newline-delimited JSON, specify "NEWLINE_DELIMITED_JSON". For Avro, specify "AVRO". The default value is CSV.

jclSchema :: Lens' JobConfigurationLoad (Maybe TableSchema) Source #

Optional
The schema for the destination table. The schema can be omitted if the destination table already exists, or if you're loading data from Google Cloud Datastore.

jclQuote :: Lens' JobConfigurationLoad Text Source #

Optional
The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true.

jclMaxBadRecords :: Lens' JobConfigurationLoad (Maybe Int32) Source #

Optional
The maximum number of bad records that BigQuery can ignore when running the job. If the number of bad records exceeds this value, an invalid error is returned in the job result. The default value is 0, which requires that all records are valid.

jclAutodetect :: Lens' JobConfigurationLoad (Maybe Bool) Source #

Experimental
Indicates if we should automatically infer the options and schema for CSV and JSON sources.

jclSourceURIs :: Lens' JobConfigurationLoad [Text] Source #

Required
The fully-qualified URIs that point to your data in Google Cloud Storage. Each URI can contain one '*' wildcard character and it must come after the 'bucket' name.

jclEncoding :: Lens' JobConfigurationLoad (Maybe Text) Source #

Optional
The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.

jclFieldDelimiter :: Lens' JobConfigurationLoad (Maybe Text) Source #

Optional
The separator for fields in a CSV file. The separator can be any ISO-8859-1 single-byte character. To use a character in the range 128-255, you must encode the character as UTF8. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').

JobsListStateFilter

data JobsListStateFilter Source #

Filter for job state

Constructors

Done

done Finished jobs

Pending

pending Pending jobs

Running

running Running jobs

Instances

Enum JobsListStateFilter Source # 
Eq JobsListStateFilter Source # 
Data JobsListStateFilter Source # 

Methods

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

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

toConstr :: JobsListStateFilter -> Constr #

dataTypeOf :: JobsListStateFilter -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord JobsListStateFilter Source # 
Read JobsListStateFilter Source # 
Show JobsListStateFilter Source # 
Generic JobsListStateFilter Source # 
Hashable JobsListStateFilter Source # 
ToJSON JobsListStateFilter Source # 
FromJSON JobsListStateFilter Source # 
FromHttpApiData JobsListStateFilter Source # 
ToHttpApiData JobsListStateFilter Source # 
type Rep JobsListStateFilter Source # 
type Rep JobsListStateFilter = D1 (MetaData "JobsListStateFilter" "Network.Google.BigQuery.Types.Sum" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) ((:+:) (C1 (MetaCons "Done" PrefixI False) U1) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) (C1 (MetaCons "Running" PrefixI False) U1)))

DataSetReference

data DataSetReference Source #

Instances

Eq DataSetReference Source # 
Data DataSetReference Source # 

Methods

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

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

toConstr :: DataSetReference -> Constr #

dataTypeOf :: DataSetReference -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetReference Source # 
Generic DataSetReference Source # 
ToJSON DataSetReference Source # 
FromJSON DataSetReference Source # 
type Rep DataSetReference Source # 
type Rep DataSetReference = D1 (MetaData "DataSetReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "DataSetReference'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsrDataSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsrProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

dataSetReference :: DataSetReference Source #

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

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

dsrDataSetId :: Lens' DataSetReference (Maybe Text) Source #

Required
A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters.

dsrProjectId :: Lens' DataSetReference (Maybe Text) Source #

Optional
The ID of the project containing this dataset.

TableDataInsertAllRequest

data TableDataInsertAllRequest Source #

Instances

Eq TableDataInsertAllRequest Source # 
Data TableDataInsertAllRequest Source # 

Methods

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

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

toConstr :: TableDataInsertAllRequest -> Constr #

dataTypeOf :: TableDataInsertAllRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAllRequest Source # 
Generic TableDataInsertAllRequest Source # 
ToJSON TableDataInsertAllRequest Source # 
FromJSON TableDataInsertAllRequest Source # 
type Rep TableDataInsertAllRequest Source # 
type Rep TableDataInsertAllRequest = D1 (MetaData "TableDataInsertAllRequest" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableDataInsertAllRequest'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tdiarKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tdiarIgnoreUnknownValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_tdiarRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableDataInsertAllRequestRowsItem]))) ((:*:) (S1 (MetaSel (Just Symbol "_tdiarTemplateSuffix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tdiarSkipInvalidRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))

tableDataInsertAllRequest :: TableDataInsertAllRequest Source #

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

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

tdiarKind :: Lens' TableDataInsertAllRequest Text Source #

The resource type of the response.

tdiarIgnoreUnknownValues :: Lens' TableDataInsertAllRequest (Maybe Bool) Source #

Optional
Accept rows that contain values that do not match the schema. The unknown values are ignored. Default is false, which treats unknown values as errors.

tdiarTemplateSuffix :: Lens' TableDataInsertAllRequest (Maybe Text) Source #

Experimental
If specified, treats the destination table as a base template, and inserts the rows into an instance table named "{destination}{templateSuffix}". BigQuery will manage creation of the instance table, using the schema of the base template table. See https://cloud.google.com/bigquery/streaming-data-into-bigquery#template-tables for considerations when working with templates tables.

tdiarSkipInvalidRows :: Lens' TableDataInsertAllRequest (Maybe Bool) Source #

Optional
Insert all valid rows of a request, even if invalid rows exist. The default value is false, which causes the entire request to fail if any invalid rows exist.

ProjectListProjectsItem

data ProjectListProjectsItem Source #

Instances

Eq ProjectListProjectsItem Source # 
Data ProjectListProjectsItem Source # 

Methods

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

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

toConstr :: ProjectListProjectsItem -> Constr #

dataTypeOf :: ProjectListProjectsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectListProjectsItem Source # 
Generic ProjectListProjectsItem Source # 
ToJSON ProjectListProjectsItem Source # 
FromJSON ProjectListProjectsItem Source # 
type Rep ProjectListProjectsItem Source # 
type Rep ProjectListProjectsItem = D1 (MetaData "ProjectListProjectsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ProjectListProjectsItem'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_plpiFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_plpiKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_plpiProjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProjectReference))) ((:*:) (S1 (MetaSel (Just Symbol "_plpiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_plpiNumericId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))))))))

projectListProjectsItem :: ProjectListProjectsItem Source #

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

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

plpiFriendlyName :: Lens' ProjectListProjectsItem (Maybe Text) Source #

A descriptive name for this project.

plpiId :: Lens' ProjectListProjectsItem (Maybe Text) Source #

An opaque ID of this project.

plpiNumericId :: Lens' ProjectListProjectsItem (Maybe Word64) Source #

The numeric ID of this project.

BigtableColumn

data BigtableColumn Source #

Instances

Eq BigtableColumn Source # 
Data BigtableColumn Source # 

Methods

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

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

toConstr :: BigtableColumn -> Constr #

dataTypeOf :: BigtableColumn -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BigtableColumn Source # 
Generic BigtableColumn Source # 

Associated Types

type Rep BigtableColumn :: * -> * #

ToJSON BigtableColumn Source # 
FromJSON BigtableColumn Source # 
type Rep BigtableColumn Source # 
type Rep BigtableColumn = D1 (MetaData "BigtableColumn" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "BigtableColumn'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bcQualifierEncoded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Base64))) ((:*:) (S1 (MetaSel (Just Symbol "_bcFieldName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bcQualifierString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_bcOnlyReadLatest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_bcType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bcEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

bigtableColumn :: BigtableColumn Source #

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

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

bcQualifierEncoded :: Lens' BigtableColumn (Maybe ByteString) Source #

Required
Qualifier of the column. Columns in the parent column family that has this exact qualifier are exposed as . field. If the qualifier is valid UTF-8 string, it can be specified in the qualifier_string field. Otherwise, a base-64 encoded value must be set to qualifier_encoded. The column field name is the same as the column qualifier. However, if the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as field_name.

bcFieldName :: Lens' BigtableColumn (Maybe Text) Source #

Optional
If the qualifier is not a valid BigQuery field identifier i.e. does not match [a-zA-Z][a-zA-Z0-9_]*, a valid identifier must be provided as the column field name and is used as field name in queries.

bcOnlyReadLatest :: Lens' BigtableColumn (Maybe Bool) Source #

Optional
If this is set, only the latest version of value in this column are exposed. 'onlyReadLatest' can also be set at the column family level. However, the setting at this level takes precedence if 'onlyReadLatest' is set at both levels.

bcType :: Lens' BigtableColumn (Maybe Text) Source #

Optional
The type to convert the value in cells of this column. The values are expected to be encoded using HBase Bytes.toBytes function when using the BINARY encoding value. Following BigQuery types are allowed (case-sensitive) - BYTES STRING INTEGER FLOAT BOOLEAN Defaut type is BYTES. 'type' can also be set at the column family level. However, the setting at this level takes precedence if 'type' is set at both levels.

bcEncoding :: Lens' BigtableColumn (Maybe Text) Source #

Optional
The encoding of the values when the type is not STRING. Acceptable encoding values are: TEXT - indicates values are alphanumeric text strings. BINARY - indicates values are encoded using HBase Bytes.toBytes family of functions. 'encoding' can also be set at the column family level. However, the setting at this level takes precedence if 'encoding' is set at both levels.

Streamingbuffer

data Streamingbuffer Source #

Instances

Eq Streamingbuffer Source # 
Data Streamingbuffer Source # 

Methods

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

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

toConstr :: Streamingbuffer -> Constr #

dataTypeOf :: Streamingbuffer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Streamingbuffer Source # 
Generic Streamingbuffer Source # 
ToJSON Streamingbuffer Source # 
FromJSON Streamingbuffer Source # 
type Rep Streamingbuffer Source # 
type Rep Streamingbuffer = D1 (MetaData "Streamingbuffer" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "Streamingbuffer'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sEstimatedBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) ((:*:) (S1 (MetaSel (Just Symbol "_sOldestEntryTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_sEstimatedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))))

streamingbuffer :: Streamingbuffer Source #

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

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

sEstimatedBytes :: Lens' Streamingbuffer (Maybe Word64) Source #

Output-only
A lower-bound estimate of the number of bytes currently in the streaming buffer.

sOldestEntryTime :: Lens' Streamingbuffer (Maybe Word64) Source #

Output-only
Contains the timestamp of the oldest entry in the streaming buffer, in milliseconds since the epoch, if the streaming buffer is available.

sEstimatedRows :: Lens' Streamingbuffer (Maybe Word64) Source #

Output-only
A lower-bound estimate of the number of rows currently in the streaming buffer.

TableRow

data TableRow Source #

Instances

Eq TableRow Source # 
Data TableRow Source # 

Methods

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

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

toConstr :: TableRow -> Constr #

dataTypeOf :: TableRow -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableRow Source # 
Generic TableRow Source # 

Associated Types

type Rep TableRow :: * -> * #

Methods

from :: TableRow -> Rep TableRow x #

to :: Rep TableRow x -> TableRow #

ToJSON TableRow Source # 
FromJSON TableRow Source # 
type Rep TableRow Source # 
type Rep TableRow = D1 (MetaData "TableRow" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "TableRow'" PrefixI True) (S1 (MetaSel (Just Symbol "_trF") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [TableCell]))))

tableRow :: TableRow Source #

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

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

trF :: Lens' TableRow [TableCell] Source #

Represents a single row in the result set, consisting of one or more fields.

JobListJobsItem

data JobListJobsItem Source #

Instances

Eq JobListJobsItem Source # 
Data JobListJobsItem Source # 

Methods

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

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

toConstr :: JobListJobsItem -> Constr #

dataTypeOf :: JobListJobsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobListJobsItem Source # 
Generic JobListJobsItem Source # 
ToJSON JobListJobsItem Source # 
FromJSON JobListJobsItem Source # 
type Rep JobListJobsItem Source # 

jobListJobsItem :: JobListJobsItem Source #

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

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

jljiJobReference :: Lens' JobListJobsItem (Maybe JobReference) Source #

Job reference uniquely identifying the job.

jljiStatus :: Lens' JobListJobsItem (Maybe JobStatus) Source #

Full-projection-only
Describes the state of the job.

jljiState :: Lens' JobListJobsItem (Maybe Text) Source #

Running state of the job. When the state is DONE, errorResult can be checked to determine whether the job succeeded or failed.

jljiUserEmail :: Lens' JobListJobsItem (Maybe Text) Source #

Full-projection-only
Email address of the user who ran the job.

jljiKind :: Lens' JobListJobsItem Text Source #

The resource type.

jljiErrorResult :: Lens' JobListJobsItem (Maybe ErrorProto) Source #

A result object that will be present only if the job has failed.

jljiId :: Lens' JobListJobsItem (Maybe Text) Source #

Unique opaque ID of the job.

jljiStatistics :: Lens' JobListJobsItem (Maybe JobStatistics) Source #

Output-only
Information about the job, including starting time and ending time of the job.

jljiConfiguration :: Lens' JobListJobsItem (Maybe JobConfiguration) Source #

Full-projection-only
Specifies the job configuration.

TimePartitioning

data TimePartitioning Source #

Instances

Eq TimePartitioning Source # 
Data TimePartitioning Source # 

Methods

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

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

toConstr :: TimePartitioning -> Constr #

dataTypeOf :: TimePartitioning -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TimePartitioning Source # 
Generic TimePartitioning Source # 
ToJSON TimePartitioning Source # 
FromJSON TimePartitioning Source # 
type Rep TimePartitioning Source # 
type Rep TimePartitioning = D1 (MetaData "TimePartitioning" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TimePartitioning'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tpExpirationMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_tpType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

timePartitioning :: TimePartitioning Source #

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

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

tpExpirationMs :: Lens' TimePartitioning (Maybe Int64) Source #

Optional
Number of milliseconds for which to keep the storage for a partition.

tpType :: Lens' TimePartitioning (Maybe Text) Source #

Required
The only type supported is DAY, which will generate one partition per day based on data loading time.

JobConfiguration

data JobConfiguration Source #

Instances

Eq JobConfiguration Source # 
Data JobConfiguration Source # 

Methods

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

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

toConstr :: JobConfiguration -> Constr #

dataTypeOf :: JobConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfiguration Source # 
Generic JobConfiguration Source # 
ToJSON JobConfiguration Source # 
FromJSON JobConfiguration Source # 
type Rep JobConfiguration Source # 

jobConfiguration :: JobConfiguration Source #

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

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

jcLoad :: Lens' JobConfiguration (Maybe JobConfigurationLoad) Source #

Pick one
Configures a load job.

jcQuery :: Lens' JobConfiguration (Maybe JobConfigurationQuery) Source #

Pick one
Configures a query job.

jcExtract :: Lens' JobConfiguration (Maybe JobConfigurationExtract) Source #

Pick one
Configures an extract job.

jcDryRun :: Lens' JobConfiguration (Maybe Bool) Source #

Optional
If set, don't actually run this job. A valid query will return a mostly empty response with some processing statistics, while an invalid query will return the same error it would if it wasn't a dry run. Behavior of non-query jobs is undefined.

Job

data Job Source #

Instances

Eq Job Source # 

Methods

(==) :: Job -> Job -> Bool #

(/=) :: Job -> Job -> Bool #

Data Job Source # 

Methods

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

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

toConstr :: Job -> Constr #

dataTypeOf :: Job -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Job Source # 

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job Source # 

Associated Types

type Rep Job :: * -> * #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

ToJSON Job Source # 
FromJSON Job Source # 
type Rep Job Source # 

job :: Job Source #

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

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

jJobReference :: Lens' Job (Maybe JobReference) Source #

Optional
Reference describing the unique-per-user name of the job.

jStatus :: Lens' Job (Maybe JobStatus) Source #

Output-only
The status of this job. Examine this value when polling an asynchronous job to see if the job is complete.

jEtag :: Lens' Job (Maybe Text) Source #

Output-only
A hash of this resource.

jUserEmail :: Lens' Job (Maybe Text) Source #

Output-only
Email address of the user who ran the job.

jKind :: Lens' Job Text Source #

Output-only
The type of the resource.

jSelfLink :: Lens' Job (Maybe Text) Source #

Output-only
A URL that can be used to access this resource again.

jId :: Lens' Job (Maybe Text) Source #

Output-only
Opaque ID field of the job

jStatistics :: Lens' Job (Maybe JobStatistics) Source #

Output-only
Information about the job, including starting time and ending time of the job.

jConfiguration :: Lens' Job (Maybe JobConfiguration) Source #

Required
Describes the job configuration.

TableDataInsertAllResponseInsertErrorsItem

data TableDataInsertAllResponseInsertErrorsItem Source #

Instances

Eq TableDataInsertAllResponseInsertErrorsItem Source # 
Data TableDataInsertAllResponseInsertErrorsItem Source # 

Methods

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

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

toConstr :: TableDataInsertAllResponseInsertErrorsItem -> Constr #

dataTypeOf :: TableDataInsertAllResponseInsertErrorsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAllResponseInsertErrorsItem Source # 
Generic TableDataInsertAllResponseInsertErrorsItem Source # 
ToJSON TableDataInsertAllResponseInsertErrorsItem Source # 
FromJSON TableDataInsertAllResponseInsertErrorsItem Source # 
type Rep TableDataInsertAllResponseInsertErrorsItem Source # 
type Rep TableDataInsertAllResponseInsertErrorsItem = D1 (MetaData "TableDataInsertAllResponseInsertErrorsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableDataInsertAllResponseInsertErrorsItem'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tdiarieiErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorProto]))) (S1 (MetaSel (Just Symbol "_tdiarieiIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))))))

tableDataInsertAllResponseInsertErrorsItem :: TableDataInsertAllResponseInsertErrorsItem Source #

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

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

tdiarieiErrors :: Lens' TableDataInsertAllResponseInsertErrorsItem [ErrorProto] Source #

Error information for the row indicated by the index property.

tdiarieiIndex :: Lens' TableDataInsertAllResponseInsertErrorsItem (Maybe Word32) Source #

The index of the row that error applies to.

JobConfigurationExtract

data JobConfigurationExtract Source #

Instances

Eq JobConfigurationExtract Source # 
Data JobConfigurationExtract Source # 

Methods

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

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

toConstr :: JobConfigurationExtract -> Constr #

dataTypeOf :: JobConfigurationExtract -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationExtract Source # 
Generic JobConfigurationExtract Source # 
ToJSON JobConfigurationExtract Source # 
FromJSON JobConfigurationExtract Source # 
type Rep JobConfigurationExtract Source # 
type Rep JobConfigurationExtract = D1 (MetaData "JobConfigurationExtract" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobConfigurationExtract'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jceDestinationFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jceSourceTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_jcePrintHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jceCompression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jceDestinationURIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_jceDestinationURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jceFieldDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

jobConfigurationExtract :: JobConfigurationExtract Source #

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

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

jceDestinationFormat :: Lens' JobConfigurationExtract (Maybe Text) Source #

Optional
The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV.

jceSourceTable :: Lens' JobConfigurationExtract (Maybe TableReference) Source #

Required
A reference to the table being exported.

jcePrintHeader :: Lens' JobConfigurationExtract Bool Source #

Optional
Whether to print out a header row in the results. Default is true.

jceCompression :: Lens' JobConfigurationExtract (Maybe Text) Source #

Optional
The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE.

jceDestinationURIs :: Lens' JobConfigurationExtract [Text] Source #

Pick one
A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.

jceDestinationURI :: Lens' JobConfigurationExtract (Maybe Text) Source #

Pick one
DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.

jceFieldDelimiter :: Lens' JobConfigurationExtract (Maybe Text) Source #

Optional
Delimiter to use between fields in the exported data. Default is ','

JobCancelResponse

data JobCancelResponse Source #

Instances

Eq JobCancelResponse Source # 
Data JobCancelResponse Source # 

Methods

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

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

toConstr :: JobCancelResponse -> Constr #

dataTypeOf :: JobCancelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobCancelResponse Source # 
Generic JobCancelResponse Source # 
ToJSON JobCancelResponse Source # 
FromJSON JobCancelResponse Source # 
type Rep JobCancelResponse Source # 
type Rep JobCancelResponse = D1 (MetaData "JobCancelResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobCancelResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jcrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_jcrJob") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Job)))))

jobCancelResponse :: JobCancelResponse Source #

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

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

jcrKind :: Lens' JobCancelResponse Text Source #

The resource type of the response.

jcrJob :: Lens' JobCancelResponse (Maybe Job) Source #

The final state of the job.

JSONObject

data JSONObject Source #

Represents a single JSON object.

See: jsonObject smart constructor.

Instances

Eq JSONObject Source # 
Data JSONObject Source # 

Methods

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

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

toConstr :: JSONObject -> Constr #

dataTypeOf :: JSONObject -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JSONObject Source # 
Generic JSONObject Source # 

Associated Types

type Rep JSONObject :: * -> * #

ToJSON JSONObject Source # 
FromJSON JSONObject Source # 
type Rep JSONObject Source # 
type Rep JSONObject = D1 (MetaData "JSONObject" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "JSONObject'" PrefixI True) (S1 (MetaSel (Just Symbol "_joAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

jsonObject Source #

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

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

JobConfigurationQuery

data JobConfigurationQuery Source #

Instances

Eq JobConfigurationQuery Source # 
Data JobConfigurationQuery Source # 

Methods

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

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

toConstr :: JobConfigurationQuery -> Constr #

dataTypeOf :: JobConfigurationQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationQuery Source # 
Generic JobConfigurationQuery Source # 
ToJSON JobConfigurationQuery Source # 
FromJSON JobConfigurationQuery Source # 
type Rep JobConfigurationQuery Source # 
type Rep JobConfigurationQuery = D1 (MetaData "JobConfigurationQuery" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobConfigurationQuery'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqDestinationTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqWriteDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jcqPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqUseQueryCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_jcqPreserveNulls") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqTableDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobConfigurationQueryTableDefinitions))) (S1 (MetaSel (Just Symbol "_jcqCreateDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqUserDefinedFunctionResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserDefinedFunctionResource]))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqAllowLargeResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jcqMaximumBillingTier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jcqFlattenResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqUseLegacySQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jcqDefaultDataSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetReference))))))))

jcqDestinationTable :: Lens' JobConfigurationQuery (Maybe TableReference) Source #

Optional
Describes the table where the query results should be stored. If not present, a new table will be created to store the results.

jcqWriteDisPosition :: Lens' JobConfigurationQuery (Maybe Text) Source #

Optional
Specifies the action that occurs if the destination table already exists. The following values are supported: WRITE_TRUNCATE: If the table already exists, BigQuery overwrites the table data. WRITE_APPEND: If the table already exists, BigQuery appends the data to the table. WRITE_EMPTY: If the table already exists and contains data, a 'duplicate' error is returned in the job result. The default value is WRITE_EMPTY. Each action is atomic and only occurs if BigQuery is able to complete the job successfully. Creation, truncation and append actions occur as one atomic update upon job completion.

jcqPriority :: Lens' JobConfigurationQuery (Maybe Text) Source #

Optional
Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.

jcqUseQueryCache :: Lens' JobConfigurationQuery Bool Source #

Optional
Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.

jcqPreserveNulls :: Lens' JobConfigurationQuery (Maybe Bool) Source #

Deprecated
This property is deprecated.

jcqTableDefinitions :: Lens' JobConfigurationQuery (Maybe JobConfigurationQueryTableDefinitions) Source #

Optional
If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

jcqCreateDisPosition :: Lens' JobConfigurationQuery (Maybe Text) Source #

Optional
Specifies whether the job is allowed to create new tables. The following values are supported: CREATE_IF_NEEDED: If the table does not exist, BigQuery creates the table. CREATE_NEVER: The table must already exist. If it does not, a 'notFound' error is returned in the job result. The default value is CREATE_IF_NEEDED. Creation, truncation and append actions occur as one atomic update upon job completion.

jcqUserDefinedFunctionResources :: Lens' JobConfigurationQuery [UserDefinedFunctionResource] Source #

Experimental
Describes user-defined function resources used in the query.

jcqAllowLargeResults :: Lens' JobConfigurationQuery (Maybe Bool) Source #

If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set.

jcqMaximumBillingTier :: Lens' JobConfigurationQuery Int32 Source #

Optional
Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge). If unspecified, this will be set to your project default.

jcqQuery :: Lens' JobConfigurationQuery (Maybe Text) Source #

Required
BigQuery SQL query to execute.

jcqFlattenResults :: Lens' JobConfigurationQuery Bool Source #

Optional
Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.

jcqUseLegacySQL :: Lens' JobConfigurationQuery (Maybe Bool) Source #

Experimental
Specifies whether to use BigQuery's legacy SQL dialect for this query. The default value is true. If set to false, the query will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ When useLegacySql is set to false, the values of allowLargeResults and flattenResults are ignored; query will be run as if allowLargeResults is true and flattenResults is false.

jcqDefaultDataSet :: Lens' JobConfigurationQuery (Maybe DataSetReference) Source #

Optional
Specifies the default dataset to use for unqualified table names in the query.

GoogleSheetsOptions

data GoogleSheetsOptions Source #

Instances

Eq GoogleSheetsOptions Source # 
Data GoogleSheetsOptions Source # 

Methods

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

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

toConstr :: GoogleSheetsOptions -> Constr #

dataTypeOf :: GoogleSheetsOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleSheetsOptions Source # 
Generic GoogleSheetsOptions Source # 
ToJSON GoogleSheetsOptions Source # 
FromJSON GoogleSheetsOptions Source # 
type Rep GoogleSheetsOptions Source # 
type Rep GoogleSheetsOptions = D1 (MetaData "GoogleSheetsOptions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "GoogleSheetsOptions'" PrefixI True) (S1 (MetaSel (Just Symbol "_gsoSkipLeadingRows") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Textual Int64)))))

googleSheetsOptions :: GoogleSheetsOptions Source #

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

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

gsoSkipLeadingRows :: Lens' GoogleSheetsOptions (Maybe Int64) Source #

Optional
The number of rows at the top of a sheet that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows that should be skipped. When autodetect is on, behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.

TableDataInsertAllRequestRowsItem

data TableDataInsertAllRequestRowsItem Source #

Instances

Eq TableDataInsertAllRequestRowsItem Source # 
Data TableDataInsertAllRequestRowsItem Source # 

Methods

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

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

toConstr :: TableDataInsertAllRequestRowsItem -> Constr #

dataTypeOf :: TableDataInsertAllRequestRowsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAllRequestRowsItem Source # 
Generic TableDataInsertAllRequestRowsItem Source # 
ToJSON TableDataInsertAllRequestRowsItem Source # 
FromJSON TableDataInsertAllRequestRowsItem Source # 
type Rep TableDataInsertAllRequestRowsItem Source # 
type Rep TableDataInsertAllRequestRowsItem = D1 (MetaData "TableDataInsertAllRequestRowsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableDataInsertAllRequestRowsItem'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tdiarriJSON") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONObject))) (S1 (MetaSel (Just Symbol "_tdiarriInsertId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

tableDataInsertAllRequestRowsItem :: TableDataInsertAllRequestRowsItem Source #

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

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

tdiarriJSON :: Lens' TableDataInsertAllRequestRowsItem (Maybe JSONObject) Source #

Required
A JSON object that contains a row of data. The object's properties and values must match the destination table's schema.

tdiarriInsertId :: Lens' TableDataInsertAllRequestRowsItem (Maybe Text) Source #

Optional
A unique ID for each row. BigQuery uses this property to detect duplicate insertion requests on a best-effort basis.

JobList

data JobList Source #

Instances

Eq JobList Source # 

Methods

(==) :: JobList -> JobList -> Bool #

(/=) :: JobList -> JobList -> Bool #

Data JobList Source # 

Methods

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

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

toConstr :: JobList -> Constr #

dataTypeOf :: JobList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobList Source # 
Generic JobList Source # 

Associated Types

type Rep JobList :: * -> * #

Methods

from :: JobList -> Rep JobList x #

to :: Rep JobList x -> JobList #

ToJSON JobList Source # 
FromJSON JobList Source # 
type Rep JobList Source # 
type Rep JobList = D1 (MetaData "JobList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jlEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_jlJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JobListJobsItem]))))))

jobList :: JobList Source #

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

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

jlEtag :: Lens' JobList (Maybe Text) Source #

A hash of this page of results.

jlNextPageToken :: Lens' JobList (Maybe Text) Source #

A token to request the next page of results.

jlKind :: Lens' JobList Text Source #

The resource type of the response.

jlJobs :: Lens' JobList [JobListJobsItem] Source #

List of jobs that were requested.

JobConfigurationQueryTableDefinitions

data JobConfigurationQueryTableDefinitions Source #

Optional
If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

See: jobConfigurationQueryTableDefinitions smart constructor.

Instances

Eq JobConfigurationQueryTableDefinitions Source # 
Data JobConfigurationQueryTableDefinitions Source # 

Methods

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

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

toConstr :: JobConfigurationQueryTableDefinitions -> Constr #

dataTypeOf :: JobConfigurationQueryTableDefinitions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationQueryTableDefinitions Source # 
Generic JobConfigurationQueryTableDefinitions Source # 
ToJSON JobConfigurationQueryTableDefinitions Source # 
FromJSON JobConfigurationQueryTableDefinitions Source # 
type Rep JobConfigurationQueryTableDefinitions Source # 
type Rep JobConfigurationQueryTableDefinitions = D1 (MetaData "JobConfigurationQueryTableDefinitions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "JobConfigurationQueryTableDefinitions'" PrefixI True) (S1 (MetaSel (Just Symbol "_jcqtdAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text ExternalDataConfiguration))))

jobConfigurationQueryTableDefinitions Source #

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

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

TableCell

data TableCell Source #

Instances

Eq TableCell Source # 
Data TableCell Source # 

Methods

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

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

toConstr :: TableCell -> Constr #

dataTypeOf :: TableCell -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableCell Source # 
Generic TableCell Source # 

Associated Types

type Rep TableCell :: * -> * #

ToJSON TableCell Source # 
FromJSON TableCell Source # 
type Rep TableCell Source # 
type Rep TableCell = D1 (MetaData "TableCell" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" True) (C1 (MetaCons "TableCell'" PrefixI True) (S1 (MetaSel (Just Symbol "_tcV") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe JSONValue))))

tableCell :: TableCell Source #

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

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

ViewDefinition

data ViewDefinition Source #

Instances

Eq ViewDefinition Source # 
Data ViewDefinition Source # 

Methods

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

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

toConstr :: ViewDefinition -> Constr #

dataTypeOf :: ViewDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ViewDefinition Source # 
Generic ViewDefinition Source # 

Associated Types

type Rep ViewDefinition :: * -> * #

ToJSON ViewDefinition Source # 
FromJSON ViewDefinition Source # 
type Rep ViewDefinition Source # 
type Rep ViewDefinition = D1 (MetaData "ViewDefinition" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ViewDefinition'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vdUserDefinedFunctionResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserDefinedFunctionResource]))) (S1 (MetaSel (Just Symbol "_vdQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

viewDefinition :: ViewDefinition Source #

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

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

vdUserDefinedFunctionResources :: Lens' ViewDefinition [UserDefinedFunctionResource] Source #

Experimental
Describes user-defined function resources used in the query.

vdQuery :: Lens' ViewDefinition (Maybe Text) Source #

Required
A query that BigQuery executes when the view is referenced.

UserDefinedFunctionResource

data UserDefinedFunctionResource Source #

Instances

Eq UserDefinedFunctionResource Source # 
Data UserDefinedFunctionResource Source # 

Methods

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

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

toConstr :: UserDefinedFunctionResource -> Constr #

dataTypeOf :: UserDefinedFunctionResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserDefinedFunctionResource Source # 
Generic UserDefinedFunctionResource Source # 
ToJSON UserDefinedFunctionResource Source # 
FromJSON UserDefinedFunctionResource Source # 
type Rep UserDefinedFunctionResource Source # 
type Rep UserDefinedFunctionResource = D1 (MetaData "UserDefinedFunctionResource" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "UserDefinedFunctionResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udfrResourceURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_udfrInlineCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

userDefinedFunctionResource :: UserDefinedFunctionResource Source #

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

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

udfrResourceURI :: Lens' UserDefinedFunctionResource (Maybe Text) Source #

Pick one
A code resource to load from a Google Cloud Storage URI (gs://bucket/path).

udfrInlineCode :: Lens' UserDefinedFunctionResource (Maybe Text) Source #

Pick one
An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.

JobStatistics2

data JobStatistics2 Source #

Instances

Eq JobStatistics2 Source # 
Data JobStatistics2 Source # 

Methods

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

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

toConstr :: JobStatistics2 -> Constr #

dataTypeOf :: JobStatistics2 -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatistics2 Source # 
Generic JobStatistics2 Source # 

Associated Types

type Rep JobStatistics2 :: * -> * #

ToJSON JobStatistics2 Source # 
FromJSON JobStatistics2 Source # 
type Rep JobStatistics2 Source # 

jobStatistics2 :: JobStatistics2 Source #

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

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

jSchema :: Lens' JobStatistics2 (Maybe TableSchema) Source #

Output-only, Experimental
The schema of the results. Present only for successful dry run of non-legacy SQL queries.

jTotalBytesProcessed :: Lens' JobStatistics2 (Maybe Int64) Source #

Output-only
Total bytes processed for the job.

jBillingTier :: Lens' JobStatistics2 (Maybe Int32) Source #

Output-only
Billing tier for the job.

jReferencedTables :: Lens' JobStatistics2 [TableReference] Source #

Output-only, Experimental
Referenced tables for the job. Queries that reference more than 50 tables will not have a complete list.

jQueryPlan :: Lens' JobStatistics2 [ExplainQueryStage] Source #

Output-only, Experimental
Describes execution plan for the query as a list of stages.

jCacheHit :: Lens' JobStatistics2 (Maybe Bool) Source #

Output-only
Whether the query result was fetched from the query cache.

jTotalBytesBilled :: Lens' JobStatistics2 (Maybe Int64) Source #

Output-only
Total bytes billed for the job.

JobStatus

data JobStatus Source #

Instances

Eq JobStatus Source # 
Data JobStatus Source # 

Methods

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

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

toConstr :: JobStatus -> Constr #

dataTypeOf :: JobStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatus Source # 
Generic JobStatus Source # 

Associated Types

type Rep JobStatus :: * -> * #

ToJSON JobStatus Source # 
FromJSON JobStatus Source # 
type Rep JobStatus Source # 
type Rep JobStatus = D1 (MetaData "JobStatus" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jsErrorResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorProto))) (S1 (MetaSel (Just Symbol "_jsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorProto]))))))

jobStatus :: JobStatus Source #

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

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

jsState :: Lens' JobStatus (Maybe Text) Source #

Output-only
Running state of the job.

jsErrorResult :: Lens' JobStatus (Maybe ErrorProto) Source #

Output-only
Final error result of the job. If present, indicates that the job has completed and was unsuccessful.

jsErrors :: Lens' JobStatus [ErrorProto] Source #

Output-only
All errors encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.

DataSetAccessItem

data DataSetAccessItem Source #

Instances

Eq DataSetAccessItem Source # 
Data DataSetAccessItem Source # 

Methods

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

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

toConstr :: DataSetAccessItem -> Constr #

dataTypeOf :: DataSetAccessItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetAccessItem Source # 
Generic DataSetAccessItem Source # 
ToJSON DataSetAccessItem Source # 
FromJSON DataSetAccessItem Source # 
type Rep DataSetAccessItem Source # 
type Rep DataSetAccessItem = D1 (MetaData "DataSetAccessItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "DataSetAccessItem'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiGroupByEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsaiSpecialGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_dsaiUserByEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

dataSetAccessItem :: DataSetAccessItem Source #

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

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

dsaiGroupByEmail :: Lens' DataSetAccessItem (Maybe Text) Source #

Pick one
An email address of a Google Group to grant access to.

dsaiDomain :: Lens' DataSetAccessItem (Maybe Text) Source #

Pick one
A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com".

dsaiSpecialGroup :: Lens' DataSetAccessItem (Maybe Text) Source #

Pick one
A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users.

dsaiRole :: Lens' DataSetAccessItem (Maybe Text) Source #

Required
Describes the rights granted to the user specified by the other member of the access object. The following string values are supported: READER, WRITER, OWNER.

dsaiView :: Lens' DataSetAccessItem (Maybe TableReference) Source #

Pick one
A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.

dsaiUserByEmail :: Lens' DataSetAccessItem (Maybe Text) Source #

Pick one
An email address of a user to grant access to. For example: fred'example.com.

TableDataInsertAllResponse

data TableDataInsertAllResponse Source #

Instances

Eq TableDataInsertAllResponse Source # 
Data TableDataInsertAllResponse Source # 

Methods

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

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

toConstr :: TableDataInsertAllResponse -> Constr #

dataTypeOf :: TableDataInsertAllResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAllResponse Source # 
Generic TableDataInsertAllResponse Source # 
ToJSON TableDataInsertAllResponse Source # 
FromJSON TableDataInsertAllResponse Source # 
type Rep TableDataInsertAllResponse Source # 
type Rep TableDataInsertAllResponse = D1 (MetaData "TableDataInsertAllResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "TableDataInsertAllResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tInsertErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableDataInsertAllResponseInsertErrorsItem])))))

tableDataInsertAllResponse :: TableDataInsertAllResponse Source #

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

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

tKind :: Lens' TableDataInsertAllResponse Text Source #

The resource type of the response.

Table

data Table Source #

Instances

Eq Table Source # 

Methods

(==) :: Table -> Table -> Bool #

(/=) :: Table -> Table -> Bool #

Data Table Source # 

Methods

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

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

toConstr :: Table -> Constr #

dataTypeOf :: Table -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Table Source # 

Methods

showsPrec :: Int -> Table -> ShowS #

show :: Table -> String #

showList :: [Table] -> ShowS #

Generic Table Source # 

Associated Types

type Rep Table :: * -> * #

Methods

from :: Table -> Rep Table x #

to :: Rep Table x -> Table #

ToJSON Table Source # 
FromJSON Table Source # 
type Rep Table Source # 
type Rep Table = D1 (MetaData "Table" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "Table'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_tabEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabNumBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabExternalDataConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExternalDataConfiguration))) (S1 (MetaSel (Just Symbol "_tabLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabTableReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_tabFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tabLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_tabSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabStreamingBuffer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Streamingbuffer))) (S1 (MetaSel (Just Symbol "_tabSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabTimePartitioning") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimePartitioning))) ((:*:) (S1 (MetaSel (Just Symbol "_tabNumRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_tabView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ViewDefinition)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tabType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabNumLongTermBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabExpirationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_tabDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

tabCreationTime :: Lens' Table (Maybe Int64) Source #

Output-only
The time when this table was created, in milliseconds since the epoch.

tabEtag :: Lens' Table (Maybe Text) Source #

Output-only
A hash of this resource.

tabNumBytes :: Lens' Table (Maybe Int64) Source #

Output-only
The size of this table in bytes, excluding any data in the streaming buffer.

tabExternalDataConfiguration :: Lens' Table (Maybe ExternalDataConfiguration) Source #

Optional
Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

tabLocation :: Lens' Table (Maybe Text) Source #

Output-only
The geographic location where the table resides. This value is inherited from the dataset.

tabTableReference :: Lens' Table (Maybe TableReference) Source #

Required
Reference describing the ID of this table.

tabFriendlyName :: Lens' Table (Maybe Text) Source #

Optional
A descriptive name for this table.

tabKind :: Lens' Table Text Source #

Output-only
The type of the resource.

tabLastModifiedTime :: Lens' Table (Maybe Word64) Source #

Output-only
The time when this table was last modified, in milliseconds since the epoch.

tabSchema :: Lens' Table (Maybe TableSchema) Source #

Optional
Describes the schema of this table.

tabStreamingBuffer :: Lens' Table (Maybe Streamingbuffer) Source #

Output-only
Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer.

tabSelfLink :: Lens' Table (Maybe Text) Source #

Output-only
A URL that can be used to access this resource again.

tabTimePartitioning :: Lens' Table (Maybe TimePartitioning) Source #

Experimental
If specified, configures time-based partitioning for this table.

tabNumRows :: Lens' Table (Maybe Word64) Source #

Output-only
The number of rows of data in this table, excluding any data in the streaming buffer.

tabView :: Lens' Table (Maybe ViewDefinition) Source #

Optional
The view definition.

tabId :: Lens' Table (Maybe Text) Source #

Output-only
An opaque ID uniquely identifying the table.

tabType :: Lens' Table (Maybe Text) Source #

Output-only
Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.

tabNumLongTermBytes :: Lens' Table (Maybe Int64) Source #

Output-only
The number of bytes in the table that are considered "long-term storage".

tabExpirationTime :: Lens' Table (Maybe Int64) Source #

Optional
The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.

tabDescription :: Lens' Table (Maybe Text) Source #

Optional
A user-friendly description of this table.

ErrorProto

data ErrorProto Source #

Instances

Eq ErrorProto Source # 
Data ErrorProto Source # 

Methods

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

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

toConstr :: ErrorProto -> Constr #

dataTypeOf :: ErrorProto -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorProto Source # 
Generic ErrorProto Source # 

Associated Types

type Rep ErrorProto :: * -> * #

ToJSON ErrorProto Source # 
FromJSON ErrorProto Source # 
type Rep ErrorProto Source # 
type Rep ErrorProto = D1 (MetaData "ErrorProto" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "ErrorProto'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_epDebugInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_epLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_epReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_epMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

errorProto :: ErrorProto Source #

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

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

epDebugInfo :: Lens' ErrorProto (Maybe Text) Source #

Debugging information. This property is internal to Google and should not be used.

epLocation :: Lens' ErrorProto (Maybe Text) Source #

Specifies where the error occurred, if present.

epReason :: Lens' ErrorProto (Maybe Text) Source #

A short error code that summarizes the error.

epMessage :: Lens' ErrorProto (Maybe Text) Source #

A human-readable description of the error.

CSVOptions

data CSVOptions Source #

Instances

Eq CSVOptions Source # 
Data CSVOptions Source # 

Methods

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

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

toConstr :: CSVOptions -> Constr #

dataTypeOf :: CSVOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CSVOptions Source # 
Generic CSVOptions Source # 

Associated Types

type Rep CSVOptions :: * -> * #

ToJSON CSVOptions Source # 
FromJSON CSVOptions Source # 
type Rep CSVOptions Source # 
type Rep CSVOptions = D1 (MetaData "CSVOptions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "CSVOptions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_coSkipLeadingRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_coAllowJaggedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_coAllowQuotedNewlines") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_coQuote") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_coEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_coFieldDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

csvOptions :: CSVOptions Source #

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

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

coSkipLeadingRows :: Lens' CSVOptions (Maybe Int64) Source #

Optional
The number of rows at the top of a CSV file that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows in the file that should be skipped.

coAllowJaggedRows :: Lens' CSVOptions (Maybe Bool) Source #

Optional
Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.

coAllowQuotedNewlines :: Lens' CSVOptions (Maybe Bool) Source #

Optional
Indicates if BigQuery should allow quoted data sections that contain newline characters in a CSV file. The default value is false.

coQuote :: Lens' CSVOptions Text Source #

Optional
The value that is used to quote data sections in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. The default value is a double-quote ('"'). If your data does not contain quoted sections, set the property value to an empty string. If your data contains quoted newline characters, you must also set the allowQuotedNewlines property to true.

coEncoding :: Lens' CSVOptions (Maybe Text) Source #

Optional
The character encoding of the data. The supported values are UTF-8 or ISO-8859-1. The default value is UTF-8. BigQuery decodes the data after the raw, binary data has been split using the values of the quote and fieldDelimiter properties.

coFieldDelimiter :: Lens' CSVOptions (Maybe Text) Source #

Optional
The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').

JobStatistics3

data JobStatistics3 Source #

Instances

Eq JobStatistics3 Source # 
Data JobStatistics3 Source # 

Methods

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

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

toConstr :: JobStatistics3 -> Constr #

dataTypeOf :: JobStatistics3 -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatistics3 Source # 
Generic JobStatistics3 Source # 

Associated Types

type Rep JobStatistics3 :: * -> * #

ToJSON JobStatistics3 Source # 
FromJSON JobStatistics3 Source # 
type Rep JobStatistics3 Source # 
type Rep JobStatistics3 = D1 (MetaData "JobStatistics3" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.0-431RTY1Hm1TEFAs2cp0yLZ" False) (C1 (MetaCons "JobStatistics3'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jsInputFiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_jsOutputRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) ((:*:) (S1 (MetaSel (Just Symbol "_jsOutputBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_jsInputFileBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))

jobStatistics3 :: JobStatistics3 Source #

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

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

jsInputFiles :: Lens' JobStatistics3 (Maybe Int64) Source #

Output-only
Number of source files in a load job.

jsOutputRows :: Lens' JobStatistics3 (Maybe Int64) Source #

Output-only
Number of rows imported in a load job. Note that while an import job is in the running state, this value may change.

jsOutputBytes :: Lens' JobStatistics3 (Maybe Int64) Source #

Output-only
Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change.

jsInputFileBytes :: Lens' JobStatistics3 (Maybe Int64) Source #

Output-only
Number of bytes of source data in a load job.

QueryResponse

data QueryResponse Source #

Instances

Eq QueryResponse Source # 
Data QueryResponse Source # 

Methods

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

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

toConstr :: QueryResponse -> Constr #

dataTypeOf :: QueryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryResponse Source # 
Generic QueryResponse Source # 

Associated Types

type Rep QueryResponse :: * -> * #

ToJSON QueryResponse Source # 
FromJSON QueryResponse Source # 
type Rep QueryResponse Source # 

queryResponse :: QueryResponse Source #

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

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

qJobReference :: Lens' QueryResponse (Maybe JobReference) Source #

Reference to the Job that was created to run the query. This field will be present even if the original request timed out, in which case GetQueryResults can be used to read the results once the query has completed. Since this API only returns the first page of results, subsequent pages can be fetched via the same mechanism (GetQueryResults).

qKind :: Lens' QueryResponse Text Source #

The resource type.

qSchema :: Lens' QueryResponse (Maybe TableSchema) Source #

The schema of the results. Present only when the query completes successfully.

qTotalBytesProcessed :: Lens' QueryResponse (Maybe Int64) Source #

The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run.

qRows :: Lens' QueryResponse [TableRow] Source #

An object with as many results as can be contained within the maximum permitted reply size. To get any additional rows, you can call GetQueryResults and specify the jobReference returned above.

qPageToken :: Lens' QueryResponse (Maybe Text) Source #

A token used for paging results.

qTotalRows :: Lens' QueryResponse (Maybe Word64) Source #

The total number of rows in the complete query result set, which can be more than the number of rows in this single page of results.

qErrors :: Lens' QueryResponse [ErrorProto] Source #

Output-only
All errors and warnings encountered during the running of the job. Errors here do not necessarily mean that the job has completed or was unsuccessful.

qJobComplete :: Lens' QueryResponse (Maybe Bool) Source #

Whether the query has completed or not. If rows or totalRows are present, this will always be true. If this is false, totalRows will not be available.

qCacheHit :: Lens' QueryResponse (Maybe Bool) Source #

Whether the query result was fetched from the query cache.