Skip to content

Commit

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

* 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 0f27a39 commit 77c43c3
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ async def list_approval_requests(
order is reverse chronological.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -373,7 +373,7 @@ async def get_approval_request(
not exist.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -474,7 +474,7 @@ async def approve_approval_request(
pending state.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -551,7 +551,7 @@ async def dismiss_approval_request(
a pending state.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -621,7 +621,7 @@ async def get_access_approval_settings(
or organization.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -725,7 +725,7 @@ async def update_access_approval_settings(
field_mask.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -841,7 +841,7 @@ async def delete_access_approval_settings(
inherited.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,7 @@ def list_approval_requests(
order is reverse chronological.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -565,8 +564,7 @@ def get_approval_request(
not exist.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -658,8 +656,7 @@ def approve_approval_request(
pending state.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -737,8 +734,7 @@ def dismiss_approval_request(
a pending state.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -809,8 +805,7 @@ def get_access_approval_settings(
or organization.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -907,8 +902,7 @@ def update_access_approval_settings(
field_mask.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_v1
Expand Down Expand Up @@ -1026,8 +1020,7 @@ def delete_access_approval_settings(
inherited.
.. code-block::
.. code-block:: python
from google.cloud import accessapproval_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-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_ApproveApprovalRequest_async]
# [START accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_async]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_ApproveApprovalRequest_async]
# [END accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_ApproveApprovalRequest_sync]
# [START accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_sync]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_ApproveApprovalRequest_sync]
# [END accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_DeleteAccessApprovalSettings_async]
# [START accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_async]
from google.cloud import accessapproval_v1


Expand All @@ -39,4 +39,4 @@ async def sample_delete_access_approval_settings():
await client.delete_access_approval_settings(request=request)


# [END accessapproval_generated_accessapproval_v1_AccessApproval_DeleteAccessApprovalSettings_async]
# [END accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_DeleteAccessApprovalSettings_sync]
# [START accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_sync]
from google.cloud import accessapproval_v1


Expand All @@ -39,4 +39,4 @@ def sample_delete_access_approval_settings():
client.delete_access_approval_settings(request=request)


# [END accessapproval_generated_accessapproval_v1_AccessApproval_DeleteAccessApprovalSettings_sync]
# [END accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_DismissApprovalRequest_async]
# [START accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_async]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_DismissApprovalRequest_async]
# [END accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_DismissApprovalRequest_sync]
# [START accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_sync]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_DismissApprovalRequest_sync]
# [END accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_GetAccessApprovalSettings_async]
# [START accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_async]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_GetAccessApprovalSettings_async]
# [END accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_GetAccessApprovalSettings_sync]
# [START accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_sync]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_GetAccessApprovalSettings_sync]
# [END accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_GetApprovalRequest_async]
# [START accessapproval_v1_generated_AccessApproval_GetApprovalRequest_async]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_GetApprovalRequest_async]
# [END accessapproval_v1_generated_AccessApproval_GetApprovalRequest_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_GetApprovalRequest_sync]
# [START accessapproval_v1_generated_AccessApproval_GetApprovalRequest_sync]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_GetApprovalRequest_sync]
# [END accessapproval_v1_generated_AccessApproval_GetApprovalRequest_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_ListApprovalRequests_async]
# [START accessapproval_v1_generated_AccessApproval_ListApprovalRequests_async]
from google.cloud import accessapproval_v1


Expand All @@ -42,4 +42,4 @@ async def sample_list_approval_requests():
async for response in page_result:
print(response)

# [END accessapproval_generated_accessapproval_v1_AccessApproval_ListApprovalRequests_async]
# [END accessapproval_v1_generated_AccessApproval_ListApprovalRequests_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_ListApprovalRequests_sync]
# [START accessapproval_v1_generated_AccessApproval_ListApprovalRequests_sync]
from google.cloud import accessapproval_v1


Expand All @@ -42,4 +42,4 @@ def sample_list_approval_requests():
for response in page_result:
print(response)

# [END accessapproval_generated_accessapproval_v1_AccessApproval_ListApprovalRequests_sync]
# [END accessapproval_v1_generated_AccessApproval_ListApprovalRequests_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_UpdateAccessApprovalSettings_async]
# [START accessapproval_v1_generated_AccessApproval_UpdateAccessApprovalSettings_async]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_UpdateAccessApprovalSettings_async]
# [END accessapproval_v1_generated_AccessApproval_UpdateAccessApprovalSettings_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-access-approval


# [START accessapproval_generated_accessapproval_v1_AccessApproval_UpdateAccessApprovalSettings_sync]
# [START accessapproval_v1_generated_AccessApproval_UpdateAccessApprovalSettings_sync]
from google.cloud import accessapproval_v1


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

# [END accessapproval_generated_accessapproval_v1_AccessApproval_UpdateAccessApprovalSettings_sync]
# [END accessapproval_v1_generated_AccessApproval_UpdateAccessApprovalSettings_sync]
Loading

0 comments on commit 77c43c3

Please sign in to comment.