Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#63)
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

* chore: delete duplicates

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent 6b3895a commit abf3504
Show file tree
Hide file tree
Showing 31 changed files with 130 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async def set_iam_policy(
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -353,7 +353,7 @@ async def get_iam_policy(
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -481,7 +481,7 @@ async def test_iam_permissions(
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -553,7 +553,7 @@ async def get_iap_settings(
resource.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -620,7 +620,7 @@ async def update_iap_settings(
It replaces all fields unless the ``update_mask`` is set.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,7 @@ def set_iam_policy(
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -535,8 +534,7 @@ def get_iam_policy(
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -663,8 +661,7 @@ def test_iam_permissions(
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -735,8 +732,7 @@ def get_iap_settings(
resource.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -804,8 +800,7 @@ def update_iap_settings(
It replaces all fields unless the ``update_mask`` is set.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ async def list_brands(
) -> service.ListBrandsResponse:
r"""Lists the existing brands for the project.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -298,7 +298,7 @@ async def create_brand(
by the caller.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -366,7 +366,7 @@ async def get_brand(
) -> service.Brand:
r"""Retrieves the OAuth brand of the project.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -438,7 +438,7 @@ async def create_identity_aware_proxy_client(
use.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -506,7 +506,7 @@ async def list_identity_aware_proxy_clients(
) -> pagers.ListIdentityAwareProxyClientsAsyncPager:
r"""Lists the existing clients for the brand.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -586,7 +586,7 @@ async def get_identity_aware_proxy_client(
Requires that the client is owned by IAP.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -657,7 +657,7 @@ async def reset_identity_aware_proxy_client_secret(
that the client is owned by IAP.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -729,7 +729,7 @@ async def delete_identity_aware_proxy_client(
after tests. Requires that the client is owned by IAP.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,7 @@ def list_brands(
) -> service.ListBrandsResponse:
r"""Lists the existing brands for the project.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -482,8 +481,7 @@ def create_brand(
by the caller.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -552,8 +550,7 @@ def get_brand(
) -> service.Brand:
r"""Retrieves the OAuth brand of the project.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -626,8 +623,7 @@ def create_identity_aware_proxy_client(
use.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -698,8 +694,7 @@ def list_identity_aware_proxy_clients(
) -> pagers.ListIdentityAwareProxyClientsPager:
r"""Lists the existing clients for the brand.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -782,8 +777,7 @@ def get_identity_aware_proxy_client(
Requires that the client is owned by IAP.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -857,8 +851,7 @@ def reset_identity_aware_proxy_client_secret(
that the client is owned by IAP.
.. code-block::
.. code-block:: python
from google.cloud import iap_v1
Expand Down Expand Up @@ -933,8 +926,7 @@ def delete_identity_aware_proxy_client(
after tests. Requires that the client is owned by IAP.
.. code-block::
.. code-block:: python
from google.cloud import iap_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-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIamPolicy_async]
# [START iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_async]
from google.cloud import iap_v1


Expand All @@ -42,4 +42,4 @@ async def sample_get_iam_policy():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIamPolicy_async]
# [END iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIamPolicy_sync]
# [START iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_sync]
from google.cloud import iap_v1


Expand All @@ -42,4 +42,4 @@ def sample_get_iam_policy():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIamPolicy_sync]
# [END iap_v1_generated_IdentityAwareProxyAdminService_GetIamPolicy_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIapSettings_async]
# [START iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_async]
from google.cloud import iap_v1


Expand All @@ -42,4 +42,4 @@ async def sample_get_iap_settings():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIapSettings_async]
# [END iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIapSettings_sync]
# [START iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_sync]
from google.cloud import iap_v1


Expand All @@ -42,4 +42,4 @@ def sample_get_iap_settings():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_GetIapSettings_sync]
# [END iap_v1_generated_IdentityAwareProxyAdminService_GetIapSettings_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_SetIamPolicy_async]
# [START iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_async]
from google.cloud import iap_v1


Expand All @@ -42,4 +42,4 @@ async def sample_set_iam_policy():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_SetIamPolicy_async]
# [END iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_SetIamPolicy_sync]
# [START iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_sync]
from google.cloud import iap_v1


Expand All @@ -42,4 +42,4 @@ def sample_set_iam_policy():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_SetIamPolicy_sync]
# [END iap_v1_generated_IdentityAwareProxyAdminService_SetIamPolicy_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_TestIamPermissions_async]
# [START iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_async]
from google.cloud import iap_v1


Expand All @@ -43,4 +43,4 @@ async def sample_test_iam_permissions():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_TestIamPermissions_async]
# [END iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_TestIamPermissions_sync]
# [START iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_sync]
from google.cloud import iap_v1


Expand All @@ -43,4 +43,4 @@ def sample_test_iam_permissions():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_TestIamPermissions_sync]
# [END iap_v1_generated_IdentityAwareProxyAdminService_TestIamPermissions_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_UpdateIapSettings_async]
# [START iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_async]
from google.cloud import iap_v1


Expand All @@ -45,4 +45,4 @@ async def sample_update_iap_settings():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_UpdateIapSettings_async]
# [END iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-iap


# [START iap_generated_iap_v1_IdentityAwareProxyAdminService_UpdateIapSettings_sync]
# [START iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_sync]
from google.cloud import iap_v1


Expand All @@ -45,4 +45,4 @@ def sample_update_iap_settings():
# Handle the response
print(response)

# [END iap_generated_iap_v1_IdentityAwareProxyAdminService_UpdateIapSettings_sync]
# [END iap_v1_generated_IdentityAwareProxyAdminService_UpdateIapSettings_sync]
Loading

0 comments on commit abf3504

Please sign in to comment.