Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.65.2 (#348)
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 1a73aeb commit 3665b46
Show file tree
Hide file tree
Showing 12 changed files with 626 additions and 626 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -232,17 +232,17 @@ async def create_taxonomy(
from google.cloud import datacatalog_v1
def sample_create_taxonomy():
async def sample_create_taxonomy():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.CreateTaxonomyRequest(
parent="parent_value",
)
# Make the request
response = client.create_taxonomy(request=request)
response = await client.create_taxonomy(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -347,17 +347,17 @@ async def delete_taxonomy(
from google.cloud import datacatalog_v1
def sample_delete_taxonomy():
async def sample_delete_taxonomy():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.DeleteTaxonomyRequest(
name="name_value",
)
# Make the request
client.delete_taxonomy(request=request)
await client.delete_taxonomy(request=request)
Args:
request (Union[google.cloud.datacatalog_v1.types.DeleteTaxonomyRequest, dict]):
Expand Down Expand Up @@ -433,16 +433,16 @@ async def update_taxonomy(
from google.cloud import datacatalog_v1
def sample_update_taxonomy():
async def sample_update_taxonomy():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.UpdateTaxonomyRequest(
)
# Make the request
response = client.update_taxonomy(request=request)
response = await client.update_taxonomy(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -541,9 +541,9 @@ async def list_taxonomies(
from google.cloud import datacatalog_v1
def sample_list_taxonomies():
async def sample_list_taxonomies():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.ListTaxonomiesRequest(
Expand All @@ -554,7 +554,7 @@ def sample_list_taxonomies():
page_result = client.list_taxonomies(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -649,17 +649,17 @@ async def get_taxonomy(
from google.cloud import datacatalog_v1
def sample_get_taxonomy():
async def sample_get_taxonomy():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.GetTaxonomyRequest(
name="name_value",
)
# Make the request
response = client.get_taxonomy(request=request)
response = await client.get_taxonomy(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -755,17 +755,17 @@ async def create_policy_tag(
from google.cloud import datacatalog_v1
def sample_create_policy_tag():
async def sample_create_policy_tag():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.CreatePolicyTagRequest(
parent="parent_value",
)
# Make the request
response = client.create_policy_tag(request=request)
response = await client.create_policy_tag(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -870,17 +870,17 @@ async def delete_policy_tag(
from google.cloud import datacatalog_v1
def sample_delete_policy_tag():
async def sample_delete_policy_tag():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.DeletePolicyTagRequest(
name="name_value",
)
# Make the request
client.delete_policy_tag(request=request)
await client.delete_policy_tag(request=request)
Args:
request (Union[google.cloud.datacatalog_v1.types.DeletePolicyTagRequest, dict]):
Expand Down Expand Up @@ -956,16 +956,16 @@ async def update_policy_tag(
from google.cloud import datacatalog_v1
def sample_update_policy_tag():
async def sample_update_policy_tag():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.UpdatePolicyTagRequest(
)
# Make the request
response = client.update_policy_tag(request=request)
response = await client.update_policy_tag(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1060,9 +1060,9 @@ async def list_policy_tags(
from google.cloud import datacatalog_v1
def sample_list_policy_tags():
async def sample_list_policy_tags():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.ListPolicyTagsRequest(
Expand All @@ -1073,7 +1073,7 @@ def sample_list_policy_tags():
page_result = client.list_policy_tags(request=request)
# Handle the response
for response in page_result:
async for response in page_result:
print(response)
Args:
Expand Down Expand Up @@ -1168,17 +1168,17 @@ async def get_policy_tag(
from google.cloud import datacatalog_v1
def sample_get_policy_tag():
async def sample_get_policy_tag():
# Create a client
client = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.GetPolicyTagRequest(
name="name_value",
)
# Make the request
response = client.get_policy_tag(request=request)
response = await client.get_policy_tag(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -1270,17 +1270,17 @@ async def get_iam_policy(
from google.cloud import datacatalog_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 = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# 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 @@ -1406,17 +1406,17 @@ async def set_iam_policy(
from google.cloud import datacatalog_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 = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# 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 @@ -1543,9 +1543,9 @@ async def test_iam_permissions(
from google.cloud import datacatalog_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 = datacatalog_v1.PolicyTagManagerClient()
client = datacatalog_v1.PolicyTagManagerAsyncClient()
# Initialize request argument(s)
request = iam_policy_pb2.TestIamPermissionsRequest(
Expand All @@ -1554,7 +1554,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
Original file line number Diff line number Diff line change
Expand Up @@ -247,9 +247,9 @@ async def replace_taxonomy(
from google.cloud import datacatalog_v1
def sample_replace_taxonomy():
async def sample_replace_taxonomy():
# Create a client
client = datacatalog_v1.PolicyTagManagerSerializationClient()
client = datacatalog_v1.PolicyTagManagerSerializationAsyncClient()
# Initialize request argument(s)
serialized_taxonomy = datacatalog_v1.SerializedTaxonomy()
Expand All @@ -261,7 +261,7 @@ def sample_replace_taxonomy():
)
# Make the request
response = client.replace_taxonomy(request=request)
response = await client.replace_taxonomy(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -343,9 +343,9 @@ async def import_taxonomies(
from google.cloud import datacatalog_v1
def sample_import_taxonomies():
async def sample_import_taxonomies():
# Create a client
client = datacatalog_v1.PolicyTagManagerSerializationClient()
client = datacatalog_v1.PolicyTagManagerSerializationAsyncClient()
# Initialize request argument(s)
inline_source = datacatalog_v1.InlineSource()
Expand All @@ -357,7 +357,7 @@ def sample_import_taxonomies():
)
# Make the request
response = client.import_taxonomies(request=request)
response = await client.import_taxonomies(request=request)
# Handle the response
print(response)
Expand Down Expand Up @@ -428,9 +428,9 @@ async def export_taxonomies(
from google.cloud import datacatalog_v1
def sample_export_taxonomies():
async def sample_export_taxonomies():
# Create a client
client = datacatalog_v1.PolicyTagManagerSerializationClient()
client = datacatalog_v1.PolicyTagManagerSerializationAsyncClient()
# Initialize request argument(s)
request = datacatalog_v1.ExportTaxonomiesRequest(
Expand All @@ -440,7 +440,7 @@ def sample_export_taxonomies():
)
# Make the request
response = client.export_taxonomies(request=request)
response = await client.export_taxonomies(request=request)
# Handle the response
print(response)
Expand Down
Loading

0 comments on commit 3665b46

Please sign in to comment.