Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#191)
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 485bbda commit 97c6414
Show file tree
Hide file tree
Showing 6 changed files with 280 additions and 280 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,17 +232,17 @@ async def execute_patch_job(
from google.cloud import osconfig_v1
def sample_execute_patch_job():
async def sample_execute_patch_job():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.ExecutePatchJobRequest(
parent="parent_value",
)
# Make the request
response = client.execute_patch_job(request=request)
response = await client.execute_patch_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -316,17 +316,17 @@ async def get_patch_job(
from google.cloud import osconfig_v1
def sample_get_patch_job():
async def sample_get_patch_job():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.GetPatchJobRequest(
name="name_value",
)
# Make the request
response = client.get_patch_job(request=request)
response = await client.get_patch_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -419,17 +419,17 @@ async def cancel_patch_job(
from google.cloud import osconfig_v1
def sample_cancel_patch_job():
async def sample_cancel_patch_job():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.CancelPatchJobRequest(
name="name_value",
)
# Make the request
response = client.cancel_patch_job(request=request)
response = await client.cancel_patch_job(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -500,9 +500,9 @@ async def list_patch_jobs(
from google.cloud import osconfig_v1
def sample_list_patch_jobs():
async def sample_list_patch_jobs():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.ListPatchJobsRequest(
Expand All @@ -513,7 +513,7 @@ def sample_list_patch_jobs():
page_result = client.list_patch_jobs(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -606,9 +606,9 @@ async def list_patch_job_instance_details(
from google.cloud import osconfig_v1
def sample_list_patch_job_instance_details():
async def sample_list_patch_job_instance_details():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.ListPatchJobInstanceDetailsRequest(
Expand All @@ -619,7 +619,7 @@ def sample_list_patch_job_instance_details():
page_result = client.list_patch_job_instance_details(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -716,9 +716,9 @@ async def create_patch_deployment(
from google.cloud import osconfig_v1
def sample_create_patch_deployment():
async def sample_create_patch_deployment():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.CreatePatchDeploymentRequest(
Expand All @@ -727,7 +727,7 @@ def sample_create_patch_deployment():
)
# Make the request
response = client.create_patch_deployment(request=request)
response = await client.create_patch_deployment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -841,17 +841,17 @@ async def get_patch_deployment(
from google.cloud import osconfig_v1
def sample_get_patch_deployment():
async def sample_get_patch_deployment():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.GetPatchDeploymentRequest(
name="name_value",
)
# Make the request
response = client.get_patch_deployment(request=request)
response = await client.get_patch_deployment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -940,9 +940,9 @@ async def list_patch_deployments(
from google.cloud import osconfig_v1
def sample_list_patch_deployments():
async def sample_list_patch_deployments():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.ListPatchDeploymentsRequest(
Expand All @@ -953,7 +953,7 @@ def sample_list_patch_deployments():
page_result = client.list_patch_deployments(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1048,17 +1048,17 @@ async def delete_patch_deployment(
from google.cloud import osconfig_v1
def sample_delete_patch_deployment():
async def sample_delete_patch_deployment():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.DeletePatchDeploymentRequest(
name="name_value",
)
# Make the request
client.delete_patch_deployment(request=request)
await client.delete_patch_deployment(request=request)
Args:
request (Union[google.cloud.osconfig_v1.types.DeletePatchDeploymentRequest, dict]):
Expand Down Expand Up @@ -1132,16 +1132,16 @@ async def update_patch_deployment(
from google.cloud import osconfig_v1
def sample_update_patch_deployment():
async def sample_update_patch_deployment():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.UpdatePatchDeploymentRequest(
)
# Make the request
response = client.update_patch_deployment(request=request)
response = await client.update_patch_deployment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1244,17 +1244,17 @@ async def pause_patch_deployment(
from google.cloud import osconfig_v1
def sample_pause_patch_deployment():
async def sample_pause_patch_deployment():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.PausePatchDeploymentRequest(
name="name_value",
)
# Make the request
response = client.pause_patch_deployment(request=request)
response = await client.pause_patch_deployment(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1345,17 +1345,17 @@ async def resume_patch_deployment(
from google.cloud import osconfig_v1
def sample_resume_patch_deployment():
async def sample_resume_patch_deployment():
# Create a client
client = osconfig_v1.OsConfigServiceClient()
client = osconfig_v1.OsConfigServiceAsyncClient()
# Initialize request argument(s)
request = osconfig_v1.ResumePatchDeploymentRequest(
name="name_value",
)
# Make the request
response = client.resume_patch_deployment(request=request)
response = await client.resume_patch_deployment(request=request)
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit 97c6414

Please sign in to comment.