diff --git a/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/async_client.py b/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/async_client.py index 988a3ef2b51b..25c604a43808 100644 --- a/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/async_client.py +++ b/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/async_client.py @@ -261,7 +261,6 @@ async def list_approval_requests( filtered by state (pending, active, dismissed). The order is reverse chronological. - .. code-block:: python from google.cloud import accessapproval_v1 @@ -380,7 +379,6 @@ async def get_approval_request( r"""Gets an approval request. Returns NOT_FOUND if the request does not exist. - .. code-block:: python from google.cloud import accessapproval_v1 @@ -486,7 +484,6 @@ async def approve_approval_request( FAILED_PRECONDITION if the request exists but is not in a pending state. - .. code-block:: python from google.cloud import accessapproval_v1 @@ -568,7 +565,6 @@ async def dismiss_approval_request( Returns FAILED_PRECONDITION if the request exists but is not in a pending state. - .. code-block:: python from google.cloud import accessapproval_v1 @@ -643,7 +639,6 @@ async def get_access_approval_settings( r"""Gets the settings associated with a project, folder, or organization. - .. code-block:: python from google.cloud import accessapproval_v1 @@ -752,7 +747,6 @@ async def update_access_approval_settings( organization. Settings to update are determined by the value of field_mask. - .. code-block:: python from google.cloud import accessapproval_v1 @@ -873,7 +867,6 @@ async def delete_access_approval_settings( still be enabled at this level as the settings are inherited. - .. code-block:: python from google.cloud import accessapproval_v1 diff --git a/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/client.py b/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/client.py index 7c298b7f3006..49657a3b6638 100644 --- a/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/client.py +++ b/packages/google-cloud-access-approval/google/cloud/accessapproval_v1/services/access_approval/client.py @@ -490,10 +490,9 @@ def list_approval_requests( filtered by state (pending, active, dismissed). The order is reverse chronological. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_list_approval_requests(): # Create a client @@ -600,10 +599,9 @@ def get_approval_request( r"""Gets an approval request. Returns NOT_FOUND if the request does not exist. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_get_approval_request(): # Create a client @@ -697,10 +695,9 @@ def approve_approval_request( FAILED_PRECONDITION if the request exists but is not in a pending state. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_approve_approval_request(): # Create a client @@ -780,10 +777,9 @@ def dismiss_approval_request( Returns FAILED_PRECONDITION if the request exists but is not in a pending state. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_dismiss_approval_request(): # Create a client @@ -856,10 +852,9 @@ def get_access_approval_settings( r"""Gets the settings associated with a project, folder, or organization. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_get_access_approval_settings(): # Create a client @@ -958,10 +953,9 @@ def update_access_approval_settings( organization. Settings to update are determined by the value of field_mask. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_update_access_approval_settings(): # Create a client @@ -1081,10 +1075,9 @@ def delete_access_approval_settings( still be enabled at this level as the settings are inherited. - .. code-block:: python - from google.cloud import accessapproval_v1 + from google.cloud import accessapproval_v1 def sample_delete_access_approval_settings(): # Create a client