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

1.11.1 (2024-08-13)

Bug Fixes

  • deps: Require protobuf>=3.20.2, protobuf<6 (078feca)

  • Regenerate pb2 files for compatibility with protobuf 5.x (078feca)

  • Retry and timeout values do not propagate in requests during pagination (8820e49)

1.11.0 (2024-03-28)

Features

  • Allow users to explicitly configure universe domain (f3677cc)

Bug Fixes

  • Add google-auth as a direct dependency (f3677cc)

  • Add staticmethod decorator to methods (f3677cc)

  • deps: Require google-api-core>=1.34.1 (f3677cc)

  • Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ (f3677cc)

  • Resolve issue with missing import for certain enums in **/types/… (f3677cc)

1.10.0 (2023-12-16)

Features

  • Add custom constraints CRUD APIs, proper etag support in Org Policy Update/Delete API (#257) (4419e5f)

1.9.0 (2023-12-07)

Features

  • Add support for Python 3.12 (#242) (400b684)

  • Introduce compatibility with native namespace packages (#241) (bac1c15)

Bug Fixes

  • Use retry_async instead of retry in async client (78d90a3)

1.8.3 (2023-11-09)

Documentation

1.8.2 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#218) (2196157)

1.8.1 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring (#211) (042cc81)

1.8.0 (2023-02-21)

Features

  • Enable “rest” transport in Python for services supporting numeric enums (#205) (0bd530d)

1.7.1 (2023-01-20)

Bug Fixes

  • Add context manager return types (5d0504f)

Documentation

  • Add documentation for enums (5d0504f)

1.7.0 (2023-01-19)

Features

1.6.0 (2023-01-10)

Features

1.5.0 (2022-12-14)

Features

  • Add support for google.cloud.orgpolicy.__version__ (2d8fd20)

  • Add typing to proto.Message based class attributes (2d8fd20)

Bug Fixes

  • Add dict typing for client_options (2d8fd20)

  • deps: Allow protobuf 3.19.5 (#188) (0d596b6)

  • deps: Require google-api-core >=1.34.0, >=2.11.0 (2d8fd20)

  • Drop usage of pkg_resources (2d8fd20)

  • Fix timeout default values (2d8fd20)

Documentation

  • samples: Snippetgen handling of repeated enum field (2d8fd20)

  • samples: Snippetgen should call await on the operation coroutine before calling result (2d8fd20)

1.4.1 (2022-08-12)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (1a1e2e4)

  • deps: require proto-plus >= 1.22.0 (1a1e2e4)

1.4.0 (2022-07-13)

Features

Bug Fixes

1.3.3 (2022-06-03)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#156) (9231917)

1.3.2 (2022-05-26)

Bug Fixes

  • regenerate pb2 files using grpcio-tools (#152) (e88e34c)

1.3.1 (2022-03-05)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#126) (ad3f4f4)

  • deps: require proto-plus>=1.15.0 (ad3f4f4)

1.3.0 (2022-02-18)

Features

Bug Fixes

  • remove tests directory from wheel (#121) (90439ab)

  • resolve DuplicateCredentialArgs error when using credentials_file (0dd6187)

Documentation

1.2.1 (2021-11-01)

Bug Fixes

  • deps: drop packaging dependency (1d6e752)

  • deps: require google-api-core >= 1.28.0 (1d6e752)

Documentation

  • list oneofs in docstring (1d6e752)

1.2.0 (2021-10-14)

Features

1.1.0 (2021-10-08)

Features

  • add context manager support in client (#92) (c12c571)

Bug Fixes

  • improper types in pagers generation (3254812)

1.0.2 (2021-09-24)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (c2ea337)

1.0.1 (2021-07-26)

Bug Fixes

  • deps: pin ‘google-{api,cloud}-core’, ‘google-auth’ to allow 2.x versions (#65) (f486869)

  • enable self signed jwt for grpc (#71) (26c70cd)

Documentation

  • add Samples section to CONTRIBUTING.rst (#66) (9cf6fc8)

Miscellaneous Chores

1.0.0 (2021-07-01)

Features

Bug Fixes

Documentation

0.3.0 (2021-05-16)

Features

  • add from_service_account_info (#24) (cb5881d)

  • support self-signed JWT flow for service accounts (aade679)

Bug Fixes

  • add async client to %name_%version/init.py chore: add autogenerated snippets (aade679)

  • deps: add packaging requirement (#48) (3056b54)

  • Fixed broken url for package. (#38) (7b27dac), closes #37

  • use correct retry deadline (#28) (5d1f86c)

0.2.0 (2021-03-01)

Features

0.1.2 (2020-05-08)

Bug Fixes

0.1.1 (2020-05-08)

Bug Fixes

0.1.0 (2020-05-07)

Features