Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#67)
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 ddcdabb commit a4ce7e0
Show file tree
Hide file tree
Showing 4 changed files with 102 additions and 102 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,17 +235,17 @@ async def create_migration_workflow(
from google.cloud import bigquery_migration_v2
def sample_create_migration_workflow():
async def sample_create_migration_workflow():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.CreateMigrationWorkflowRequest(
parent="parent_value",
)
# Make the request
response = client.create_migration_workflow(request=request)
response = await client.create_migration_workflow(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -341,17 +341,17 @@ async def get_migration_workflow(
from google.cloud import bigquery_migration_v2
def sample_get_migration_workflow():
async def sample_get_migration_workflow():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.GetMigrationWorkflowRequest(
name="name_value",
)
# Make the request
response = client.get_migration_workflow(request=request)
response = await client.get_migration_workflow(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -447,9 +447,9 @@ async def list_migration_workflows(
from google.cloud import bigquery_migration_v2
def sample_list_migration_workflows():
async def sample_list_migration_workflows():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.ListMigrationWorkflowsRequest(
Expand All @@ -460,7 +460,7 @@ def sample_list_migration_workflows():
page_result = client.list_migration_workflows(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -564,17 +564,17 @@ async def delete_migration_workflow(
from google.cloud import bigquery_migration_v2
def sample_delete_migration_workflow():
async def sample_delete_migration_workflow():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.DeleteMigrationWorkflowRequest(
name="name_value",
)
# Make the request
client.delete_migration_workflow(request=request)
await client.delete_migration_workflow(request=request)
Args:
request (Union[google.cloud.bigquery_migration_v2.types.DeleteMigrationWorkflowRequest, dict]):
Expand Down Expand Up @@ -652,17 +652,17 @@ async def start_migration_workflow(
from google.cloud import bigquery_migration_v2
def sample_start_migration_workflow():
async def sample_start_migration_workflow():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.StartMigrationWorkflowRequest(
name="name_value",
)
# Make the request
client.start_migration_workflow(request=request)
await client.start_migration_workflow(request=request)
Args:
request (Union[google.cloud.bigquery_migration_v2.types.StartMigrationWorkflowRequest, dict]):
Expand Down Expand Up @@ -745,17 +745,17 @@ async def get_migration_subtask(
from google.cloud import bigquery_migration_v2
def sample_get_migration_subtask():
async def sample_get_migration_subtask():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.GetMigrationSubtaskRequest(
name="name_value",
)
# Make the request
response = client.get_migration_subtask(request=request)
response = await client.get_migration_subtask(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -845,9 +845,9 @@ async def list_migration_subtasks(
from google.cloud import bigquery_migration_v2
def sample_list_migration_subtasks():
async def sample_list_migration_subtasks():
# Create a client
client = bigquery_migration_v2.MigrationServiceClient()
client = bigquery_migration_v2.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2.ListMigrationSubtasksRequest(
Expand All @@ -858,7 +858,7 @@ def sample_list_migration_subtasks():
page_result = client.list_migration_subtasks(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,17 +235,17 @@ async def create_migration_workflow(
from google.cloud import bigquery_migration_v2alpha
def sample_create_migration_workflow():
async def sample_create_migration_workflow():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.CreateMigrationWorkflowRequest(
parent="parent_value",
)
# Make the request
response = client.create_migration_workflow(request=request)
response = await client.create_migration_workflow(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -341,17 +341,17 @@ async def get_migration_workflow(
from google.cloud import bigquery_migration_v2alpha
def sample_get_migration_workflow():
async def sample_get_migration_workflow():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.GetMigrationWorkflowRequest(
name="name_value",
)
# Make the request
response = client.get_migration_workflow(request=request)
response = await client.get_migration_workflow(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -447,9 +447,9 @@ async def list_migration_workflows(
from google.cloud import bigquery_migration_v2alpha
def sample_list_migration_workflows():
async def sample_list_migration_workflows():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.ListMigrationWorkflowsRequest(
Expand All @@ -460,7 +460,7 @@ def sample_list_migration_workflows():
page_result = client.list_migration_workflows(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -564,17 +564,17 @@ async def delete_migration_workflow(
from google.cloud import bigquery_migration_v2alpha
def sample_delete_migration_workflow():
async def sample_delete_migration_workflow():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.DeleteMigrationWorkflowRequest(
name="name_value",
)
# Make the request
client.delete_migration_workflow(request=request)
await client.delete_migration_workflow(request=request)
Args:
request (Union[google.cloud.bigquery_migration_v2alpha.types.DeleteMigrationWorkflowRequest, dict]):
Expand Down Expand Up @@ -652,17 +652,17 @@ async def start_migration_workflow(
from google.cloud import bigquery_migration_v2alpha
def sample_start_migration_workflow():
async def sample_start_migration_workflow():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.StartMigrationWorkflowRequest(
name="name_value",
)
# Make the request
client.start_migration_workflow(request=request)
await client.start_migration_workflow(request=request)
Args:
request (Union[google.cloud.bigquery_migration_v2alpha.types.StartMigrationWorkflowRequest, dict]):
Expand Down Expand Up @@ -745,17 +745,17 @@ async def get_migration_subtask(
from google.cloud import bigquery_migration_v2alpha
def sample_get_migration_subtask():
async def sample_get_migration_subtask():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.GetMigrationSubtaskRequest(
name="name_value",
)
# Make the request
response = client.get_migration_subtask(request=request)
response = await client.get_migration_subtask(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -854,9 +854,9 @@ async def list_migration_subtasks(
from google.cloud import bigquery_migration_v2alpha
def sample_list_migration_subtasks():
async def sample_list_migration_subtasks():
# Create a client
client = bigquery_migration_v2alpha.MigrationServiceClient()
client = bigquery_migration_v2alpha.MigrationServiceAsyncClient()
# Initialize request argument(s)
request = bigquery_migration_v2alpha.ListMigrationSubtasksRequest(
Expand All @@ -867,7 +867,7 @@ def sample_list_migration_subtasks():
page_result = client.list_migration_subtasks(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 a4ce7e0

Please sign in to comment.