Endpoint List Tables
Name
list_tables
Description
Lists BigQuery Tables for the specified project / dataset to which the user has been granted the READER dataset role. [API reference]
Parameters
Parameter | Required | Options |
---|---|---|
Name:
Label: DatasetId |
YES | |
Name:
Label: ProjectId |
Output Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
---|---|---|---|---|
tableId |
DT_WSTR
|
nvarchar(255)
|
255 | |
datasetId |
DT_WSTR
|
nvarchar(255)
|
255 | |
projectId |
DT_WSTR
|
nvarchar(255)
|
255 | |
kind |
DT_WSTR
|
nvarchar(100)
|
100 | |
id |
DT_WSTR
|
nvarchar(100)
|
100 | |
type |
DT_WSTR
|
nvarchar(100)
|
100 | |
creationTime |
DT_DBTIMESTAMP
|
datetime
|
Input Columns
Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. |
Examples
SSIS
Use Google BigQuery Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
Required Parameters | |
---|---|
DatasetId | Fill-in the parameter... |
Optional Parameters | |
ProjectId |

API Destination
Required Parameters | |
---|---|
DatasetId | Fill-in the parameter... |
Optional Parameters | |
ProjectId |

ODBC application
Use these SQL queries in your ODBC application data source:
List Tables
Lists tables for specified project / dataset. If you do not specify ProjectId or datasetId then it will use connection level details.
SELECT * FROM list_tables
--WITH(ProjectId='MyProjectId')
--WITH(ProjectId='MyProjectId',DatasetId='MyDatasetId')
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
List Tables
Lists tables for specified project / dataset. If you do not specify ProjectId or datasetId then it will use connection level details.
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM list_tables
--WITH(ProjectId=''MyProjectId'')
--WITH(ProjectId=''MyProjectId'',DatasetId=''MyDatasetId'')';
EXEC (@MyQuery) AT [LS_TO_GOOGLE_BIGQUERY_IN_GATEWAY];