Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#147)
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 028834f commit ea17ae5
Show file tree
Hide file tree
Showing 4 changed files with 136 additions and 136 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ async def list_memberships(
from google.cloud import gkehub_v1
def sample_list_memberships():
async def sample_list_memberships():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.ListMembershipsRequest(
Expand All @@ -243,7 +243,7 @@ def sample_list_memberships():
page_result = client.list_memberships(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -338,9 +338,9 @@ async def list_features(
from google.cloud import gkehub_v1
def sample_list_features():
async def sample_list_features():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.ListFeaturesRequest(
Expand All @@ -350,7 +350,7 @@ def sample_list_features():
page_result = client.list_features(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -445,17 +445,17 @@ async def get_membership(
from google.cloud import gkehub_v1
def sample_get_membership():
async def sample_get_membership():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.GetMembershipRequest(
name="name_value",
)
# Make the request
response = client.get_membership(request=request)
response = await client.get_membership(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -540,16 +540,16 @@ async def get_feature(
from google.cloud import gkehub_v1
def sample_get_feature():
async def sample_get_feature():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.GetFeatureRequest(
)
# Make the request
response = client.get_feature(request=request)
response = await client.get_feature(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -640,9 +640,9 @@ async def create_membership(
from google.cloud import gkehub_v1
def sample_create_membership():
async def sample_create_membership():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.CreateMembershipRequest(
Expand All @@ -655,7 +655,7 @@ def sample_create_membership():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -780,9 +780,9 @@ async def create_feature(
from google.cloud import gkehub_v1
def sample_create_feature():
async def sample_create_feature():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.CreateFeatureRequest(
Expand All @@ -793,7 +793,7 @@ def sample_create_feature():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -909,9 +909,9 @@ async def delete_membership(
from google.cloud import gkehub_v1
def sample_delete_membership():
async def sample_delete_membership():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.DeleteMembershipRequest(
Expand All @@ -923,7 +923,7 @@ def sample_delete_membership():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1029,9 +1029,9 @@ async def delete_feature(
from google.cloud import gkehub_v1
def sample_delete_feature():
async def sample_delete_feature():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.DeleteFeatureRequest(
Expand All @@ -1042,7 +1042,7 @@ def sample_delete_feature():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1150,9 +1150,9 @@ async def update_membership(
from google.cloud import gkehub_v1
def sample_update_membership():
async def sample_update_membership():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.UpdateMembershipRequest(
Expand All @@ -1164,7 +1164,7 @@ def sample_update_membership():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1285,9 +1285,9 @@ async def update_feature(
from google.cloud import gkehub_v1
def sample_update_feature():
async def sample_update_feature():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.UpdateFeatureRequest(
Expand All @@ -1298,7 +1298,7 @@ def sample_update_feature():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -1419,17 +1419,17 @@ async def generate_connect_manifest(
from google.cloud import gkehub_v1
def sample_generate_connect_manifest():
async def sample_generate_connect_manifest():
# Create a client
client = gkehub_v1.GkeHubClient()
client = gkehub_v1.GkeHubAsyncClient()
# Initialize request argument(s)
request = gkehub_v1.GenerateConnectManifestRequest(
name="name_value",
)
# Make the request
response = client.generate_connect_manifest(request=request)
response = await client.generate_connect_manifest(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@ async def list_memberships(
from google.cloud import gkehub_v1beta1
def sample_list_memberships():
async def sample_list_memberships():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.ListMembershipsRequest(
Expand All @@ -252,7 +252,7 @@ def sample_list_memberships():
page_result = client.list_memberships(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -348,17 +348,17 @@ async def get_membership(
from google.cloud import gkehub_v1beta1
def sample_get_membership():
async def sample_get_membership():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.GetMembershipRequest(
name="name_value",
)
# Make the request
response = client.get_membership(request=request)
response = await client.get_membership(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -449,9 +449,9 @@ async def create_membership(
from google.cloud import gkehub_v1beta1
def sample_create_membership():
async def sample_create_membership():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.CreateMembershipRequest(
Expand All @@ -464,7 +464,7 @@ def sample_create_membership():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -592,9 +592,9 @@ async def delete_membership(
from google.cloud import gkehub_v1beta1
def sample_delete_membership():
async def sample_delete_membership():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.DeleteMembershipRequest(
Expand All @@ -606,7 +606,7 @@ def sample_delete_membership():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -714,9 +714,9 @@ async def update_membership(
from google.cloud import gkehub_v1beta1
def sample_update_membership():
async def sample_update_membership():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.UpdateMembershipRequest(
Expand All @@ -728,7 +728,7 @@ def sample_update_membership():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -852,17 +852,17 @@ async def generate_connect_manifest(
from google.cloud import gkehub_v1beta1
def sample_generate_connect_manifest():
async def sample_generate_connect_manifest():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.GenerateConnectManifestRequest(
name="name_value",
)
# Make the request
response = client.generate_connect_manifest(request=request)
response = await client.generate_connect_manifest(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -929,9 +929,9 @@ async def validate_exclusivity(
from google.cloud import gkehub_v1beta1
def sample_validate_exclusivity():
async def sample_validate_exclusivity():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.ValidateExclusivityRequest(
Expand All @@ -940,7 +940,7 @@ def sample_validate_exclusivity():
)
# Make the request
response = client.validate_exclusivity(request=request)
response = await client.validate_exclusivity(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1016,17 +1016,17 @@ async def generate_exclusivity_manifest(
from google.cloud import gkehub_v1beta1
def sample_generate_exclusivity_manifest():
async def sample_generate_exclusivity_manifest():
# Create a client
client = gkehub_v1beta1.GkeHubMembershipServiceClient()
client = gkehub_v1beta1.GkeHubMembershipServiceAsyncClient()
# Initialize request argument(s)
request = gkehub_v1beta1.GenerateExclusivityManifestRequest(
name="name_value",
)
# Make the request
response = client.generate_exclusivity_manifest(request=request)
response = await client.generate_exclusivity_manifest(request=request)
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit ea17ae5

Please sign in to comment.