Skip to content

Commit

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

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

Source-Link: googleapis/googleapis@ea58002

Source-Link: googleapis/googleapis-gen@ca893ff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9

* 🦉 Updates from OwlBot post-processor

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

* 🦉 Updates from OwlBot post-processor

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

* chore: delete duplicates

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
  • Loading branch information
3 people authored and dandhlee committed Dec 2, 2022
1 parent 8427194 commit 294302e
Show file tree
Hide file tree
Showing 45 changed files with 176 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Loading

0 comments on commit 294302e

Please sign in to comment.