Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#241)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 472561635

Source-Link: googleapis/googleapis@332ecf5

Source-Link: googleapis/googleapis-gen@4313d68
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Sep 7, 2022
1 parent aa6a94e commit 6a03b43
Show file tree
Hide file tree
Showing 22 changed files with 429 additions and 177 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,13 @@ async def list_approval_requests(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_list_approval_requests():
Expand Down Expand Up @@ -389,6 +396,13 @@ async def get_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_get_approval_request():
Expand Down Expand Up @@ -494,6 +508,13 @@ async def approve_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_approve_approval_request():
Expand Down Expand Up @@ -575,6 +596,13 @@ async def dismiss_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_dismiss_approval_request():
Expand Down Expand Up @@ -655,6 +683,13 @@ async def invalidate_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_invalidate_approval_request():
Expand Down Expand Up @@ -729,6 +764,13 @@ async def get_access_approval_settings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_get_access_approval_settings():
Expand Down Expand Up @@ -837,6 +879,13 @@ async def update_access_approval_settings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_update_access_approval_settings():
Expand Down Expand Up @@ -957,6 +1006,13 @@ async def delete_access_approval_settings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_delete_access_approval_settings():
Expand Down Expand Up @@ -1043,6 +1099,13 @@ async def get_access_approval_service_account(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
async def sample_get_access_approval_service_account():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,13 @@ def list_approval_requests(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_list_approval_requests():
Expand Down Expand Up @@ -619,6 +626,13 @@ def get_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_get_approval_request():
Expand Down Expand Up @@ -715,6 +729,13 @@ def approve_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_approve_approval_request():
Expand Down Expand Up @@ -797,6 +818,13 @@ def dismiss_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_dismiss_approval_request():
Expand Down Expand Up @@ -878,6 +906,13 @@ def invalidate_approval_request(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_invalidate_approval_request():
Expand Down Expand Up @@ -955,6 +990,13 @@ def get_access_approval_settings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_get_access_approval_settings():
Expand Down Expand Up @@ -1056,6 +1098,13 @@ def update_access_approval_settings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_update_access_approval_settings():
Expand Down Expand Up @@ -1178,6 +1227,13 @@ def delete_access_approval_settings(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_delete_access_approval_settings():
Expand Down Expand Up @@ -1266,6 +1322,13 @@ def get_access_approval_service_account(
.. code-block:: python
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1
def sample_get_access_approval_service_account():
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-access-approval/mypy.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[mypy]
python_version = 3.6
python_version = 3.7
namespace_packages = True
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_async]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_ApproveApprovalRequest_sync]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_async]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_DeleteAccessApprovalSettings_sync]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_async]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_DismissApprovalRequest_sync]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_GetAccessApprovalServiceAccount_async]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_GetAccessApprovalServiceAccount_sync]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_async]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@


# [START accessapproval_v1_generated_AccessApproval_GetAccessApprovalSettings_sync]
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
# client as shown in:
# https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.cloud import accessapproval_v1


Expand Down
Loading

0 comments on commit 6a03b43

Please sign in to comment.