API Reference¶
The main concepts with this API are:
Client
manages connections to the BigQuery API. Use the client methods to run jobs (such as aQueryJob
viaquery()
) and manage resources.Dataset
represents a collection of tables.Table
represents a single “relation”.
Client¶
|
Client to bundle configuration needed for API requests. |
Job¶
Job Configuration¶
|
Configuration options for query jobs. |
|
Configuration options for copy jobs. |
|
Configuration options for load jobs. |
|
Configuration options for extract jobs. |
Job Classes¶
|
Asynchronous job: query tables. |
|
Asynchronous job: copy data into a table from other tables. |
|
Asynchronous job for loading data into a table. |
|
Asynchronous job: extract data from a table into Cloud Storage. |
|
A job whose type cannot be determined. |
Dataset¶
|
Datasets are containers for tables. |
|
A read-only dataset resource from a list operation. |
|
DatasetReferences are pointers to datasets. |
|
Represents grant of an access role to an entity. |
Table¶
|
Definition of the ranges for range partitioning. |
|
Range-based partitioning configuration for a table. |
|
A BigQuery row. |
|
A class for iterating through HTTP/JSON API row list responses. |
|
Tables represent a set of rows whose values correspond to a schema. |
|
A read-only table resource from a list operation. |
|
TableReferences are pointers to tables. |
|
Configures time-based partitioning for a table. |
Specifies the type of time partitioning to perform. |
Model¶
|
Model represents a machine learning model resource. |
ModelReferences are pointers to models. |
Routine¶
|
Resource representing a user-defined routine. |
|
Input/output argument of a function or a stored procedure. |
A pointer to a routine. |
Schema¶
|
Describe a single field within a table schema. |
Query¶
|
Named / positional query parameters for array values. |
|
Named / positional query parameters for scalar values. |
|
Named / positional query parameters for struct values. |
|
Describe a single user-defined function (UDF) resource. |
Retries¶
The default retry object. |
External Configuration¶
The format for external data files. |
|
|
Description of an external data source. |
Options that describe how to treat Bigtable tables as BigQuery tables. |
|
Options for a Bigtable column family. |
|
Options for a Bigtable column. |
|
Options that describe how to treat CSV files as BigQuery tables. |
|
Options that describe how to treat Google Sheets as BigQuery tables. |
Magics¶
Enums¶
|
An Enum of scalar SQL types. |
Encryption Configuration¶
Custom encryption configuration (e.g., Cloud KMS keys). |
Additional Types¶
Protocol buffer classes for working with the Models API.