Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#89)
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 72f9de2 commit 54f606a
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,17 +231,17 @@ async def set_iam_policy(
from google.cloud import iap_v1
from google.iam.v1 import iam_policy_pb2 # type: ignore
def sample_set_iam_policy():
async def sample_set_iam_policy():
# Create a client
client = iap_v1.IdentityAwareProxyAdminServiceClient()
client = iap_v1.IdentityAwareProxyAdminServiceAsyncClient()
# Initialize request argument(s)
request = iam_policy_pb2.SetIamPolicyRequest(
resource="resource_value",
)
# Make the request
response = client.set_iam_policy(request=request)
response = await client.set_iam_policy(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -370,17 +370,17 @@ async def get_iam_policy(
from google.cloud import iap_v1
from google.iam.v1 import iam_policy_pb2 # type: ignore
def sample_get_iam_policy():
async def sample_get_iam_policy():
# Create a client
client = iap_v1.IdentityAwareProxyAdminServiceClient()
client = iap_v1.IdentityAwareProxyAdminServiceAsyncClient()
# Initialize request argument(s)
request = iam_policy_pb2.GetIamPolicyRequest(
resource="resource_value",
)
# Make the request
response = client.get_iam_policy(request=request)
response = await client.get_iam_policy(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -509,9 +509,9 @@ async def test_iam_permissions(
from google.cloud import iap_v1
from google.iam.v1 import iam_policy_pb2 # type: ignore
def sample_test_iam_permissions():
async def sample_test_iam_permissions():
# Create a client
client = iap_v1.IdentityAwareProxyAdminServiceClient()
client = iap_v1.IdentityAwareProxyAdminServiceAsyncClient()
# Initialize request argument(s)
request = iam_policy_pb2.TestIamPermissionsRequest(
Expand All @@ -520,7 +520,7 @@ def sample_test_iam_permissions():
)
# Make the request
response = client.test_iam_permissions(request=request)
response = await client.test_iam_permissions(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -585,17 +585,17 @@ async def get_iap_settings(
from google.cloud import iap_v1
def sample_get_iap_settings():
async def sample_get_iap_settings():
# Create a client
client = iap_v1.IdentityAwareProxyAdminServiceClient()
client = iap_v1.IdentityAwareProxyAdminServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.GetIapSettingsRequest(
name="name_value",
)
# Make the request
response = client.get_iap_settings(request=request)
response = await client.get_iap_settings(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -656,9 +656,9 @@ async def update_iap_settings(
from google.cloud import iap_v1
def sample_update_iap_settings():
async def sample_update_iap_settings():
# Create a client
client = iap_v1.IdentityAwareProxyAdminServiceClient()
client = iap_v1.IdentityAwareProxyAdminServiceAsyncClient()
# Initialize request argument(s)
iap_settings = iap_v1.IapSettings()
Expand All @@ -669,7 +669,7 @@ def sample_update_iap_settings():
)
# Make the request
response = client.update_iap_settings(request=request)
response = await client.update_iap_settings(request=request)
# Handle the response
print(response)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,17 +228,17 @@ async def list_brands(
from google.cloud import iap_v1
def sample_list_brands():
async def sample_list_brands():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.ListBrandsRequest(
parent="parent_value",
)
# Make the request
response = client.list_brands(request=request)
response = await client.list_brands(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -307,17 +307,17 @@ async def create_brand(
from google.cloud import iap_v1
def sample_create_brand():
async def sample_create_brand():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.CreateBrandRequest(
parent="parent_value",
)
# Make the request
response = client.create_brand(request=request)
response = await client.create_brand(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -380,17 +380,17 @@ async def get_brand(
from google.cloud import iap_v1
def sample_get_brand():
async def sample_get_brand():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.GetBrandRequest(
name="name_value",
)
# Make the request
response = client.get_brand(request=request)
response = await client.get_brand(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -456,17 +456,17 @@ async def create_identity_aware_proxy_client(
from google.cloud import iap_v1
def sample_create_identity_aware_proxy_client():
async def sample_create_identity_aware_proxy_client():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.CreateIdentityAwareProxyClientRequest(
parent="parent_value",
)
# Make the request
response = client.create_identity_aware_proxy_client(request=request)
response = await client.create_identity_aware_proxy_client(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -529,9 +529,9 @@ async def list_identity_aware_proxy_clients(
from google.cloud import iap_v1
def sample_list_identity_aware_proxy_clients():
async def sample_list_identity_aware_proxy_clients():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.ListIdentityAwareProxyClientsRequest(
Expand All @@ -542,7 +542,7 @@ def sample_list_identity_aware_proxy_clients():
page_result = client.list_identity_aware_proxy_clients(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -616,17 +616,17 @@ async def get_identity_aware_proxy_client(
from google.cloud import iap_v1
def sample_get_identity_aware_proxy_client():
async def sample_get_identity_aware_proxy_client():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.GetIdentityAwareProxyClientRequest(
name="name_value",
)
# Make the request
response = client.get_identity_aware_proxy_client(request=request)
response = await client.get_identity_aware_proxy_client(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -691,17 +691,17 @@ async def reset_identity_aware_proxy_client_secret(
from google.cloud import iap_v1
def sample_reset_identity_aware_proxy_client_secret():
async def sample_reset_identity_aware_proxy_client_secret():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.ResetIdentityAwareProxyClientSecretRequest(
name="name_value",
)
# Make the request
response = client.reset_identity_aware_proxy_client_secret(request=request)
response = await client.reset_identity_aware_proxy_client_secret(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -767,17 +767,17 @@ async def delete_identity_aware_proxy_client(
from google.cloud import iap_v1
def sample_delete_identity_aware_proxy_client():
async def sample_delete_identity_aware_proxy_client():
# Create a client
client = iap_v1.IdentityAwareProxyOAuthServiceClient()
client = iap_v1.IdentityAwareProxyOAuthServiceAsyncClient()
# Initialize request argument(s)
request = iap_v1.DeleteIdentityAwareProxyClientRequest(
name="name_value",
)
# Make the request
client.delete_identity_aware_proxy_client(request=request)
await client.delete_identity_aware_proxy_client(request=request)
Args:
request (Union[google.cloud.iap_v1.types.DeleteIdentityAwareProxyClientRequest, dict]):
Expand Down
Loading

0 comments on commit 54f606a

Please sign in to comment.