gogol-bigquery-0.3.0: Google BigQuery SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.BigQuery.Types

Contents

Description

 

Synopsis

Service Configuration

bigQueryService :: ServiceConfig #

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"] #

View your data across Google Cloud Platform services

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

View and manage your data across Google Cloud Platform services

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

View your data in Google Cloud Storage

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

Insert data into Google BigQuery

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

Manage your data in Google Cloud Storage

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

View and manage your data in Google BigQuery

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

Manage your data and permissions in Google Cloud Storage

JobReference

data JobReference #

Instances

Eq JobReference # 
Data JobReference # 

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 # 
Generic JobReference # 

Associated Types

type Rep JobReference :: * -> * #

ToJSON JobReference # 
FromJSON JobReference # 
type Rep JobReference # 
type Rep JobReference = D1 (MetaData "JobReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

Required
The ID of the project containing this job.

TableList

data TableList #

Instances

Eq TableList # 
Data TableList # 

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 # 
Generic TableList # 

Associated Types

type Rep TableList :: * -> * #

ToJSON TableList # 
FromJSON TableList # 
type Rep TableList # 

tableList :: TableList #

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

The total number of tables in the dataset.

tlEtag :: Lens' TableList (Maybe Text) #

A hash of this page of results.

tlNextPageToken :: Lens' TableList (Maybe Text) #

A token to request the next page of results.

tlKind :: Lens' TableList Text #

The type of list.

tlTables :: Lens' TableList [TableListTablesItem] #

Tables in the requested dataset.

DataSetListDataSetsItem

data DataSetListDataSetsItem #

Instances

Eq DataSetListDataSetsItem # 
Data DataSetListDataSetsItem # 

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 # 
Generic DataSetListDataSetsItem # 
ToJSON DataSetListDataSetsItem # 
FromJSON DataSetListDataSetsItem # 
type Rep DataSetListDataSetsItem # 
type Rep DataSetListDataSetsItem = D1 (MetaData "DataSetListDataSetsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

A descriptive name for the dataset, if one exists.

dsldsiKind :: Lens' DataSetListDataSetsItem Text #

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

dsldsiDataSetReference :: Lens' DataSetListDataSetsItem (Maybe DataSetReference) #

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

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

dsldsiLabels :: Lens' DataSetListDataSetsItem (Maybe DataSetListDataSetsItemLabels) #

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

TableDataList

data TableDataList #

Instances

Eq TableDataList # 
Data TableDataList # 

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 # 
Generic TableDataList # 

Associated Types

type Rep TableDataList :: * -> * #

ToJSON TableDataList # 
FromJSON TableDataList # 
type Rep TableDataList # 
type Rep TableDataList = D1 (MetaData "TableDataList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

A hash of this page of results.

tdlKind :: Lens' TableDataList Text #

The resource type of the response.

tdlRows :: Lens' TableDataList [TableRow] #

Rows of results.

tdlPageToken :: Lens' TableDataList (Maybe Text) #

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

The total number of rows in the complete table.

JobConfigurationTableCopy

data JobConfigurationTableCopy #

Instances

Eq JobConfigurationTableCopy # 
Data JobConfigurationTableCopy # 

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 # 
Generic JobConfigurationTableCopy # 
ToJSON JobConfigurationTableCopy # 
FromJSON JobConfigurationTableCopy # 
type Rep JobConfigurationTableCopy # 
type Rep JobConfigurationTableCopy = D1 (MetaData "JobConfigurationTableCopy" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

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 #

Instances

Eq TableListTablesItem # 
Data TableListTablesItem # 

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 # 
Generic TableListTablesItem # 
ToJSON TableListTablesItem # 
FromJSON TableListTablesItem # 
type Rep TableListTablesItem # 

tableListTablesItem :: TableListTablesItem #

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

A reference uniquely identifying the table.

tltiFriendlyName :: Lens' TableListTablesItem (Maybe Text) #

The user-friendly name for this table.

tltiKind :: Lens' TableListTablesItem Text #

The resource type.

tltiId :: Lens' TableListTablesItem (Maybe Text) #

An opaque ID of the table

tltiLabels :: Lens' TableListTablesItem (Maybe TableListTablesItemLabels) #

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

tltiType :: Lens' TableListTablesItem (Maybe Text) #

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

TableSchema

data TableSchema #

Instances

Eq TableSchema # 
Data TableSchema # 

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 # 
Generic TableSchema # 

Associated Types

type Rep TableSchema :: * -> * #

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

tableSchema :: TableSchema #

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

Describes the fields in a table.

ProjectList

data ProjectList #

Instances

Eq ProjectList # 
Data ProjectList # 

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 # 
Generic ProjectList # 

Associated Types

type Rep ProjectList :: * -> * #

ToJSON ProjectList # 
FromJSON ProjectList # 
type Rep ProjectList # 
type Rep ProjectList = D1 (MetaData "ProjectList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

The total number of projects in the list.

plEtag :: Lens' ProjectList (Maybe Text) #

A hash of the page of results

plNextPageToken :: Lens' ProjectList (Maybe Text) #

A token to request the next page of results.

plKind :: Lens' ProjectList Text #

The type of list.

plProjects :: Lens' ProjectList [ProjectListProjectsItem] #

Projects to which you have at least READ access.

ExplainQueryStep

data ExplainQueryStep #

Instances

Eq ExplainQueryStep # 
Data ExplainQueryStep # 

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 # 
Generic ExplainQueryStep # 
ToJSON ExplainQueryStep # 
FromJSON ExplainQueryStep # 
type Rep ExplainQueryStep # 
type Rep ExplainQueryStep = D1 (MetaData "ExplainQueryStep" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

Human-readable stage descriptions.

eqsKind :: Lens' ExplainQueryStep (Maybe Text) #

Machine-readable operation type.

QueryParameterTypeStructTypesItem

data QueryParameterTypeStructTypesItem #

Instances

Eq QueryParameterTypeStructTypesItem # 
Data QueryParameterTypeStructTypesItem # 

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 # 
Generic QueryParameterTypeStructTypesItem # 
ToJSON QueryParameterTypeStructTypesItem # 
FromJSON QueryParameterTypeStructTypesItem # 
type Rep QueryParameterTypeStructTypesItem # 
type Rep QueryParameterTypeStructTypesItem = D1 (MetaData "QueryParameterTypeStructTypesItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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:

qptstiName :: Lens' QueryParameterTypeStructTypesItem (Maybe Text) #

Optional
The name of this field.

qptstiDescription :: Lens' QueryParameterTypeStructTypesItem (Maybe Text) #

Optional
Human-oriented description of the field.

BigtableColumnFamily

data BigtableColumnFamily #

Instances

Eq BigtableColumnFamily # 
Data BigtableColumnFamily # 

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 # 
Generic BigtableColumnFamily # 
ToJSON BigtableColumnFamily # 
FromJSON BigtableColumnFamily # 
type Rep BigtableColumnFamily # 
type Rep BigtableColumnFamily = D1 (MetaData "BigtableColumnFamily" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

Identifier of the column family.

bcfColumns :: Lens' BigtableColumnFamily [BigtableColumn] #

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

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

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

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 #

Instances

Eq JobStatistics # 
Data JobStatistics # 

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 # 
Generic JobStatistics # 

Associated Types

type Rep JobStatistics :: * -> * #

ToJSON JobStatistics # 
FromJSON JobStatistics # 
type Rep JobStatistics # 

jobStatistics :: JobStatistics #

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

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

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

Output-only
Statistics for a load job.

jsTotalBytesProcessed :: Lens' JobStatistics (Maybe Int64) #

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

jsEndTime :: Lens' JobStatistics (Maybe Int64) #

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

Output-only
Statistics for a query job.

jsExtract :: Lens' JobStatistics (Maybe JobStatistics4) #

Output-only
Statistics for an extract job.

JobConfigurationLabels

data JobConfigurationLabels #

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 # 
Data JobConfigurationLabels # 

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 # 
Generic JobConfigurationLabels # 
ToJSON JobConfigurationLabels # 
FromJSON JobConfigurationLabels # 
type Rep JobConfigurationLabels # 
type Rep JobConfigurationLabels = D1 (MetaData "JobConfigurationLabels" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "JobConfigurationLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_jclAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

jobConfigurationLabels #

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 #

Instances

Eq DataSet # 

Methods

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

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

Data DataSet # 

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 # 
Generic DataSet # 

Associated Types

type Rep DataSet :: * -> * #

Methods

from :: DataSet -> Rep DataSet x #

to :: Rep DataSet x -> DataSet #

ToJSON DataSet # 
FromJSON DataSet # 
type Rep DataSet # 
type Rep DataSet = D1 (MetaData "DataSet" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

dsAccess :: Lens' DataSet [DataSetAccessItem] #

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

Output-only
A hash of the resource.

dsLocation :: Lens' DataSet (Maybe Text) #

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

Optional
A descriptive name for the dataset.

dsKind :: Lens' DataSet Text #

Output-only
The resource type.

dsLastModifiedTime :: Lens' DataSet (Maybe Int64) #

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

Required
A reference that identifies the dataset.

dsSelfLink :: Lens' DataSet (Maybe Text) #

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

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

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

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

Optional
A user-friendly description of the dataset.

BigtableOptions

data BigtableOptions #

Instances

Eq BigtableOptions # 
Data BigtableOptions # 

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 # 
Generic BigtableOptions # 
ToJSON BigtableOptions # 
FromJSON BigtableOptions # 
type Rep BigtableOptions # 
type Rep BigtableOptions = D1 (MetaData "BigtableOptions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

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

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 #

Instances

Eq ExternalDataConfiguration # 
Data ExternalDataConfiguration # 

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 # 
Generic ExternalDataConfiguration # 
ToJSON ExternalDataConfiguration # 
FromJSON ExternalDataConfiguration # 
type Rep ExternalDataConfiguration # 
type Rep ExternalDataConfiguration = D1 (MetaData "ExternalDataConfiguration" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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) #

Optional
Additional options if sourceFormat is set to BIGTABLE.

edcIgnoreUnknownValues :: Lens' ExternalDataConfiguration (Maybe Bool) #

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

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

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

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

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

Optional
Additional options if sourceFormat is set to GOOGLE_SHEETS.

edcAutodetect :: Lens' ExternalDataConfiguration (Maybe Bool) #

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

edcSourceURIs :: Lens' ExternalDataConfiguration [Text] #

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

Additional properties to set if sourceFormat is set to CSV.

TableReference

data TableReference #

Instances

Eq TableReference # 
Data TableReference # 

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 # 
Generic TableReference # 

Associated Types

type Rep TableReference :: * -> * #

ToJSON TableReference # 
FromJSON TableReference # 
type Rep TableReference # 
type Rep TableReference = D1 (MetaData "TableReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

Required
The ID of the dataset containing this table.

trProjectId :: Lens' TableReference (Maybe Text) #

Required
The ID of the project containing this table.

trTableId :: Lens' TableReference (Maybe Text) #

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 #

Instances

Eq TableFieldSchema # 
Data TableFieldSchema # 

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 # 
Generic TableFieldSchema # 
ToJSON TableFieldSchema # 
FromJSON TableFieldSchema # 
type Rep TableFieldSchema # 
type Rep TableFieldSchema = D1 (MetaData "TableFieldSchema" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

tfsName :: Lens' TableFieldSchema (Maybe Text) #

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

Required
The field data type. Possible values include STRING, BYTES, INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where RECORD indicates that the field contains a nested schema) or STRUCT (same as RECORD).

tfsDescription :: Lens' TableFieldSchema (Maybe Text) #

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

tfsFields :: Lens' TableFieldSchema [TableFieldSchema] #

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

GetQueryResultsResponse

data GetQueryResultsResponse #

Instances

Eq GetQueryResultsResponse # 
Data GetQueryResultsResponse # 

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 # 
Generic GetQueryResultsResponse # 
ToJSON GetQueryResultsResponse # 
FromJSON GetQueryResultsResponse # 
type Rep GetQueryResultsResponse # 
type Rep GetQueryResultsResponse = D1 (MetaData "GetQueryResultsResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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) #

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

A hash of this response.

gqrrKind :: Lens' GetQueryResultsResponse Text #

The resource type of the response.

gqrrSchema :: Lens' GetQueryResultsResponse (Maybe TableSchema) #

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

gqrrTotalBytesProcessed :: Lens' GetQueryResultsResponse (Maybe Int64) #

The total number of bytes processed for this query.

gqrrRows :: Lens' GetQueryResultsResponse [TableRow] #

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

A token used for paging results.

gqrrNumDmlAffectedRows :: Lens' GetQueryResultsResponse (Maybe Int64) #

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

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

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

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

Whether the query result was fetched from the query cache.

DataSetList

data DataSetList #

Instances

Eq DataSetList # 
Data DataSetList # 

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 # 
Generic DataSetList # 

Associated Types

type Rep DataSetList :: * -> * #

ToJSON DataSetList # 
FromJSON DataSetList # 
type Rep DataSetList # 
type Rep DataSetList = D1 (MetaData "DataSetList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

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 #

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

dslDataSets :: Lens' DataSetList [DataSetListDataSetsItem] #

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 #

Instances

Eq QueryRequest # 
Data QueryRequest # 

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 # 
Generic QueryRequest # 

Associated Types

type Rep QueryRequest :: * -> * #

ToJSON QueryRequest # 
FromJSON QueryRequest # 
type Rep QueryRequest # 
type Rep QueryRequest = D1 (MetaData "QueryRequest" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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 #

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

Deprecated
This property is deprecated.

qrKind :: Lens' QueryRequest Text #

The resource type of the request.

qrQueryParameters :: Lens' QueryRequest [QueryParameter] #

Experimental
Query parameters for Standard SQL queries.

qrQuery :: Lens' QueryRequest (Maybe Text) #

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

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

qrTimeoutMs :: Lens' QueryRequest (Maybe Word32) #

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 #

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

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

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

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 #

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 # 
Eq JobsListProjection # 
Data JobsListProjection # 

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 # 
Read JobsListProjection # 
Show JobsListProjection # 
Generic JobsListProjection # 
Hashable JobsListProjection # 
ToJSON JobsListProjection # 
FromJSON JobsListProjection # 
FromHttpApiData JobsListProjection # 
ToHttpApiData JobsListProjection # 
type Rep JobsListProjection # 
type Rep JobsListProjection = D1 (MetaData "JobsListProjection" "Network.Google.BigQuery.Types.Sum" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) ((:+:) (C1 (MetaCons "Full" PrefixI False) U1) (C1 (MetaCons "Minimal" PrefixI False) U1))

QueryParameter

data QueryParameter #

Instances

Eq QueryParameter # 
Data QueryParameter # 

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 # 
Generic QueryParameter # 

Associated Types

type Rep QueryParameter :: * -> * #

ToJSON QueryParameter # 
FromJSON QueryParameter # 
type Rep QueryParameter # 
type Rep QueryParameter = D1 (MetaData "QueryParameter" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

Required
The value of this parameter.

qpParameterType :: Lens' QueryParameter (Maybe QueryParameterType) #

Required
The type of this parameter.

qpName :: Lens' QueryParameter (Maybe Text) #

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

JobStatistics4

data JobStatistics4 #

Instances

Eq JobStatistics4 # 
Data JobStatistics4 # 

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 # 
Generic JobStatistics4 # 

Associated Types

type Rep JobStatistics4 :: * -> * #

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

jobStatistics4 :: JobStatistics4 #

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

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 #

Instances

Eq ProjectReference # 
Data ProjectReference # 

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 # 
Generic ProjectReference # 
ToJSON ProjectReference # 
FromJSON ProjectReference # 
type Rep ProjectReference # 
type Rep ProjectReference = D1 (MetaData "ProjectReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "ProjectReference'" PrefixI True) (S1 (MetaSel (Just Symbol "_prProjectId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))

projectReference :: ProjectReference #

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

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

ExplainQueryStage

data ExplainQueryStage #

Instances

Eq ExplainQueryStage # 
Data ExplainQueryStage # 

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 # 
Generic ExplainQueryStage # 
ToJSON ExplainQueryStage # 
FromJSON ExplainQueryStage # 
type Rep ExplainQueryStage # 
type Rep ExplainQueryStage = D1 (MetaData "ExplainQueryStage" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "ExplainQueryStage'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eqsStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (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)))))))))

eqsStatus :: Lens' ExplainQueryStage (Maybe Text) #

Current status for the stage.

eqsWaitRatioMax :: Lens' ExplainQueryStage (Maybe Double) #

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

eqsRecordsWritten :: Lens' ExplainQueryStage (Maybe Int64) #

Number of records written by the stage.

eqsSteps :: Lens' ExplainQueryStage [ExplainQueryStep] #

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

eqsWriteRatioAvg :: Lens' ExplainQueryStage (Maybe Double) #

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

eqsRecordsRead :: Lens' ExplainQueryStage (Maybe Int64) #

Number of records read into the stage.

eqsComputeRatioAvg :: Lens' ExplainQueryStage (Maybe Double) #

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

eqsName :: Lens' ExplainQueryStage (Maybe Text) #

Human-readable name for stage.

eqsReadRatioMax :: Lens' ExplainQueryStage (Maybe Double) #

Relative amount of time the slowest shard spent reading input.

eqsWaitRatioAvg :: Lens' ExplainQueryStage (Maybe Double) #

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

eqsId :: Lens' ExplainQueryStage (Maybe Int64) #

Unique ID for stage within plan.

eqsComputeRatioMax :: Lens' ExplainQueryStage (Maybe Double) #

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

eqsWriteRatioMax :: Lens' ExplainQueryStage (Maybe Double) #

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

eqsReadRatioAvg :: Lens' ExplainQueryStage (Maybe Double) #

Relative amount of time the average shard spent reading input.

JobConfigurationLoad

data JobConfigurationLoad #

Instances

Eq JobConfigurationLoad # 
Data JobConfigurationLoad # 

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 # 
Generic JobConfigurationLoad # 
ToJSON JobConfigurationLoad # 
FromJSON JobConfigurationLoad # 
type Rep JobConfigurationLoad # 
type Rep JobConfigurationLoad = D1 (MetaData "JobConfigurationLoad" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 (Maybe 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))) (S1 (MetaSel (Just Symbol "_jclNullMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

jclSkipLeadingRows :: Lens' JobConfigurationLoad (Maybe Int32) #

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

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

Required
The destination table to load the data into.

jclWriteDisPosition :: Lens' JobConfigurationLoad (Maybe Text) #

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

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

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

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

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

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

Deprecated
The format of the schemaInline property.

jclAllowQuotedNewlines :: Lens' JobConfigurationLoad (Maybe Bool) #

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

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

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 (Maybe Text) #

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

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

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

jclSourceURIs :: Lens' JobConfigurationLoad [Text] #

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

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

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 (',').

jclNullMarker :: Lens' JobConfigurationLoad (Maybe Text) #

Optional
Specifies a string that represents a null value in a CSV file. For example, if you specify "\N", BigQuery interprets "\N" as a null value when loading a CSV file. The default value is the empty string. If you set this property to a custom value, BigQuery still interprets the empty string as a null value for all data types except for STRING and BYTE. For STRING and BYTE columns, BigQuery interprets the empty string as an empty value.

JobsListStateFilter

data JobsListStateFilter #

Filter for job state

Constructors

Done

done Finished jobs

Pending

pending Pending jobs

Running

running Running jobs

Instances

Enum JobsListStateFilter # 
Eq JobsListStateFilter # 
Data JobsListStateFilter # 

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 # 
Read JobsListStateFilter # 
Show JobsListStateFilter # 
Generic JobsListStateFilter # 
Hashable JobsListStateFilter # 
ToJSON JobsListStateFilter # 
FromJSON JobsListStateFilter # 
FromHttpApiData JobsListStateFilter # 
ToHttpApiData JobsListStateFilter # 
type Rep JobsListStateFilter # 
type Rep JobsListStateFilter = D1 (MetaData "JobsListStateFilter" "Network.Google.BigQuery.Types.Sum" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) ((:+:) (C1 (MetaCons "Done" PrefixI False) U1) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) (C1 (MetaCons "Running" PrefixI False) U1)))

DataSetReference

data DataSetReference #

Instances

Eq DataSetReference # 
Data DataSetReference # 

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 # 
Generic DataSetReference # 
ToJSON DataSetReference # 
FromJSON DataSetReference # 
type Rep DataSetReference # 
type Rep DataSetReference = D1 (MetaData "DataSetReference" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

Optional
The ID of the project containing this dataset.

TableDataInsertAllRequest

data TableDataInsertAllRequest #

Instances

Eq TableDataInsertAllRequest # 
Data TableDataInsertAllRequest # 

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 # 
Generic TableDataInsertAllRequest # 
ToJSON TableDataInsertAllRequest # 
FromJSON TableDataInsertAllRequest # 
type Rep TableDataInsertAllRequest # 
type Rep TableDataInsertAllRequest = D1 (MetaData "TableDataInsertAllRequest" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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 #

The resource type of the response.

tdiarIgnoreUnknownValues :: Lens' TableDataInsertAllRequest (Maybe Bool) #

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

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

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 #

Instances

Eq ProjectListProjectsItem # 
Data ProjectListProjectsItem # 

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 # 
Generic ProjectListProjectsItem # 
ToJSON ProjectListProjectsItem # 
FromJSON ProjectListProjectsItem # 
type Rep ProjectListProjectsItem # 
type Rep ProjectListProjectsItem = D1 (MetaData "ProjectListProjectsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

A descriptive name for this project.

plpiId :: Lens' ProjectListProjectsItem (Maybe Text) #

An opaque ID of this project.

plpiNumericId :: Lens' ProjectListProjectsItem (Maybe Word64) #

The numeric ID of this project.

BigtableColumn

data BigtableColumn #

Instances

Eq BigtableColumn # 
Data BigtableColumn # 

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 # 
Generic BigtableColumn # 

Associated Types

type Rep BigtableColumn :: * -> * #

ToJSON BigtableColumn # 
FromJSON BigtableColumn # 
type Rep BigtableColumn # 
type Rep BigtableColumn = D1 (MetaData "BigtableColumn" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "BigtableColumn'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bcQualifierEncoded") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) ((:*:) (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 #

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

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

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

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

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

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 #

Instances

Eq Streamingbuffer # 
Data Streamingbuffer # 

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 # 
Generic Streamingbuffer # 
ToJSON Streamingbuffer # 
FromJSON Streamingbuffer # 
type Rep Streamingbuffer # 
type Rep Streamingbuffer = D1 (MetaData "Streamingbuffer" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" 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 #

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

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

sOldestEntryTime :: Lens' Streamingbuffer (Maybe Word64) #

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

sEstimatedRows :: Lens' Streamingbuffer (Maybe Word64) #

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

TableRow

data TableRow #

Instances

Eq TableRow # 
Data TableRow # 

Methods

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

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

toConstr :: TableRow -> Constr #

dataTypeOf :: TableRow -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableRow # 
Generic TableRow # 

Associated Types

type Rep TableRow :: * -> * #

Methods

from :: TableRow -> Rep TableRow x #

to :: Rep TableRow x -> TableRow #

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

tableRow :: TableRow #

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

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

trF :: Lens' TableRow [TableCell] #

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

JobListJobsItem

data JobListJobsItem #

Instances

Eq JobListJobsItem # 
Data JobListJobsItem # 

Methods

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

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

toConstr :: JobListJobsItem -> Constr #

dataTypeOf :: JobListJobsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

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

jobListJobsItem :: JobListJobsItem #

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

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

jljiJobReference :: Lens' JobListJobsItem (Maybe JobReference) #

Job reference uniquely identifying the job.

jljiStatus :: Lens' JobListJobsItem (Maybe JobStatus) #

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

jljiState :: Lens' JobListJobsItem (Maybe Text) #

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

jljiUserEmail :: Lens' JobListJobsItem (Maybe Text) #

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

jljiKind :: Lens' JobListJobsItem Text #

The resource type.

jljiErrorResult :: Lens' JobListJobsItem (Maybe ErrorProto) #

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

jljiId :: Lens' JobListJobsItem (Maybe Text) #

Unique opaque ID of the job.

jljiStatistics :: Lens' JobListJobsItem (Maybe JobStatistics) #

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

jljiConfiguration :: Lens' JobListJobsItem (Maybe JobConfiguration) #

Full-projection-only
Specifies the job configuration.

TimePartitioning

data TimePartitioning #

Instances

Eq TimePartitioning # 
Data TimePartitioning # 

Methods

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

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

toConstr :: TimePartitioning -> Constr #

dataTypeOf :: TimePartitioning -> DataType #

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

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

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

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

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

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

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

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

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

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

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

timePartitioning :: TimePartitioning #

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

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

tpExpirationMs :: Lens' TimePartitioning (Maybe Int64) #

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

tpType :: Lens' TimePartitioning (Maybe Text) #

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

QueryParameterValueStructValues

data QueryParameterValueStructValues #

Optional
The struct field values, in order of the struct type's declaration.

See: queryParameterValueStructValues smart constructor.

Instances

Eq QueryParameterValueStructValues # 
Data QueryParameterValueStructValues # 

Methods

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

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

toConstr :: QueryParameterValueStructValues -> Constr #

dataTypeOf :: QueryParameterValueStructValues -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryParameterValueStructValues # 
Generic QueryParameterValueStructValues # 
ToJSON QueryParameterValueStructValues # 
FromJSON QueryParameterValueStructValues # 
type Rep QueryParameterValueStructValues # 
type Rep QueryParameterValueStructValues = D1 (MetaData "QueryParameterValueStructValues" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "QueryParameterValueStructValues'" PrefixI True) (S1 (MetaSel (Just Symbol "_qpvsvAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text QueryParameterValue))))

queryParameterValueStructValues #

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

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

DataSetLabels

data DataSetLabels #

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.

See: dataSetLabels smart constructor.

Instances

Eq DataSetLabels # 
Data DataSetLabels # 

Methods

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

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

toConstr :: DataSetLabels -> Constr #

dataTypeOf :: DataSetLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetLabels # 
Generic DataSetLabels # 

Associated Types

type Rep DataSetLabels :: * -> * #

ToJSON DataSetLabels # 
FromJSON DataSetLabels # 
type Rep DataSetLabels # 
type Rep DataSetLabels = D1 (MetaData "DataSetLabels" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "DataSetLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_dslAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

dataSetLabels #

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

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

JobConfiguration

data JobConfiguration #

Instances

Eq JobConfiguration # 
Data JobConfiguration # 

Methods

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

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

toConstr :: JobConfiguration -> Constr #

dataTypeOf :: JobConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

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

jobConfiguration :: JobConfiguration #

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

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

jcLoad :: Lens' JobConfiguration (Maybe JobConfigurationLoad) #

Pick one
Configures a load job.

jcQuery :: Lens' JobConfiguration (Maybe JobConfigurationQuery) #

Pick one
Configures a query job.

jcExtract :: Lens' JobConfiguration (Maybe JobConfigurationExtract) #

Pick one
Configures an extract job.

jcLabels :: Lens' JobConfiguration (Maybe JobConfigurationLabels) #

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.

jcDryRun :: Lens' JobConfiguration (Maybe Bool) #

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

Job

data Job #

Instances

Eq Job # 

Methods

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

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

Data Job # 

Methods

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

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

toConstr :: Job -> Constr #

dataTypeOf :: Job -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Job # 

Methods

showsPrec :: Int -> Job -> ShowS #

show :: Job -> String #

showList :: [Job] -> ShowS #

Generic Job # 

Associated Types

type Rep Job :: * -> * #

Methods

from :: Job -> Rep Job x #

to :: Rep Job x -> Job #

ToJSON Job # 
FromJSON Job # 
type Rep Job # 

job :: Job #

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

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

jJobReference :: Lens' Job (Maybe JobReference) #

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

jStatus :: Lens' Job (Maybe JobStatus) #

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

jEtag :: Lens' Job (Maybe Text) #

Output-only
A hash of this resource.

jUserEmail :: Lens' Job (Maybe Text) #

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

jKind :: Lens' Job Text #

Output-only
The type of the resource.

jSelfLink :: Lens' Job (Maybe Text) #

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

jId :: Lens' Job (Maybe Text) #

Output-only
Opaque ID field of the job

jStatistics :: Lens' Job (Maybe JobStatistics) #

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

jConfiguration :: Lens' Job (Maybe JobConfiguration) #

Required
Describes the job configuration.

TableDataInsertAllResponseInsertErrorsItem

data TableDataInsertAllResponseInsertErrorsItem #

Instances

Eq TableDataInsertAllResponseInsertErrorsItem # 
Data TableDataInsertAllResponseInsertErrorsItem # 

Methods

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

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

toConstr :: TableDataInsertAllResponseInsertErrorsItem -> Constr #

dataTypeOf :: TableDataInsertAllResponseInsertErrorsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

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

tableDataInsertAllResponseInsertErrorsItem :: TableDataInsertAllResponseInsertErrorsItem #

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

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

tdiarieiErrors :: Lens' TableDataInsertAllResponseInsertErrorsItem [ErrorProto] #

Error information for the row indicated by the index property.

tdiarieiIndex :: Lens' TableDataInsertAllResponseInsertErrorsItem (Maybe Word32) #

The index of the row that error applies to.

JobConfigurationExtract

data JobConfigurationExtract #

Instances

Eq JobConfigurationExtract # 
Data JobConfigurationExtract # 

Methods

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

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

toConstr :: JobConfigurationExtract -> Constr #

dataTypeOf :: JobConfigurationExtract -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationExtract # 
Generic JobConfigurationExtract # 
ToJSON JobConfigurationExtract # 
FromJSON JobConfigurationExtract # 
type Rep JobConfigurationExtract # 
type Rep JobConfigurationExtract = D1 (MetaData "JobConfigurationExtract" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobConfigurationExtract'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jceDestinationFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jceSourceTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_jcePrintHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jceCompression") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jceDestinationURIs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_jceDestinationURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jceFieldDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

jobConfigurationExtract :: JobConfigurationExtract #

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

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

jceDestinationFormat :: Lens' JobConfigurationExtract (Maybe Text) #

Optional
The exported file format. Possible values include CSV, NEWLINE_DELIMITED_JSON and AVRO. The default value is CSV. Tables with nested or repeated fields cannot be exported as CSV.

jceSourceTable :: Lens' JobConfigurationExtract (Maybe TableReference) #

Required
A reference to the table being exported.

jcePrintHeader :: Lens' JobConfigurationExtract Bool #

Optional
Whether to print out a header row in the results. Default is true.

jceCompression :: Lens' JobConfigurationExtract (Maybe Text) #

Optional
The compression type to use for exported files. Possible values include GZIP and NONE. The default value is NONE.

jceDestinationURIs :: Lens' JobConfigurationExtract [Text] #

Pick one
A list of fully-qualified Google Cloud Storage URIs where the extracted table should be written.

jceDestinationURI :: Lens' JobConfigurationExtract (Maybe Text) #

Pick one
DEPRECATED: Use destinationUris instead, passing only one URI as necessary. The fully-qualified Google Cloud Storage URI where the extracted table should be written.

jceFieldDelimiter :: Lens' JobConfigurationExtract (Maybe Text) #

Optional
Delimiter to use between fields in the exported data. Default is ','

JobCancelResponse

data JobCancelResponse #

Instances

Eq JobCancelResponse # 
Data JobCancelResponse # 

Methods

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

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

toConstr :: JobCancelResponse -> Constr #

dataTypeOf :: JobCancelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobCancelResponse # 
Generic JobCancelResponse # 
ToJSON JobCancelResponse # 
FromJSON JobCancelResponse # 
type Rep JobCancelResponse # 
type Rep JobCancelResponse = D1 (MetaData "JobCancelResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobCancelResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jcrKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_jcrJob") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Job)))))

jobCancelResponse :: JobCancelResponse #

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

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

jcrKind :: Lens' JobCancelResponse Text #

The resource type of the response.

jcrJob :: Lens' JobCancelResponse (Maybe Job) #

The final state of the job.

JSONObject

data JSONObject #

Represents a single JSON object.

See: jsonObject smart constructor.

Instances

Eq JSONObject # 
Data JSONObject # 

Methods

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

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

toConstr :: JSONObject -> Constr #

dataTypeOf :: JSONObject -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JSONObject # 
Generic JSONObject # 

Associated Types

type Rep JSONObject :: * -> * #

ToJSON JSONObject # 
FromJSON JSONObject # 
type Rep JSONObject # 
type Rep JSONObject = D1 (MetaData "JSONObject" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "JSONObject'" PrefixI True) (S1 (MetaSel (Just Symbol "_joAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text JSONValue))))

jsonObject #

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

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

JobConfigurationQuery

data JobConfigurationQuery #

Instances

Eq JobConfigurationQuery # 
Data JobConfigurationQuery # 

Methods

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

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

toConstr :: JobConfigurationQuery -> Constr #

dataTypeOf :: JobConfigurationQuery -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationQuery # 
Generic JobConfigurationQuery # 
ToJSON JobConfigurationQuery # 
FromJSON JobConfigurationQuery # 
type Rep JobConfigurationQuery # 
type Rep JobConfigurationQuery = D1 (MetaData "JobConfigurationQuery" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobConfigurationQuery'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqDestinationTable") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_jcqWriteDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jcqUseQueryCache") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqPreserveNulls") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jcqTableDefinitions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobConfigurationQueryTableDefinitions)))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqQueryParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueryParameter]))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqSchemaUpdateOptions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_jcqMaximumBytesBilled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqCreateDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jcqUserDefinedFunctionResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserDefinedFunctionResource])))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqAllowLargeResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jcqMaximumBillingTier") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Int32))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jcqQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jcqFlattenResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqParameterMode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jcqUseLegacySQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jcqDefaultDataSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSetReference)))))))))

jcqDestinationTable :: Lens' JobConfigurationQuery (Maybe TableReference) #

Optional
Describes the table where the query results should be stored. If not present, a new table will be created to store the results.

jcqWriteDisPosition :: Lens' JobConfigurationQuery (Maybe Text) #

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

jcqPriority :: Lens' JobConfigurationQuery (Maybe Text) #

Optional
Specifies a priority for the query. Possible values include INTERACTIVE and BATCH. The default value is INTERACTIVE.

jcqUseQueryCache :: Lens' JobConfigurationQuery Bool #

Optional
Whether to look for the result in the query cache. The query cache is a best-effort cache that will be flushed whenever tables in the query are modified. Moreover, the query cache is only available when a query does not have a destination table specified. The default value is true.

jcqPreserveNulls :: Lens' JobConfigurationQuery (Maybe Bool) #

Deprecated
This property is deprecated.

jcqTableDefinitions :: Lens' JobConfigurationQuery (Maybe JobConfigurationQueryTableDefinitions) #

Optional
If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

jcqQueryParameters :: Lens' JobConfigurationQuery [QueryParameter] #

Query parameters for standard SQL queries.

jcqSchemaUpdateOptions :: Lens' JobConfigurationQuery [Text] #

Experimental
Allows the schema of the destination table to be updated as a side effect of the query 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.

jcqMaximumBytesBilled :: Lens' JobConfigurationQuery (Maybe Int64) #

Optional
Limits the bytes billed for this job. Queries that will have bytes billed beyond this limit will fail (without incurring a charge). If unspecified, this will be set to your project default.

jcqCreateDisPosition :: Lens' JobConfigurationQuery (Maybe Text) #

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

jcqUserDefinedFunctionResources :: Lens' JobConfigurationQuery [UserDefinedFunctionResource] #

Experimental
Describes user-defined function resources used in the query.

jcqAllowLargeResults :: Lens' JobConfigurationQuery (Maybe Bool) #

If true, allows the query to produce arbitrarily large result tables at a slight cost in performance. Requires destinationTable to be set.

jcqMaximumBillingTier :: Lens' JobConfigurationQuery Int32 #

Optional
Limits the billing tier for this job. Queries that have resource usage beyond this tier will fail (without incurring a charge). If unspecified, this will be set to your project default.

jcqQuery :: Lens' JobConfigurationQuery (Maybe Text) #

Required
BigQuery SQL query to execute.

jcqFlattenResults :: Lens' JobConfigurationQuery Bool #

Optional
Flattens all nested and repeated fields in the query results. The default value is true. allowLargeResults must be true if this is set to false.

jcqParameterMode :: Lens' JobConfigurationQuery (Maybe Text) #

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

jcqUseLegacySQL :: Lens' JobConfigurationQuery (Maybe Bool) #

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

jcqDefaultDataSet :: Lens' JobConfigurationQuery (Maybe DataSetReference) #

Optional
Specifies the default dataset to use for unqualified table names in the query.

GoogleSheetsOptions

data GoogleSheetsOptions #

Instances

Eq GoogleSheetsOptions # 
Data GoogleSheetsOptions # 

Methods

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

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

toConstr :: GoogleSheetsOptions -> Constr #

dataTypeOf :: GoogleSheetsOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GoogleSheetsOptions # 
Generic GoogleSheetsOptions # 
ToJSON GoogleSheetsOptions # 
FromJSON GoogleSheetsOptions # 
type Rep GoogleSheetsOptions # 
type Rep GoogleSheetsOptions = D1 (MetaData "GoogleSheetsOptions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "GoogleSheetsOptions'" PrefixI True) (S1 (MetaSel (Just Symbol "_gsoSkipLeadingRows") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe (Textual Int64)))))

googleSheetsOptions :: GoogleSheetsOptions #

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

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

gsoSkipLeadingRows :: Lens' GoogleSheetsOptions (Maybe Int64) #

Optional
The number of rows at the top of a sheet that BigQuery will skip when reading the data. The default value is 0. This property is useful if you have header rows that should be skipped. When autodetect is on, behavior is the following: * skipLeadingRows unspecified - Autodetect tries to detect headers in the first row. If they are not detected, the row is read as data. Otherwise data is read starting from the second row. * skipLeadingRows is 0 - Instructs autodetect that there are no headers and data should be read starting from the first row. * skipLeadingRows = N > 0 - Autodetect skips N-1 rows and tries to detect headers in row N. If headers are not detected, row N is just skipped. Otherwise row N is used to extract column names for the detected schema.

TableDataInsertAllRequestRowsItem

data TableDataInsertAllRequestRowsItem #

Instances

Eq TableDataInsertAllRequestRowsItem # 
Data TableDataInsertAllRequestRowsItem # 

Methods

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

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

toConstr :: TableDataInsertAllRequestRowsItem -> Constr #

dataTypeOf :: TableDataInsertAllRequestRowsItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAllRequestRowsItem # 
Generic TableDataInsertAllRequestRowsItem # 
ToJSON TableDataInsertAllRequestRowsItem # 
FromJSON TableDataInsertAllRequestRowsItem # 
type Rep TableDataInsertAllRequestRowsItem # 
type Rep TableDataInsertAllRequestRowsItem = D1 (MetaData "TableDataInsertAllRequestRowsItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "TableDataInsertAllRequestRowsItem'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tdiarriJSON") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JSONObject))) (S1 (MetaSel (Just Symbol "_tdiarriInsertId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

tableDataInsertAllRequestRowsItem :: TableDataInsertAllRequestRowsItem #

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

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

tdiarriJSON :: Lens' TableDataInsertAllRequestRowsItem (Maybe JSONObject) #

Required
A JSON object that contains a row of data. The object's properties and values must match the destination table's schema.

tdiarriInsertId :: Lens' TableDataInsertAllRequestRowsItem (Maybe Text) #

Optional
A unique ID for each row. BigQuery uses this property to detect duplicate insertion requests on a best-effort basis.

JobList

data JobList #

Instances

Eq JobList # 

Methods

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

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

Data JobList # 

Methods

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

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

toConstr :: JobList -> Constr #

dataTypeOf :: JobList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobList # 
Generic JobList # 

Associated Types

type Rep JobList :: * -> * #

Methods

from :: JobList -> Rep JobList x #

to :: Rep JobList x -> JobList #

ToJSON JobList # 
FromJSON JobList # 
type Rep JobList # 
type Rep JobList = D1 (MetaData "JobList" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jlEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jlNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jlKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_jlJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JobListJobsItem]))))))

jobList :: JobList #

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

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

jlEtag :: Lens' JobList (Maybe Text) #

A hash of this page of results.

jlNextPageToken :: Lens' JobList (Maybe Text) #

A token to request the next page of results.

jlKind :: Lens' JobList Text #

The resource type of the response.

jlJobs :: Lens' JobList [JobListJobsItem] #

List of jobs that were requested.

JobConfigurationQueryTableDefinitions

data JobConfigurationQueryTableDefinitions #

Optional
If querying an external data source outside of BigQuery, describes the data format, location and other properties of the data source. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

See: jobConfigurationQueryTableDefinitions smart constructor.

Instances

Eq JobConfigurationQueryTableDefinitions # 
Data JobConfigurationQueryTableDefinitions # 

Methods

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

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

toConstr :: JobConfigurationQueryTableDefinitions -> Constr #

dataTypeOf :: JobConfigurationQueryTableDefinitions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobConfigurationQueryTableDefinitions # 
Generic JobConfigurationQueryTableDefinitions # 
ToJSON JobConfigurationQueryTableDefinitions # 
FromJSON JobConfigurationQueryTableDefinitions # 
type Rep JobConfigurationQueryTableDefinitions # 
type Rep JobConfigurationQueryTableDefinitions = D1 (MetaData "JobConfigurationQueryTableDefinitions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "JobConfigurationQueryTableDefinitions'" PrefixI True) (S1 (MetaSel (Just Symbol "_jcqtdAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text ExternalDataConfiguration))))

jobConfigurationQueryTableDefinitions #

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

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

TableCell

data TableCell #

Instances

Eq TableCell # 
Data TableCell # 

Methods

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

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

toConstr :: TableCell -> Constr #

dataTypeOf :: TableCell -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableCell # 
Generic TableCell # 

Associated Types

type Rep TableCell :: * -> * #

ToJSON TableCell # 
FromJSON TableCell # 
type Rep TableCell # 
type Rep TableCell = D1 (MetaData "TableCell" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "TableCell'" PrefixI True) (S1 (MetaSel (Just Symbol "_tcV") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe JSONValue))))

tableCell :: TableCell #

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

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

QueryParameterValue

data QueryParameterValue #

Instances

Eq QueryParameterValue # 
Data QueryParameterValue # 

Methods

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

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

toConstr :: QueryParameterValue -> Constr #

dataTypeOf :: QueryParameterValue -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryParameterValue # 
Generic QueryParameterValue # 
ToJSON QueryParameterValue # 
FromJSON QueryParameterValue # 
type Rep QueryParameterValue # 
type Rep QueryParameterValue = D1 (MetaData "QueryParameterValue" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "QueryParameterValue'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qpvStructValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryParameterValueStructValues))) ((:*:) (S1 (MetaSel (Just Symbol "_qpvValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_qpvArrayValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueryParameterValue]))))))

queryParameterValue :: QueryParameterValue #

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

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

qpvStructValues :: Lens' QueryParameterValue (Maybe QueryParameterValueStructValues) #

Optional
The struct field values, in order of the struct type's declaration.

qpvValue :: Lens' QueryParameterValue (Maybe Text) #

Optional
The value of this value, if a simple scalar type.

qpvArrayValues :: Lens' QueryParameterValue [QueryParameterValue] #

Optional
The array values, if this is an array type.

ViewDefinition

data ViewDefinition #

Instances

Eq ViewDefinition # 
Data ViewDefinition # 

Methods

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

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

toConstr :: ViewDefinition -> Constr #

dataTypeOf :: ViewDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ViewDefinition # 
Generic ViewDefinition # 

Associated Types

type Rep ViewDefinition :: * -> * #

ToJSON ViewDefinition # 
FromJSON ViewDefinition # 
type Rep ViewDefinition # 
type Rep ViewDefinition = D1 (MetaData "ViewDefinition" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "ViewDefinition'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_vdUserDefinedFunctionResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [UserDefinedFunctionResource]))) ((:*:) (S1 (MetaSel (Just Symbol "_vdQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_vdUseLegacySQL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

viewDefinition :: ViewDefinition #

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

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

vdUserDefinedFunctionResources :: Lens' ViewDefinition [UserDefinedFunctionResource] #

Experimental
Describes user-defined function resources used in the query.

vdQuery :: Lens' ViewDefinition (Maybe Text) #

Required
A query that BigQuery executes when the view is referenced.

vdUseLegacySQL :: Lens' ViewDefinition (Maybe Bool) #

Specifies whether to use BigQuery's legacy SQL for this view. The default value is true. If set to false, the view will use BigQuery's standard SQL: https://cloud.google.com/bigquery/sql-reference/ Queries and views that reference this view must use the same flag value.

UserDefinedFunctionResource

data UserDefinedFunctionResource #

Instances

Eq UserDefinedFunctionResource # 
Data UserDefinedFunctionResource # 

Methods

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

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

toConstr :: UserDefinedFunctionResource -> Constr #

dataTypeOf :: UserDefinedFunctionResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserDefinedFunctionResource # 
Generic UserDefinedFunctionResource # 
ToJSON UserDefinedFunctionResource # 
FromJSON UserDefinedFunctionResource # 
type Rep UserDefinedFunctionResource # 
type Rep UserDefinedFunctionResource = D1 (MetaData "UserDefinedFunctionResource" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "UserDefinedFunctionResource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_udfrResourceURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_udfrInlineCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

userDefinedFunctionResource :: UserDefinedFunctionResource #

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

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

udfrResourceURI :: Lens' UserDefinedFunctionResource (Maybe Text) #

Pick one
A code resource to load from a Google Cloud Storage URI (gs://bucket/path).

udfrInlineCode :: Lens' UserDefinedFunctionResource (Maybe Text) #

Pick one
An inline resource that contains code for a user-defined function (UDF). Providing a inline code resource is equivalent to providing a URI for a file containing the same code.

JobStatistics2

data JobStatistics2 #

Instances

Eq JobStatistics2 # 
Data JobStatistics2 # 

Methods

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

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

toConstr :: JobStatistics2 -> Constr #

dataTypeOf :: JobStatistics2 -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatistics2 # 
Generic JobStatistics2 # 

Associated Types

type Rep JobStatistics2 :: * -> * #

ToJSON JobStatistics2 # 
FromJSON JobStatistics2 # 
type Rep JobStatistics2 # 
type Rep JobStatistics2 = D1 (MetaData "JobStatistics2" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobStatistics2'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema))) (S1 (MetaSel (Just Symbol "_jTotalBytesProcessed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) ((:*:) (S1 (MetaSel (Just Symbol "_jBillingTier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) ((:*:) (S1 (MetaSel (Just Symbol "_jUndeclaredQueryParameters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueryParameter]))) (S1 (MetaSel (Just Symbol "_jReferencedTables") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableReference])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jStatementType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jNumDmlAffectedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) ((:*:) (S1 (MetaSel (Just Symbol "_jQueryPlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExplainQueryStage]))) ((:*:) (S1 (MetaSel (Just Symbol "_jCacheHit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_jTotalBytesBilled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))))

jobStatistics2 :: JobStatistics2 #

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

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

jSchema :: Lens' JobStatistics2 (Maybe TableSchema) #

Output-only, Experimental
The schema of the results. Present only for successful dry run of non-legacy SQL queries.

jTotalBytesProcessed :: Lens' JobStatistics2 (Maybe Int64) #

Output-only
Total bytes processed for the job.

jBillingTier :: Lens' JobStatistics2 (Maybe Int32) #

Output-only
Billing tier for the job.

jUndeclaredQueryParameters :: Lens' JobStatistics2 [QueryParameter] #

Output-only, Experimental
Standard SQL only: list of undeclared query parameters detected during a dry run validation.

jReferencedTables :: Lens' JobStatistics2 [TableReference] #

Output-only, Experimental
Referenced tables for the job. Queries that reference more than 50 tables will not have a complete list.

jStatementType :: Lens' JobStatistics2 (Maybe Text) #

Output-only, Experimental
The type of query statement, if valid.

jNumDmlAffectedRows :: Lens' JobStatistics2 (Maybe Int64) #

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

jQueryPlan :: Lens' JobStatistics2 [ExplainQueryStage] #

Output-only, Experimental
Describes execution plan for the query.

jCacheHit :: Lens' JobStatistics2 (Maybe Bool) #

Output-only
Whether the query result was fetched from the query cache.

jTotalBytesBilled :: Lens' JobStatistics2 (Maybe Int64) #

Output-only
Total bytes billed for the job.

JobStatus

data JobStatus #

Instances

Eq JobStatus # 
Data JobStatus # 

Methods

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

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

toConstr :: JobStatus -> Constr #

dataTypeOf :: JobStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatus # 
Generic JobStatus # 

Associated Types

type Rep JobStatus :: * -> * #

ToJSON JobStatus # 
FromJSON JobStatus # 
type Rep JobStatus # 
type Rep JobStatus = D1 (MetaData "JobStatus" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jsState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jsErrorResult") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ErrorProto))) (S1 (MetaSel (Just Symbol "_jsErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorProto]))))))

jobStatus :: JobStatus #

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

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

jsState :: Lens' JobStatus (Maybe Text) #

Output-only
Running state of the job.

jsErrorResult :: Lens' JobStatus (Maybe ErrorProto) #

Output-only
Final error result of the job. If present, indicates that the job has completed and was unsuccessful.

jsErrors :: Lens' JobStatus [ErrorProto] #

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

TableLabels

data TableLabels #

Experimental
The labels associated with this table. You can use these to organize and group your tables. 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: tableLabels smart constructor.

Instances

Eq TableLabels # 
Data TableLabels # 

Methods

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

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

toConstr :: TableLabels -> Constr #

dataTypeOf :: TableLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableLabels # 
Generic TableLabels # 

Associated Types

type Rep TableLabels :: * -> * #

ToJSON TableLabels # 
FromJSON TableLabels # 
type Rep TableLabels # 
type Rep TableLabels = D1 (MetaData "TableLabels" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" True) (C1 (MetaCons "TableLabels'" PrefixI True) (S1 (MetaSel (Just Symbol "_tlAddtional") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (HashMap Text Text))))

tableLabels #

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

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

DataSetAccessItem

data DataSetAccessItem #

Instances

Eq DataSetAccessItem # 
Data DataSetAccessItem # 

Methods

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

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

toConstr :: DataSetAccessItem -> Constr #

dataTypeOf :: DataSetAccessItem -> DataType #

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

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

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

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

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

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

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

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

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

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

Show DataSetAccessItem # 
Generic DataSetAccessItem # 
ToJSON DataSetAccessItem # 
FromJSON DataSetAccessItem # 
type Rep DataSetAccessItem # 
type Rep DataSetAccessItem = D1 (MetaData "DataSetAccessItem" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "DataSetAccessItem'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiGroupByEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsaiSpecialGroup") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiRole") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dsaiView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_dsaiUserByEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

dataSetAccessItem :: DataSetAccessItem #

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

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

dsaiGroupByEmail :: Lens' DataSetAccessItem (Maybe Text) #

Pick one
An email address of a Google Group to grant access to.

dsaiDomain :: Lens' DataSetAccessItem (Maybe Text) #

Pick one
A domain to grant access to. Any users signed in with the domain specified will be granted the specified access. Example: "example.com".

dsaiSpecialGroup :: Lens' DataSetAccessItem (Maybe Text) #

Pick one
A special group to grant access to. Possible values include: projectOwners: Owners of the enclosing project. projectReaders: Readers of the enclosing project. projectWriters: Writers of the enclosing project. allAuthenticatedUsers: All authenticated BigQuery users.

dsaiRole :: Lens' DataSetAccessItem (Maybe Text) #

Required
Describes the rights granted to the user specified by the other member of the access object. The following string values are supported: READER, WRITER, OWNER.

dsaiView :: Lens' DataSetAccessItem (Maybe TableReference) #

Pick one
A view from a different dataset to grant access to. Queries executed against that view will have read access to tables in this dataset. The role field is not required when this field is set. If that view is updated by any user, access to the view needs to be granted again via an update operation.

dsaiUserByEmail :: Lens' DataSetAccessItem (Maybe Text) #

Pick one
An email address of a user to grant access to. For example: fred'example.com.

TableDataInsertAllResponse

data TableDataInsertAllResponse #

Instances

Eq TableDataInsertAllResponse # 
Data TableDataInsertAllResponse # 

Methods

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

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

toConstr :: TableDataInsertAllResponse -> Constr #

dataTypeOf :: TableDataInsertAllResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TableDataInsertAllResponse # 
Generic TableDataInsertAllResponse # 
ToJSON TableDataInsertAllResponse # 
FromJSON TableDataInsertAllResponse # 
type Rep TableDataInsertAllResponse # 
type Rep TableDataInsertAllResponse = D1 (MetaData "TableDataInsertAllResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "TableDataInsertAllResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_tInsertErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableDataInsertAllResponseInsertErrorsItem])))))

tableDataInsertAllResponse :: TableDataInsertAllResponse #

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

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

tKind :: Lens' TableDataInsertAllResponse Text #

The resource type of the response.

tInsertErrors :: Lens' TableDataInsertAllResponse [TableDataInsertAllResponseInsertErrorsItem] #

An array of errors for rows that were not inserted.

QueryParameterType

data QueryParameterType #

Instances

Eq QueryParameterType # 
Data QueryParameterType # 

Methods

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

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

toConstr :: QueryParameterType -> Constr #

dataTypeOf :: QueryParameterType -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryParameterType # 
Generic QueryParameterType # 
ToJSON QueryParameterType # 
FromJSON QueryParameterType # 
type Rep QueryParameterType # 
type Rep QueryParameterType = D1 (MetaData "QueryParameterType" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "QueryParameterType'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qptStructTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueryParameterTypeStructTypesItem]))) ((:*:) (S1 (MetaSel (Just Symbol "_qptType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_qptArrayType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe QueryParameterType))))))

queryParameterType :: QueryParameterType #

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

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

qptStructTypes :: Lens' QueryParameterType [QueryParameterTypeStructTypesItem] #

Optional
The types of the fields of this struct, in order, if this is a struct.

qptType :: Lens' QueryParameterType (Maybe Text) #

Required
The top level type of this field.

qptArrayType :: Lens' QueryParameterType (Maybe QueryParameterType) #

Optional
The type of the array's elements, if this is an array.

Table

data Table #

Instances

Eq Table # 

Methods

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

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

Data Table # 

Methods

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

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

toConstr :: Table -> Constr #

dataTypeOf :: Table -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Table # 

Methods

showsPrec :: Int -> Table -> ShowS #

show :: Table -> String #

showList :: [Table] -> ShowS #

Generic Table # 

Associated Types

type Rep Table :: * -> * #

Methods

from :: Table -> Rep Table x #

to :: Rep Table x -> Table #

ToJSON Table # 
FromJSON Table # 
type Rep Table # 
type Rep Table = D1 (MetaData "Table" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "Table'" PrefixI True) ((:*:) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_tabEtag") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabNumBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabExternalDataConfiguration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExternalDataConfiguration))) (S1 (MetaSel (Just Symbol "_tabLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabTableReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableReference))) (S1 (MetaSel (Just Symbol "_tabFriendlyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_tabLastModifiedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_tabSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema))))))) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabStreamingBuffer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Streamingbuffer))) (S1 (MetaSel (Just Symbol "_tabSelfLink") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabTimePartitioning") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TimePartitioning))) ((:*:) (S1 (MetaSel (Just Symbol "_tabNumRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) (S1 (MetaSel (Just Symbol "_tabView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ViewDefinition)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tabId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tabLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableLabels))) (S1 (MetaSel (Just Symbol "_tabType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_tabNumLongTermBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_tabExpirationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_tabDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))))

tabCreationTime :: Lens' Table (Maybe Int64) #

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

tabEtag :: Lens' Table (Maybe Text) #

Output-only
A hash of this resource.

tabNumBytes :: Lens' Table (Maybe Int64) #

Output-only
The size of this table in bytes, excluding any data in the streaming buffer.

tabExternalDataConfiguration :: Lens' Table (Maybe ExternalDataConfiguration) #

Optional
Describes the data format, location, and other properties of a table stored outside of BigQuery. By defining these properties, the data source can then be queried as if it were a standard BigQuery table.

tabLocation :: Lens' Table (Maybe Text) #

Output-only
The geographic location where the table resides. This value is inherited from the dataset.

tabTableReference :: Lens' Table (Maybe TableReference) #

Required
Reference describing the ID of this table.

tabFriendlyName :: Lens' Table (Maybe Text) #

Optional
A descriptive name for this table.

tabKind :: Lens' Table Text #

Output-only
The type of the resource.

tabLastModifiedTime :: Lens' Table (Maybe Word64) #

Output-only
The time when this table was last modified, in milliseconds since the epoch.

tabSchema :: Lens' Table (Maybe TableSchema) #

Optional
Describes the schema of this table.

tabStreamingBuffer :: Lens' Table (Maybe Streamingbuffer) #

Output-only
Contains information regarding this table's streaming buffer, if one is present. This field will be absent if the table is not being streamed to or if there is no data in the streaming buffer.

tabSelfLink :: Lens' Table (Maybe Text) #

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

tabTimePartitioning :: Lens' Table (Maybe TimePartitioning) #

Experimental
If specified, configures time-based partitioning for this table.

tabNumRows :: Lens' Table (Maybe Word64) #

Output-only
The number of rows of data in this table, excluding any data in the streaming buffer.

tabView :: Lens' Table (Maybe ViewDefinition) #

Optional
The view definition.

tabId :: Lens' Table (Maybe Text) #

Output-only
An opaque ID uniquely identifying the table.

tabLabels :: Lens' Table (Maybe TableLabels) #

Experimental
The labels associated with this table. You can use these to organize and group your tables. 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.

tabType :: Lens' Table (Maybe Text) #

Output-only
Describes the table type. The following values are supported: TABLE: A normal BigQuery table. VIEW: A virtual table defined by a SQL query. EXTERNAL: A table that references data stored in an external storage system, such as Google Cloud Storage. The default value is TABLE.

tabNumLongTermBytes :: Lens' Table (Maybe Int64) #

Output-only
The number of bytes in the table that are considered "long-term storage".

tabExpirationTime :: Lens' Table (Maybe Int64) #

Optional
The time when this table expires, in milliseconds since the epoch. If not present, the table will persist indefinitely. Expired tables will be deleted and their storage reclaimed.

tabDescription :: Lens' Table (Maybe Text) #

Optional
A user-friendly description of this table.

ErrorProto

data ErrorProto #

Instances

Eq ErrorProto # 
Data ErrorProto # 

Methods

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

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

toConstr :: ErrorProto -> Constr #

dataTypeOf :: ErrorProto -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ErrorProto # 
Generic ErrorProto # 

Associated Types

type Rep ErrorProto :: * -> * #

ToJSON ErrorProto # 
FromJSON ErrorProto # 
type Rep ErrorProto # 
type Rep ErrorProto = D1 (MetaData "ErrorProto" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "ErrorProto'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_epDebugInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_epLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_epReason") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_epMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

errorProto :: ErrorProto #

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

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

epDebugInfo :: Lens' ErrorProto (Maybe Text) #

Debugging information. This property is internal to Google and should not be used.

epLocation :: Lens' ErrorProto (Maybe Text) #

Specifies where the error occurred, if present.

epReason :: Lens' ErrorProto (Maybe Text) #

A short error code that summarizes the error.

epMessage :: Lens' ErrorProto (Maybe Text) #

A human-readable description of the error.

CSVOptions

data CSVOptions #

Instances

Eq CSVOptions # 
Data CSVOptions # 

Methods

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

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

toConstr :: CSVOptions -> Constr #

dataTypeOf :: CSVOptions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CSVOptions # 
Generic CSVOptions # 

Associated Types

type Rep CSVOptions :: * -> * #

ToJSON CSVOptions # 
FromJSON CSVOptions # 
type Rep CSVOptions # 
type Rep CSVOptions = D1 (MetaData "CSVOptions" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "CSVOptions'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_coSkipLeadingRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_coAllowJaggedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_coAllowQuotedNewlines") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) ((:*:) (S1 (MetaSel (Just Symbol "_coQuote") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_coEncoding") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_coFieldDelimiter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

csvOptions :: CSVOptions #

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

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

coSkipLeadingRows :: Lens' CSVOptions (Maybe Int64) #

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

coAllowJaggedRows :: Lens' CSVOptions (Maybe Bool) #

Optional
Indicates if BigQuery should accept rows that are missing trailing optional columns. If true, BigQuery treats missing trailing columns as null values. If false, records with missing trailing columns are treated as bad records, and if there are too many bad records, an invalid error is returned in the job result. The default value is false.

coAllowQuotedNewlines :: Lens' CSVOptions (Maybe Bool) #

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

coQuote :: Lens' CSVOptions Text #

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

coEncoding :: Lens' CSVOptions (Maybe Text) #

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

coFieldDelimiter :: Lens' CSVOptions (Maybe Text) #

Optional
The separator for fields in a CSV file. BigQuery converts the string to ISO-8859-1 encoding, and then uses the first byte of the encoded string to split the data in its raw, binary state. BigQuery also supports the escape sequence "\t" to specify a tab separator. The default value is a comma (',').

JobStatistics3

data JobStatistics3 #

Instances

Eq JobStatistics3 # 
Data JobStatistics3 # 

Methods

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

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

toConstr :: JobStatistics3 -> Constr #

dataTypeOf :: JobStatistics3 -> DataType #

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

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

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

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

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

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

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

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

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

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

Show JobStatistics3 # 
Generic JobStatistics3 # 

Associated Types

type Rep JobStatistics3 :: * -> * #

ToJSON JobStatistics3 # 
FromJSON JobStatistics3 # 
type Rep JobStatistics3 # 
type Rep JobStatistics3 = D1 (MetaData "JobStatistics3" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "JobStatistics3'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jsInputFiles") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_jsOutputRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) ((:*:) (S1 (MetaSel (Just Symbol "_jsOutputBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_jsInputFileBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))

jobStatistics3 :: JobStatistics3 #

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

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

jsInputFiles :: Lens' JobStatistics3 (Maybe Int64) #

Output-only
Number of source files in a load job.

jsOutputRows :: Lens' JobStatistics3 (Maybe Int64) #

Output-only
Number of rows imported in a load job. Note that while an import job is in the running state, this value may change.

jsOutputBytes :: Lens' JobStatistics3 (Maybe Int64) #

Output-only
Size of the loaded data in bytes. Note that while a load job is in the running state, this value may change.

jsInputFileBytes :: Lens' JobStatistics3 (Maybe Int64) #

Output-only
Number of bytes of source data in a load job.

QueryResponse

data QueryResponse #

Instances

Eq QueryResponse # 
Data QueryResponse # 

Methods

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

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

toConstr :: QueryResponse -> Constr #

dataTypeOf :: QueryResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QueryResponse # 
Generic QueryResponse # 

Associated Types

type Rep QueryResponse :: * -> * #

ToJSON QueryResponse # 
FromJSON QueryResponse # 
type Rep QueryResponse # 
type Rep QueryResponse = D1 (MetaData "QueryResponse" "Network.Google.BigQuery.Types.Product" "gogol-bigquery-0.3.0-Lqhr7fHLhfR6zy8dxtFCdW" False) (C1 (MetaCons "QueryResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_qJobReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobReference))) (S1 (MetaSel (Just Symbol "_qKind") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_qSchema") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe TableSchema))) ((:*:) (S1 (MetaSel (Just Symbol "_qTotalBytesProcessed") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_qRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableRow])))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_qPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_qNumDmlAffectedRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_qTotalRows") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))) ((:*:) (S1 (MetaSel (Just Symbol "_qErrors") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ErrorProto]))) ((:*:) (S1 (MetaSel (Just Symbol "_qJobComplete") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_qCacheHit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))))

queryResponse :: QueryResponse #

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

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

qJobReference :: Lens' QueryResponse (Maybe JobReference) #

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

qKind :: Lens' QueryResponse Text #

The resource type.

qSchema :: Lens' QueryResponse (Maybe TableSchema) #

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

qTotalBytesProcessed :: Lens' QueryResponse (Maybe Int64) #

The total number of bytes processed for this query. If this query was a dry run, this is the number of bytes that would be processed if the query were run.

qRows :: Lens' QueryResponse [TableRow] #

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

qPageToken :: Lens' QueryResponse (Maybe Text) #

A token used for paging results.

qNumDmlAffectedRows :: Lens' QueryResponse (Maybe Int64) #

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

qTotalRows :: Lens' QueryResponse (Maybe Word64) #

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

qErrors :: Lens' QueryResponse [ErrorProto] #

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

qJobComplete :: Lens' QueryResponse (Maybe Bool) #

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

qCacheHit :: Lens' QueryResponse (Maybe Bool) #

Whether the query result was fetched from the query cache.

DataSetListDataSetsItemLabels

data DataSetListDataSetsItemLabels #

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

See: dataSetListDataSetsItemLabels smart constructor.

Instances

Eq DataSetListDataSetsItemLabels # 
Data DataSetListDataSetsItemLabels # 

Methods

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

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

toConstr :: DataSetListDataSetsItemLabels -> Constr #

dataTypeOf :: DataSetListDataSetsItemLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

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

dataSetListDataSetsItemLabels #

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

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

TableListTablesItemLabels

data TableListTablesItemLabels #

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

See: tableListTablesItemLabels smart constructor.

Instances

Eq TableListTablesItemLabels # 
Data TableListTablesItemLabels # 

Methods

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

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

toConstr :: TableListTablesItemLabels -> Constr #

dataTypeOf :: TableListTablesItemLabels -> DataType #

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

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

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

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

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

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

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

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

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

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

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

tableListTablesItemLabels #

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

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