Class ExternalConfig (1.17.0)

ExternalConfig(source_format)

Description of an external data source.

Parameter

NameDescription
source_format `.external_config.ExternalSourceFormat`

See source_format.

Inheritance

builtins.object > ExternalConfig

Properties

autodetect

compression

ignore_unknown_values

max_bad_records

options

Dict[str, Any]: Source-specific options.

schema

source_format

.external_config.ExternalSourceFormat: Format of external source.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#externalDataConfiguration.sourceFormat

source_uris

Methods

__init__

__init__(source_format)

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

from_api_repr

from_api_repr(resource)

Factory: construct an .external_config.ExternalConfig instance given its API representation.

Parameter
NameDescription
resource Dict[str, Any]

Definition of an .external_config.ExternalConfig instance in the same representation as is returned from the API.

Returns
TypeDescription
`.external_config.ExternalConfig`Configuration parsed from ``resource``.

to_api_repr

to_api_repr()

Build an API representation of this object.

Returns
TypeDescription
Dict[str, Any]A dictionary in the format used by the BigQuery API.