Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#196)
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 27, 2022
1 parent a54878c commit 559f1ab
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,9 @@ async def list_approval_requests(
from google.cloud import accessapproval_v1
def sample_list_approval_requests():
async def sample_list_approval_requests():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.ListApprovalRequestsMessage(
Expand All @@ -279,7 +279,7 @@ def sample_list_approval_requests():
page_result = client.list_approval_requests(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -385,16 +385,16 @@ async def get_approval_request(
from google.cloud import accessapproval_v1
def sample_get_approval_request():
async def sample_get_approval_request():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.GetApprovalRequestMessage(
)
# Make the request
response = client.get_approval_request(request=request)
response = await client.get_approval_request(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -490,16 +490,16 @@ async def approve_approval_request(
from google.cloud import accessapproval_v1
def sample_approve_approval_request():
async def sample_approve_approval_request():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.ApproveApprovalRequestMessage(
)
# Make the request
response = client.approve_approval_request(request=request)
response = await client.approve_approval_request(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -571,16 +571,16 @@ async def dismiss_approval_request(
from google.cloud import accessapproval_v1
def sample_dismiss_approval_request():
async def sample_dismiss_approval_request():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.DismissApprovalRequestMessage(
)
# Make the request
response = client.dismiss_approval_request(request=request)
response = await client.dismiss_approval_request(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -645,16 +645,16 @@ async def get_access_approval_settings(
from google.cloud import accessapproval_v1
def sample_get_access_approval_settings():
async def sample_get_access_approval_settings():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.GetAccessApprovalSettingsMessage(
)
# Make the request
response = client.get_access_approval_settings(request=request)
response = await client.get_access_approval_settings(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -753,16 +753,16 @@ async def update_access_approval_settings(
from google.cloud import accessapproval_v1
def sample_update_access_approval_settings():
async def sample_update_access_approval_settings():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.UpdateAccessApprovalSettingsMessage(
)
# Make the request
response = client.update_access_approval_settings(request=request)
response = await client.update_access_approval_settings(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -873,16 +873,16 @@ async def delete_access_approval_settings(
from google.cloud import accessapproval_v1
def sample_delete_access_approval_settings():
async def sample_delete_access_approval_settings():
# Create a client
client = accessapproval_v1.AccessApprovalClient()
client = accessapproval_v1.AccessApprovalAsyncClient()
# Initialize request argument(s)
request = accessapproval_v1.DeleteAccessApprovalSettingsMessage(
)
# Make the request
client.delete_access_approval_settings(request=request)
await client.delete_access_approval_settings(request=request)
Args:
request (Union[google.cloud.accessapproval_v1.types.DeleteAccessApprovalSettingsMessage, dict]):
Expand Down
Loading

0 comments on commit 559f1ab

Please sign in to comment.