# Class Table (1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.0 1.6.3 1.5.0 1.4.5 1.2.2 1.1.0 1.0.7 0.3.0 0.2.2 0.1.1

    Table(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes a BigQuery table. See the
`Table </bigquery/docs/reference/v2/tables>`__ API resource for more
details on individual fields. Note: `Table.schema` has been
deprecated in favor of `Table.schemaJson`. `Table.schema` may
continue to be present in your logs during this transition.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `table_name` | `https://docs.cloud.google.com/python/docs/reference/bigquerylogging/latest/google.cloud.bigquery_logging_v1.types.TableName` The name of the table. |
| `info` | `https://docs.cloud.google.com/python/docs/reference/bigquerylogging/latest/google.cloud.bigquery_logging_v1.types.TableInfo` User-provided metadata for the table. |
| `schema_json` | `str` A JSON representation of the table's schema. |
| `view` | `https://docs.cloud.google.com/python/docs/reference/bigquerylogging/latest/google.cloud.bigquery_logging_v1.types.TableViewDefinition` If present, this is a virtual table defined by a SQL query. |
| `expire_time` | `google.protobuf.timestamp_pb2.Timestamp` The expiration date for the table, after which the table is deleted and the storage reclaimed. If not present, the table persists indefinitely. |
| `create_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the table was created. |
| `truncate_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the table was last truncated by an operation with a `writeDisposition` of `WRITE_TRUNCATE`. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` The time the table was last modified. |
| `encryption` | `https://docs.cloud.google.com/python/docs/reference/bigquerylogging/latest/google.cloud.bigquery_logging_v1.types.EncryptionInfo` The table encryption information. Set when non-default encryption is used. |