Skip to content

Commit

Permalink
chore: Bump gapic-generator-python version to 1.3.0 (#180)
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 fc8324e commit 6935b9d
Show file tree
Hide file tree
Showing 24 changed files with 505 additions and 225 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,13 @@ async def create_microsoft_ad_domain(
.. 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 managedidentities_v1
async def sample_create_microsoft_ad_domain():
Expand All @@ -276,7 +283,7 @@ async def sample_create_microsoft_ad_domain():
domain = managedidentities_v1.Domain()
domain.name = "name_value"
domain.reserved_ip_range = "reserved_ip_range_value"
domain.locations = ['locations_value_1', 'locations_value_2']
domain.locations = ['locations_value1', 'locations_value2']
request = managedidentities_v1.CreateMicrosoftAdDomainRequest(
parent="parent_value",
Expand Down Expand Up @@ -415,6 +422,13 @@ async def reset_admin_password(
.. 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 managedidentities_v1
async def sample_reset_admin_password():
Expand Down Expand Up @@ -510,6 +524,13 @@ async def list_domains(
.. 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 managedidentities_v1
async def sample_list_domains():
Expand Down Expand Up @@ -618,6 +639,13 @@ async def get_domain(
.. 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 managedidentities_v1
async def sample_get_domain():
Expand Down Expand Up @@ -714,6 +742,13 @@ async def update_domain(
.. 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 managedidentities_v1
async def sample_update_domain():
Expand All @@ -724,7 +759,7 @@ async def sample_update_domain():
domain = managedidentities_v1.Domain()
domain.name = "name_value"
domain.reserved_ip_range = "reserved_ip_range_value"
domain.locations = ['locations_value_1', 'locations_value_2']
domain.locations = ['locations_value1', 'locations_value2']
request = managedidentities_v1.UpdateDomainRequest(
domain=domain,
Expand Down Expand Up @@ -846,6 +881,13 @@ async def delete_domain(
.. 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 managedidentities_v1
async def sample_delete_domain():
Expand Down Expand Up @@ -964,6 +1006,13 @@ async def attach_trust(
.. 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 managedidentities_v1
async def sample_attach_trust():
Expand All @@ -975,7 +1024,7 @@ async def sample_attach_trust():
trust.target_domain_name = "target_domain_name_value"
trust.trust_type = "EXTERNAL"
trust.trust_direction = "BIDIRECTIONAL"
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2']
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2']
trust.trust_handshake_secret = "trust_handshake_secret_value"
request = managedidentities_v1.AttachTrustRequest(
Expand Down Expand Up @@ -1092,6 +1141,13 @@ async def reconfigure_trust(
.. 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 managedidentities_v1
async def sample_reconfigure_trust():
Expand All @@ -1102,7 +1158,7 @@ async def sample_reconfigure_trust():
request = managedidentities_v1.ReconfigureTrustRequest(
name="name_value",
target_domain_name="target_domain_name_value",
target_dns_ip_addresses=['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2'],
target_dns_ip_addresses=['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2'],
)
# Make the request
Expand Down Expand Up @@ -1226,6 +1282,13 @@ async def detach_trust(
.. 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 managedidentities_v1
async def sample_detach_trust():
Expand All @@ -1237,7 +1300,7 @@ async def sample_detach_trust():
trust.target_domain_name = "target_domain_name_value"
trust.trust_type = "EXTERNAL"
trust.trust_direction = "BIDIRECTIONAL"
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2']
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2']
trust.trust_handshake_secret = "trust_handshake_secret_value"
request = managedidentities_v1.DetachTrustRequest(
Expand Down Expand Up @@ -1357,6 +1420,13 @@ async def validate_trust(
.. 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 managedidentities_v1
async def sample_validate_trust():
Expand All @@ -1368,7 +1438,7 @@ async def sample_validate_trust():
trust.target_domain_name = "target_domain_name_value"
trust.trust_type = "EXTERNAL"
trust.trust_direction = "BIDIRECTIONAL"
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2']
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2']
trust.trust_handshake_secret = "trust_handshake_secret_value"
request = managedidentities_v1.ValidateTrustRequest(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,13 @@ def create_microsoft_ad_domain(
.. 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 managedidentities_v1
def sample_create_microsoft_ad_domain():
Expand All @@ -496,7 +503,7 @@ def sample_create_microsoft_ad_domain():
domain = managedidentities_v1.Domain()
domain.name = "name_value"
domain.reserved_ip_range = "reserved_ip_range_value"
domain.locations = ['locations_value_1', 'locations_value_2']
domain.locations = ['locations_value1', 'locations_value2']
request = managedidentities_v1.CreateMicrosoftAdDomainRequest(
parent="parent_value",
Expand Down Expand Up @@ -639,6 +646,13 @@ def reset_admin_password(
.. 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 managedidentities_v1
def sample_reset_admin_password():
Expand Down Expand Up @@ -736,6 +750,13 @@ def list_domains(
.. 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 managedidentities_v1
def sample_list_domains():
Expand Down Expand Up @@ -844,6 +865,13 @@ def get_domain(
.. 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 managedidentities_v1
def sample_get_domain():
Expand Down Expand Up @@ -940,6 +968,13 @@ def update_domain(
.. 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 managedidentities_v1
def sample_update_domain():
Expand All @@ -950,7 +985,7 @@ def sample_update_domain():
domain = managedidentities_v1.Domain()
domain.name = "name_value"
domain.reserved_ip_range = "reserved_ip_range_value"
domain.locations = ['locations_value_1', 'locations_value_2']
domain.locations = ['locations_value1', 'locations_value2']
request = managedidentities_v1.UpdateDomainRequest(
domain=domain,
Expand Down Expand Up @@ -1072,6 +1107,13 @@ def delete_domain(
.. 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 managedidentities_v1
def sample_delete_domain():
Expand Down Expand Up @@ -1190,6 +1232,13 @@ def attach_trust(
.. 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 managedidentities_v1
def sample_attach_trust():
Expand All @@ -1201,7 +1250,7 @@ def sample_attach_trust():
trust.target_domain_name = "target_domain_name_value"
trust.trust_type = "EXTERNAL"
trust.trust_direction = "BIDIRECTIONAL"
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2']
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2']
trust.trust_handshake_secret = "trust_handshake_secret_value"
request = managedidentities_v1.AttachTrustRequest(
Expand Down Expand Up @@ -1318,6 +1367,13 @@ def reconfigure_trust(
.. 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 managedidentities_v1
def sample_reconfigure_trust():
Expand All @@ -1328,7 +1384,7 @@ def sample_reconfigure_trust():
request = managedidentities_v1.ReconfigureTrustRequest(
name="name_value",
target_domain_name="target_domain_name_value",
target_dns_ip_addresses=['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2'],
target_dns_ip_addresses=['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2'],
)
# Make the request
Expand Down Expand Up @@ -1452,6 +1508,13 @@ def detach_trust(
.. 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 managedidentities_v1
def sample_detach_trust():
Expand All @@ -1463,7 +1526,7 @@ def sample_detach_trust():
trust.target_domain_name = "target_domain_name_value"
trust.trust_type = "EXTERNAL"
trust.trust_direction = "BIDIRECTIONAL"
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2']
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2']
trust.trust_handshake_secret = "trust_handshake_secret_value"
request = managedidentities_v1.DetachTrustRequest(
Expand Down Expand Up @@ -1583,6 +1646,13 @@ def validate_trust(
.. 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 managedidentities_v1
def sample_validate_trust():
Expand All @@ -1594,7 +1664,7 @@ def sample_validate_trust():
trust.target_domain_name = "target_domain_name_value"
trust.trust_type = "EXTERNAL"
trust.trust_direction = "BIDIRECTIONAL"
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value_1', 'target_dns_ip_addresses_value_2']
trust.target_dns_ip_addresses = ['target_dns_ip_addresses_value1', 'target_dns_ip_addresses_value2']
trust.trust_handshake_secret = "trust_handshake_secret_value"
request = managedidentities_v1.ValidateTrustRequest(
Expand Down
2 changes: 1 addition & 1 deletion packages/google-cloud-managed-identities/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
Loading

0 comments on commit 6935b9d

Please sign in to comment.