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

3.25.1 (2024-11-11)

Bug Fixes

3.25.0 (2024-10-24)

Features

3.24.0 (2024-10-23)

Features

  • [google-cloud-dlp] discovery of BigQuery snapshots (#13172) (76e529c)

Documentation

  • documentation revisions for data profiles (76e529c)

3.23.0 (2024-09-23)

Features

  • action for publishing data profiles to SecOps (formelly known as Chronicle) (afcf7cb)

  • action for publishing data profiles to Security Command Center (afcf7cb)

  • discovery configs for AWS S3 buckets (afcf7cb)

Documentation

  • small improvements and clarifications (afcf7cb)

3.22.0 (2024-08-19)

Features

  • file store data profiles can now be filtered by type and storage location (5dc35c8)

  • inspect template modified cadence discovery config for Cloud SQL (5dc35c8)

Documentation

3.21.0 (2024-08-08)

Features

3.20.0 (2024-07-31)

Features

  • [google-cloud-dlp] org-level connection bindings (871cd07)

  • add refresh frequency for data profiling (871cd07)

  • gRPC config for get, list, and delete FileStoreDataProfiles (871cd07)

Documentation

  • [google-cloud-dlp] replace HTML tags with CommonMark notation (871cd07)

  • small improvements (871cd07)

3.19.0 (2024-07-30)

Features

  • add Cloud Storage discovery support (aed54ad)

Bug Fixes

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

Documentation

  • Updated method documentation (aed54ad)

3.18.1 (2024-07-08)

Bug Fixes

3.18.0 (2024-05-27)

Features

  • add secrets discovery support (dec2866)

Documentation

  • Updated method documentation (dec2866)

3.17.0 (2024-05-07)

Features

  • Add field to InspectJobs num_rows_processed for BigQuery inspect jobs (04a2214)

  • Add new countries for supported detectors (04a2214)

  • add RPCs for deleting TableDataProfiles (04a2214)

  • Add RPCs for enabling discovery of Cloud SQL (04a2214)

Documentation

  • Updated method documentation (04a2214)

3.16.0 (2024-03-07)

Features

  • Add RPCs for getting and listing project, table, and column data profiles (d319fac)

Documentation

  • Update urls to reflect branding change to Sensitive Data Protection (d319fac)

3.15.3 (2024-03-05)

Bug Fixes

3.15.2 (2024-02-22)

Bug Fixes

  • deps: [Many APIs] Require google-api-core>=1.34.1 (#12306) (1e787f2)

  • fix ValueError in test__validate_universe_domain (dd749df)

3.15.1 (2024-02-06)

Bug Fixes

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

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint (c721248)

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

3.15.0 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain (#12240) (d51f832)

3.14.0 (2023-12-07)

Features

  • Add support for python 3.12 (5cd98aa)

  • Introduce compatibility with native namespace packages (5cd98aa)

Bug Fixes

  • Require proto-plus >= 1.22.3 (5cd98aa)

  • Use retry_async instead of retry in async client (5cd98aa)

3.13.0 (2023-11-02)

Features

  • Add DeidentifyDataSource result summary protos (65da9c9)

  • Add protos for nullness and uniqueness, and column data profiles (65da9c9)

  • Add SensitivityScore proto to InfoType (65da9c9)

  • Introduce Discovery API protos and methods (65da9c9)

Documentation

  • Update comments for many messages. (65da9c9)

3.12.3 (2023-09-13)

Documentation

3.12.2 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#505) (a4099cc)

3.12.1 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring (#497) (60cafe1)

3.12.0 (2023-02-28)

Features

  • Enable “rest” transport in Python for services supporting numeric enums (#491) (4265240)

3.11.1 (2023-01-20)

Bug Fixes

  • Add context manager return types (29a4548)

Documentation

  • Add documentation for enums (29a4548)

3.11.0 (2023-01-10)

Features

3.10.1 (2023-01-05)

Documentation

  • samples: Adding a missing line as suggested by feedback (#469) (8216416)

3.10.0 (2022-12-15)

Features

  • Add support for google.cloud.dlp.__version__ (bf3e815)

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

  • ExcludeByHotword added as an ExclusionRule type (bf3e815)

  • NEW_ZEALAND added as a LocationCategory value (bf3e815)

Bug Fixes

  • Add dict typing for client_options (bf3e815)

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

  • Drop usage of pkg_resources (2e9826d)

  • Fix timeout default values (2e9826d)

Documentation

  • samples: Snippetgen handling of repeated enum field (bf3e815)

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

3.9.2 (2022-10-07)

Bug Fixes

3.9.1 (2022-10-04)

Bug Fixes

Documentation

  • Deprecate extra field to avoid confusion (#447) (8ee182f)

3.9.0 (2022-09-06)

Features

3.8.1 (2022-08-12)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#422) (c179361)

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

3.8.0 (2022-07-16)

Features

  • add audience parameter (6a3d7ec)

  • InfoType categories were added to built-in infoTypes (#409) (6a3d7ec)

Bug Fixes

  • deps: require google-api-core>=1.32.0,>=2.8.0 (6a3d7ec)

  • require python 3.7+ (#411) (232001d)

3.7.1 (2022-06-03)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#396) (d09ac69)

3.7.0 (2022-05-12)

Features

  • add DataProfilePubSubMessage supporting pub/sub integration (#363) (15a4653)

  • new Bytes and File types POWERPOINT and EXCEL (#355) (be8c8b1)

3.6.2 (2022-03-05)

Bug Fixes

3.6.1 (2022-02-26)

Bug Fixes

  • resolve DuplicateCredentialArgs error when using credentials_file (#325) (676f1d7)

Documentation

  • dlp-samples: modified region tags and fixed comment (#330) (6375f90)

3.6.0 (2022-01-26)

Features

Bug Fixes

  • deps: require google-api-core>=1.31.5, >2.3.0 (#322) (24d07e3)

3.5.0 (2022-01-16)

Features

3.4.0 (2021-12-03)

Features

  • added deidentify replacement dictionaries (#296) (63e9661)

  • added field for BigQuery inspect template inclusion lists (63e9661)

  • added field to support infotype versioning (63e9661)

3.3.1 (2021-11-05)

Bug Fixes

  • deps: drop packaging dependency (84181e9)

  • deps: require google-api-core >= 1.28.0 (84181e9)

  • fix extras_require typo in setup.py (84181e9)

Documentation

  • list oneofs in docstring (84181e9)

3.3.0 (2021-10-26)

Features

  • add context manager support in client (#272) (c0ba4eb)

3.2.4 (2021-10-05)

Bug Fixes

  • improper types in pagers generation (164977f)

3.2.3 (2021-09-24)

Bug Fixes

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

3.2.2 (2021-07-27)

Bug Fixes

Documentation

  • add Samples section to CONTRIBUTING.rst (#210) (566827b)

Miscellaneous Chores

3.2.1 (2021-07-21)

Bug Fixes

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

3.2.0 (2021-07-12)

Features

Bug Fixes

Documentation

3.1.1 (2021-06-16)

Bug Fixes

3.1.0 (2021-05-28)

Features

  • crypto_deterministic_config (#108) (#119) (396804d)

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

Bug Fixes

3.0.1 (2021-01-28)

Bug Fixes

  • remove gRPC send/recv limits; add enums to types/__init__.py (#89) (76e0439)

3.0.0 (2020-12-02)

⚠ BREAKING CHANGES

  • rename fields that collide with builtins (#75)

    • ByteContentItem.type -> ByteContentItem.type_

    • MetadataLocation.type -> MetadataLocation.type_

    • Container.type -> Container.type_

    • Bucket.min -> Bucket.min_

    • Bucket.max -> Bucket.max_

    • DlpJob.type -> DlpJob.type_

    • GetDlpJobRequest.type -> GetDlpJobRequest.type_

Bug Fixes

  • rename fields that collide with builtins; retrieve job config for risk analysis jobs (#75) (4f3148e)

Documentation

  • samples: fix README to accurately reflect the new repo after the move (#72) (dc56806)

2.0.0 (2020-08-18)

⚠ BREAKING CHANGES

  • migrate to use microgen (#34)

Features

1.0.0 (2020-06-10)

Features

  • set release_status to production/stable (#9) (a7f22a5)

0.15.0 (2020-05-14)

Features

  • add file types and metadata location enums (via synth) (#16) (442bd9f)

  • add support for hybrid jobs (via synth) (#10) (ffad36e)

0.14.0 (2020-02-21)

Features

  • dlp: undeprecate resource name helper methods, add 2.7 deprecation warning (via synth) (#10040) (b30d7c1)

0.13.0

12-06-2019 14:29 PST

Implementation Changes

  • Remove send/recv msg size limit (via synth). (#8953)

New Features

  • Add location_id in preparation for regionalization; deprecate resource name helper functions (via synth). (#9856)

Documentation

  • Add python 2 sunset banner to documentation. (#9036)

  • Change requests intersphinx ref (via synth). (#9403)

  • Fix intersphinx reference to requests. (#9294)

  • Remove CI for gh-pages, use googleapis.dev for api_core refs. (#9085)

  • Remove compatability badges from READMEs. (#9035)

  • Update intersphinx mapping for requests. (#8805)

Internal / Testing Changes

  • Normalize VPCSC configuration in systests. (#9608)

  • Ensure env is always set; fix typo in test_deidentify_content. (#9479)

  • Exclude ‘noxfile.py’ from synth. (#9284)

  • Ensure GOOGLE_CLOUD_TESTS_IN_VPCSC is down cast for env variables. (#9274)

  • Add VPCSC tests. (#9249)

0.12.1

07-24-2019 16:16 PDT

Dependencies

  • Bump minimum version for google-api-core to 1.14.0. (#8709)

Documentation

  • Fix docs navigation issues. (#8723)

  • Link to googleapis.dev documentation in READMEs. (#8705)

  • Add compatibility check badges to READMEs. (#8288)

0.12.0

07-09-2019 13:20 PDT

New Features

  • Add support for publishing findings to GCS; deprecate ‘DetectionRule’ message (via synth). (#8610)

  • Add ‘client_options’ support, update list method docstrings (via synth). (#8507)

  • Allow kwargs to be passed to create_channel; expose support for AVRO files (via synth). (#8443)

Internal / Testing Changes

  • Pin black version (via synth). (#8581)

  • Add docs job to publish to googleapis.dev. (#8464)

  • Update docstrings, format protos, update noxfile (via synth). (#8239)

  • Fix coverage in ‘types.py’ (via synth). (#8153)

  • Blacken noxfile.py, setup.py (via synth). (#8121)

  • Add empty lines (via synth). (#8056)

  • Add nox session docs, reorder methods (via synth). (#7769)

0.11.0

04-15-2019 15:05 PDT

Implementation Changes

  • Remove classifier for Python 3.4 for end-of-life. (#7535)

  • Remove unused message exports. (#7267)

  • Protoc-generated serialization update. (#7081)

New Features

  • Add support for filtering job triggers; add CryptoDeterministicConfig; update docs/conf.py. (via synth). (#7390)

Documentation

  • Updated client library documentation URLs. (#7307)

  • Update copyright headers

  • Pick up stub docstring fix in GAPIC generator. (#6969)

Internal / Testing Changes

  • Copy in proto files. (#7227)

  • Add protos as an artifact to library (#7205)

0.10.0

12-17-2018 18:07 PST

Implementation Changes

  • Import iam.policy from google.api_core. (#6741)

  • Pick up enum fixes in the GAPIC generator. (#6611)

  • Pick up fixes in GAPIC generator. (#6495)

  • Fix client_info bug, update docstrings via synth. (#6440)

  • Assorted synth fixups / cleanups (#6400)

New Features

  • Add BigQueryOptions.excluded_fields. (#6312)

Dependencies

  • Bump minimum api_core version for all GAPIC libs to 1.4.1. (#6391)

Documentation

  • Document Python 2 deprecation (#6910)

  • Pick up docstring fix via synth. (#6874)

Internal / Testing Changes

  • Update noxfile.

  • Blacken all gen’d libs (#6792)

  • Omit local deps (#6701)

  • Run black at end of synth.py (#6698)

  • Run Black on Generated libraries (#6666)

  • Add templates for flake8, coveragerc, noxfile, and black. (#6642)

  • Add synth metadata. (#6565)

0.9.0

10-18-2018 10:44 PDT

New Features

  • Added stored_info_type methods to v2. (#6221)

Documentation

  • Docs: normalize use of support level badges (#6159)

  • Add / fix badges for PyPI / versions. (#6158)

Internal / Testing Changes

  • Use new Nox (#6175)

  • Avoid replacing/scribbling on ‘setup.py’ during synth. (#6125)

0.8.0

New Features

  • Add support for exclude findings. (#6091)

  • Add support for stored info type support. (#5950)

Documentation

  • Fix docs issue in DLP generation. (#5668, #5815)

  • Docs: Replace links to ‘/stable/’ with ‘/latest/’. (#5901)

0.7.0

New Features

  • Add StoredInfoTypes (#5809)

0.6.0

New Features

  • Regenerate DLP v2 endpoint (redact image, delta presence) (#5666)

Internal / Testing Changes

  • Avoid overwriting ‘module’ of messages from shared modules. (#5364)

  • Add Test runs for Python 3.7 and remove 3.4 (#5295)

  • Modify system tests to use prerelease versions of grpcio (#5304)

0.5.0

New Features

  • Add PublishSummaryToCscc (#5246)

  • Add configurable row limit (#5246)

  • Add EntityID added to risk stats (#5246)

  • Add dictionaries via GCS (#5246)

0.4.0

Implementation Changes

  • Remove DLP client version V2Beta1 (#5155)

0.3.0

Implementation changes

  • The library has been regenerated to pick up changes from the API’s proto definition. (#5131)

0.2.0

Interface additions

  • Add DLP v2 (#5059)

0.1.1

Dependencies

  • Update dependency range for api-core to include v1.0.0 releases (#4944)

Testing and internal changes

  • Normalize all setup.py files (#4909)

0.1.0

Initial release of the DLP (Data Loss Prevention) client library. (#4879)