Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#138)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.65.2

PiperOrigin-RevId: 444333013

Source-Link: googleapis/googleapis@f91b6cf

Source-Link: googleapis/googleapis-gen@16eb360
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMTZlYjM2MDk1YzI5NGU3MTJjNzRhMWJmMjM1NTA4MTdiNDIxNzRlNSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 28, 2022
1 parent 900a5d9 commit 9c1df23
Show file tree
Hide file tree
Showing 4 changed files with 212 additions and 212 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ async def search_domains(
from google.cloud import domains_v1
def sample_search_domains():
async def sample_search_domains():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.SearchDomainsRequest(
Expand All @@ -236,7 +236,7 @@ def sample_search_domains():
)
# Make the request
response = client.search_domains(request=request)
response = await client.search_domains(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -331,9 +331,9 @@ async def retrieve_register_parameters(
from google.cloud import domains_v1
def sample_retrieve_register_parameters():
async def sample_retrieve_register_parameters():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.RetrieveRegisterParametersRequest(
Expand All @@ -342,7 +342,7 @@ def sample_retrieve_register_parameters():
)
# Make the request
response = client.retrieve_register_parameters(request=request)
response = await client.retrieve_register_parameters(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -450,9 +450,9 @@ async def register_domain(
from google.cloud import domains_v1
def sample_register_domain():
async def sample_register_domain():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
registration = domains_v1.Registration()
Expand All @@ -475,7 +475,7 @@ def sample_register_domain():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -616,9 +616,9 @@ async def retrieve_transfer_parameters(
from google.cloud import domains_v1
def sample_retrieve_transfer_parameters():
async def sample_retrieve_transfer_parameters():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.RetrieveTransferParametersRequest(
Expand All @@ -627,7 +627,7 @@ def sample_retrieve_transfer_parameters():
)
# Make the request
response = client.retrieve_transfer_parameters(request=request)
response = await client.retrieve_transfer_parameters(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -746,9 +746,9 @@ async def transfer_domain(
from google.cloud import domains_v1
def sample_transfer_domain():
async def sample_transfer_domain():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
registration = domains_v1.Registration()
Expand All @@ -771,7 +771,7 @@ def sample_transfer_domain():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -925,9 +925,9 @@ async def list_registrations(
from google.cloud import domains_v1
def sample_list_registrations():
async def sample_list_registrations():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.ListRegistrationsRequest(
Expand All @@ -938,7 +938,7 @@ def sample_list_registrations():
page_result = client.list_registrations(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1033,17 +1033,17 @@ async def get_registration(
from google.cloud import domains_v1
def sample_get_registration():
async def sample_get_registration():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.GetRegistrationRequest(
name="name_value",
)
# Make the request
response = client.get_registration(request=request)
response = await client.get_registration(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1157,9 +1157,9 @@ async def update_registration(
from google.cloud import domains_v1
def sample_update_registration():
async def sample_update_registration():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.UpdateRegistrationRequest(
Expand All @@ -1170,7 +1170,7 @@ def sample_update_registration():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1298,9 +1298,9 @@ async def configure_management_settings(
from google.cloud import domains_v1
def sample_configure_management_settings():
async def sample_configure_management_settings():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.ConfigureManagementSettingsRequest(
Expand All @@ -1312,7 +1312,7 @@ def sample_configure_management_settings():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1450,9 +1450,9 @@ async def configure_dns_settings(
from google.cloud import domains_v1
def sample_configure_dns_settings():
async def sample_configure_dns_settings():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.ConfigureDnsSettingsRequest(
Expand All @@ -1464,7 +1464,7 @@ def sample_configure_dns_settings():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1610,9 +1610,9 @@ async def configure_contact_settings(
from google.cloud import domains_v1
def sample_configure_contact_settings():
async def sample_configure_contact_settings():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.ConfigureContactSettingsRequest(
Expand All @@ -1624,7 +1624,7 @@ def sample_configure_contact_settings():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1769,9 +1769,9 @@ async def export_registration(
from google.cloud import domains_v1
def sample_export_registration():
async def sample_export_registration():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.ExportRegistrationRequest(
Expand All @@ -1783,7 +1783,7 @@ def sample_export_registration():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1919,9 +1919,9 @@ async def delete_registration(
from google.cloud import domains_v1
def sample_delete_registration():
async def sample_delete_registration():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.DeleteRegistrationRequest(
Expand All @@ -1933,7 +1933,7 @@ def sample_delete_registration():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -2043,17 +2043,17 @@ async def retrieve_authorization_code(
from google.cloud import domains_v1
def sample_retrieve_authorization_code():
async def sample_retrieve_authorization_code():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.RetrieveAuthorizationCodeRequest(
registration="registration_value",
)
# Make the request
response = client.retrieve_authorization_code(request=request)
response = await client.retrieve_authorization_code(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -2143,17 +2143,17 @@ async def reset_authorization_code(
from google.cloud import domains_v1
def sample_reset_authorization_code():
async def sample_reset_authorization_code():
# Create a client
client = domains_v1.DomainsClient()
client = domains_v1.DomainsAsyncClient()
# Initialize request argument(s)
request = domains_v1.ResetAuthorizationCodeRequest(
registration="registration_value",
)
# Make the request
response = client.reset_authorization_code(request=request)
response = await client.reset_authorization_code(request=request)
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit 9c1df23

Please sign in to comment.