diff --git a/CHANGELOG.md b/CHANGELOG.md index dbdfcafd..4894d414 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,26 @@ [1]: https://pypi.org/project/google-cloud-securitycenter/#history +## [1.2.0](https://www.github.com/googleapis/python-securitycenter/compare/v1.1.0...v1.2.0) (2021-05-19) + + +### Features + +* add canonical_name and folder fields ([16a33f4](https://www.github.com/googleapis/python-securitycenter/commit/16a33f4c994b80d9c50537f2e1299282d525171e)) +* support self-signed JWT flow for service accounts ([16a33f4](https://www.github.com/googleapis/python-securitycenter/commit/16a33f4c994b80d9c50537f2e1299282d525171e)) + + +### Bug Fixes + +* add async client to %name_%version/init.py ([16a33f4](https://www.github.com/googleapis/python-securitycenter/commit/16a33f4c994b80d9c50537f2e1299282d525171e)) +* fix retry deadlines ([#116](https://www.github.com/googleapis/python-securitycenter/issues/116)) ([15c28e8](https://www.github.com/googleapis/python-securitycenter/commit/15c28e88f5b52a6e4f608198446b0753bf48734e)) + + +### Documentation + +* Fix conflict tag introduced in PR 104 ([#106](https://www.github.com/googleapis/python-securitycenter/issues/106)) ([f4f14ee](https://www.github.com/googleapis/python-securitycenter/commit/f4f14ee32602aad7b7a4837e330919b4276d7b18)) +* standardize new tag with existing tags from other languages ([#104](https://www.github.com/googleapis/python-securitycenter/issues/104)) ([55582ac](https://www.github.com/googleapis/python-securitycenter/commit/55582acd814f7cd290580d5caa531725d2ff58b8)) + ## [1.1.0](https://www.github.com/googleapis/python-securitycenter/compare/v1.0.0...v1.1.0) (2020-12-15) diff --git a/setup.py b/setup.py index 0f264290..9636ca1b 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ name = "google-cloud-securitycenter" description = "Cloud Security Command Center API client library" -version = "1.1.0" +version = "1.2.0" release_status = "Development Status :: 3 - Alpha" dependencies = [ "google-api-core[grpc] >= 1.22.2, < 2.0.0dev", diff --git a/tests/unit/gapic/securitycenter_v1/test_security_center.py b/tests/unit/gapic/securitycenter_v1/test_security_center.py index 9d0a6e4e..077678ef 100644 --- a/tests/unit/gapic/securitycenter_v1/test_security_center.py +++ b/tests/unit/gapic/securitycenter_v1/test_security_center.py @@ -4817,7 +4817,7 @@ def test_set_finding_state_flattened(): _, args, _ = call.mock_calls[0] assert args[0].name == "name_value" assert args[0].state == finding.Finding.State.ACTIVE - # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) + # # # # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) def test_set_finding_state_flattened_error(): @@ -4862,7 +4862,7 @@ async def test_set_finding_state_flattened_async(): _, args, _ = call.mock_calls[0] assert args[0].name == "name_value" assert args[0].state == finding.Finding.State.ACTIVE - # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) + # # # # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) @pytest.mark.asyncio diff --git a/tests/unit/gapic/securitycenter_v1beta1/test_security_center.py b/tests/unit/gapic/securitycenter_v1beta1/test_security_center.py index 7a968277..4c680dd9 100644 --- a/tests/unit/gapic/securitycenter_v1beta1/test_security_center.py +++ b/tests/unit/gapic/securitycenter_v1beta1/test_security_center.py @@ -3622,7 +3622,7 @@ def test_set_finding_state_flattened(): _, args, _ = call.mock_calls[0] assert args[0].name == "name_value" assert args[0].state == finding.Finding.State.ACTIVE - # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) + # # # # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) def test_set_finding_state_flattened_error(): @@ -3667,7 +3667,7 @@ async def test_set_finding_state_flattened_async(): _, args, _ = call.mock_calls[0] assert args[0].name == "name_value" assert args[0].state == finding.Finding.State.ACTIVE - # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) + # # # # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) @pytest.mark.asyncio diff --git a/tests/unit/gapic/securitycenter_v1p1beta1/test_security_center.py b/tests/unit/gapic/securitycenter_v1p1beta1/test_security_center.py index 4051107d..6c45b6cc 100644 --- a/tests/unit/gapic/securitycenter_v1p1beta1/test_security_center.py +++ b/tests/unit/gapic/securitycenter_v1p1beta1/test_security_center.py @@ -4975,7 +4975,7 @@ def test_set_finding_state_flattened(): _, args, _ = call.mock_calls[0] assert args[0].name == "name_value" assert args[0].state == finding.Finding.State.ACTIVE - # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) + # # # # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) def test_set_finding_state_flattened_error(): @@ -5020,7 +5020,7 @@ async def test_set_finding_state_flattened_async(): _, args, _ = call.mock_calls[0] assert args[0].name == "name_value" assert args[0].state == finding.Finding.State.ACTIVE - # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) + # # # # # # # assert args[0].start_time == timestamp_pb2.Timestamp(seconds=751) @pytest.mark.asyncio