As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

google.cloud.bigquery.external_config.ExternalSourceFormat

class google.cloud.bigquery.external_config.ExternalSourceFormat[source]

The format for external data files.

Note that the set of allowed values for external data sources is different than the set used for loading data (see SourceFormat).

__init__()

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__()

Initialize self.

Attributes

AVRO

Specifies Avro format.

BIGTABLE

Specifies Bigtable format.

CSV

Specifies CSV format.

DATASTORE_BACKUP

Specifies datastore backup format

GOOGLE_SHEETS

Specifies Google Sheets format.

NEWLINE_DELIMITED_JSON

Specifies newline delimited JSON format.

AVRO = 'AVRO'

Specifies Avro format.

BIGTABLE = 'BIGTABLE'

Specifies Bigtable format.

CSV = 'CSV'

Specifies CSV format.

DATASTORE_BACKUP = 'DATASTORE_BACKUP'

Specifies datastore backup format

GOOGLE_SHEETS = 'GOOGLE_SHEETS'

Specifies Google Sheets format.

NEWLINE_DELIMITED_JSON = 'NEWLINE_DELIMITED_JSON'

Specifies newline delimited JSON format.