Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#224)
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: https://github.com/googleapis/googleapis-gen/commit/16eb36095c294e712c74a1bf23550817b42174e5
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 6658120 commit a1d8181
Show file tree
Hide file tree
Showing 2 changed files with 88 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,17 +251,17 @@ async def create_assessment(
from google.cloud import recaptchaenterprise_v1
def sample_create_assessment():
async def sample_create_assessment():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.CreateAssessmentRequest(
parent="parent_value",
)
# Make the request
response = client.create_assessment(request=request)
response = await client.create_assessment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -355,17 +355,17 @@ async def annotate_assessment(
from google.cloud import recaptchaenterprise_v1
def sample_annotate_assessment():
async def sample_annotate_assessment():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.AnnotateAssessmentRequest(
name="name_value",
)
# Make the request
response = client.annotate_assessment(request=request)
response = await client.annotate_assessment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -462,9 +462,9 @@ async def create_key(
from google.cloud import recaptchaenterprise_v1
def sample_create_key():
async def sample_create_key():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
Expand All @@ -476,7 +476,7 @@ def sample_create_key():
)
# Make the request
response = client.create_key(request=request)
response = await client.create_key(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -540,9 +540,9 @@ async def list_keys(
from google.cloud import recaptchaenterprise_v1
def sample_list_keys():
async def sample_list_keys():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.ListKeysRequest(
Expand All @@ -553,7 +553,7 @@ def sample_list_keys():
page_result = client.list_keys(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -625,17 +625,17 @@ async def get_key(
from google.cloud import recaptchaenterprise_v1
def sample_get_key():
async def sample_get_key():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.GetKeyRequest(
name="name_value",
)
# Make the request
response = client.get_key(request=request)
response = await client.get_key(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -698,9 +698,9 @@ async def update_key(
from google.cloud import recaptchaenterprise_v1
def sample_update_key():
async def sample_update_key():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
key = recaptchaenterprise_v1.Key()
Expand All @@ -711,7 +711,7 @@ def sample_update_key():
)
# Make the request
response = client.update_key(request=request)
response = await client.update_key(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -774,17 +774,17 @@ async def delete_key(
from google.cloud import recaptchaenterprise_v1
def sample_delete_key():
async def sample_delete_key():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.DeleteKeyRequest(
name="name_value",
)
# Make the request
client.delete_key(request=request)
await client.delete_key(request=request)
Args:
request (Union[google.cloud.recaptchaenterprise_v1.types.DeleteKeyRequest, dict]):
Expand Down Expand Up @@ -840,17 +840,17 @@ async def migrate_key(
from google.cloud import recaptchaenterprise_v1
def sample_migrate_key():
async def sample_migrate_key():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.MigrateKeyRequest(
name="name_value",
)
# Make the request
response = client.migrate_key(request=request)
response = await client.migrate_key(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -915,17 +915,17 @@ async def get_metrics(
from google.cloud import recaptchaenterprise_v1
def sample_get_metrics():
async def sample_get_metrics():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.GetMetricsRequest(
name="name_value",
)
# Make the request
response = client.get_metrics(request=request)
response = await client.get_metrics(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1010,9 +1010,9 @@ async def list_related_account_groups(
from google.cloud import recaptchaenterprise_v1
def sample_list_related_account_groups():
async def sample_list_related_account_groups():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.ListRelatedAccountGroupsRequest(
Expand All @@ -1023,7 +1023,7 @@ def sample_list_related_account_groups():
page_result = client.list_related_account_groups(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1120,9 +1120,9 @@ async def list_related_account_group_memberships(
from google.cloud import recaptchaenterprise_v1
def sample_list_related_account_group_memberships():
async def sample_list_related_account_group_memberships():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.ListRelatedAccountGroupMembershipsRequest(
Expand All @@ -1133,7 +1133,7 @@ def sample_list_related_account_group_memberships():
page_result = client.list_related_account_group_memberships(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1232,9 +1232,9 @@ async def search_related_account_group_memberships(
from google.cloud import recaptchaenterprise_v1
def sample_search_related_account_group_memberships():
async def sample_search_related_account_group_memberships():
# Create a client
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceClient()
client = recaptchaenterprise_v1.RecaptchaEnterpriseServiceAsyncClient()
# Initialize request argument(s)
request = recaptchaenterprise_v1.SearchRelatedAccountGroupMembershipsRequest(
Expand All @@ -1245,7 +1245,7 @@ def sample_search_related_account_group_memberships():
page_result = client.search_related_account_group_memberships(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down
Loading

0 comments on commit a1d8181

Please sign in to comment.