Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#164)
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] committed Apr 28, 2022
1 parent 064b364 commit fc5400e
Show file tree
Hide file tree
Showing 8 changed files with 130 additions and 130 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ async def list_executions(
from google.cloud.workflows import executions_v1
def sample_list_executions():
async def sample_list_executions():
# Create a client
client = executions_v1.ExecutionsClient()
client = executions_v1.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1.ListExecutionsRequest(
Expand All @@ -233,7 +233,7 @@ def sample_list_executions():
page_result = client.list_executions(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -334,17 +334,17 @@ async def create_execution(
from google.cloud.workflows import executions_v1
def sample_create_execution():
async def sample_create_execution():
# Create a client
client = executions_v1.ExecutionsClient()
client = executions_v1.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1.CreateExecutionRequest(
parent="parent_value",
)
# Make the request
response = client.create_execution(request=request)
response = await client.create_execution(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -441,17 +441,17 @@ async def get_execution(
from google.cloud.workflows import executions_v1
def sample_get_execution():
async def sample_get_execution():
# Create a client
client = executions_v1.ExecutionsClient()
client = executions_v1.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1.GetExecutionRequest(
name="name_value",
)
# Make the request
response = client.get_execution(request=request)
response = await client.get_execution(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -538,17 +538,17 @@ async def cancel_execution(
from google.cloud.workflows import executions_v1
def sample_cancel_execution():
async def sample_cancel_execution():
# Create a client
client = executions_v1.ExecutionsClient()
client = executions_v1.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1.CancelExecutionRequest(
name="name_value",
)
# Make the request
response = client.cancel_execution(request=request)
response = await client.cancel_execution(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,9 +221,9 @@ async def list_executions(
from google.cloud.workflows import executions_v1beta
def sample_list_executions():
async def sample_list_executions():
# Create a client
client = executions_v1beta.ExecutionsClient()
client = executions_v1beta.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1beta.ListExecutionsRequest(
Expand All @@ -234,7 +234,7 @@ def sample_list_executions():
page_result = client.list_executions(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -335,17 +335,17 @@ async def create_execution(
from google.cloud.workflows import executions_v1beta
def sample_create_execution():
async def sample_create_execution():
# Create a client
client = executions_v1beta.ExecutionsClient()
client = executions_v1beta.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1beta.CreateExecutionRequest(
parent="parent_value",
)
# Make the request
response = client.create_execution(request=request)
response = await client.create_execution(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -442,17 +442,17 @@ async def get_execution(
from google.cloud.workflows import executions_v1beta
def sample_get_execution():
async def sample_get_execution():
# Create a client
client = executions_v1beta.ExecutionsClient()
client = executions_v1beta.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1beta.GetExecutionRequest(
name="name_value",
)
# Make the request
response = client.get_execution(request=request)
response = await client.get_execution(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -539,17 +539,17 @@ async def cancel_execution(
from google.cloud.workflows import executions_v1beta
def sample_cancel_execution():
async def sample_cancel_execution():
# Create a client
client = executions_v1beta.ExecutionsClient()
client = executions_v1beta.ExecutionsAsyncClient()
# Initialize request argument(s)
request = executions_v1beta.CancelExecutionRequest(
name="name_value",
)
# Make the request
response = client.cancel_execution(request=request)
response = await client.cancel_execution(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ async def list_workflows(
from google.cloud import workflows_v1
def sample_list_workflows():
async def sample_list_workflows():
# Create a client
client = workflows_v1.WorkflowsClient()
client = workflows_v1.WorkflowsAsyncClient()
# Initialize request argument(s)
request = workflows_v1.ListWorkflowsRequest(
Expand All @@ -233,7 +233,7 @@ def sample_list_workflows():
page_result = client.list_workflows(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -332,17 +332,17 @@ async def get_workflow(
from google.cloud import workflows_v1
def sample_get_workflow():
async def sample_get_workflow():
# Create a client
client = workflows_v1.WorkflowsClient()
client = workflows_v1.WorkflowsAsyncClient()
# Initialize request argument(s)
request = workflows_v1.GetWorkflowRequest(
name="name_value",
)
# Make the request
response = client.get_workflow(request=request)
response = await client.get_workflow(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -434,9 +434,9 @@ async def create_workflow(
from google.cloud import workflows_v1
def sample_create_workflow():
async def sample_create_workflow():
# Create a client
client = workflows_v1.WorkflowsClient()
client = workflows_v1.WorkflowsAsyncClient()
# Initialize request argument(s)
workflow = workflows_v1.Workflow()
Expand All @@ -453,7 +453,7 @@ def sample_create_workflow():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -578,9 +578,9 @@ async def delete_workflow(
from google.cloud import workflows_v1
def sample_delete_workflow():
async def sample_delete_workflow():
# Create a client
client = workflows_v1.WorkflowsClient()
client = workflows_v1.WorkflowsAsyncClient()
# Initialize request argument(s)
request = workflows_v1.DeleteWorkflowRequest(
Expand All @@ -592,7 +592,7 @@ def sample_delete_workflow():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -706,9 +706,9 @@ async def update_workflow(
from google.cloud import workflows_v1
def sample_update_workflow():
async def sample_update_workflow():
# Create a client
client = workflows_v1.WorkflowsClient()
client = workflows_v1.WorkflowsAsyncClient()
# Initialize request argument(s)
workflow = workflows_v1.Workflow()
Expand All @@ -723,7 +723,7 @@ def sample_update_workflow():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ async def list_workflows(
from google.cloud import workflows_v1beta
def sample_list_workflows():
async def sample_list_workflows():
# Create a client
client = workflows_v1beta.WorkflowsClient()
client = workflows_v1beta.WorkflowsAsyncClient()
# Initialize request argument(s)
request = workflows_v1beta.ListWorkflowsRequest(
Expand All @@ -233,7 +233,7 @@ def sample_list_workflows():
page_result = client.list_workflows(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -332,17 +332,17 @@ async def get_workflow(
from google.cloud import workflows_v1beta
def sample_get_workflow():
async def sample_get_workflow():
# Create a client
client = workflows_v1beta.WorkflowsClient()
client = workflows_v1beta.WorkflowsAsyncClient()
# Initialize request argument(s)
request = workflows_v1beta.GetWorkflowRequest(
name="name_value",
)
# Make the request
response = client.get_workflow(request=request)
response = await client.get_workflow(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -434,9 +434,9 @@ async def create_workflow(
from google.cloud import workflows_v1beta
def sample_create_workflow():
async def sample_create_workflow():
# Create a client
client = workflows_v1beta.WorkflowsClient()
client = workflows_v1beta.WorkflowsAsyncClient()
# Initialize request argument(s)
workflow = workflows_v1beta.Workflow()
Expand All @@ -453,7 +453,7 @@ def sample_create_workflow():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -578,9 +578,9 @@ async def delete_workflow(
from google.cloud import workflows_v1beta
def sample_delete_workflow():
async def sample_delete_workflow():
# Create a client
client = workflows_v1beta.WorkflowsClient()
client = workflows_v1beta.WorkflowsAsyncClient()
# Initialize request argument(s)
request = workflows_v1beta.DeleteWorkflowRequest(
Expand All @@ -592,7 +592,7 @@ def sample_delete_workflow():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down Expand Up @@ -706,9 +706,9 @@ async def update_workflow(
from google.cloud import workflows_v1beta
def sample_update_workflow():
async def sample_update_workflow():
# Create a client
client = workflows_v1beta.WorkflowsClient()
client = workflows_v1beta.WorkflowsAsyncClient()
# Initialize request argument(s)
workflow = workflows_v1beta.Workflow()
Expand All @@ -723,7 +723,7 @@ def sample_update_workflow():
print("Waiting for operation to complete...")
response = operation.result()
response = await operation.result()
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit fc5400e

Please sign in to comment.