Table
class google.cloud.bigtable.data.Table(client: google.cloud.bigtable.data._sync_autogen.client.BigtableDataClient, instance_id: str, table_id: str, app_profile_id: typing.Optional[str] = None, *, default_read_rows_operation_timeout: float = 600, default_read_rows_attempt_timeout: float | None = 20, default_mutate_rows_operation_timeout: float = 600, default_mutate_rows_attempt_timeout: float | None = 60, default_operation_timeout: float = 60, default_attempt_timeout: float | None = 20, default_read_rows_retryable_errors: typing.Sequence[type[Exception]] = (<class 'google.api_core.exceptions.DeadlineExceeded'>, <class 'google.api_core.exceptions.ServiceUnavailable'>, <class 'google.api_core.exceptions.Aborted'>, <class 'google.api_core.exceptions.Cancelled'>), default_mutate_rows_retryable_errors: typing.Sequence[type[Exception]] = (<class 'google.api_core.exceptions.DeadlineExceeded'>, <class 'google.api_core.exceptions.ServiceUnavailable'>), default_retryable_errors: typing.Sequence[type[Exception]] = (<class 'google.api_core.exceptions.DeadlineExceeded'>, <class 'google.api_core.exceptions.ServiceUnavailable'>))
Bases:google.cloud.bigtable.data._sync_autogen.client._DataApiTarget
Main Data API surface for interacting with a Bigtable table.
Table object maintains table_id, and app_profile_id context, and passes them witheach call
Initialize a Table instance
Parameters
instance_id – The Bigtable instance ID to associate with this client.instance_id is combined with the client’s project to fullyspecify the instance
table_id – The ID of the table. table_id is combined with theinstance_id and the client’s project to fully specify the table
app_profile_id – The app profile to associate with requests.https://cloud.google.com/bigtable/docs/app-profiles
default_read_rows_operation_timeout – The default timeout for read rowsoperations, in seconds. If not set, defaults to 600 seconds (10 minutes)
default_read_rows_attempt_timeout – The default timeout for individualread rows rpc requests, in seconds. If not set, defaults to 20 seconds
default_mutate_rows_operation_timeout – The default timeout for mutate rowsoperations, in seconds. If not set, defaults to 600 seconds (10 minutes)
default_mutate_rows_attempt_timeout – The default timeout for individualmutate rows rpc requests, in seconds. If not set, defaults to 60 seconds
default_operation_timeout – The default timeout for all other operations, inseconds. If not set, defaults to 60 seconds
default_attempt_timeout – The default timeout for all other individual rpcrequests, in seconds. If not set, defaults to 20 seconds
default_read_rows_retryable_errors – a list of errors that will be retriedif encountered during read_rows and related operations.Defaults to 4 (DeadlineExceeded), 14 (ServiceUnavailable), and 10 (Aborted)
default_mutate_rows_retryable_errors – a list of errors that will be retriedif encountered during mutate_rows and related operations.Defaults to 4 (DeadlineExceeded) and 14 (ServiceUnavailable)
default_retryable_errors – a list of errors that will be retried ifencountered during all other operations.Defaults to 4 (DeadlineExceeded) and 14 (ServiceUnavailable)
Raises
None –
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-18 UTC.