Class CSVOptions (1.21.0)

CSVOptions()

Options that describe how to treat CSV files as BigQuery tables.

Inheritance

builtins.object > CSVOptions

Properties

allow_jagged_rows

allow_quoted_newlines

encoding

field_delimiter

quote_character

skip_leading_rows

Methods

__init__

__init__()

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

from_api_repr

from_api_repr(resource)

Factory: construct a .external_config.CSVOptions instance given its API representation.

Parameter
NameDescription
resource Dict[str, Any]

Definition of a .external_config.CSVOptions instance in the same representation as is returned from the API.

Returns
TypeDescription
CSVOptionsConfiguration 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.