Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions bigquery/google/cloud/bigquery/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,13 +717,21 @@ def _build_resource(self, filter_fields):


class TableListItem(object):
"""Read-only table resource object with a subset of table properties.
"""A read-only table resource from a list operation.

For performance reasons, the BigQuery API only includes some of the table
properties when listing tables. Notably,
:attr:`google.cloud.bigquery.table.Table.schema` and
:attr:`google.cloud.bigquery.table.Table.num_rows` are missing.

This comment was marked as spam.


For a full list of the properties that the BigQuery API returns, see the
`REST documentation for tables.list
<https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/list>`.

This comment was marked as spam.

This comment was marked as spam.


See
https://cloud.google.com/bigquery/docs/reference/rest/v2/tables/list

Args:
resource (dict): A table resource object from a table list response.
resource (dict):
A table-like resource object from a table list response.
"""

def __init__(self, resource):
Expand Down