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.job.DestinationFormat

class google.cloud.bigquery.job.DestinationFormat[source]

The exported file format. The default value is CSV.

Tables with nested or repeated fields cannot be exported as CSV.

__init__()

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

Methods

__init__()

Initialize self.

Attributes

AVRO

Specifies Avro format.

CSV

Specifies CSV format.

NEWLINE_DELIMITED_JSON

Specifies newline delimited JSON format.

AVRO = 'AVRO'

Specifies Avro format.

CSV = 'CSV'

Specifies CSV format.

NEWLINE_DELIMITED_JSON = 'NEWLINE_DELIMITED_JSON'

Specifies newline delimited JSON format.