Adding basic Bigtable client. by dhermes · Pull Request #1148 · googleapis/google-cloud-python

@googlebot googlebot added the cla: yes

This human has signed the Contributor License Agreement.

label

Sep 21, 2015

@dhermes

To do this, had to de-couple some of the existing client behavior from
convenience methods since we don't need to use the _connection_class
in Bigtable. In particular, we want both the service account
factories for the client and the implicit project behavior.

dhermes added a commit that referenced this pull request

Sep 24, 2015
Adding basic Bigtable client.

parthea pushed a commit that referenced this pull request

Nov 22, 2025
…ration (#1177)

* chore: Removed old admin_v2 GAPIC layer (#1111)

* feat!: Generated Selective GAPIC layer for Admin API (#1112)

* chore: Updated service YAML by making all methods in BigtableInstanceAdmin public (#1113)

* refactor: Refactored classic client to use new Admin API (#1114)

* refactor: Refactored classic client to use new Admin API

* added newline after gapic_version files

* fix: Made generate_consistency_token and check_consistency public (#1116)

methods

* feat: Consistency polling + restore table for sync client in admin (#1117)

* feat: Prototyped handwritten layer

* Added newlines

* linting

* Added docstrings for restore table and consistency token polling;
removed gc_rule

* docs: owlbot related changes (#1133)

* docs: owlbot related changes

* Addressed PR feedback + made changes to toc.yml for docs pipeline

* Fixed type hint

* linting + added validation for admin section

* linting + added noqas to owlbot lines

* tests: Tests for sync client + fixes + client library versioning (#1132)

* tests: Tests for sync client + fixes + client library versioning

* Removed raise exception

* linting + name changes in tests + added test for timeout

* linting

* Fixed tests on Python 3.7

* feat: Proto-plus modifications for enforcing strict oneofs (#1126)

* feat: Proto-plus modifications for enforcing strict oneofs

* Added template directory + changed unit tests to pytest

* Finished README

* linting

* Added source of truth comment

* feat: Reworked the wait_for_consistency call (#1144)

* feat: Reworked the wait_for_consistency call

* linting

* Update google/cloud/bigtable/admin_v2/overlay/services/bigtable_table_admin/client.py

Co-authored-by: Mattie Fu <mattiefu@google.com>

* Improved documentation

* linting again

* linting

---------

Co-authored-by: Mattie Fu <mattiefu@google.com>

* feat: Async consistency polling harness (#1142)

* feat: Async consistency polling harness

* Fixed AsyncMock issue in Python 3.7

* Reworked async_consistency and added async client to __init__.py

* linting

* addressed review feedback

* linting

* feat: Restore Table LRO rework + async restore table (#1148)

* chore(tests): system tests for autogen API (#1151)

* tests: system tests for autogen API

* Fixed async system tests

* addressed review feedback

* Fixed system test failure at the end of a test run

* Linting

* more linting

* chore: Moved Admin API from google.cloud.bigtable.admin_v2 back to google.cloud.bigtable_admin_v2 (#1153)

* chore: Removed autogenerated files from the feature branch (#1170)

* chore: Merged selective GAPIC autogenerated changes into feature branch (#1175)

* chore: Merged selective GAPIC owlbot changes into feature branch

* linting

* changed comment text

* Removed redundant items

* Fixed owlbot infinitely appending text

* Added comments + fixed indentation in Owlbot

* Added anonymous credentials to client tests

* Fixed project ID issue in system tests

* Fixed docstrings and skipped system tests on emulator.

---------

Co-authored-by: Mattie Fu <mattiefu@google.com>

parthea pushed a commit that referenced this pull request

Nov 24, 2025

parthea pushed a commit that referenced this pull request

Nov 26, 2025
* chore(main): release 2.12.0

parthea pushed a commit that referenced this pull request

Feb 20, 2026

parthea pushed a commit that referenced this pull request

Feb 20, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v1.0.1
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:b8058df4c45e9a6e07f6b4d65b458d0d059241dd34c814f151c8bf6b89211209
<details><summary>google-cloud-firestore: 2.23.0</summary>

##
[2.23.0](googleapis/python-firestore@v2.22.0...v2.23.0)
(2026-01-14)

### Features

* pipelines preview (#1156)
([9462d106](googleapis/python-firestore@9462d106))

### Bug Fixes

* stream generator type (#1148)
([165d367c](googleapis/python-firestore@165d367c))

</details>

parthea added a commit that referenced this pull request

Feb 25, 2026

ohmayr pushed a commit that referenced this pull request

Feb 26, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.0.0-20260216162532-e323d455c92b
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:160860d189ff1c2f7515638478823712fa5b243e27ccc33a2728669fa1e2ed0c
<details><summary>google-ads-datamanager: v0.5.0</summary>

##
[v0.5.0](google-ads-datamanager-v0.4.0...google-ads-datamanager-v0.5.0)
(2026-02-26)

### Features

* add `UserListDirectLicenseService` for creating and managing direct
user list licenses (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `PpidData` to `AudienceMember` to support Publisher Provided ID
(PPID) in audience member ingestion (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `RemovePpidDataStatus` to `RemoveAudienceMembersStatus` to report
the status of PPID data removal (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `AgeRange` and `Gender` enums to support demographic breakdown in
marketing insights (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `RemoveUserIdDataStatus` to `RemoveAudienceMembersStatus` to
report the status of user ID data removal (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `UserList` resource (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `GOOGLE_AD_MANAGER_AUDIENCE_LINK` to the `AccountType` enum
(PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `PartnerLinkService` for creating and managing links between
advertiser and data partner accounts (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `PartnerLink` resource (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `UserListGlobalLicenseCustomerInfo` resource (PiperOrigin-RevId:
873059573)
([e40bfd4](e40bfd4d))

* add `UserIdData` to `AudienceMember` to support User ID in audience
member ingestion (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `MarketingDataInsightsService` for retrieving marketing data
insights for a given user list (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add new `ErrorReason` values for licensing, user list operations, and
permission checks (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `UserListGlobalLicense` resource (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `UserListDirectLicense` resource (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `UserListGlobalLicenseService` for creating and managing global
user list licenses (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `IngestUserIdDataStatus` to `IngestAudienceMembersStatus` to
report the status of user ID data ingestion (PiperOrigin-RevId:
873059573)
([e40bfd4](e40bfd4d))

* add `UserListService` for creating and managing user lists
(PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add `IngestPpidDataStatus` to `IngestAudienceMembersStatus` to report
the status of PPID data ingestion (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

### Bug Fixes

* changed `conversion_value` field to be optional in message `Event`
(PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

### Documentation

* a comment for field `pair_data` in message `AudienceMember` is changed
to clarify it is only available to data partners (PiperOrigin-RevId:
873059573)
([e40bfd4](e40bfd4d))

* a comment for enum `ErrorReason` is changed to clarify that it is
subject to future additions (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* add comments to resources and methods to clarify which are available
only to data partners (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

* a comment for message `PairData` is changed to clarify it is only
available to data partners (PiperOrigin-RevId: 873059573)
([e40bfd4](e40bfd4d))

</details>


<details><summary>google-auth-oauthlib: v1.3.0</summary>

##
[v1.3.0](google-auth-oauthlib-v1.2.4...google-auth-oauthlib-v1.3.0)
(2026-02-26)

### Features

* Log the flow.run_local_server redirect URL (#362)
([84599aa](84599aa0))

### Bug Fixes

* Raise meaningful exception when oauth callback times out (#363)
([adc3ee6](adc3ee60))

</details>


<details><summary>google-cloud-ces: v0.1.0</summary>

##
[v0.1.0](google-cloud-ces-v0.0.0...google-cloud-ces-v0.1.0)
(2026-02-26)

### Features

* onboard a new library (PiperOrigin-RevId: 868719126)
([2b38797](2b387976))

* onboard a new library (PiperOrigin-RevId: 874689837)
([e46a4d8](e46a4d8b))

</details>


<details><summary>google-cloud-compute: v1.44.0</summary>

##
[v1.44.0](google-cloud-compute-v1.43.0...google-cloud-compute-v1.44.0)
(2026-02-26)

### Features

* Update Compute Engine v1 API to revision 20260106 (#1148)
([d1ce4d3](d1ce4d35))

</details>


<details><summary>google-cloud-compute-v1beta: v0.7.0</summary>

##
[v0.7.0](google-cloud-compute-v1beta-v0.6.0...google-cloud-compute-v1beta-v0.7.0)
(2026-02-26)

### Features

* Update Compute Engine v1beta API to revision 20260206
(googleapis/googleapis#1159)
([0900626](09006260))

* Update Compute Engine v1beta API to revision 20260106 (#1147)
([0900626](09006260))

</details>


<details><summary>google-cloud-databasecenter: v0.6.0</summary>

##
[v0.6.0](google-cloud-databasecenter-v0.5.0...google-cloud-databasecenter-v0.6.0)
(2026-02-26)

### Documentation

* Replace &amp;#34;GCP&amp;#34; with &amp;#34;Google Cloud&amp;#34; in
API comments (PiperOrigin-RevId: 871778449)
([e40bfd4](e40bfd4d))

* Remove single quotes from DatabaseCenter summary. (PiperOrigin-RevId:
871778449)
([e40bfd4](e40bfd4d))

</details>


<details><summary>google-cloud-developerconnect: v0.4.0</summary>

##
[v0.4.0](google-cloud-developerconnect-v0.3.0...google-cloud-developerconnect-v0.4.0)
(2026-02-26)

### Features

* Add OAuth flow RPCs (StartOAuth, FinishOAuth) (PiperOrigin-RevId:
872542190)
([e40bfd4](e40bfd4d))

* A new field `organization` is added to message
`google.cloud.developerconnect.v1.GitHubEnterpriseConfig`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.ListDeploymentEventsRequest`
is added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new field `http_config` is added to message
`google.cloud.developerconnect.v1.Connection` (PiperOrigin-RevId:
872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.ListDeploymentEventsResponse`
is added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message `google.cloud.developerconnect.v1.FinishOAuthRequest` is
added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new field `projects` is added to message
`google.cloud.developerconnect.v1.insights.InsightsConfig`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.SecureSourceManagerInstanceConfig` is
added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message `google.cloud.developerconnect.v1.FinishOAuthResponse`
is added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new field `google_cloud_run` is added to message
`google.cloud.developerconnect.v1.insights.RuntimeConfig`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message `google.cloud.developerconnect.v1.StartOAuthRequest` is
added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Add Cloud Run and App Hub Service runtimes to InsightsConfig
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new field `app_hub_service` is added to message
`google.cloud.developerconnect.v1.insights.RuntimeConfig`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.GetDeploymentEventRequest` is
added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.AppHubService` is added
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message `google.cloud.developerconnect.v1.StartOAuthResponse` is
added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new enum value `GEMINI_CODE_ASSIST` is added to enum
`google.cloud.developerconnect.v1.GitHubConfig.GitHubApp`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Add Gemini Code Assist GitHub App type (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message `google.cloud.developerconnect.v1.insights.Projects` is
added (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Add HTTP Proxy base URI field (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new field `secure_source_manager_instance_config` is added to
message `google.cloud.developerconnect.v1.Connection`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Add Secure Source Manager and Generic HTTP Endpoint connection types
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.ArtifactDeployment` is added
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.GoogleCloudRun` is added
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Add Deployment Events to Insights API (GetDeploymentEvent,
ListDeploymentEvents) (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.GenericHTTPEndpointConfig` is added
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Add Projects field to InsightsConfig for project tracking
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new message
`google.cloud.developerconnect.v1.insights.DeploymentEvent` is added
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* A new field `http_proxy_base_uri` is added to message
`google.cloud.developerconnect.v1.HTTPProxyConfig` (PiperOrigin-RevId:
872542190)
([e40bfd4](e40bfd4d))

### Documentation

* Updated description for
`google.cloud.location.Locations.ListLocations` in YAML
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Corrected typos in comments for
`google.cloud.developerconnect.v1.insights.InsightsConfig` and
`google.cloud.developerconnect.v1.insights.ArtifactConfig`
(PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

* Updated comment for `CreateGitRepositoryLink` RPC in
`google.cloud.developerconnect.v1.DeveloperConnect` (PiperOrigin-RevId:
872542190)
([e40bfd4](e40bfd4d))

* Updated comments to include regional secret patterns for SecretManager
fields in `GitHubConfig`, `OAuthCredential`, `UserCredential`,
`GitLabConfig`, `GitLabEnterpriseConfig`, `BitbucketDataCenterConfig`,
and `BitbucketCloudConfig` (PiperOrigin-RevId: 872542190)
([e40bfd4](e40bfd4d))

</details>


<details><summary>google-cloud-speech: v2.37.0</summary>

##
[v2.37.0](google-cloud-speech-v2.36.1...google-cloud-speech-v2.37.0)
(2026-02-26)

### Features

* adds endpointing sensitivity to streaming recognition features
(PiperOrigin-RevId: 871987204)
([e40bfd4](e40bfd4d))

</details>


<details><summary>google-cloud-workloadmanager: v0.1.0</summary>

##
[v0.1.0](google-cloud-workloadmanager-v0.0.0...google-cloud-workloadmanager-v0.1.0)
(2026-02-26)

### Features

* onboard a new library (PiperOrigin-RevId: 869327994)
([7161480](71614806))

</details>

parthea pushed a commit that referenced this pull request

Mar 2, 2026
…ration (#1177)

* chore: Removed old admin_v2 GAPIC layer (#1111)

* feat!: Generated Selective GAPIC layer for Admin API (#1112)

* chore: Updated service YAML by making all methods in BigtableInstanceAdmin public (#1113)

* refactor: Refactored classic client to use new Admin API (#1114)

* refactor: Refactored classic client to use new Admin API

* added newline after gapic_version files

* fix: Made generate_consistency_token and check_consistency public (#1116)

methods

* feat: Consistency polling + restore table for sync client in admin (#1117)

* feat: Prototyped handwritten layer

* Added newlines

* linting

* Added docstrings for restore table and consistency token polling;
removed gc_rule

* docs: owlbot related changes (#1133)

* docs: owlbot related changes

* Addressed PR feedback + made changes to toc.yml for docs pipeline

* Fixed type hint

* linting + added validation for admin section

* linting + added noqas to owlbot lines

* tests: Tests for sync client + fixes + client library versioning (#1132)

* tests: Tests for sync client + fixes + client library versioning

* Removed raise exception

* linting + name changes in tests + added test for timeout

* linting

* Fixed tests on Python 3.7

* feat: Proto-plus modifications for enforcing strict oneofs (#1126)

* feat: Proto-plus modifications for enforcing strict oneofs

* Added template directory + changed unit tests to pytest

* Finished README

* linting

* Added source of truth comment

* feat: Reworked the wait_for_consistency call (#1144)

* feat: Reworked the wait_for_consistency call

* linting

* Update google/cloud/bigtable/admin_v2/overlay/services/bigtable_table_admin/client.py

Co-authored-by: Mattie Fu <mattiefu@google.com>

* Improved documentation

* linting again

* linting

---------

Co-authored-by: Mattie Fu <mattiefu@google.com>

* feat: Async consistency polling harness (#1142)

* feat: Async consistency polling harness

* Fixed AsyncMock issue in Python 3.7

* Reworked async_consistency and added async client to __init__.py

* linting

* addressed review feedback

* linting

* feat: Restore Table LRO rework + async restore table (#1148)

* chore(tests): system tests for autogen API (#1151)

* tests: system tests for autogen API

* Fixed async system tests

* addressed review feedback

* Fixed system test failure at the end of a test run

* Linting

* more linting

* chore: Moved Admin API from google.cloud.bigtable.admin_v2 back to google.cloud.bigtable_admin_v2 (#1153)

* chore: Removed autogenerated files from the feature branch (#1170)

* chore: Merged selective GAPIC autogenerated changes into feature branch (#1175)

* chore: Merged selective GAPIC owlbot changes into feature branch

* linting

* changed comment text

* Removed redundant items

* Fixed owlbot infinitely appending text

* Added comments + fixed indentation in Owlbot

* Added anonymous credentials to client tests

* Fixed project ID issue in system tests

* Fixed docstrings and skipped system tests on emulator.

---------

Co-authored-by: Mattie Fu <mattiefu@google.com>

ohmayr pushed a commit that referenced this pull request

Mar 25, 2026