Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#369)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.63.4

chore: fix snippet region tag format
chore: fix docstring code block formatting
PiperOrigin-RevId: 430730865

Source-Link: googleapis/googleapis@ea58002

Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca893ff8af25fc7fe001de1405a517d80446ecca
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* remove redundant samples

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Anthonios Partheniou <partheniou@google.com>
  • Loading branch information
3 people authored Feb 25, 2022
1 parent 66aef1a commit 4596605
Show file tree
Hide file tree
Showing 51 changed files with 184 additions and 184 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicy_async]
# [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async]
from google.cloud import asset_v1


Expand All @@ -45,4 +45,4 @@ async def sample_analyze_iam_policy():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicy_async]
# [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicyLongrunning_async]
# [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async]
from google.cloud import asset_v1


Expand Down Expand Up @@ -53,4 +53,4 @@ async def sample_analyze_iam_policy_longrunning():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicyLongrunning_async]
# [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicyLongrunning_sync]
# [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync]
from google.cloud import asset_v1


Expand Down Expand Up @@ -53,4 +53,4 @@ def sample_analyze_iam_policy_longrunning():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicyLongrunning_sync]
# [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicyLongrunning_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicy_sync]
# [START cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync]
from google.cloud import asset_v1


Expand All @@ -45,4 +45,4 @@ def sample_analyze_iam_policy():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_AnalyzeIamPolicy_sync]
# [END cloudasset_v1_generated_AssetService_AnalyzeIamPolicy_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_AnalyzeMove_async]
# [START cloudasset_v1_generated_AssetService_AnalyzeMove_async]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ async def sample_analyze_move():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_AnalyzeMove_async]
# [END cloudasset_v1_generated_AssetService_AnalyzeMove_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_AnalyzeMove_sync]
# [START cloudasset_v1_generated_AssetService_AnalyzeMove_sync]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ def sample_analyze_move():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_AnalyzeMove_sync]
# [END cloudasset_v1_generated_AssetService_AnalyzeMove_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_BatchGetAssetsHistory_async]
# [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async]
from google.cloud import asset_v1


Expand All @@ -42,4 +42,4 @@ async def sample_batch_get_assets_history():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_BatchGetAssetsHistory_async]
# [END cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_BatchGetAssetsHistory_sync]
# [START cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync]
from google.cloud import asset_v1


Expand All @@ -42,4 +42,4 @@ def sample_batch_get_assets_history():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_BatchGetAssetsHistory_sync]
# [END cloudasset_v1_generated_AssetService_BatchGetAssetsHistory_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_CreateFeed_async]
# [START cloudasset_v1_generated_AssetService_CreateFeed_async]
from google.cloud import asset_v1


Expand All @@ -47,4 +47,4 @@ async def sample_create_feed():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_CreateFeed_async]
# [END cloudasset_v1_generated_AssetService_CreateFeed_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_CreateFeed_sync]
# [START cloudasset_v1_generated_AssetService_CreateFeed_sync]
from google.cloud import asset_v1


Expand All @@ -47,4 +47,4 @@ def sample_create_feed():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_CreateFeed_sync]
# [END cloudasset_v1_generated_AssetService_CreateFeed_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_DeleteFeed_async]
# [START cloudasset_v1_generated_AssetService_DeleteFeed_async]
from google.cloud import asset_v1


Expand All @@ -40,4 +40,4 @@ async def sample_delete_feed():
await client.delete_feed(request=request)


# [END cloudasset_generated_asset_v1_AssetService_DeleteFeed_async]
# [END cloudasset_v1_generated_AssetService_DeleteFeed_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_DeleteFeed_sync]
# [START cloudasset_v1_generated_AssetService_DeleteFeed_sync]
from google.cloud import asset_v1


Expand All @@ -40,4 +40,4 @@ def sample_delete_feed():
client.delete_feed(request=request)


# [END cloudasset_generated_asset_v1_AssetService_DeleteFeed_sync]
# [END cloudasset_v1_generated_AssetService_DeleteFeed_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_ExportAssets_async]
# [START cloudasset_v1_generated_AssetService_ExportAssets_async]
from google.cloud import asset_v1


Expand All @@ -50,4 +50,4 @@ async def sample_export_assets():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_ExportAssets_async]
# [END cloudasset_v1_generated_AssetService_ExportAssets_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_ExportAssets_sync]
# [START cloudasset_v1_generated_AssetService_ExportAssets_sync]
from google.cloud import asset_v1


