gogol-bigquery-0.1.1: 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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))) (S1 (MetaSel (Just Symbol "_dsldsiLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetListDataSetsItemLabels)))))))

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.

dsldsiLabels :: Lens' DataSetListDataSetsItem (Maybe DataSetListDataSetsItemLabels) Source #

Experimental
The labels associated with this dataset. You can use these to organize and group your datasets.

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.

QueryParameterTypeStructTypesItem

data QueryParameterTypeStructTypesItem Source #

Instances

Eq QueryParameterTypeStructTypesItem Source # 
Data QueryParameterTypeStructTypesItem Source # 

Methods

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

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

toConstr :: QueryParameterTypeStructTypesItem -> Constr #

dataTypeOf :: QueryParameterTypeStructTypesItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryParameterTypeStructTypesItem Source # 
Generic QueryParameterTypeStructTypesItem Source # 
ToJSON QueryParameterTypeStructTypesItem Source # 
FromJSON QueryParameterTypeStructTypesItem Source # 
type Rep QueryParameterTypeStructTypesItem Source # 
type Rep QueryParameterTypeStructTypesItem = D1 (MetaData "QueryParameterTypeStructTypesItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "QueryParameterTypeStructTypesItem'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qptstiName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_qptstiType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryParameterType))) (S1 (MetaSel (Just Symbol "_qptstiDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

queryParameterTypeStructTypesItem :: QueryParameterTypeStructTypesItem Source #

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

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

qptstiDescription :: Lens' QueryParameterTypeStructTypesItem (Maybe Text) Source #

Optional
Human-oriented description of the field.

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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 Default 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.

JobConfigurationLabels

data JobConfigurationLabels Source #

Experimental
The labels associated with this job. You can use these to organize and group your jobs. Label keys and values can be no longer than 63 characters, can only contain letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter and must be unique within a dataset. Both keys and values are additionally constrained to be <= 128 bytes in size.

See: jobConfigurationLabels smart constructor.

Instances

Eq JobConfigurationLabels Source # 
Data JobConfigurationLabels Source # 

Methods

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

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

toConstr :: JobConfigurationLabels -> Constr #

dataTypeOf :: JobConfigurationLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationLabels Source # 
Generic JobConfigurationLabels Source # 
ToJSON JobConfigurationLabels Source # 
FromJSON JobConfigurationLabels Source # 
type Rep JobConfigurationLabels Source # 
type Rep JobConfigurationLabels = D1 (MetaData "JobConfigurationLabels" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" True) (C1 (MetaCons "JobConfigurationLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_jclAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

jobConfigurationLabels Source #

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

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

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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 "_dsLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetLabels)))) ((:*:) (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.

dsLabels :: Lens' DataSet (Maybe DataSetLabels) Source #

Experimental
The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See Labeling Datasets for more information.

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.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "BigtableOptions'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_boReadRowkeyAsString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (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:

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

Optional
If field is true, then the rowkey column families will be read and converted to string. Otherwise they are read with BYTES type values and users need to manually cast them with CAST if necessary. The default value is false.

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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, DATE, TIME, DATETIME, 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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 "_gqrrNumDmlAffectedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (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))))))))

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.

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

Output-only, Experimental
The number of rows affected by a DML statement. Present only for DML statements INSERT, UPDATE or DELETE.

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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 # 
type Rep QueryRequest = D1 (MetaData "QueryRequest" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "QueryRequest'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_qrUseQueryCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_qrPreserveNulls") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_qrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_qrQueryParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueryParameter]))) (S1 (MetaSel (Just Symbol "_qrQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_qrParameterMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_qrTimeoutMs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_qrUseLegacySQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) (S1 (MetaSel (Just Symbol "_qrDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_qrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) (S1 (MetaSel (Just Symbol "_qrDefaultDataSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetReference))))))))

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.

qrQueryParameters :: Lens' QueryRequest [QueryParameter] Source #

Experimental
Query parameters for Standard SQL queries.

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

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

Experimental
Standard SQL only. Whether to use positional (?) or named ('myparam) query parameters in this query.

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 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.1-KRCXCCvs7bGAaYeYFu3wzh" False) ((:+:) (C1 (MetaCons "Full" PrefixI False) U1) (C1 (MetaCons "Minimal" PrefixI False) U1))

QueryParameter

data QueryParameter Source #

Instances

Eq QueryParameter Source # 
Data QueryParameter Source # 

Methods

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

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

toConstr :: QueryParameter -> Constr #

dataTypeOf :: QueryParameter -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryParameter Source # 
Generic QueryParameter Source # 

Associated Types

type Rep QueryParameter :: * -> * #

ToJSON QueryParameter Source # 
FromJSON QueryParameter Source # 
type Rep QueryParameter Source # 
type Rep QueryParameter = D1 (MetaData "QueryParameter" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.1.1-KRCXCCvs7bGAaYeYFu3wzh" False) (C1 (MetaCons "QueryParameter'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qpParameterValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryParameterValue))) ((:*:) (S1 (MetaSel (Just Symbol "_qpParameterType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryParameterType))) (S1 (MetaSel (Just Symbol "_qpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

queryParameter :: QueryParameter Source #

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

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

qpParameterValue :: Lens' QueryParameter (Maybe QueryParameterValue) Source #

Required
The value of this parameter.

qpParameterType :: Lens' QueryParameter (Maybe QueryParameterType) Source #

Required
The type of this parameter.

qpName :: Lens' QueryParameter (Maybe Text) Source #

Optional
If unset, this is a positional parameter. Otherwise, should be unique within a query.

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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 "_jclSchemaUpdateOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (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

jclSchemaUpdateOptions :: Lens' JobConfigurationLoad [Text] Source #

Experimental
Allows the schema of the desitination table to be updated as a side effect of the load job. Schema update options are supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to nullable.

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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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 Default 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.1-KRCXCCvs7bGAaYeYFu3wzh" 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.