diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_get_default_branch_async.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_get_default_branch_async.py similarity index 89% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_get_default_branch_async.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_get_default_branch_async.py index cacf3b42c307..975be9a0a0c2 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_get_default_branch_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_get_default_branch_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_GetDefaultBranch_async] +# [START retail_v2_generated_CatalogService_GetDefaultBranch_async] from google.cloud import retail_v2 @@ -41,4 +41,4 @@ async def sample_get_default_branch(): # Handle the response print(response) -# [END retail_generated_retail_v2_CatalogService_GetDefaultBranch_async] +# [END retail_v2_generated_CatalogService_GetDefaultBranch_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_get_default_branch_sync.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_get_default_branch_sync.py similarity index 89% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_get_default_branch_sync.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_get_default_branch_sync.py index 07f733fa9323..3d34b18d111d 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_get_default_branch_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_get_default_branch_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_GetDefaultBranch_sync] +# [START retail_v2_generated_CatalogService_GetDefaultBranch_sync] from google.cloud import retail_v2 @@ -41,4 +41,4 @@ def sample_get_default_branch(): # Handle the response print(response) -# [END retail_generated_retail_v2_CatalogService_GetDefaultBranch_sync] +# [END retail_v2_generated_CatalogService_GetDefaultBranch_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_list_catalogs_async.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_list_catalogs_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_list_catalogs_async.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_list_catalogs_async.py index bd645f3b3af5..be72a7a76d23 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_list_catalogs_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_list_catalogs_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_ListCatalogs_async] +# [START retail_v2_generated_CatalogService_ListCatalogs_async] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ async def sample_list_catalogs(): async for response in page_result: print(response) -# [END retail_generated_retail_v2_CatalogService_ListCatalogs_async] +# [END retail_v2_generated_CatalogService_ListCatalogs_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_list_catalogs_sync.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_list_catalogs_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_list_catalogs_sync.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_list_catalogs_sync.py index 753322f24a2c..bba53da47363 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_list_catalogs_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_list_catalogs_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_ListCatalogs_sync] +# [START retail_v2_generated_CatalogService_ListCatalogs_sync] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ def sample_list_catalogs(): for response in page_result: print(response) -# [END retail_generated_retail_v2_CatalogService_ListCatalogs_sync] +# [END retail_v2_generated_CatalogService_ListCatalogs_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_set_default_branch_async.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_set_default_branch_async.py similarity index 89% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_set_default_branch_async.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_set_default_branch_async.py index ea9f61db7c54..af6e1f86555c 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_set_default_branch_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_set_default_branch_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_SetDefaultBranch_async] +# [START retail_v2_generated_CatalogService_SetDefaultBranch_async] from google.cloud import retail_v2 @@ -39,4 +39,4 @@ async def sample_set_default_branch(): await client.set_default_branch(request=request) -# [END retail_generated_retail_v2_CatalogService_SetDefaultBranch_async] +# [END retail_v2_generated_CatalogService_SetDefaultBranch_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_set_default_branch_sync.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_set_default_branch_sync.py similarity index 89% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_set_default_branch_sync.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_set_default_branch_sync.py index 0ac7ee304364..4b67f33f65ee 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_set_default_branch_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_set_default_branch_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_SetDefaultBranch_sync] +# [START retail_v2_generated_CatalogService_SetDefaultBranch_sync] from google.cloud import retail_v2 @@ -39,4 +39,4 @@ def sample_set_default_branch(): client.set_default_branch(request=request) -# [END retail_generated_retail_v2_CatalogService_SetDefaultBranch_sync] +# [END retail_v2_generated_CatalogService_SetDefaultBranch_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_update_catalog_async.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_update_catalog_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_update_catalog_async.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_update_catalog_async.py index 3d9fc073f653..67071e3485ca 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_update_catalog_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_update_catalog_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_UpdateCatalog_async] +# [START retail_v2_generated_CatalogService_UpdateCatalog_async] from google.cloud import retail_v2 @@ -46,4 +46,4 @@ async def sample_update_catalog(): # Handle the response print(response) -# [END retail_generated_retail_v2_CatalogService_UpdateCatalog_async] +# [END retail_v2_generated_CatalogService_UpdateCatalog_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_update_catalog_sync.py b/generated_samples/generated_samples/retail_v2_generated_catalog_service_update_catalog_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_update_catalog_sync.py rename to generated_samples/generated_samples/retail_v2_generated_catalog_service_update_catalog_sync.py index 586b2a56213a..9a9938f80cbd 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_catalog_service_update_catalog_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_catalog_service_update_catalog_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CatalogService_UpdateCatalog_sync] +# [START retail_v2_generated_CatalogService_UpdateCatalog_sync] from google.cloud import retail_v2 @@ -46,4 +46,4 @@ def sample_update_catalog(): # Handle the response print(response) -# [END retail_generated_retail_v2_CatalogService_UpdateCatalog_sync] +# [END retail_v2_generated_CatalogService_UpdateCatalog_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_complete_query_async.py b/generated_samples/generated_samples/retail_v2_generated_completion_service_complete_query_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_completion_service_complete_query_async.py rename to generated_samples/generated_samples/retail_v2_generated_completion_service_complete_query_async.py index 1b7ed81b468a..cc8ca7e3b99f 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_complete_query_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_completion_service_complete_query_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CompletionService_CompleteQuery_async] +# [START retail_v2_generated_CompletionService_CompleteQuery_async] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ async def sample_complete_query(): # Handle the response print(response) -# [END retail_generated_retail_v2_CompletionService_CompleteQuery_async] +# [END retail_v2_generated_CompletionService_CompleteQuery_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_complete_query_sync.py b/generated_samples/generated_samples/retail_v2_generated_completion_service_complete_query_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_completion_service_complete_query_sync.py rename to generated_samples/generated_samples/retail_v2_generated_completion_service_complete_query_sync.py index a0b06bf0f172..6a8d02712bdb 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_complete_query_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_completion_service_complete_query_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CompletionService_CompleteQuery_sync] +# [START retail_v2_generated_CompletionService_CompleteQuery_sync] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ def sample_complete_query(): # Handle the response print(response) -# [END retail_generated_retail_v2_CompletionService_CompleteQuery_sync] +# [END retail_v2_generated_CompletionService_CompleteQuery_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_import_completion_data_async.py b/generated_samples/generated_samples/retail_v2_generated_completion_service_import_completion_data_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_completion_service_import_completion_data_async.py rename to generated_samples/generated_samples/retail_v2_generated_completion_service_import_completion_data_async.py index fccbc535f8ad..ab7ecb3e7418 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_import_completion_data_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_completion_service_import_completion_data_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CompletionService_ImportCompletionData_async] +# [START retail_v2_generated_CompletionService_ImportCompletionData_async] from google.cloud import retail_v2 @@ -51,4 +51,4 @@ async def sample_import_completion_data(): # Handle the response print(response) -# [END retail_generated_retail_v2_CompletionService_ImportCompletionData_async] +# [END retail_v2_generated_CompletionService_ImportCompletionData_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_import_completion_data_sync.py b/generated_samples/generated_samples/retail_v2_generated_completion_service_import_completion_data_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_completion_service_import_completion_data_sync.py rename to generated_samples/generated_samples/retail_v2_generated_completion_service_import_completion_data_sync.py index 9ac5253093ab..dd57769d6e71 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_completion_service_import_completion_data_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_completion_service_import_completion_data_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_CompletionService_ImportCompletionData_sync] +# [START retail_v2_generated_CompletionService_ImportCompletionData_sync] from google.cloud import retail_v2 @@ -51,4 +51,4 @@ def sample_import_completion_data(): # Handle the response print(response) -# [END retail_generated_retail_v2_CompletionService_ImportCompletionData_sync] +# [END retail_v2_generated_CompletionService_ImportCompletionData_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_prediction_service_predict_async.py b/generated_samples/generated_samples/retail_v2_generated_prediction_service_predict_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_prediction_service_predict_async.py rename to generated_samples/generated_samples/retail_v2_generated_prediction_service_predict_async.py index 6e623a6ca05c..6694c8b9dc12 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_prediction_service_predict_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_prediction_service_predict_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_PredictionService_Predict_async] +# [START retail_v2_generated_PredictionService_Predict_async] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ async def sample_predict(): # Handle the response print(response) -# [END retail_generated_retail_v2_PredictionService_Predict_async] +# [END retail_v2_generated_PredictionService_Predict_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_prediction_service_predict_sync.py b/generated_samples/generated_samples/retail_v2_generated_prediction_service_predict_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_prediction_service_predict_sync.py rename to generated_samples/generated_samples/retail_v2_generated_prediction_service_predict_sync.py index 1ff04a9df80f..f6d51cbd2de0 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_prediction_service_predict_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_prediction_service_predict_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_PredictionService_Predict_sync] +# [START retail_v2_generated_PredictionService_Predict_sync] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ def sample_predict(): # Handle the response print(response) -# [END retail_generated_retail_v2_PredictionService_Predict_sync] +# [END retail_v2_generated_PredictionService_Predict_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_add_fulfillment_places_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_add_fulfillment_places_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_add_fulfillment_places_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_add_fulfillment_places_async.py index a42a95e79c64..2cfbbed1237d 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_add_fulfillment_places_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_add_fulfillment_places_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_AddFulfillmentPlaces_async] +# [START retail_v2_generated_ProductService_AddFulfillmentPlaces_async] from google.cloud import retail_v2 @@ -48,4 +48,4 @@ async def sample_add_fulfillment_places(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_AddFulfillmentPlaces_async] +# [END retail_v2_generated_ProductService_AddFulfillmentPlaces_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_add_fulfillment_places_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_add_fulfillment_places_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_add_fulfillment_places_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_add_fulfillment_places_sync.py index 3d1cce9acac1..49e07f831999 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_add_fulfillment_places_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_add_fulfillment_places_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_AddFulfillmentPlaces_sync] +# [START retail_v2_generated_ProductService_AddFulfillmentPlaces_sync] from google.cloud import retail_v2 @@ -48,4 +48,4 @@ def sample_add_fulfillment_places(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_AddFulfillmentPlaces_sync] +# [END retail_v2_generated_ProductService_AddFulfillmentPlaces_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_create_product_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_create_product_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_create_product_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_create_product_async.py index df7d6a798440..ccc283708988 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_create_product_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_create_product_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_CreateProduct_async] +# [START retail_v2_generated_ProductService_CreateProduct_async] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ async def sample_create_product(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_CreateProduct_async] +# [END retail_v2_generated_ProductService_CreateProduct_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_create_product_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_create_product_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_create_product_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_create_product_sync.py index ecd17c1d8ace..2a35ebc8a165 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_create_product_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_create_product_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_CreateProduct_sync] +# [START retail_v2_generated_ProductService_CreateProduct_sync] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ def sample_create_product(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_CreateProduct_sync] +# [END retail_v2_generated_ProductService_CreateProduct_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_delete_product_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_delete_product_async.py similarity index 89% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_delete_product_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_delete_product_async.py index 07fed762d4f0..65ee045dd01a 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_delete_product_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_delete_product_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_DeleteProduct_async] +# [START retail_v2_generated_ProductService_DeleteProduct_async] from google.cloud import retail_v2 @@ -40,4 +40,4 @@ async def sample_delete_product(): await client.delete_product(request=request) -# [END retail_generated_retail_v2_ProductService_DeleteProduct_async] +# [END retail_v2_generated_ProductService_DeleteProduct_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_delete_product_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_delete_product_sync.py similarity index 89% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_delete_product_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_delete_product_sync.py index 788fdbc2b42a..32e952ae9687 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_delete_product_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_delete_product_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_DeleteProduct_sync] +# [START retail_v2_generated_ProductService_DeleteProduct_sync] from google.cloud import retail_v2 @@ -40,4 +40,4 @@ def sample_delete_product(): client.delete_product(request=request) -# [END retail_generated_retail_v2_ProductService_DeleteProduct_sync] +# [END retail_v2_generated_ProductService_DeleteProduct_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_get_product_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_get_product_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_get_product_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_get_product_async.py index d2c7639d1b97..afd15d875cfa 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_get_product_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_get_product_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_GetProduct_async] +# [START retail_v2_generated_ProductService_GetProduct_async] from google.cloud import retail_v2 @@ -42,4 +42,4 @@ async def sample_get_product(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_GetProduct_async] +# [END retail_v2_generated_ProductService_GetProduct_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_get_product_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_get_product_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_get_product_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_get_product_sync.py index 08ceba4fec84..f6bd0990486e 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_get_product_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_get_product_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_GetProduct_sync] +# [START retail_v2_generated_ProductService_GetProduct_sync] from google.cloud import retail_v2 @@ -42,4 +42,4 @@ def sample_get_product(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_GetProduct_sync] +# [END retail_v2_generated_ProductService_GetProduct_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_import_products_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_import_products_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_import_products_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_import_products_async.py index 548814eb9120..164e643cce23 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_import_products_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_import_products_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_ImportProducts_async] +# [START retail_v2_generated_ProductService_ImportProducts_async] from google.cloud import retail_v2 @@ -50,4 +50,4 @@ async def sample_import_products(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_ImportProducts_async] +# [END retail_v2_generated_ProductService_ImportProducts_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_import_products_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_import_products_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_import_products_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_import_products_sync.py index d5d801c72341..c6aca15e9b35 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_import_products_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_import_products_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_ImportProducts_sync] +# [START retail_v2_generated_ProductService_ImportProducts_sync] from google.cloud import retail_v2 @@ -50,4 +50,4 @@ def sample_import_products(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_ImportProducts_sync] +# [END retail_v2_generated_ProductService_ImportProducts_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_list_products_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_list_products_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_list_products_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_list_products_async.py index 1ca9e1cd4cf0..46995ded52f8 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_list_products_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_list_products_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_ListProducts_async] +# [START retail_v2_generated_ProductService_ListProducts_async] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ async def sample_list_products(): async for response in page_result: print(response) -# [END retail_generated_retail_v2_ProductService_ListProducts_async] +# [END retail_v2_generated_ProductService_ListProducts_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_list_products_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_list_products_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_list_products_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_list_products_sync.py index 0cc0db53507f..93455171d0a8 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_list_products_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_list_products_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_ListProducts_sync] +# [START retail_v2_generated_ProductService_ListProducts_sync] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ def sample_list_products(): for response in page_result: print(response) -# [END retail_generated_retail_v2_ProductService_ListProducts_sync] +# [END retail_v2_generated_ProductService_ListProducts_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_remove_fulfillment_places_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_remove_fulfillment_places_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_remove_fulfillment_places_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_remove_fulfillment_places_async.py index d5e0107ca4c7..915002c3d04e 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_remove_fulfillment_places_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_remove_fulfillment_places_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_RemoveFulfillmentPlaces_async] +# [START retail_v2_generated_ProductService_RemoveFulfillmentPlaces_async] from google.cloud import retail_v2 @@ -48,4 +48,4 @@ async def sample_remove_fulfillment_places(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_RemoveFulfillmentPlaces_async] +# [END retail_v2_generated_ProductService_RemoveFulfillmentPlaces_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_remove_fulfillment_places_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_remove_fulfillment_places_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_remove_fulfillment_places_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_remove_fulfillment_places_sync.py index 6e795dbf35a1..a3b1a4da663d 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_remove_fulfillment_places_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_remove_fulfillment_places_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_RemoveFulfillmentPlaces_sync] +# [START retail_v2_generated_ProductService_RemoveFulfillmentPlaces_sync] from google.cloud import retail_v2 @@ -48,4 +48,4 @@ def sample_remove_fulfillment_places(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_RemoveFulfillmentPlaces_sync] +# [END retail_v2_generated_ProductService_RemoveFulfillmentPlaces_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_set_inventory_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_set_inventory_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_set_inventory_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_set_inventory_async.py index 3e3a146a993c..763a1547eb46 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_set_inventory_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_set_inventory_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_SetInventory_async] +# [START retail_v2_generated_ProductService_SetInventory_async] from google.cloud import retail_v2 @@ -49,4 +49,4 @@ async def sample_set_inventory(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_SetInventory_async] +# [END retail_v2_generated_ProductService_SetInventory_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_set_inventory_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_set_inventory_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_set_inventory_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_set_inventory_sync.py index 37b3a2bc2e72..440f56ef8d18 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_set_inventory_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_set_inventory_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_SetInventory_sync] +# [START retail_v2_generated_ProductService_SetInventory_sync] from google.cloud import retail_v2 @@ -49,4 +49,4 @@ def sample_set_inventory(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_SetInventory_sync] +# [END retail_v2_generated_ProductService_SetInventory_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_update_product_async.py b/generated_samples/generated_samples/retail_v2_generated_product_service_update_product_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_update_product_async.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_update_product_async.py index 75a39b1df059..c10ad3143d08 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_update_product_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_update_product_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_UpdateProduct_async] +# [START retail_v2_generated_ProductService_UpdateProduct_async] from google.cloud import retail_v2 @@ -45,4 +45,4 @@ async def sample_update_product(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_UpdateProduct_async] +# [END retail_v2_generated_ProductService_UpdateProduct_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_update_product_sync.py b/generated_samples/generated_samples/retail_v2_generated_product_service_update_product_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_product_service_update_product_sync.py rename to generated_samples/generated_samples/retail_v2_generated_product_service_update_product_sync.py index 818337b3d808..8428d2d8c8f6 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_product_service_update_product_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_product_service_update_product_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_ProductService_UpdateProduct_sync] +# [START retail_v2_generated_ProductService_UpdateProduct_sync] from google.cloud import retail_v2 @@ -45,4 +45,4 @@ def sample_update_product(): # Handle the response print(response) -# [END retail_generated_retail_v2_ProductService_UpdateProduct_sync] +# [END retail_v2_generated_ProductService_UpdateProduct_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_search_service_search_async.py b/generated_samples/generated_samples/retail_v2_generated_search_service_search_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_search_service_search_async.py rename to generated_samples/generated_samples/retail_v2_generated_search_service_search_async.py index 7b67629c8713..bb06edb7c9d9 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_search_service_search_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_search_service_search_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_SearchService_Search_async] +# [START retail_v2_generated_SearchService_Search_async] from google.cloud import retail_v2 @@ -44,4 +44,4 @@ async def sample_search(): async for response in page_result: print(response) -# [END retail_generated_retail_v2_SearchService_Search_async] +# [END retail_v2_generated_SearchService_Search_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_search_service_search_sync.py b/generated_samples/generated_samples/retail_v2_generated_search_service_search_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_search_service_search_sync.py rename to generated_samples/generated_samples/retail_v2_generated_search_service_search_sync.py index 31283271a748..c3e4f921f1d8 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_search_service_search_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_search_service_search_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_SearchService_Search_sync] +# [START retail_v2_generated_SearchService_Search_sync] from google.cloud import retail_v2 @@ -44,4 +44,4 @@ def sample_search(): for response in page_result: print(response) -# [END retail_generated_retail_v2_SearchService_Search_sync] +# [END retail_v2_generated_SearchService_Search_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_collect_user_event_async.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_collect_user_event_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_collect_user_event_async.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_collect_user_event_async.py index d65247cf23d5..9d9a04ebbb7a 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_collect_user_event_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_collect_user_event_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_CollectUserEvent_async] +# [START retail_v2_generated_UserEventService_CollectUserEvent_async] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ async def sample_collect_user_event(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_CollectUserEvent_async] +# [END retail_v2_generated_UserEventService_CollectUserEvent_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_collect_user_event_sync.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_collect_user_event_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_collect_user_event_sync.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_collect_user_event_sync.py index 045de1c44570..78e738c96528 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_collect_user_event_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_collect_user_event_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_CollectUserEvent_sync] +# [START retail_v2_generated_UserEventService_CollectUserEvent_sync] from google.cloud import retail_v2 @@ -43,4 +43,4 @@ def sample_collect_user_event(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_CollectUserEvent_sync] +# [END retail_v2_generated_UserEventService_CollectUserEvent_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_import_user_events_async.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_import_user_events_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_import_user_events_async.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_import_user_events_async.py index 05a3dfea3ee4..fdb5121594e9 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_import_user_events_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_import_user_events_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_ImportUserEvents_async] +# [START retail_v2_generated_UserEventService_ImportUserEvents_async] from google.cloud import retail_v2 @@ -51,4 +51,4 @@ async def sample_import_user_events(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_ImportUserEvents_async] +# [END retail_v2_generated_UserEventService_ImportUserEvents_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_import_user_events_sync.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_import_user_events_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_import_user_events_sync.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_import_user_events_sync.py index bca40f35f469..4e707e677b55 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_import_user_events_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_import_user_events_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_ImportUserEvents_sync] +# [START retail_v2_generated_UserEventService_ImportUserEvents_sync] from google.cloud import retail_v2 @@ -51,4 +51,4 @@ def sample_import_user_events(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_ImportUserEvents_sync] +# [END retail_v2_generated_UserEventService_ImportUserEvents_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_purge_user_events_async.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_purge_user_events_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_purge_user_events_async.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_purge_user_events_async.py index c11e1a98dafe..da609bb79bed 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_purge_user_events_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_purge_user_events_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_PurgeUserEvents_async] +# [START retail_v2_generated_UserEventService_PurgeUserEvents_async] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ async def sample_purge_user_events(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_PurgeUserEvents_async] +# [END retail_v2_generated_UserEventService_PurgeUserEvents_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_purge_user_events_sync.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_purge_user_events_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_purge_user_events_sync.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_purge_user_events_sync.py index b7785344ec32..a634ceffa5fb 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_purge_user_events_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_purge_user_events_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_PurgeUserEvents_sync] +# [START retail_v2_generated_UserEventService_PurgeUserEvents_sync] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ def sample_purge_user_events(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_PurgeUserEvents_sync] +# [END retail_v2_generated_UserEventService_PurgeUserEvents_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_rejoin_user_events_async.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_rejoin_user_events_async.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_rejoin_user_events_async.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_rejoin_user_events_async.py index 3a89d58c19e6..c0654aa3b4f1 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_rejoin_user_events_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_rejoin_user_events_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_RejoinUserEvents_async] +# [START retail_v2_generated_UserEventService_RejoinUserEvents_async] from google.cloud import retail_v2 @@ -46,4 +46,4 @@ async def sample_rejoin_user_events(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_RejoinUserEvents_async] +# [END retail_v2_generated_UserEventService_RejoinUserEvents_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_rejoin_user_events_sync.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_rejoin_user_events_sync.py similarity index 90% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_rejoin_user_events_sync.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_rejoin_user_events_sync.py index e91d51b9798c..b8d9f133193b 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_rejoin_user_events_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_rejoin_user_events_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_RejoinUserEvents_sync] +# [START retail_v2_generated_UserEventService_RejoinUserEvents_sync] from google.cloud import retail_v2 @@ -46,4 +46,4 @@ def sample_rejoin_user_events(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_RejoinUserEvents_sync] +# [END retail_v2_generated_UserEventService_RejoinUserEvents_sync] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_write_user_event_async.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_write_user_event_async.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_write_user_event_async.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_write_user_event_async.py index 270a4e86b860..27ef0b07ad20 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_write_user_event_async.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_write_user_event_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_WriteUserEvent_async] +# [START retail_v2_generated_UserEventService_WriteUserEvent_async] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ async def sample_write_user_event(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_WriteUserEvent_async] +# [END retail_v2_generated_UserEventService_WriteUserEvent_async] diff --git a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_write_user_event_sync.py b/generated_samples/generated_samples/retail_v2_generated_user_event_service_write_user_event_sync.py similarity index 91% rename from generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_write_user_event_sync.py rename to generated_samples/generated_samples/retail_v2_generated_user_event_service_write_user_event_sync.py index 93609073aba7..c4648ffda76c 100644 --- a/generated_samples/generated_samples/retail_generated_retail_v2_user_event_service_write_user_event_sync.py +++ b/generated_samples/generated_samples/retail_v2_generated_user_event_service_write_user_event_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-retail -# [START retail_generated_retail_v2_UserEventService_WriteUserEvent_sync] +# [START retail_v2_generated_UserEventService_WriteUserEvent_sync] from google.cloud import retail_v2 @@ -47,4 +47,4 @@ def sample_write_user_event(): # Handle the response print(response) -# [END retail_generated_retail_v2_UserEventService_WriteUserEvent_sync] +# [END retail_v2_generated_UserEventService_WriteUserEvent_sync] diff --git a/generated_samples/generated_samples/snippet_metadata_retail_v2.json b/generated_samples/generated_samples/snippet_metadata_retail_v2.json index 28fa09ceac1d..60964e77e439 100644 --- a/generated_samples/generated_samples/snippet_metadata_retail_v2.json +++ b/generated_samples/generated_samples/snippet_metadata_retail_v2.json @@ -10,8 +10,8 @@ "shortName": "GetDefaultBranch" } }, - "file": "retail_generated_retail_v2_catalog_service_get_default_branch_async.py", - "regionTag": "retail_generated_retail_v2_CatalogService_GetDefaultBranch_async", + "file": "retail_v2_generated_catalog_service_get_default_branch_async.py", + "regionTag": "retail_v2_generated_CatalogService_GetDefaultBranch_async", "segments": [ { "end": 43, @@ -54,8 +54,8 @@ "shortName": "GetDefaultBranch" } }, - "file": "retail_generated_retail_v2_catalog_service_get_default_branch_sync.py", - "regionTag": "retail_generated_retail_v2_CatalogService_GetDefaultBranch_sync", + "file": "retail_v2_generated_catalog_service_get_default_branch_sync.py", + "regionTag": "retail_v2_generated_CatalogService_GetDefaultBranch_sync", "segments": [ { "end": 43, @@ -99,8 +99,8 @@ "shortName": "ListCatalogs" } }, - "file": "retail_generated_retail_v2_catalog_service_list_catalogs_async.py", - "regionTag": "retail_generated_retail_v2_CatalogService_ListCatalogs_async", + "file": "retail_v2_generated_catalog_service_list_catalogs_async.py", + "regionTag": "retail_v2_generated_CatalogService_ListCatalogs_async", "segments": [ { "end": 45, @@ -143,8 +143,8 @@ "shortName": "ListCatalogs" } }, - "file": "retail_generated_retail_v2_catalog_service_list_catalogs_sync.py", - "regionTag": "retail_generated_retail_v2_CatalogService_ListCatalogs_sync", + "file": "retail_v2_generated_catalog_service_list_catalogs_sync.py", + "regionTag": "retail_v2_generated_CatalogService_ListCatalogs_sync", "segments": [ { "end": 45, @@ -188,8 +188,8 @@ "shortName": "SetDefaultBranch" } }, - "file": "retail_generated_retail_v2_catalog_service_set_default_branch_async.py", - "regionTag": "retail_generated_retail_v2_CatalogService_SetDefaultBranch_async", + "file": "retail_v2_generated_catalog_service_set_default_branch_async.py", + "regionTag": "retail_v2_generated_CatalogService_SetDefaultBranch_async", "segments": [ { "end": 41, @@ -230,8 +230,8 @@ "shortName": "SetDefaultBranch" } }, - "file": "retail_generated_retail_v2_catalog_service_set_default_branch_sync.py", - "regionTag": "retail_generated_retail_v2_CatalogService_SetDefaultBranch_sync", + "file": "retail_v2_generated_catalog_service_set_default_branch_sync.py", + "regionTag": "retail_v2_generated_CatalogService_SetDefaultBranch_sync", "segments": [ { "end": 41, @@ -273,8 +273,8 @@ "shortName": "UpdateCatalog" } }, - "file": "retail_generated_retail_v2_catalog_service_update_catalog_async.py", - "regionTag": "retail_generated_retail_v2_CatalogService_UpdateCatalog_async", + "file": "retail_v2_generated_catalog_service_update_catalog_async.py", + "regionTag": "retail_v2_generated_CatalogService_UpdateCatalog_async", "segments": [ { "end": 48, @@ -317,8 +317,8 @@ "shortName": "UpdateCatalog" } }, - "file": "retail_generated_retail_v2_catalog_service_update_catalog_sync.py", - "regionTag": "retail_generated_retail_v2_CatalogService_UpdateCatalog_sync", + "file": "retail_v2_generated_catalog_service_update_catalog_sync.py", + "regionTag": "retail_v2_generated_CatalogService_UpdateCatalog_sync", "segments": [ { "end": 48, @@ -362,8 +362,8 @@ "shortName": "CompleteQuery" } }, - "file": "retail_generated_retail_v2_completion_service_complete_query_async.py", - "regionTag": "retail_generated_retail_v2_CompletionService_CompleteQuery_async", + "file": "retail_v2_generated_completion_service_complete_query_async.py", + "regionTag": "retail_v2_generated_CompletionService_CompleteQuery_async", "segments": [ { "end": 45, @@ -406,8 +406,8 @@ "shortName": "CompleteQuery" } }, - "file": "retail_generated_retail_v2_completion_service_complete_query_sync.py", - "regionTag": "retail_generated_retail_v2_CompletionService_CompleteQuery_sync", + "file": "retail_v2_generated_completion_service_complete_query_sync.py", + "regionTag": "retail_v2_generated_CompletionService_CompleteQuery_sync", "segments": [ { "end": 45, @@ -451,8 +451,8 @@ "shortName": "ImportCompletionData" } }, - "file": "retail_generated_retail_v2_completion_service_import_completion_data_async.py", - "regionTag": "retail_generated_retail_v2_CompletionService_ImportCompletionData_async", + "file": "retail_v2_generated_completion_service_import_completion_data_async.py", + "regionTag": "retail_v2_generated_CompletionService_ImportCompletionData_async", "segments": [ { "end": 53, @@ -495,8 +495,8 @@ "shortName": "ImportCompletionData" } }, - "file": "retail_generated_retail_v2_completion_service_import_completion_data_sync.py", - "regionTag": "retail_generated_retail_v2_CompletionService_ImportCompletionData_sync", + "file": "retail_v2_generated_completion_service_import_completion_data_sync.py", + "regionTag": "retail_v2_generated_CompletionService_ImportCompletionData_sync", "segments": [ { "end": 53, @@ -540,8 +540,8 @@ "shortName": "Predict" } }, - "file": "retail_generated_retail_v2_prediction_service_predict_async.py", - "regionTag": "retail_generated_retail_v2_PredictionService_Predict_async", + "file": "retail_v2_generated_prediction_service_predict_async.py", + "regionTag": "retail_v2_generated_PredictionService_Predict_async", "segments": [ { "end": 49, @@ -584,8 +584,8 @@ "shortName": "Predict" } }, - "file": "retail_generated_retail_v2_prediction_service_predict_sync.py", - "regionTag": "retail_generated_retail_v2_PredictionService_Predict_sync", + "file": "retail_v2_generated_prediction_service_predict_sync.py", + "regionTag": "retail_v2_generated_PredictionService_Predict_sync", "segments": [ { "end": 49, @@ -629,8 +629,8 @@ "shortName": "AddFulfillmentPlaces" } }, - "file": "retail_generated_retail_v2_product_service_add_fulfillment_places_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_AddFulfillmentPlaces_async", + "file": "retail_v2_generated_product_service_add_fulfillment_places_async.py", + "regionTag": "retail_v2_generated_ProductService_AddFulfillmentPlaces_async", "segments": [ { "end": 50, @@ -673,8 +673,8 @@ "shortName": "AddFulfillmentPlaces" } }, - "file": "retail_generated_retail_v2_product_service_add_fulfillment_places_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_AddFulfillmentPlaces_sync", + "file": "retail_v2_generated_product_service_add_fulfillment_places_sync.py", + "regionTag": "retail_v2_generated_ProductService_AddFulfillmentPlaces_sync", "segments": [ { "end": 50, @@ -718,8 +718,8 @@ "shortName": "CreateProduct" } }, - "file": "retail_generated_retail_v2_product_service_create_product_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_CreateProduct_async", + "file": "retail_v2_generated_product_service_create_product_async.py", + "regionTag": "retail_v2_generated_ProductService_CreateProduct_async", "segments": [ { "end": 49, @@ -762,8 +762,8 @@ "shortName": "CreateProduct" } }, - "file": "retail_generated_retail_v2_product_service_create_product_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_CreateProduct_sync", + "file": "retail_v2_generated_product_service_create_product_sync.py", + "regionTag": "retail_v2_generated_ProductService_CreateProduct_sync", "segments": [ { "end": 49, @@ -807,8 +807,8 @@ "shortName": "DeleteProduct" } }, - "file": "retail_generated_retail_v2_product_service_delete_product_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_DeleteProduct_async", + "file": "retail_v2_generated_product_service_delete_product_async.py", + "regionTag": "retail_v2_generated_ProductService_DeleteProduct_async", "segments": [ { "end": 42, @@ -849,8 +849,8 @@ "shortName": "DeleteProduct" } }, - "file": "retail_generated_retail_v2_product_service_delete_product_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_DeleteProduct_sync", + "file": "retail_v2_generated_product_service_delete_product_sync.py", + "regionTag": "retail_v2_generated_ProductService_DeleteProduct_sync", "segments": [ { "end": 42, @@ -892,8 +892,8 @@ "shortName": "GetProduct" } }, - "file": "retail_generated_retail_v2_product_service_get_product_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_GetProduct_async", + "file": "retail_v2_generated_product_service_get_product_async.py", + "regionTag": "retail_v2_generated_ProductService_GetProduct_async", "segments": [ { "end": 44, @@ -936,8 +936,8 @@ "shortName": "GetProduct" } }, - "file": "retail_generated_retail_v2_product_service_get_product_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_GetProduct_sync", + "file": "retail_v2_generated_product_service_get_product_sync.py", + "regionTag": "retail_v2_generated_ProductService_GetProduct_sync", "segments": [ { "end": 44, @@ -981,8 +981,8 @@ "shortName": "ImportProducts" } }, - "file": "retail_generated_retail_v2_product_service_import_products_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_ImportProducts_async", + "file": "retail_v2_generated_product_service_import_products_async.py", + "regionTag": "retail_v2_generated_ProductService_ImportProducts_async", "segments": [ { "end": 52, @@ -1025,8 +1025,8 @@ "shortName": "ImportProducts" } }, - "file": "retail_generated_retail_v2_product_service_import_products_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_ImportProducts_sync", + "file": "retail_v2_generated_product_service_import_products_sync.py", + "regionTag": "retail_v2_generated_ProductService_ImportProducts_sync", "segments": [ { "end": 52, @@ -1070,8 +1070,8 @@ "shortName": "ListProducts" } }, - "file": "retail_generated_retail_v2_product_service_list_products_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_ListProducts_async", + "file": "retail_v2_generated_product_service_list_products_async.py", + "regionTag": "retail_v2_generated_ProductService_ListProducts_async", "segments": [ { "end": 45, @@ -1114,8 +1114,8 @@ "shortName": "ListProducts" } }, - "file": "retail_generated_retail_v2_product_service_list_products_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_ListProducts_sync", + "file": "retail_v2_generated_product_service_list_products_sync.py", + "regionTag": "retail_v2_generated_ProductService_ListProducts_sync", "segments": [ { "end": 45, @@ -1159,8 +1159,8 @@ "shortName": "RemoveFulfillmentPlaces" } }, - "file": "retail_generated_retail_v2_product_service_remove_fulfillment_places_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_RemoveFulfillmentPlaces_async", + "file": "retail_v2_generated_product_service_remove_fulfillment_places_async.py", + "regionTag": "retail_v2_generated_ProductService_RemoveFulfillmentPlaces_async", "segments": [ { "end": 50, @@ -1203,8 +1203,8 @@ "shortName": "RemoveFulfillmentPlaces" } }, - "file": "retail_generated_retail_v2_product_service_remove_fulfillment_places_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_RemoveFulfillmentPlaces_sync", + "file": "retail_v2_generated_product_service_remove_fulfillment_places_sync.py", + "regionTag": "retail_v2_generated_ProductService_RemoveFulfillmentPlaces_sync", "segments": [ { "end": 50, @@ -1248,8 +1248,8 @@ "shortName": "SetInventory" } }, - "file": "retail_generated_retail_v2_product_service_set_inventory_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_SetInventory_async", + "file": "retail_v2_generated_product_service_set_inventory_async.py", + "regionTag": "retail_v2_generated_ProductService_SetInventory_async", "segments": [ { "end": 51, @@ -1292,8 +1292,8 @@ "shortName": "SetInventory" } }, - "file": "retail_generated_retail_v2_product_service_set_inventory_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_SetInventory_sync", + "file": "retail_v2_generated_product_service_set_inventory_sync.py", + "regionTag": "retail_v2_generated_ProductService_SetInventory_sync", "segments": [ { "end": 51, @@ -1337,8 +1337,8 @@ "shortName": "UpdateProduct" } }, - "file": "retail_generated_retail_v2_product_service_update_product_async.py", - "regionTag": "retail_generated_retail_v2_ProductService_UpdateProduct_async", + "file": "retail_v2_generated_product_service_update_product_async.py", + "regionTag": "retail_v2_generated_ProductService_UpdateProduct_async", "segments": [ { "end": 47, @@ -1381,8 +1381,8 @@ "shortName": "UpdateProduct" } }, - "file": "retail_generated_retail_v2_product_service_update_product_sync.py", - "regionTag": "retail_generated_retail_v2_ProductService_UpdateProduct_sync", + "file": "retail_v2_generated_product_service_update_product_sync.py", + "regionTag": "retail_v2_generated_ProductService_UpdateProduct_sync", "segments": [ { "end": 47, @@ -1426,8 +1426,8 @@ "shortName": "Search" } }, - "file": "retail_generated_retail_v2_search_service_search_async.py", - "regionTag": "retail_generated_retail_v2_SearchService_Search_async", + "file": "retail_v2_generated_search_service_search_async.py", + "regionTag": "retail_v2_generated_SearchService_Search_async", "segments": [ { "end": 46, @@ -1470,8 +1470,8 @@ "shortName": "Search" } }, - "file": "retail_generated_retail_v2_search_service_search_sync.py", - "regionTag": "retail_generated_retail_v2_SearchService_Search_sync", + "file": "retail_v2_generated_search_service_search_sync.py", + "regionTag": "retail_v2_generated_SearchService_Search_sync", "segments": [ { "end": 46, @@ -1515,8 +1515,8 @@ "shortName": "CollectUserEvent" } }, - "file": "retail_generated_retail_v2_user_event_service_collect_user_event_async.py", - "regionTag": "retail_generated_retail_v2_UserEventService_CollectUserEvent_async", + "file": "retail_v2_generated_user_event_service_collect_user_event_async.py", + "regionTag": "retail_v2_generated_UserEventService_CollectUserEvent_async", "segments": [ { "end": 45, @@ -1559,8 +1559,8 @@ "shortName": "CollectUserEvent" } }, - "file": "retail_generated_retail_v2_user_event_service_collect_user_event_sync.py", - "regionTag": "retail_generated_retail_v2_UserEventService_CollectUserEvent_sync", + "file": "retail_v2_generated_user_event_service_collect_user_event_sync.py", + "regionTag": "retail_v2_generated_UserEventService_CollectUserEvent_sync", "segments": [ { "end": 45, @@ -1604,8 +1604,8 @@ "shortName": "ImportUserEvents" } }, - "file": "retail_generated_retail_v2_user_event_service_import_user_events_async.py", - "regionTag": "retail_generated_retail_v2_UserEventService_ImportUserEvents_async", + "file": "retail_v2_generated_user_event_service_import_user_events_async.py", + "regionTag": "retail_v2_generated_UserEventService_ImportUserEvents_async", "segments": [ { "end": 53, @@ -1648,8 +1648,8 @@ "shortName": "ImportUserEvents" } }, - "file": "retail_generated_retail_v2_user_event_service_import_user_events_sync.py", - "regionTag": "retail_generated_retail_v2_UserEventService_ImportUserEvents_sync", + "file": "retail_v2_generated_user_event_service_import_user_events_sync.py", + "regionTag": "retail_v2_generated_UserEventService_ImportUserEvents_sync", "segments": [ { "end": 53, @@ -1693,8 +1693,8 @@ "shortName": "PurgeUserEvents" } }, - "file": "retail_generated_retail_v2_user_event_service_purge_user_events_async.py", - "regionTag": "retail_generated_retail_v2_UserEventService_PurgeUserEvents_async", + "file": "retail_v2_generated_user_event_service_purge_user_events_async.py", + "regionTag": "retail_v2_generated_UserEventService_PurgeUserEvents_async", "segments": [ { "end": 49, @@ -1737,8 +1737,8 @@ "shortName": "PurgeUserEvents" } }, - "file": "retail_generated_retail_v2_user_event_service_purge_user_events_sync.py", - "regionTag": "retail_generated_retail_v2_UserEventService_PurgeUserEvents_sync", + "file": "retail_v2_generated_user_event_service_purge_user_events_sync.py", + "regionTag": "retail_v2_generated_UserEventService_PurgeUserEvents_sync", "segments": [ { "end": 49, @@ -1782,8 +1782,8 @@ "shortName": "RejoinUserEvents" } }, - "file": "retail_generated_retail_v2_user_event_service_rejoin_user_events_async.py", - "regionTag": "retail_generated_retail_v2_UserEventService_RejoinUserEvents_async", + "file": "retail_v2_generated_user_event_service_rejoin_user_events_async.py", + "regionTag": "retail_v2_generated_UserEventService_RejoinUserEvents_async", "segments": [ { "end": 48, @@ -1826,8 +1826,8 @@ "shortName": "RejoinUserEvents" } }, - "file": "retail_generated_retail_v2_user_event_service_rejoin_user_events_sync.py", - "regionTag": "retail_generated_retail_v2_UserEventService_RejoinUserEvents_sync", + "file": "retail_v2_generated_user_event_service_rejoin_user_events_sync.py", + "regionTag": "retail_v2_generated_UserEventService_RejoinUserEvents_sync", "segments": [ { "end": 48, @@ -1871,8 +1871,8 @@ "shortName": "WriteUserEvent" } }, - "file": "retail_generated_retail_v2_user_event_service_write_user_event_async.py", - "regionTag": "retail_generated_retail_v2_UserEventService_WriteUserEvent_async", + "file": "retail_v2_generated_user_event_service_write_user_event_async.py", + "regionTag": "retail_v2_generated_UserEventService_WriteUserEvent_async", "segments": [ { "end": 49, @@ -1915,8 +1915,8 @@ "shortName": "WriteUserEvent" } }, - "file": "retail_generated_retail_v2_user_event_service_write_user_event_sync.py", - "regionTag": "retail_generated_retail_v2_UserEventService_WriteUserEvent_sync", + "file": "retail_v2_generated_user_event_service_write_user_event_sync.py", + "regionTag": "retail_v2_generated_UserEventService_WriteUserEvent_sync", "segments": [ { "end": 49,