Expand All @@ -50,4 +50,4 @@ def sample_export_assets():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_ExportAssets_sync]
# [END cloudasset_v1_generated_AssetService_ExportAssets_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_GetFeed_async]
# [START cloudasset_v1_generated_AssetService_GetFeed_async]
from google.cloud import asset_v1


Expand All @@ -42,4 +42,4 @@ async def sample_get_feed():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_GetFeed_async]
# [END cloudasset_v1_generated_AssetService_GetFeed_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_GetFeed_sync]
# [START cloudasset_v1_generated_AssetService_GetFeed_sync]
from google.cloud import asset_v1


Expand All @@ -42,4 +42,4 @@ def sample_get_feed():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_GetFeed_sync]
# [END cloudasset_v1_generated_AssetService_GetFeed_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_ListAssets_async]
# [START cloudasset_v1_generated_AssetService_ListAssets_async]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ async def sample_list_assets():
async for response in page_result:
print(response)

# [END cloudasset_generated_asset_v1_AssetService_ListAssets_async]
# [END cloudasset_v1_generated_AssetService_ListAssets_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_ListAssets_sync]
# [START cloudasset_v1_generated_AssetService_ListAssets_sync]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ def sample_list_assets():
for response in page_result:
print(response)

# [END cloudasset_generated_asset_v1_AssetService_ListAssets_sync]
# [END cloudasset_v1_generated_AssetService_ListAssets_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_ListFeeds_async]
# [START cloudasset_v1_generated_AssetService_ListFeeds_async]
from google.cloud import asset_v1


Expand All @@ -42,4 +42,4 @@ async def sample_list_feeds():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_ListFeeds_async]
# [END cloudasset_v1_generated_AssetService_ListFeeds_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_ListFeeds_sync]
# [START cloudasset_v1_generated_AssetService_ListFeeds_sync]
from google.cloud import asset_v1


Expand All @@ -42,4 +42,4 @@ def sample_list_feeds():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_ListFeeds_sync]
# [END cloudasset_v1_generated_AssetService_ListFeeds_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_SearchAllIamPolicies_async]
# [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ async def sample_search_all_iam_policies():
async for response in page_result:
print(response)

# [END cloudasset_generated_asset_v1_AssetService_SearchAllIamPolicies_async]
# [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_SearchAllIamPolicies_sync]
# [START cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ def sample_search_all_iam_policies():
for response in page_result:
print(response)

# [END cloudasset_generated_asset_v1_AssetService_SearchAllIamPolicies_sync]
# [END cloudasset_v1_generated_AssetService_SearchAllIamPolicies_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_SearchAllResources_async]
# [START cloudasset_v1_generated_AssetService_SearchAllResources_async]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ async def sample_search_all_resources():
async for response in page_result:
print(response)

# [END cloudasset_generated_asset_v1_AssetService_SearchAllResources_async]
# [END cloudasset_v1_generated_AssetService_SearchAllResources_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_SearchAllResources_sync]
# [START cloudasset_v1_generated_AssetService_SearchAllResources_sync]
from google.cloud import asset_v1


Expand All @@ -43,4 +43,4 @@ def sample_search_all_resources():
for response in page_result:
print(response)

# [END cloudasset_generated_asset_v1_AssetService_SearchAllResources_sync]
# [END cloudasset_v1_generated_AssetService_SearchAllResources_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_UpdateFeed_async]
# [START cloudasset_v1_generated_AssetService_UpdateFeed_async]
from google.cloud import asset_v1


Expand All @@ -45,4 +45,4 @@ async def sample_update_feed():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_UpdateFeed_async]
# [END cloudasset_v1_generated_AssetService_UpdateFeed_async]
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# python3 -m pip install google-cloud-asset


# [START cloudasset_generated_asset_v1_AssetService_UpdateFeed_sync]
# [START cloudasset_v1_generated_AssetService_UpdateFeed_sync]
from google.cloud import asset_v1


Expand All @@ -45,4 +45,4 @@ def sample_update_feed():
# Handle the response
print(response)

# [END cloudasset_generated_asset_v1_AssetService_UpdateFeed_sync]
# [END cloudasset_v1_generated_AssetService_UpdateFeed_sync]
Loading

0 comments on commit 4596605

Please sign in to comment.