From 8a1b56542feeb9e0bd9bc1828f286d4286afbc55 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Wed, 11 Jan 2023 15:14:30 +0000 Subject: [PATCH 1/4] chore(deps): update dependency google-cloud-bigquery-connection to v1.9.0 (#282) --- samples/snippets/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements.txt b/samples/snippets/requirements.txt index eda4342..dc6f190 100644 --- a/samples/snippets/requirements.txt +++ b/samples/snippets/requirements.txt @@ -1 +1 @@ -google-cloud-bigquery-connection==1.8.0 \ No newline at end of file +google-cloud-bigquery-connection==1.9.0 \ No newline at end of file From 96b6e9cdea9e947b41cb5595e444ee202ac38377 Mon Sep 17 00:00:00 2001 From: Mend Renovate Date: Sat, 14 Jan 2023 18:13:17 +0000 Subject: [PATCH 2/4] chore(deps): update dependency pytest to v7.2.1 (#283) --- samples/snippets/requirements-test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/snippets/requirements-test.txt b/samples/snippets/requirements-test.txt index f70f97a..6dd4693 100644 --- a/samples/snippets/requirements-test.txt +++ b/samples/snippets/requirements-test.txt @@ -1,2 +1,2 @@ -pytest==7.2.0 +pytest==7.2.1 google-cloud-testutils==1.3.3 \ No newline at end of file From a62dada3529fe2ef72496e3e35f56c7184cfdef0 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 11:18:30 -0500 Subject: [PATCH 3/4] docs: Add documentation for enums (#284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: Add documentation for enums fix: Add context manager return types chore: Update gapic-generator-python to v1.8.1 PiperOrigin-RevId: 503210727 Source-Link: https://github.com/googleapis/googleapis/commit/a391fd1dac18dfdfa00c18c8404f2c3a6ff8e98e Source-Link: https://github.com/googleapis/googleapis-gen/commit/0080f830dec37c3384157082bce279e37079ea58 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDA4MGY4MzBkZWMzN2MzMzg0MTU3MDgyYmNlMjc5ZTM3MDc5ZWE1OCJ9 * 🦉 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 --- .../services/connection_service/client.py | 2 +- .../cloud/bigquery_connection_v1/types/connection.py | 11 ++++++++++- ..._metadata_google.cloud.bigquery.connection.v1.json | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/google/cloud/bigquery_connection_v1/services/connection_service/client.py b/google/cloud/bigquery_connection_v1/services/connection_service/client.py index dd5ac36..a28fb4b 100644 --- a/google/cloud/bigquery_connection_v1/services/connection_service/client.py +++ b/google/cloud/bigquery_connection_v1/services/connection_service/client.py @@ -1457,7 +1457,7 @@ def sample_test_iam_permissions(): # Done; return the response. return response - def __enter__(self): + def __enter__(self) -> "ConnectionServiceClient": return self def __exit__(self, type, value, traceback): diff --git a/google/cloud/bigquery_connection_v1/types/connection.py b/google/cloud/bigquery_connection_v1/types/connection.py index af12434..f913579 100644 --- a/google/cloud/bigquery_connection_v1/types/connection.py +++ b/google/cloud/bigquery_connection_v1/types/connection.py @@ -318,7 +318,16 @@ class CloudSqlProperties(proto.Message): """ class DatabaseType(proto.Enum): - r"""Supported Cloud SQL database types.""" + r"""Supported Cloud SQL database types. + + Values: + DATABASE_TYPE_UNSPECIFIED (0): + Unspecified database type. + POSTGRES (1): + Cloud SQL for PostgreSQL. + MYSQL (2): + Cloud SQL for MySQL. + """ DATABASE_TYPE_UNSPECIFIED = 0 POSTGRES = 1 MYSQL = 2 diff --git a/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json index a5f4349..0fde6f0 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-bigquery-connection", - "version": "1.9.0" + "version": "0.1.0" }, "snippets": [ { From 4dd64d70a9ab9cf8f40e5873078420feb4a26a23 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Mon, 23 Jan 2023 14:49:56 -0500 Subject: [PATCH 4/4] chore(main): release 1.9.1 (#285) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- .release-please-manifest.json | 2 +- CHANGELOG.md | 12 ++++++++++++ google/cloud/bigquery_connection/gapic_version.py | 2 +- google/cloud/bigquery_connection_v1/gapic_version.py | 2 +- ...metadata_google.cloud.bigquery.connection.v1.json | 2 +- 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4fcfdf7..2b6f978 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.9.0" + ".": "1.9.1" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 740666c..c8990e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.9.1](https://github.com/googleapis/python-bigquery-connection/compare/v1.9.0...v1.9.1) (2023-01-20) + + +### Bug Fixes + +* Add context manager return types ([a62dada](https://github.com/googleapis/python-bigquery-connection/commit/a62dada3529fe2ef72496e3e35f56c7184cfdef0)) + + +### Documentation + +* Add documentation for enums ([a62dada](https://github.com/googleapis/python-bigquery-connection/commit/a62dada3529fe2ef72496e3e35f56c7184cfdef0)) + ## [1.9.0](https://github.com/googleapis/python-bigquery-connection/compare/v1.8.0...v1.9.0) (2023-01-10) diff --git a/google/cloud/bigquery_connection/gapic_version.py b/google/cloud/bigquery_connection/gapic_version.py index 163d151..13f1b4a 100644 --- a/google/cloud/bigquery_connection/gapic_version.py +++ b/google/cloud/bigquery_connection/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.9.0" # {x-release-please-version} +__version__ = "1.9.1" # {x-release-please-version} diff --git a/google/cloud/bigquery_connection_v1/gapic_version.py b/google/cloud/bigquery_connection_v1/gapic_version.py index 163d151..13f1b4a 100644 --- a/google/cloud/bigquery_connection_v1/gapic_version.py +++ b/google/cloud/bigquery_connection_v1/gapic_version.py @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -__version__ = "1.9.0" # {x-release-please-version} +__version__ = "1.9.1" # {x-release-please-version} diff --git a/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json b/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json index 0fde6f0..ca553ce 100644 --- a/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json +++ b/samples/generated_samples/snippet_metadata_google.cloud.bigquery.connection.v1.json @@ -8,7 +8,7 @@ ], "language": "PYTHON", "name": "google-cloud-bigquery-connection", - "version": "0.1.0" + "version": "1.9.1" }, "snippets": [ {