As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Changelog

PyPI History

2.38.0 (2026-09-17)

Features

  • core: add request hook to enrich T4 network spans with GCP resource attributes (E) (#18272) (1ca95e9)

2.37.0 (2026-09-14)

Features

  • gapic: add OpenTelemetry T3 client method span wrapping in gapic_v1.method (D) (#18274) (156e319)

2.36.0 (2026-09-03)

Features

  • api-core: add ClientInterceptor and apply_interceptors helper (A) (#18236) (b6db5a9)

  • api-core: add tracer_provider to ClientOptions for OTel support (#18139) (9ffebc2)

Bug Fixes

  • api-core: handle list-shaped REST error payloads (#18232) (02d1fd8)

  • api-core: move http encoding into transcode method (#18218) (082a99a)

2.35.0 (2026-08-21)

Features

  • api_core: add deprecation warning for grpcio < 1.83.0 for PQC (#18045) (7e2e23e)

Bug Fixes

  • api_core: improve rest path validation (#17753) (63bfb96)

  • api_core: support suppress_metrics_header fallback in AuthMetadataPlugin (#18029) (dd2000d)

Documentation

  • handwritten: centralize CONTRIBUTING.rst pointers (#17642) (23b9499)

2.34.0 (2026-08-06)

Features

Bug Fixes

  • api-core: use truthiness check in setup_request_id to support proto-plus messages (#18000) (ad8f93c)

  • bump grpcio to 1.59.0; require Python 3.10+ (#17351) (a53487a)

  • deduplicate x-goog-api-client headers (#17616) (6167e41)

  • require Protobuf 6.33.5+ (#17743) (d267342)

2.33.0 (2026-07-22)

Features

  • api_core: add request-id auto-population logic to gapic_v1 public helpers (#17738) (68e1313)

  • api-core: add get_universe_domain helper to universe.py (#17799) (d461da7)

Bug Fixes

  • api-core: prevent overwriting explicit empty strings for optional request_id (#17798) (07f7503)

2.32.0 (2026-07-16)

Features

  • implement PEP 0810 lazy loading in operations_v1 (#17724) (22c5304)

Bug Fixes

  • api_core: clarify misleading http 404 unimplemented error message (#17681) (00b9040)

2.31.0 (2026-06-02)

Documentation


(b79b3ea0c28e4b2d16aef8da14ad87c5735b1328)

Bug Fixes

2.30.3 (2026-04-09)

Bug Fixes

2.30.2 (2026-04-02)

Bug Fixes

2.30.1 (2026-03-26)

Bug Fixes

2.30.0 (2026-02-17)

Bug Fixes

2.29.0 (2026-01-08)

Features

Bug Fixes

2.28.1 (2025-10-28)

Bug Fixes

  • Remove dependency on packaging and pkg_resources (#852) (ca59a86)

2.28.0 (2025-10-24)

Features

  • Provide and use Python version support check (#832) (d36e896)

2.27.0 (2025-10-22)

Features

  • Support for async bidi streaming apis (#836) (9530548)

2.26.0 (2025-10-08)

Features

  • Add trove classifier for Python 3.14 (#842) (43690de)

2.25.2 (2025-10-01)

Bug Fixes

  • Deprecate credentials_file argument (#841) (324eb74)

  • Fix async tests and round-off error in test expectations (#837) (14a5978)

2.25.1 (2025-06-02)

Bug Fixes

  • Allow BackgroundConsumer To Inform Caller of Fatal Exceptions with Optional Callback (3206c01)

2.25.0 (2025-05-06)

Features

  • Add protobuf runtime version to x-goog-api-client header (#812) (118bd96)

  • Support dynamic retry backoff values (#793) (70697a3)

Bug Fixes

  • Resolve issue where pre-release versions of dependencies are installed (#808) (1ca7973)

2.24.2 (2025-03-06)

Bug Fixes

2.24.1 (2025-01-24)

Bug Fixes

  • Memory leak in bidi classes (#770) (c1b8afa)

  • Resolve the issue where rpc timeout of 0 is used when timeout expires (#776) (a5604a5)

Documentation

  • Add warnings regarding consuming externally sourced credentials (#783) (0ec1825)

2.24.0 (2024-12-06)

Features

  • Add automatic logging config to support debug logging (#754) (d18d9b5)

  • Update recognized logging fields (#766) (5f80f77)

2.23.0 (2024-11-11)

Features

2.22.0 (2024-10-25)

Features

Bug Fixes

2.21.0 (2024-10-07)

Features

  • Add support for asynchronous long running operations (#724) (aaed69b)

Bug Fixes

  • Set chunk size for async stream content (#702) (45b8a6d)

2.20.0 (2024-09-18)

Features

  • Add async unsupported paramater exception (#694) (8c137fe)

  • Add support for asynchronous rest streaming (#686) (1b7bb6d)

  • Add support for creating exceptions from an asynchronous response (#688) (1c4b0d0)

2.19.2 (2024-08-16)

Bug Fixes

  • Fail gracefully if could not import rpc_status module (#680) (7ccbf57)

2.19.1 (2024-06-19)

Bug Fixes

2.19.0 (2024-04-29)

Features

2.18.0 (2024-03-20)

Features

  • Add common logic for supporting universe domain (#621) (94f2ca3)

Bug Fixes

  • Add _registered_method to grpc ChannelStub (#614) (5eaaea8)

  • deps: Require proto-plus >= 1.22.3 (#626) (4fed37c)

2.17.1 (2024-02-13)

Bug Fixes

  • Resolve issue handling protobuf responses in rest streaming (#604) (bcebc92)

2.17.0 (2024-02-06)

Features

  • Add attempt_direct_path argument to create_channel (#583) (94726e7)

Bug Fixes

  • Retry constructors methods support None (#592) (416203c)

2.16.2 (2024-02-02)

Bug Fixes

2.16.1 (2024-01-30)

Bug Fixes

  • Fix broken import for google.api_core.retry_async.AsyncRetry (#587) (ac012c0)

2.16.0 (2024-01-29)

Features

  • Retry and retry_async support streaming rpcs (#495) (17ff5f1)

2.15.0 (2023-12-07)

Features

  • Add support for Python 3.12 (#557) (091b4f1)

  • Add type annotations to wrapped grpc calls (#554) (fc12b40)

  • Add universe_domain argument to ClientOptions (3069ef4)

  • Introduce compatibility with native namespace packages (#561) (bd82827)

Bug Fixes

  • Fix regression in bidi causing Thread-ConsumeBidirectionalStream caught unexpected exception  and will exit (#562) (40c8ae0)

  • Replace deprecated datetime.datetime.utcnow() (#552) (