Skip to content

Commit

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

PiperOrigin-RevId: 427792504

Source-Link: googleapis/googleapis@55b9e1e

Source-Link: googleapis/googleapis-gen@bf4e86b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmY0ZTg2Yjc1M2Y0MmNiMGVkYjFmZDUxZmJlODQwZDdkYTBhMWNkZSJ9

* 🦉 Updates from OwlBot

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 Feb 11, 2022
1 parent cd34f0a commit 7e13124
Show file tree
Hide file tree
Showing 26 changed files with 96 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,8 @@ def sample_create_workload():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -366,7 +368,7 @@ def sample_update_workload():
# Make the request
response = client.update_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -470,7 +472,7 @@ def sample_delete_workload():
)
# Make the request
response = client.delete_workload(request=request)
client.delete_workload(request=request)
Args:
request (Union[google.cloud.assuredworkloads_v1.types.DeleteWorkloadRequest, dict]):
Expand Down Expand Up @@ -552,7 +554,7 @@ def sample_get_workload():
# Make the request
response = client.get_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -645,6 +647,8 @@ def sample_list_workloads():
# Make the request
page_result = client.list_workloads(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,8 @@ def sample_create_workload():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -560,7 +562,7 @@ def sample_update_workload():
# Make the request
response = client.update_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -665,7 +667,7 @@ def sample_delete_workload():
)
# Make the request
response = client.delete_workload(request=request)
client.delete_workload(request=request)
Args:
request (Union[google.cloud.assuredworkloads_v1.types.DeleteWorkloadRequest, dict]):
Expand Down Expand Up @@ -748,7 +750,7 @@ def sample_get_workload():
# Make the request
response = client.get_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -842,6 +844,8 @@ def sample_list_workloads():
# Make the request
page_result = client.list_workloads(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ def sample_create_workload():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -366,7 +368,7 @@ def sample_update_workload():
# Make the request
response = client.update_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -470,7 +472,7 @@ def sample_delete_workload():
)
# Make the request
response = client.delete_workload(request=request)
client.delete_workload(request=request)
Args:
request (Union[google.cloud.assuredworkloads_v1beta1.types.DeleteWorkloadRequest, dict]):
Expand Down Expand Up @@ -561,7 +563,7 @@ def sample_get_workload():
# Make the request
response = client.get_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -663,6 +665,8 @@ def sample_list_workloads():
# Make the request
page_result = client.list_workloads(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,8 @@ def sample_create_workload():
print("Waiting for operation to complete...")
response = operation.result()
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -560,7 +562,7 @@ def sample_update_workload():
# Make the request
response = client.update_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -665,7 +667,7 @@ def sample_delete_workload():
)
# Make the request
response = client.delete_workload(request=request)
client.delete_workload(request=request)
Args:
request (Union[google.cloud.assuredworkloads_v1beta1.types.DeleteWorkloadRequest, dict]):
Expand Down Expand Up @@ -748,7 +750,7 @@ def sample_get_workload():
# Make the request
response = client.get_workload(request=request)
# Handle response
# Handle the response
print(response)
Args:
Expand Down Expand Up @@ -842,6 +844,8 @@ def sample_list_workloads():
# Make the request
page_result = client.list_workloads(request=request)
# Handle the response
for response in page_result:
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ async def sample_create_workload():
print("Waiting for operation to complete...")

response = await operation.result()

# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ def sample_create_workload():
print("Waiting for operation to complete...")

response = operation.result()

# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_CreateWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def sample_delete_workload():
)

# Make the request
response = await client.delete_workload(request=request)
await client.delete_workload(request=request)


# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def sample_delete_workload():
)

# Make the request
response = client.delete_workload(request=request)
client.delete_workload(request=request)


# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_DeleteWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def sample_get_workload():
# Make the request
response = await client.get_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def sample_get_workload():
# Make the request
response = client.get_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_GetWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ async def sample_list_workloads():

# Make the request
page_result = client.list_workloads(request=request)

# Handle the response
async for response in page_result:
print(response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def sample_list_workloads():

# Make the request
page_result = client.list_workloads(request=request)

# Handle the response
for response in page_result:
print(response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ async def sample_update_workload():
# Make the request
response = await client.update_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def sample_update_workload():
# Make the request
response = client.update_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1_AssuredWorkloadsService_UpdateWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ async def sample_create_workload():
print("Waiting for operation to complete...")

response = await operation.result()

# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ def sample_create_workload():
print("Waiting for operation to complete...")

response = operation.result()

# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_CreateWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ async def sample_delete_workload():
)

# Make the request
response = await client.delete_workload(request=request)
await client.delete_workload(request=request)


# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def sample_delete_workload():
)

# Make the request
response = client.delete_workload(request=request)
client.delete_workload(request=request)


# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_DeleteWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async def sample_get_workload():
# Make the request
response = await client.get_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_GetWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def sample_get_workload():
# Make the request
response = client.get_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_GetWorkload_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ async def sample_list_workloads():

# Make the request
page_result = client.list_workloads(request=request)

# Handle the response
async for response in page_result:
print(response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def sample_list_workloads():

# Make the request
page_result = client.list_workloads(request=request)

# Handle the response
for response in page_result:
print(response)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async def sample_update_workload():
# Make the request
response = await client.update_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_UpdateWorkload_async]
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def sample_update_workload():
# Make the request
response = client.update_workload(request=request)

# Handle response
# Handle the response
print(response)

# [END assuredworkloads_generated_assuredworkloads_v1beta1_AssuredWorkloadsService_UpdateWorkload_sync]
Loading

0 comments on commit 7e13124

Please sign in to comment.