BigtableDataClientAsync(
*,
project: str | None = None,
pool_size: int = 3,
credentials: google.auth.credentials.Credentials | None = None,
client_options: (
dict[str, Any] | "google.api_core.client_options.ClientOptions" | None
) = None
)
Create a client instance for the Bigtable Data API
Client should be created within an async context (running event loop)
Parameter |
|
---|---|
Name | Description |
client_options |
Optional[Union[dict, google.api_core.client_options.ClientOptions]]
Client options used to set user options on the client. API Endpoint should be set through client_options. |
Methods
close
close(timeout: float = 2.0)
Cancel all background tasks
get_table
get_table(
instance_id: str, table_id: str, *args, **kwargs
) -> google.cloud.bigtable.data._async.client.TableAsync
Returns a table instance for making data API requests. All arguments are passed directly to the TableAsync constructor.