Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#167)
Browse files Browse the repository at this point in the history
* 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: googleapis/googleapis@ea58002

Source-Link: googleapis/googleapis-gen@ca893ff
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 <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent de55c06 commit 8484d55
Show file tree
Hide file tree
Showing 20 changed files with 81 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -895,7 +895,7 @@ async def set_iam_policy(
``PERMISSION_DENIED`` errors.
.. code-block::
.. code-block:: python
from google.cloud import bigquery_connection_v1
Expand Down Expand Up @@ -1049,7 +1049,7 @@ async def test_iam_permissions(
warning.
.. code-block::
.. code-block:: python
from google.cloud import bigquery_connection_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -1069,8 +1063,7 @@ def set_iam_policy(
``PERMISSION_DENIED`` errors.
.. code-block::
.. code-block:: python
from google.cloud import bigquery_connection_v1
Expand Down Expand Up @@ -1223,8 +1216,7 @@ def test_iam_permissions(
warning.
.. code-block::
.. code-block:: python
from google.cloud import bigquery_connection_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Loading

0 comments on commit 8484d55

Please sign in to comment.