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,