Class BigtableColumnFamily (3.23.0)

BigtableColumnFamily()

Options for a Bigtable column family.

Properties

columns

List[BigtableColumn]: Lists of columns that should be exposed as individual fields.

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

encoding

family_id

only_read_latest

bool: If this is set only the latest version of value are exposed for all columns in this column family.

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

type_

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

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

Methods

from_api_repr

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

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

Parameter
Name Description
resource Dict[str, Any]

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

Returns
Type Description
.external_config.BigtableColumnFamily 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.