From 1a37df849ae709233e20305b6d8c0a32c9ff716d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 25 Feb 2022 09:20:00 -0700 Subject: [PATCH] chore: use gapic-generator-python 0.63.4 (#84) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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: https://github.com/googleapis/googleapis/commit/ea5800229f73f94fd7204915a86ed09dcddf429a 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 * chore: delete duplicates Co-authored-by: Owl Bot Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> --- .../services/private_catalog/async_client.py | 6 ++--- .../services/private_catalog/client.py | 9 +++---- ..._private_catalog_search_catalogs_async.py} | 4 ++-- ...d_private_catalog_search_catalogs_sync.py} | 4 ++-- ..._private_catalog_search_products_async.py} | 4 ++-- ...d_private_catalog_search_products_sync.py} | 4 ++-- ..._private_catalog_search_versions_async.py} | 4 ++-- ...d_private_catalog_search_versions_sync.py} | 4 ++-- ...ippet_metadata_privatecatalog_v1beta1.json | 24 +++++++++---------- 9 files changed, 30 insertions(+), 33 deletions(-) rename packages/google-cloud-private-catalog/samples/generated_samples/{cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_async.py => cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_async.py} (87%) rename packages/google-cloud-private-catalog/samples/generated_samples/{cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_sync.py => cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_sync.py} (87%) rename packages/google-cloud-private-catalog/samples/generated_samples/{cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_async.py => cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_async.py} (87%) rename packages/google-cloud-private-catalog/samples/generated_samples/{cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_sync.py => cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_sync.py} (87%) rename packages/google-cloud-private-catalog/samples/generated_samples/{cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_async.py => cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_async.py} (88%) rename packages/google-cloud-private-catalog/samples/generated_samples/{cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_sync.py => cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_sync.py} (88%) diff --git a/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/async_client.py b/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/async_client.py index 724fb91ba7f6..ef20c2877c66 100644 --- a/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/async_client.py +++ b/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/async_client.py @@ -241,7 +241,7 @@ async def search_catalogs( consumer cloud resource hierarchy context. - .. code-block:: + .. code-block:: python from google.cloud import privatecatalog_v1beta1 @@ -322,7 +322,7 @@ async def search_products( consumer cloud resource hierarchy context. - .. code-block:: + .. code-block:: python from google.cloud import privatecatalog_v1beta1 @@ -403,7 +403,7 @@ async def search_versions( consumer cloud resource hierarchy context. - .. code-block:: + .. code-block:: python from google.cloud import privatecatalog_v1beta1 diff --git a/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/client.py b/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/client.py index 1bb41ac94772..9c2a3ac68f6a 100644 --- a/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/client.py +++ b/packages/google-cloud-private-catalog/google/cloud/privatecatalog_v1beta1/services/private_catalog/client.py @@ -456,8 +456,7 @@ def search_catalogs( consumer cloud resource hierarchy context. - - .. code-block:: + .. code-block:: python from google.cloud import privatecatalog_v1beta1 @@ -539,8 +538,7 @@ def search_products( consumer cloud resource hierarchy context. - - .. code-block:: + .. code-block:: python from google.cloud import privatecatalog_v1beta1 @@ -622,8 +620,7 @@ def search_versions( consumer cloud resource hierarchy context. - - .. code-block:: + .. code-block:: python from google.cloud import privatecatalog_v1beta1 diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_async.py b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_async.py similarity index 87% rename from packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_async.py rename to packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_async.py index 6fb618f80c53..a9478c17378d 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_async.py +++ b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-private-catalog -# [START cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchCatalogs_async] +# [START cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async] from google.cloud import privatecatalog_v1beta1 @@ -43,4 +43,4 @@ async def sample_search_catalogs(): async for response in page_result: print(response) -# [END cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchCatalogs_async] +# [END cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async] diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_sync.py b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_sync.py similarity index 87% rename from packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_sync.py rename to packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_sync.py index 02d9c9129c5d..b1e4828ddb05 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_sync.py +++ b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-private-catalog -# [START cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchCatalogs_sync] +# [START cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_sync] from google.cloud import privatecatalog_v1beta1 @@ -43,4 +43,4 @@ def sample_search_catalogs(): for response in page_result: print(response) -# [END cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchCatalogs_sync] +# [END cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_sync] diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_async.py b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_async.py similarity index 87% rename from packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_async.py rename to packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_async.py index 9a043079584b..3b1eeba16d6b 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_async.py +++ b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-private-catalog -# [START cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchProducts_async] +# [START cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async] from google.cloud import privatecatalog_v1beta1 @@ -43,4 +43,4 @@ async def sample_search_products(): async for response in page_result: print(response) -# [END cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchProducts_async] +# [END cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async] diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_sync.py b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_sync.py similarity index 87% rename from packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_sync.py rename to packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_sync.py index b6b5342c2126..ac557c215eca 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_sync.py +++ b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-private-catalog -# [START cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchProducts_sync] +# [START cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_sync] from google.cloud import privatecatalog_v1beta1 @@ -43,4 +43,4 @@ def sample_search_products(): for response in page_result: print(response) -# [END cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchProducts_sync] +# [END cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_sync] diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_async.py b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_async.py similarity index 88% rename from packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_async.py rename to packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_async.py index 96a466712cc0..af24b048a057 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_async.py +++ b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-private-catalog -# [START cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchVersions_async] +# [START cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async] from google.cloud import privatecatalog_v1beta1 @@ -44,4 +44,4 @@ async def sample_search_versions(): async for response in page_result: print(response) -# [END cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchVersions_async] +# [END cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async] diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_sync.py b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_sync.py similarity index 88% rename from packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_sync.py rename to packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_sync.py index f1a6b695c45f..8b135fef147e 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_sync.py +++ b/packages/google-cloud-private-catalog/samples/generated_samples/cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-private-catalog -# [START cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchVersions_sync] +# [START cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_sync] from google.cloud import privatecatalog_v1beta1 @@ -44,4 +44,4 @@ def sample_search_versions(): for response in page_result: print(response) -# [END cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchVersions_sync] +# [END cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_sync] diff --git a/packages/google-cloud-private-catalog/samples/generated_samples/snippet_metadata_privatecatalog_v1beta1.json b/packages/google-cloud-private-catalog/samples/generated_samples/snippet_metadata_privatecatalog_v1beta1.json index 3878b7465d8d..68fc094429c0 100644 --- a/packages/google-cloud-private-catalog/samples/generated_samples/snippet_metadata_privatecatalog_v1beta1.json +++ b/packages/google-cloud-private-catalog/samples/generated_samples/snippet_metadata_privatecatalog_v1beta1.json @@ -10,8 +10,8 @@ "shortName": "SearchCatalogs" } }, - "file": "cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_async.py", - "regionTag": "cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchCatalogs_async", + "file": "cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_async.py", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_async", "segments": [ { "end": 45, @@ -54,8 +54,8 @@ "shortName": "SearchCatalogs" } }, - "file": "cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_catalogs_sync.py", - "regionTag": "cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchCatalogs_sync", + "file": "cloudprivatecatalog_v1beta1_generated_private_catalog_search_catalogs_sync.py", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchCatalogs_sync", "segments": [ { "end": 45, @@ -99,8 +99,8 @@ "shortName": "SearchProducts" } }, - "file": "cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_async.py", - "regionTag": "cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchProducts_async", + "file": "cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_async.py", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_async", "segments": [ { "end": 45, @@ -143,8 +143,8 @@ "shortName": "SearchProducts" } }, - "file": "cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_products_sync.py", - "regionTag": "cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchProducts_sync", + "file": "cloudprivatecatalog_v1beta1_generated_private_catalog_search_products_sync.py", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchProducts_sync", "segments": [ { "end": 45, @@ -188,8 +188,8 @@ "shortName": "SearchVersions" } }, - "file": "cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_async.py", - "regionTag": "cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchVersions_async", + "file": "cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_async.py", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_async", "segments": [ { "end": 46, @@ -232,8 +232,8 @@ "shortName": "SearchVersions" } }, - "file": "cloudprivatecatalog_generated_privatecatalog_v1beta1_private_catalog_search_versions_sync.py", - "regionTag": "cloudprivatecatalog_generated_privatecatalog_v1beta1_PrivateCatalog_SearchVersions_sync", + "file": "cloudprivatecatalog_v1beta1_generated_private_catalog_search_versions_sync.py", + "regionTag": "cloudprivatecatalog_v1beta1_generated_PrivateCatalog_SearchVersions_sync", "segments": [ { "end": 46,