From 8484d55d136b9dce9acceb532b83e6403e54d02e Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 25 Feb 2022 10:18:48 -0500 Subject: [PATCH] chore: use gapic-generator-python 0.63.4 (#167) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: https://github.com/googleapis/googleapis/commit/ea5800229f73f94fd7204915a86ed09dcddf429a Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca893ff8af25fc7fe001de1405a517d80446ecca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * add classifier for python 3.10 * remove redundant samples Co-authored-by: Owl Bot Co-authored-by: Anthonios Partheniou --- .../connection_service/async_client.py | 16 ++--- .../services/connection_service/client.py | 24 +++---- ...ection_service_create_connection_async.py} | 4 +- ...nection_service_create_connection_sync.py} | 4 +- ...ection_service_delete_connection_async.py} | 4 +- ...nection_service_delete_connection_sync.py} | 4 +- ...onnection_service_get_connection_async.py} | 4 +- ...connection_service_get_connection_sync.py} | 4 +- ...onnection_service_get_iam_policy_async.py} | 4 +- ...connection_service_get_iam_policy_sync.py} | 4 +- ...nection_service_list_connections_async.py} | 4 +- ...nnection_service_list_connections_sync.py} | 4 +- ...onnection_service_set_iam_policy_async.py} | 4 +- ...connection_service_set_iam_policy_sync.py} | 4 +- ...ion_service_test_iam_permissions_async.py} | 4 +- ...tion_service_test_iam_permissions_sync.py} | 4 +- ...ection_service_update_connection_async.py} | 4 +- ...nection_service_update_connection_sync.py} | 4 +- ...ippet_metadata_bigquery connection_v1.json | 64 +++++++++---------- .../google-cloud-bigquery-connection/setup.py | 1 + 20 files changed, 81 insertions(+), 88 deletions(-) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_async.py => bigqueryconnection_v1_generated_connection_service_create_connection_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_sync.py => bigqueryconnection_v1_generated_connection_service_create_connection_sync.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_async.py => bigqueryconnection_v1_generated_connection_service_delete_connection_async.py} (86%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_sync.py => bigqueryconnection_v1_generated_connection_service_delete_connection_sync.py} (86%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_async.py => bigqueryconnection_v1_generated_connection_service_get_connection_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_sync.py => bigqueryconnection_v1_generated_connection_service_get_connection_sync.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_async.py => bigqueryconnection_v1_generated_connection_service_get_iam_policy_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_sync.py => bigqueryconnection_v1_generated_connection_service_get_iam_policy_sync.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_async.py => bigqueryconnection_v1_generated_connection_service_list_connections_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_sync.py => bigqueryconnection_v1_generated_connection_service_list_connections_sync.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_async.py => bigqueryconnection_v1_generated_connection_service_set_iam_policy_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_sync.py => bigqueryconnection_v1_generated_connection_service_set_iam_policy_sync.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_async.py => bigqueryconnection_v1_generated_connection_service_test_iam_permissions_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_sync.py => bigqueryconnection_v1_generated_connection_service_test_iam_permissions_sync.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_async.py => bigqueryconnection_v1_generated_connection_service_update_connection_async.py} (87%) rename packages/google-cloud-bigquery-connection/samples/generated_samples/{bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_sync.py => bigqueryconnection_v1_generated_connection_service_update_connection_sync.py} (87%) diff --git a/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/async_client.py b/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/async_client.py index 6820222711be..9e28ff8a8d25 100644 --- a/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/async_client.py +++ b/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/async_client.py @@ -219,7 +219,7 @@ async def create_connection( ) -> gcbc_connection.Connection: r"""Creates a new connection. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -326,7 +326,7 @@ async def get_connection( ) -> connection.Connection: r"""Returns specified connection. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -427,7 +427,7 @@ async def list_connections( ) -> pagers.ListConnectionsAsyncPager: r"""Returns a list of connections in the given project. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -543,7 +543,7 @@ async def update_connection( are in the update field mask. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -652,7 +652,7 @@ async def delete_connection( ) -> None: r"""Deletes connection and associated credential. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -745,7 +745,7 @@ async def get_iam_policy( not have a policy set. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -895,7 +895,7 @@ async def set_iam_policy( ``PERMISSION_DENIED`` errors. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -1049,7 +1049,7 @@ async def test_iam_permissions( warning. - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 diff --git a/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/client.py b/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/client.py index 2404b7710b5d..c7c1c47ec04b 100644 --- a/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/client.py +++ b/packages/google-cloud-bigquery-connection/google/cloud/bigquery_connection_v1/services/connection_service/client.py @@ -418,8 +418,7 @@ def create_connection( ) -> gcbc_connection.Connection: r"""Creates a new connection. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -526,8 +525,7 @@ def get_connection( ) -> connection.Connection: r"""Returns specified connection. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -618,8 +616,7 @@ def list_connections( ) -> pagers.ListConnectionsPager: r"""Returns a list of connections in the given project. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -725,8 +722,7 @@ def update_connection( are in the update field mask. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -835,8 +831,7 @@ def delete_connection( ) -> None: r"""Deletes connection and associated credential. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -919,8 +914,7 @@ def get_iam_policy( not have a policy set. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -1069,8 +1063,7 @@ def set_iam_policy( ``PERMISSION_DENIED`` errors. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 @@ -1223,8 +1216,7 @@ def test_iam_permissions( warning. - - .. code-block:: + .. code-block:: python from google.cloud import bigquery_connection_v1 diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_create_connection_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_create_connection_async.py index 88b15b8f10b1..316ef365cf5c 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_create_connection_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_CreateConnection_async] +# [START bigqueryconnection_v1_generated_ConnectionService_CreateConnection_async] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ async def sample_create_connection(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_CreateConnection_async] +# [END bigqueryconnection_v1_generated_ConnectionService_CreateConnection_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_create_connection_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_create_connection_sync.py index 2ce37a5b3b12..fdc1897a99c7 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_create_connection_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_CreateConnection_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_CreateConnection_sync] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ def sample_create_connection(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_CreateConnection_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_CreateConnection_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_delete_connection_async.py similarity index 86% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_delete_connection_async.py index 30266c295523..ac1c6c1b08b8 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_delete_connection_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_DeleteConnection_async] +# [START bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_async] from google.cloud import bigquery_connection_v1 @@ -40,4 +40,4 @@ async def sample_delete_connection(): await client.delete_connection(request=request) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_DeleteConnection_async] +# [END bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_delete_connection_sync.py similarity index 86% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_delete_connection_sync.py index d43b0e85bbc0..e96f0f3886f6 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_delete_connection_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_DeleteConnection_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_sync] from google.cloud import bigquery_connection_v1 @@ -40,4 +40,4 @@ def sample_delete_connection(): client.delete_connection(request=request) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_DeleteConnection_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_connection_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_connection_async.py index 762c6599cac0..5e2f76166c00 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_connection_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetConnection_async] +# [START bigqueryconnection_v1_generated_ConnectionService_GetConnection_async] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ async def sample_get_connection(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetConnection_async] +# [END bigqueryconnection_v1_generated_ConnectionService_GetConnection_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_connection_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_connection_sync.py index 7d66a019278a..1a55ae2f068f 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_connection_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetConnection_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_GetConnection_sync] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ def sample_get_connection(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetConnection_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_GetConnection_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_iam_policy_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_iam_policy_async.py index a80b2fb7ba8c..04ea1e03d2f0 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_iam_policy_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetIamPolicy_async] +# [START bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_async] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ async def sample_get_iam_policy(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetIamPolicy_async] +# [END bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_iam_policy_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_iam_policy_sync.py index 2655919139f1..6feb43698a3b 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_get_iam_policy_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetIamPolicy_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_sync] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ def sample_get_iam_policy(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetIamPolicy_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_list_connections_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_list_connections_async.py index 1b03234cd554..cb4893c6cd9b 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_list_connections_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_ListConnections_async] +# [START bigqueryconnection_v1_generated_ConnectionService_ListConnections_async] from google.cloud import bigquery_connection_v1 @@ -44,4 +44,4 @@ async def sample_list_connections(): async for response in page_result: print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_ListConnections_async] +# [END bigqueryconnection_v1_generated_ConnectionService_ListConnections_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_list_connections_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_list_connections_sync.py index db24a3a631af..868ab22ef3ff 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_list_connections_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_ListConnections_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_ListConnections_sync] from google.cloud import bigquery_connection_v1 @@ -44,4 +44,4 @@ def sample_list_connections(): for response in page_result: print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_ListConnections_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_ListConnections_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_set_iam_policy_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_set_iam_policy_async.py index c98d8a4b96c9..3e5923866975 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_set_iam_policy_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_SetIamPolicy_async] +# [START bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_async] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ async def sample_set_iam_policy(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_SetIamPolicy_async] +# [END bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_set_iam_policy_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_set_iam_policy_sync.py index 3a8a9ead55f6..5d45e10bd35a 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_set_iam_policy_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_SetIamPolicy_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_sync] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ def sample_set_iam_policy(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_SetIamPolicy_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_test_iam_permissions_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_test_iam_permissions_async.py index 3e45e8387fbf..f5eb1a86ab9c 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_test_iam_permissions_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_TestIamPermissions_async] +# [START bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_async] from google.cloud import bigquery_connection_v1 @@ -43,4 +43,4 @@ async def sample_test_iam_permissions(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_TestIamPermissions_async] +# [END bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_test_iam_permissions_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_test_iam_permissions_sync.py index ccc9a3691613..2e608fff5884 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_test_iam_permissions_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_TestIamPermissions_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_sync] from google.cloud import bigquery_connection_v1 @@ -43,4 +43,4 @@ def sample_test_iam_permissions(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_TestIamPermissions_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_async.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_update_connection_async.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_async.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_update_connection_async.py index c6aef7420397..8fb98e4fd347 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_async.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_update_connection_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_UpdateConnection_async] +# [START bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_async] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ async def sample_update_connection(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_UpdateConnection_async] +# [END bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_async] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_sync.py b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_update_connection_sync.py similarity index 87% rename from packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_sync.py rename to packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_update_connection_sync.py index 8b838a41cd82..3fb7eda84436 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_sync.py +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/bigqueryconnection_v1_generated_connection_service_update_connection_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-bigquery-connection -# [START bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_UpdateConnection_sync] +# [START bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_sync] from google.cloud import bigquery_connection_v1 @@ -42,4 +42,4 @@ def sample_update_connection(): # Handle the response print(response) -# [END bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_UpdateConnection_sync] +# [END bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_sync] diff --git a/packages/google-cloud-bigquery-connection/samples/generated_samples/snippet_metadata_bigquery connection_v1.json b/packages/google-cloud-bigquery-connection/samples/generated_samples/snippet_metadata_bigquery connection_v1.json index 286ef11e9b8c..e5f0f7d3505a 100644 --- a/packages/google-cloud-bigquery-connection/samples/generated_samples/snippet_metadata_bigquery connection_v1.json +++ b/packages/google-cloud-bigquery-connection/samples/generated_samples/snippet_metadata_bigquery connection_v1.json @@ -10,8 +10,8 @@ "shortName": "CreateConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_CreateConnection_async", + "file": "bigqueryconnection_v1_generated_connection_service_create_connection_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_CreateConnection_async", "segments": [ { "end": 44, @@ -54,8 +54,8 @@ "shortName": "CreateConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_create_connection_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_CreateConnection_sync", + "file": "bigqueryconnection_v1_generated_connection_service_create_connection_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_CreateConnection_sync", "segments": [ { "end": 44, @@ -99,8 +99,8 @@ "shortName": "DeleteConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_DeleteConnection_async", + "file": "bigqueryconnection_v1_generated_connection_service_delete_connection_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_async", "segments": [ { "end": 42, @@ -141,8 +141,8 @@ "shortName": "DeleteConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_delete_connection_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_DeleteConnection_sync", + "file": "bigqueryconnection_v1_generated_connection_service_delete_connection_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_DeleteConnection_sync", "segments": [ { "end": 42, @@ -184,8 +184,8 @@ "shortName": "GetConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetConnection_async", + "file": "bigqueryconnection_v1_generated_connection_service_get_connection_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetConnection_async", "segments": [ { "end": 44, @@ -228,8 +228,8 @@ "shortName": "GetConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_connection_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetConnection_sync", + "file": "bigqueryconnection_v1_generated_connection_service_get_connection_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetConnection_sync", "segments": [ { "end": 44, @@ -273,8 +273,8 @@ "shortName": "GetIamPolicy" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetIamPolicy_async", + "file": "bigqueryconnection_v1_generated_connection_service_get_iam_policy_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_async", "segments": [ { "end": 44, @@ -317,8 +317,8 @@ "shortName": "GetIamPolicy" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_get_iam_policy_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_GetIamPolicy_sync", + "file": "bigqueryconnection_v1_generated_connection_service_get_iam_policy_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_GetIamPolicy_sync", "segments": [ { "end": 44, @@ -362,8 +362,8 @@ "shortName": "ListConnections" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_ListConnections_async", + "file": "bigqueryconnection_v1_generated_connection_service_list_connections_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_ListConnections_async", "segments": [ { "end": 46, @@ -406,8 +406,8 @@ "shortName": "ListConnections" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_list_connections_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_ListConnections_sync", + "file": "bigqueryconnection_v1_generated_connection_service_list_connections_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_ListConnections_sync", "segments": [ { "end": 46, @@ -451,8 +451,8 @@ "shortName": "SetIamPolicy" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_SetIamPolicy_async", + "file": "bigqueryconnection_v1_generated_connection_service_set_iam_policy_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_async", "segments": [ { "end": 44, @@ -495,8 +495,8 @@ "shortName": "SetIamPolicy" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_set_iam_policy_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_SetIamPolicy_sync", + "file": "bigqueryconnection_v1_generated_connection_service_set_iam_policy_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_SetIamPolicy_sync", "segments": [ { "end": 44, @@ -540,8 +540,8 @@ "shortName": "TestIamPermissions" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_TestIamPermissions_async", + "file": "bigqueryconnection_v1_generated_connection_service_test_iam_permissions_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_async", "segments": [ { "end": 45, @@ -584,8 +584,8 @@ "shortName": "TestIamPermissions" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_test_iam_permissions_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_TestIamPermissions_sync", + "file": "bigqueryconnection_v1_generated_connection_service_test_iam_permissions_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_TestIamPermissions_sync", "segments": [ { "end": 45, @@ -629,8 +629,8 @@ "shortName": "UpdateConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_async.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_UpdateConnection_async", + "file": "bigqueryconnection_v1_generated_connection_service_update_connection_async.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_async", "segments": [ { "end": 44, @@ -673,8 +673,8 @@ "shortName": "UpdateConnection" } }, - "file": "bigqueryconnection_generated_bigquery_connection_v1_connection_service_update_connection_sync.py", - "regionTag": "bigqueryconnection_generated_bigquery_connection_v1_ConnectionService_UpdateConnection_sync", + "file": "bigqueryconnection_v1_generated_connection_service_update_connection_sync.py", + "regionTag": "bigqueryconnection_v1_generated_ConnectionService_UpdateConnection_sync", "segments": [ { "end": 44, diff --git a/packages/google-cloud-bigquery-connection/setup.py b/packages/google-cloud-bigquery-connection/setup.py index 176618109150..d13f78e1921c 100644 --- a/packages/google-cloud-bigquery-connection/setup.py +++ b/packages/google-cloud-bigquery-connection/setup.py @@ -60,6 +60,7 @@ "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", ],