From ae873e0331278d77bc59a4abb196ef0c1a732d0c Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 16 Mar 2023 11:26:25 +0000 Subject: [PATCH 1/3] chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#208) Source-Link: https://togithub.com/googleapis/synthtool/commit/92006bb3cdc84677aa93c7f5235424ec2b157146 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 --- .github/.OwlBot.lock.yaml | 2 +- .kokoro/requirements.in | 2 +- .kokoro/requirements.txt | 14 +++++--------- 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 5fc5daa..b8edda5 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest - digest: sha256:8555f0e37e6261408f792bfd6635102d2da5ad73f8f09bcb24f25e6afb5fac97 + digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6 diff --git a/.kokoro/requirements.in b/.kokoro/requirements.in index 882178c..ec867d9 100644 --- a/.kokoro/requirements.in +++ b/.kokoro/requirements.in @@ -5,6 +5,6 @@ typing-extensions twine wheel setuptools -nox +nox>=2022.11.21 # required to remove dependency on py charset-normalizer<3 click<8.1.0 diff --git a/.kokoro/requirements.txt b/.kokoro/requirements.txt index fa99c12..66a2172 100644 --- a/.kokoro/requirements.txt +++ b/.kokoro/requirements.txt @@ -1,6 +1,6 @@ # -# This file is autogenerated by pip-compile with python 3.10 -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --allow-unsafe --generate-hashes requirements.in # @@ -335,9 +335,9 @@ more-itertools==9.0.0 \ --hash=sha256:250e83d7e81d0c87ca6bd942e6aeab8cc9daa6096d12c5308f3f92fa5e5c1f41 \ --hash=sha256:5a6257e40878ef0520b1803990e3e22303a41b5714006c32a3fd8304b26ea1ab # via jaraco-classes -nox==2022.8.7 \ - --hash=sha256:1b894940551dc5c389f9271d197ca5d655d40bdc6ccf93ed6880e4042760a34b \ - --hash=sha256:96cca88779e08282a699d672258ec01eb7c792d35bbbf538c723172bce23212c +nox==2022.11.21 \ + --hash=sha256:0e41a990e290e274cb205a976c4c97ee3c5234441a8132c8c3fd9ea3c22149eb \ + --hash=sha256:e21c31de0711d1274ca585a2c5fde36b1aa962005ba8e9322bf5eeed16dcd684 # via -r requirements.in packaging==21.3 \ --hash=sha256:dd47c42927d89ab911e606518907cc2d3a1f38bbd026385970643f9c5b8ecfeb \ @@ -380,10 +380,6 @@ protobuf==3.20.3 \ # gcp-docuploader # gcp-releasetool # google-api-core -py==1.11.0 \ - --hash=sha256:51c75c4126074b472f746a24399ad32f6053d1b34b68d2fa41e558e6f4a98719 \ - --hash=sha256:607c53218732647dff4acdfcd50cb62615cedf612e72d1724fb1a0cc6405b378 - # via nox pyasn1==0.4.8 \ --hash=sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d \ --hash=sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba From c5bc464c59051af86c7998cdb520c555f8402e97 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 23 Mar 2023 09:22:45 -0400 Subject: [PATCH 2/3] docs: Fix formatting of request arg in docstring (#209) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Fix formatting of request arg in docstring chore: Update gapic-generator-python to v1.9.1 PiperOrigin-RevId: 518604533 Source-Link: https://github.com/googleapis/googleapis/commit/8a085aeddfa010af5bcef090827aac5255383d7e Source-Link: https://github.com/googleapis/googleapis-gen/commit/b2ab4b0a0ae2907e812c209198a74e0898afcb04 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9 * 🦉 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 --- .../binauthz_management_service_v1/transports/rest.py | 7 ------- .../services/system_policy_v1/transports/rest.py | 1 - .../services/validation_helper_v1/transports/rest.py | 1 - .../transports/rest.py | 7 ------- .../services/system_policy_v1_beta1/transports/rest.py | 1 - ...ippet_metadata_google.cloud.binaryauthorization.v1.json | 2 +- ..._metadata_google.cloud.binaryauthorization.v1beta1.json | 2 +- 7 files changed, 2 insertions(+), 19 deletions(-) diff --git a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py index 8b2451e..a567dbe 100644 --- a/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1/services/binauthz_management_service_v1/transports/rest.py @@ -388,7 +388,6 @@ def __call__( request (~.service.CreateAttestorRequest): The request object. Request message for [BinauthzManagementService.CreateAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -489,7 +488,6 @@ def __call__( request (~.service.DeleteAttestorRequest): The request object. Request message for [BinauthzManagementService.DeleteAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -565,7 +563,6 @@ def __call__( request (~.service.GetAttestorRequest): The request object. Request message for [BinauthzManagementService.GetAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -657,7 +654,6 @@ def __call__( request (~.service.GetPolicyRequest): The request object. Request message for [BinauthzManagementService.GetPolicy][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -747,7 +743,6 @@ def __call__( request (~.service.ListAttestorsRequest): The request object. Request message for [BinauthzManagementService.ListAttestors][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -837,7 +832,6 @@ def __call__( request (~.service.UpdateAttestorRequest): The request object. Request message for [BinauthzManagementService.UpdateAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -938,7 +932,6 @@ def __call__( request (~.service.UpdatePolicyRequest): The request object. Request message for [BinauthzManagementService.UpdatePolicy][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py index 3e2e10d..e2a1e45 100644 --- a/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1/services/system_policy_v1/transports/rest.py @@ -223,7 +223,6 @@ def __call__( request (~.service.GetSystemPolicyRequest): The request object. Request to read the current system policy. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py index fb96efb..982c6f2 100644 --- a/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1/services/validation_helper_v1/transports/rest.py @@ -226,7 +226,6 @@ def __call__( request (~.service.ValidateAttestationOccurrenceRequest): The request object. Request message for [ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py index a4956ba..a91f0ee 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1beta1/services/binauthz_management_service_v1_beta1/transports/rest.py @@ -392,7 +392,6 @@ def __call__( request (~.service.CreateAttestorRequest): The request object. Request message for [BinauthzManagementService.CreateAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -493,7 +492,6 @@ def __call__( request (~.service.DeleteAttestorRequest): The request object. Request message for [BinauthzManagementService.DeleteAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -569,7 +567,6 @@ def __call__( request (~.service.GetAttestorRequest): The request object. Request message for [BinauthzManagementService.GetAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -661,7 +658,6 @@ def __call__( request (~.service.GetPolicyRequest): The request object. Request message for [BinauthzManagementService.GetPolicy][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -752,7 +748,6 @@ def __call__( request (~.service.ListAttestorsRequest): The request object. Request message for [BinauthzManagementService.ListAttestors][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -842,7 +837,6 @@ def __call__( request (~.service.UpdateAttestorRequest): The request object. Request message for [BinauthzManagementService.UpdateAttestor][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -943,7 +937,6 @@ def __call__( request (~.service.UpdatePolicyRequest): The request object. Request message for [BinauthzManagementService.UpdatePolicy][]. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py index b6f33de..40fedca 100644 --- a/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py +++ b/google/cloud/binaryauthorization_v1beta1/services/system_policy_v1_beta1/transports/rest.py @@ -223,7 +223,6 @@ def __call__( request (~.service.GetSystemPolicyRequest): The request object. Request to read the current system policy. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json index 4cb9a28..6d7a035 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-binary-authorization", - "version": "1.6.0" + "version": "0.1.0" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json index af2e556..c60d526 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-binary-authorization", - "version": "1.6.0" + "version": "0.1.0" }, "snippets": [ { From 826cb8a246a1bac475107d0433e7dcfac5983a59 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 27 Mar 2023 10:51:30 -0400 Subject: [PATCH 3/3] chore(main): release 1.6.1 (#210) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ google/cloud/binaryauthorization/gapic_version.py | 2 +- google/cloud/binaryauthorization_v1/gapic_version.py | 2 +- google/cloud/binaryauthorization_v1beta1/gapic_version.py | 2 +- ...ippet_metadata_google.cloud.binaryauthorization.v1.json | 2 +- ..._metadata_google.cloud.binaryauthorization.v1beta1.json | 2 +- 7 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 0d1bebe..093be7e 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.6.0" + ".": "1.6.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 69c01d7..00dba5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.6.1](https://github.com/googleapis/python-binary-authorization/compare/v1.6.0...v1.6.1) (2023-03-23) + + +### Documentation + +* Fix formatting of request arg in docstring ([#209](https://github.com/googleapis/python-binary-authorization/issues/209)) ([c5bc464](https://github.com/googleapis/python-binary-authorization/commit/c5bc464c59051af86c7998cdb520c555f8402e97)) + ## [1.6.0](https://github.com/googleapis/python-binary-authorization/compare/v1.5.1...v1.6.0) (2023-02-27) diff --git a/google/cloud/binaryauthorization/gapic_version.py b/google/cloud/binaryauthorization/gapic_version.py index a016bdf..b4028ab 100644 --- a/google/cloud/binaryauthorization/gapic_version.py +++ b/google/cloud/binaryauthorization/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.6.0" # {x-release-please-version} +__version__ = "1.6.1" # {x-release-please-version} diff --git a/google/cloud/binaryauthorization_v1/gapic_version.py b/google/cloud/binaryauthorization_v1/gapic_version.py index a016bdf..b4028ab 100644 --- a/google/cloud/binaryauthorization_v1/gapic_version.py +++ b/google/cloud/binaryauthorization_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.6.0" # {x-release-please-version} +__version__ = "1.6.1" # {x-release-please-version} diff --git a/google/cloud/binaryauthorization_v1beta1/gapic_version.py b/google/cloud/binaryauthorization_v1beta1/gapic_version.py index a016bdf..b4028ab 100644 --- a/google/cloud/binaryauthorization_v1beta1/gapic_version.py +++ b/google/cloud/binaryauthorization_v1beta1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.6.0" # {x-release-please-version} +__version__ = "1.6.1" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json index 6d7a035..9830aac 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-binary-authorization", - "version": "0.1.0" + "version": "1.6.1" }, "snippets": [ { diff --git a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json index c60d526..a476868 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.binaryauthorization.v1beta1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-binary-authorization", - "version": "0.1.0" + "version": "1.6.1" }, "snippets": [ {