Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigQueryService ¶
type BigQueryService struct {
}
func (*BigQueryService) BigqueryDatasets ¶
func (bq *BigQueryService) BigqueryDatasets(projectID string) ([]BigqueryDataset, error)
BigqueryDatasets retrieves datasets from the given projectID across all locations
func (*BigQueryService) BigqueryDatasetsAndTables ¶
func (bq *BigQueryService) BigqueryDatasetsAndTables(projectID string) (CombinedBigqueryData, error)
BigqueryDatasetsAndTables retrieves all datasets and their tables for a given projectID
func (*BigQueryService) BigqueryTables ¶
func (bq *BigQueryService) BigqueryTables(projectID string, datasetID string) ([]BigqueryTable, error)
BigqueryTables retrieves tables from the given projectID and dataset across all locations
type BigqueryDataset ¶
type BigqueryDataset struct {
DatasetID string
Location string
CreationTime time.Time
LastModifiedTime time.Time
Description string
Name string
ProjectID string
}
BigqueryDataset represents a dataset in BigQuery
type BigqueryTable ¶
type BigqueryTable struct {
TableID string
DatasetID string
Location string
CreationTime time.Time
LastModifiedTime time.Time
NumBytes int64
Description string
ProjectID string
}
BigqueryTable represents a table in BigQuery
type CombinedBigqueryData ¶
type CombinedBigqueryData struct {
Datasets []BigqueryDataset
Tables []BigqueryTable
}
CombinedBigqueryData represents both datasets and tables within a project
Click to show internal directories.
Click to hide internal directories.