Class BigtableColumn (3.23.0)

BigtableColumn()

Options for a Bigtable column.

Properties

encoding

str: The encoding of the values when the type is not STRING

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumn.FIELDS.encoding

field_name

str: An identifier to use if the qualifier is not a valid BigQuery field identifier

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumn.FIELDS.field_name

only_read_latest

bool: If this is set, only the latest version of value in this column are exposed.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumn.FIELDS.only_read_latest

qualifier_encoded

Union[str, bytes]: The qualifier encoded in binary.

The type is str (Python 2.x) or bytes (Python 3.x). The module will handle base64 encoding for you.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumn.FIELDS.qualifier_encoded

qualifier_string

type_

str: The type to convert the value in cells of this column.

See https://cloud.google.com/bigquery/docs/reference/rest/v2/tables#BigtableColumn.FIELDS.type

Methods

from_api_repr

from_api_repr(
    resource: dict,
) -> google.cloud.bigquery.external_config.BigtableColumn

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

Parameter
Name Description
resource Dict[str, Any]

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

Returns
Type Description
external_config.BigtableColumn Configuration parsed from resource.

to_api_repr

to_api_repr() -> dict

Build an API representation of this object.

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