Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#233)
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 c7fef3e commit 4ed2ae2
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 114 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ async def list_jobs(
from google.cloud import scheduler_v1
def sample_list_jobs():
async def sample_list_jobs():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.ListJobsRequest(
Expand All @@ -243,7 +243,7 @@ def sample_list_jobs():
page_result = client.list_jobs(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -349,17 +349,17 @@ async def get_job(
from google.cloud import scheduler_v1
def sample_get_job():
async def sample_get_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.GetJobRequest(
name="name_value",
)
# Make the request
response = client.get_job(request=request)
response = await client.get_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -456,17 +456,17 @@ async def create_job(
from google.cloud import scheduler_v1
def sample_create_job():
async def sample_create_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.CreateJobRequest(
parent="parent_value",
)
# Make the request
response = client.create_job(request=request)
response = await client.create_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -579,16 +579,16 @@ async def update_job(
from google.cloud import scheduler_v1
def sample_update_job():
async def sample_update_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.UpdateJobRequest(
)
# Make the request
response = client.update_job(request=request)
response = await client.update_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -688,17 +688,17 @@ async def delete_job(
from google.cloud import scheduler_v1
def sample_delete_job():
async def sample_delete_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.DeleteJobRequest(
name="name_value",
)
# Make the request
client.delete_job(request=request)
await client.delete_job(request=request)
Args:
request (Union[google.cloud.scheduler_v1.types.DeleteJobRequest, dict]):
Expand Down Expand Up @@ -793,17 +793,17 @@ async def pause_job(
from google.cloud import scheduler_v1
def sample_pause_job():
async def sample_pause_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.PauseJobRequest(
name="name_value",
)
# Make the request
response = client.pause_job(request=request)
response = await client.pause_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -899,17 +899,17 @@ async def resume_job(
from google.cloud import scheduler_v1
def sample_resume_job():
async def sample_resume_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.ResumeJobRequest(
name="name_value",
)
# Make the request
response = client.resume_job(request=request)
response = await client.resume_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -997,17 +997,17 @@ async def run_job(
from google.cloud import scheduler_v1
def sample_run_job():
async def sample_run_job():
# Create a client
client = scheduler_v1.CloudSchedulerClient()
client = scheduler_v1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1.RunJobRequest(
name="name_value",
)
# Make the request
response = client.run_job(request=request)
response = await client.run_job(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ async def list_jobs(
from google.cloud import scheduler_v1beta1
def sample_list_jobs():
async def sample_list_jobs():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.ListJobsRequest(
Expand All @@ -243,7 +243,7 @@ def sample_list_jobs():
page_result = client.list_jobs(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -349,17 +349,17 @@ async def get_job(
from google.cloud import scheduler_v1beta1
def sample_get_job():
async def sample_get_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.GetJobRequest(
name="name_value",
)
# Make the request
response = client.get_job(request=request)
response = await client.get_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -456,17 +456,17 @@ async def create_job(
from google.cloud import scheduler_v1beta1
def sample_create_job():
async def sample_create_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.CreateJobRequest(
parent="parent_value",
)
# Make the request
response = client.create_job(request=request)
response = await client.create_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -580,16 +580,16 @@ async def update_job(
from google.cloud import scheduler_v1beta1
def sample_update_job():
async def sample_update_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.UpdateJobRequest(
)
# Make the request
response = client.update_job(request=request)
response = await client.update_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -689,17 +689,17 @@ async def delete_job(
from google.cloud import scheduler_v1beta1
def sample_delete_job():
async def sample_delete_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.DeleteJobRequest(
name="name_value",
)
# Make the request
client.delete_job(request=request)
await client.delete_job(request=request)
Args:
request (Union[google.cloud.scheduler_v1beta1.types.DeleteJobRequest, dict]):
Expand Down Expand Up @@ -794,17 +794,17 @@ async def pause_job(
from google.cloud import scheduler_v1beta1
def sample_pause_job():
async def sample_pause_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.PauseJobRequest(
name="name_value",
)
# Make the request
response = client.pause_job(request=request)
response = await client.pause_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -910,17 +910,17 @@ async def resume_job(
from google.cloud import scheduler_v1beta1
def sample_resume_job():
async def sample_resume_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.ResumeJobRequest(
name="name_value",
)
# Make the request
response = client.resume_job(request=request)
response = await client.resume_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1018,17 +1018,17 @@ async def run_job(
from google.cloud import scheduler_v1beta1
def sample_run_job():
async def sample_run_job():
# Create a client
client = scheduler_v1beta1.CloudSchedulerClient()
client = scheduler_v1beta1.CloudSchedulerAsyncClient()
# Initialize request argument(s)
request = scheduler_v1beta1.RunJobRequest(
name="name_value",
)
# Make the request
response = client.run_job(request=request)
response = await client.run_job(request=request)
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit 4ed2ae2

Please sign in to comment.