From e4752e53f2aea72ded108b2b096d92cf3d19ff97 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Tue, 16 Aug 2022 16:42:42 +0200 Subject: [PATCH 1/3] chore(deps): update all dependencies (#473) --- samples/snippets/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index 83551070..dc266b73 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1,5 +1,5 @@ google-cloud-storage==2.5.0 -google-cloud-asset==3.11.0 -google-cloud-resource-manager==1.6.0 +google-cloud-asset==3.12.0 +google-cloud-resource-manager==1.6.1 google-cloud-pubsub==2.13.6 google-cloud-bigquery==3.3.1 From 28fdf206a594b03cd15b985fa1e7de1fd8998df6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 16 Aug 2022 20:04:19 -0400 Subject: [PATCH 2/3] feat: Add client library support for AssetService v1 BatchGetEffectiveIamPolicies API (#474) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: Add client library support for AssetService v1 BatchGetEffectiveIamPolicies API Committer: haochunzhang@ PiperOrigin-RevId: 468010360 Source-Link: https://github.com/googleapis/googleapis/commit/4bda29977c0ba0f71873967509b4b715875fe393 Source-Link: https://github.com/googleapis/googleapis-gen/commit/8ed040614d04743f16cf4e4844b716fed998f94c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGVkMDQwNjE0ZDA0NzQzZjE2Y2Y0ZTQ4NDRiNzE2ZmVkOTk4Zjk0YyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../asset_v1/services/asset_service/async_client.py | 11 ++++++++++- .../services/asset_service/transports/base.py | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/google/cloud/asset_v1/services/asset_service/async_client.py b/google/cloud/asset_v1/services/asset_service/async_client.py index 68eb09b7..59deab21 100644 --- a/google/cloud/asset_v1/services/asset_service/async_client.py +++ b/google/cloud/asset_v1/services/asset_service/async_client.py @@ -2433,7 +2433,16 @@ async def sample_batch_get_effective_iam_policies(): # and friendly error handling. rpc = gapic_v1.method_async.wrap_method( self._client._transport.batch_get_effective_iam_policies, - default_timeout=None, + default_retry=retries.Retry( + initial=0.1, + maximum=60.0, + multiplier=1.3, + predicate=retries.if_exception_type( + core_exceptions.ServiceUnavailable, + ), + deadline=300.0, + ), + default_timeout=300.0, client_info=DEFAULT_CLIENT_INFO, ) diff --git a/google/cloud/asset_v1/services/asset_service/transports/base.py b/google/cloud/asset_v1/services/asset_service/transports/base.py index 84b0a1fa..12932d61 100644 --- a/google/cloud/asset_v1/services/asset_service/transports/base.py +++ b/google/cloud/asset_v1/services/asset_service/transports/base.py @@ -313,7 +313,16 @@ def _prep_wrapped_messages(self, client_info): ), self.batch_get_effective_iam_policies: gapic_v1.method.wrap_method( self.batch_get_effective_iam_policies, - default_timeout=None, + default_retry=retries.Retry( + initial=0.1, + maximum=60.0, + multiplier=1.3, + predicate=retries.if_exception_type( + core_exceptions.ServiceUnavailable, + ), + deadline=300.0, + ), + default_timeout=300.0, client_info=client_info, ), } From 566a39a6a127b13409f45fb8ef8bb3a4bdc6c5eb Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 17 Aug 2022 10:32:40 -0400 Subject: [PATCH 3/3] chore(main): release 3.13.0 (#475) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 7 +++++++ setup.py | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c5797905..82df4e11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,13 @@ [1]: https://pypi.org/project/google-cloud-asset/#history +## [3.13.0](https://github.com/googleapis/python-asset/compare/v3.12.0...v3.13.0) (2022-08-17) + + +### Features + +* Add client library support for AssetService v1 BatchGetEffectiveIamPolicies API ([#474](https://github.com/googleapis/python-asset/issues/474)) ([28fdf20](https://github.com/googleapis/python-asset/commit/28fdf206a594b03cd15b985fa1e7de1fd8998df6)) + ## [3.12.0](https://github.com/googleapis/python-asset/compare/v3.11.0...v3.12.0) (2022-08-12) diff --git a/setup.py b/setup.py index dc767dbc..dc3017a0 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ name = "google-cloud-asset" description = "Cloud Asset API API client library" -version = "3.12.0" +version = "3.13.0" # Should be one of: # 'Development Status :: 3 - Alpha' # 'Development Status :: 4 - Beta' pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy