Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#182)
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 4fbcbfd commit e14d328
Show file tree
Hide file tree
Showing 18 changed files with 333 additions and 137 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,13 @@ async def list_constraints(
.. 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 orgpolicy_v2
async def sample_list_constraints():
Expand Down Expand Up @@ -362,6 +369,13 @@ async def list_policies(
.. 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 orgpolicy_v2
async def sample_list_policies():
Expand Down Expand Up @@ -494,6 +508,13 @@ async def get_policy(
.. 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 orgpolicy_v2
async def sample_get_policy():
Expand Down Expand Up @@ -604,6 +625,13 @@ async def get_effective_policy(
.. 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 orgpolicy_v2
async def sample_get_effective_policy():
Expand Down Expand Up @@ -718,6 +746,13 @@ async def create_policy(
.. 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 orgpolicy_v2
async def sample_create_policy():
Expand Down Expand Up @@ -846,6 +881,13 @@ async def update_policy(
.. 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 orgpolicy_v2
async def sample_update_policy():
Expand Down Expand Up @@ -956,6 +998,13 @@ async def delete_policy(
.. 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 orgpolicy_v2
async def sample_delete_policy():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,13 @@ def list_constraints(
.. 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 orgpolicy_v2
def sample_list_constraints():
Expand Down Expand Up @@ -593,6 +600,13 @@ def list_policies(
.. 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 orgpolicy_v2
def sample_list_policies():
Expand Down Expand Up @@ -715,6 +729,13 @@ def get_policy(
.. 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 orgpolicy_v2
def sample_get_policy():
Expand Down Expand Up @@ -815,6 +836,13 @@ def get_effective_policy(
.. 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 orgpolicy_v2
def sample_get_effective_policy():
Expand Down Expand Up @@ -919,6 +947,13 @@ def create_policy(
.. 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 orgpolicy_v2
def sample_create_policy():
Expand Down Expand Up @@ -1037,6 +1072,13 @@ def update_policy(
.. 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 orgpolicy_v2
def sample_update_policy():
Expand Down Expand Up @@ -1137,6 +1179,13 @@ def delete_policy(
.. 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 orgpolicy_v2
def sample_delete_policy():
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-org-policy/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 orgpolicy_v2_generated_OrgPolicy_CreatePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_CreatePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_DeletePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_DeletePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_GetEffectivePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_GetEffectivePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_GetPolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_GetPolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_ListConstraints_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_ListConstraints_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_ListPolicies_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_ListPolicies_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_UpdatePolicy_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 orgpolicy_v2


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


# [START orgpolicy_v2_generated_OrgPolicy_UpdatePolicy_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 orgpolicy_v2


Expand Down
Loading

0 comments on commit e14d328

Please sign in to comment.