From fd437538a9817cf9af9271d60e817ef0451a958a Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 7 Sep 2022 14:18:38 +0000 Subject: [PATCH] chore: Bump gapic-generator-python version to 1.3.0 (#481) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 472561635 Source-Link: https://github.com/googleapis/googleapis/commit/332ecf599f8e747d8d1213b77ae7db26eff12814 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4313d682880fd9d7247291164d4e9d3d5bd9f177 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDMxM2Q2ODI4ODBmZDlkNzI0NzI5MTE2NGQ0ZTlkM2Q1YmQ5ZjE3NyJ9 --- .../services/image_annotator/async_client.py | 28 + .../services/image_annotator/client.py | 28 + .../services/product_search/async_client.py | 133 +++ .../services/product_search/client.py | 133 +++ .../services/image_annotator/async_client.py | 7 + .../services/image_annotator/client.py | 7 + .../services/image_annotator/async_client.py | 14 + .../services/image_annotator/client.py | 14 + .../services/image_annotator/async_client.py | 14 + .../services/image_annotator/client.py | 14 + .../services/product_search/async_client.py | 126 +++ .../services/product_search/client.py | 126 +++ .../services/image_annotator/async_client.py | 28 + .../services/image_annotator/client.py | 28 + .../services/product_search/async_client.py | 133 +++ .../services/product_search/client.py | 133 +++ .../snippet_metadata_vision_v1.json | 880 +++++++++--------- .../snippet_metadata_vision_v1p1beta1.json | 40 +- .../snippet_metadata_vision_v1p2beta1.json | 80 +- .../snippet_metadata_vision_v1p3beta1.json | 760 +++++++-------- .../snippet_metadata_vision_v1p4beta1.json | 880 +++++++++--------- ...otator_async_batch_annotate_files_async.py | 7 + ...notator_async_batch_annotate_files_sync.py | 7 + ...tator_async_batch_annotate_images_async.py | 7 + ...otator_async_batch_annotate_images_sync.py | 7 + ...ge_annotator_batch_annotate_files_async.py | 7 + ...age_annotator_batch_annotate_files_sync.py | 7 + ...e_annotator_batch_annotate_images_async.py | 7 + ...ge_annotator_batch_annotate_images_sync.py | 7 + ...search_add_product_to_product_set_async.py | 7 + ..._search_add_product_to_product_set_sync.py | 7 + ...ted_product_search_create_product_async.py | 7 + ...product_search_create_product_set_async.py | 7 + ..._product_search_create_product_set_sync.py | 7 + ...ated_product_search_create_product_sync.py | 7 + ...uct_search_create_reference_image_async.py | 7 + ...duct_search_create_reference_image_sync.py | 7 + ...ted_product_search_delete_product_async.py | 7 + ...product_search_delete_product_set_async.py | 7 + ..._product_search_delete_product_set_sync.py | 7 + ...ated_product_search_delete_product_sync.py | 7 + ...uct_search_delete_reference_image_async.py | 7 + ...duct_search_delete_reference_image_sync.py | 7 + ...erated_product_search_get_product_async.py | 7 + ...ed_product_search_get_product_set_async.py | 7 + ...ted_product_search_get_product_set_sync.py | 7 + ...nerated_product_search_get_product_sync.py | 7 + ...roduct_search_get_reference_image_async.py | 7 + ...product_search_get_reference_image_sync.py | 7 + ...roduct_search_import_product_sets_async.py | 7 + ...product_search_import_product_sets_sync.py | 7 + ..._product_search_list_product_sets_async.py | 7 + ...d_product_search_list_product_sets_sync.py | 7 + ...ated_product_search_list_products_async.py | 7 + ...arch_list_products_in_product_set_async.py | 7 + ...earch_list_products_in_product_set_sync.py | 7 + ...rated_product_search_list_products_sync.py | 7 + ...duct_search_list_reference_images_async.py | 7 + ...oduct_search_list_reference_images_sync.py | 7 + ...ted_product_search_purge_products_async.py | 7 + ...ated_product_search_purge_products_sync.py | 7 + ...h_remove_product_from_product_set_async.py | 7 + ...ch_remove_product_from_product_set_sync.py | 7 + ...ted_product_search_update_product_async.py | 7 + ...product_search_update_product_set_async.py | 7 + ..._product_search_update_product_set_sync.py | 7 + ...ated_product_search_update_product_sync.py | 7 + ...e_annotator_batch_annotate_images_async.py | 7 + ...ge_annotator_batch_annotate_images_sync.py | 7 + ...otator_async_batch_annotate_files_async.py | 7 + ...notator_async_batch_annotate_files_sync.py | 7 + ...e_annotator_batch_annotate_images_async.py | 7 + ...ge_annotator_batch_annotate_images_sync.py | 7 + ...otator_async_batch_annotate_files_async.py | 7 + ...notator_async_batch_annotate_files_sync.py | 7 + ...e_annotator_batch_annotate_images_async.py | 7 + ...ge_annotator_batch_annotate_images_sync.py | 7 + ...search_add_product_to_product_set_async.py | 7 + ..._search_add_product_to_product_set_sync.py | 7 + ...ted_product_search_create_product_async.py | 7 + ...product_search_create_product_set_async.py | 7 + ..._product_search_create_product_set_sync.py | 7 + ...ated_product_search_create_product_sync.py | 7 + ...uct_search_create_reference_image_async.py | 7 + ...duct_search_create_reference_image_sync.py | 7 + ...ted_product_search_delete_product_async.py | 7 + ...product_search_delete_product_set_async.py | 7 + ..._product_search_delete_product_set_sync.py | 7 + ...ated_product_search_delete_product_sync.py | 7 + ...uct_search_delete_reference_image_async.py | 7 + ...duct_search_delete_reference_image_sync.py | 7 + ...erated_product_search_get_product_async.py | 7 + ...ed_product_search_get_product_set_async.py | 7 + ...ted_product_search_get_product_set_sync.py | 7 + ...nerated_product_search_get_product_sync.py | 7 + ...roduct_search_get_reference_image_async.py | 7 + ...product_search_get_reference_image_sync.py | 7 + ...roduct_search_import_product_sets_async.py | 7 + ...product_search_import_product_sets_sync.py | 7 + ..._product_search_list_product_sets_async.py | 7 + ...d_product_search_list_product_sets_sync.py | 7 + ...ated_product_search_list_products_async.py | 7 + ...arch_list_products_in_product_set_async.py | 7 + ...earch_list_products_in_product_set_sync.py | 7 + ...rated_product_search_list_products_sync.py | 7 + ...duct_search_list_reference_images_async.py | 7 + ...oduct_search_list_reference_images_sync.py | 7 + ...h_remove_product_from_product_set_async.py | 7 + ...ch_remove_product_from_product_set_sync.py | 7 + ...ted_product_search_update_product_async.py | 7 + ...product_search_update_product_set_async.py | 7 + ..._product_search_update_product_set_sync.py | 7 + ...ated_product_search_update_product_sync.py | 7 + ...otator_async_batch_annotate_files_async.py | 7 + ...notator_async_batch_annotate_files_sync.py | 7 + ...tator_async_batch_annotate_images_async.py | 7 + ...otator_async_batch_annotate_images_sync.py | 7 + ...ge_annotator_batch_annotate_files_async.py | 7 + ...age_annotator_batch_annotate_files_sync.py | 7 + ...e_annotator_batch_annotate_images_async.py | 7 + ...ge_annotator_batch_annotate_images_sync.py | 7 + ...search_add_product_to_product_set_async.py | 7 + ..._search_add_product_to_product_set_sync.py | 7 + ...ted_product_search_create_product_async.py | 7 + ...product_search_create_product_set_async.py | 7 + ..._product_search_create_product_set_sync.py | 7 + ...ated_product_search_create_product_sync.py | 7 + ...uct_search_create_reference_image_async.py | 7 + ...duct_search_create_reference_image_sync.py | 7 + ...ted_product_search_delete_product_async.py | 7 + ...product_search_delete_product_set_async.py | 7 + ..._product_search_delete_product_set_sync.py | 7 + ...ated_product_search_delete_product_sync.py | 7 + ...uct_search_delete_reference_image_async.py | 7 + ...duct_search_delete_reference_image_sync.py | 7 + ...erated_product_search_get_product_async.py | 7 + ...ed_product_search_get_product_set_async.py | 7 + ...ted_product_search_get_product_set_sync.py | 7 + ...nerated_product_search_get_product_sync.py | 7 + ...roduct_search_get_reference_image_async.py | 7 + ...product_search_get_reference_image_sync.py | 7 + ...roduct_search_import_product_sets_async.py | 7 + ...product_search_import_product_sets_sync.py | 7 + ..._product_search_list_product_sets_async.py | 7 + ...d_product_search_list_product_sets_sync.py | 7 + ...ated_product_search_list_products_async.py | 7 + ...arch_list_products_in_product_set_async.py | 7 + ...earch_list_products_in_product_set_sync.py | 7 + ...rated_product_search_list_products_sync.py | 7 + ...duct_search_list_reference_images_async.py | 7 + ...oduct_search_list_reference_images_sync.py | 7 + ...ted_product_search_purge_products_async.py | 7 + ...ated_product_search_purge_products_sync.py | 7 + ...h_remove_product_from_product_set_async.py | 7 + ...ch_remove_product_from_product_set_sync.py | 7 + ...ted_product_search_update_product_async.py | 7 + ...product_search_update_product_set_async.py | 7 + ..._product_search_update_product_set_sync.py | 7 + ...ated_product_search_update_product_sync.py | 7 + 159 files changed, 3252 insertions(+), 1320 deletions(-) diff --git a/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/async_client.py index e5b69fb493c4..eb69e574df95 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/async_client.py @@ -223,6 +223,13 @@ async def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_batch_annotate_images(): @@ -328,6 +335,13 @@ async def batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_batch_annotate_files(): @@ -438,6 +452,13 @@ async def async_batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_async_batch_annotate_images(): @@ -566,6 +587,13 @@ async def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/client.py b/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/client.py index 609e743edabf..2aa8c2804f2b 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1/services/image_annotator/client.py @@ -470,6 +470,13 @@ def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_batch_annotate_images(): @@ -568,6 +575,13 @@ def batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_batch_annotate_files(): @@ -671,6 +685,13 @@ def async_batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_async_batch_annotate_images(): @@ -794,6 +815,13 @@ def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/async_client.py index cb4c5b2795f8..b8f9acfa22b1 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/async_client.py @@ -253,6 +253,13 @@ async def create_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_create_product_set(): @@ -384,6 +391,13 @@ async def list_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_list_product_sets(): @@ -507,6 +521,13 @@ async def get_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_get_product_set(): @@ -626,6 +647,13 @@ async def update_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_update_product_set(): @@ -749,6 +777,13 @@ async def delete_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_delete_product_set(): @@ -855,6 +890,13 @@ async def create_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_create_product(): @@ -981,6 +1023,13 @@ async def list_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_list_products(): @@ -1104,6 +1153,13 @@ async def get_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_get_product(): @@ -1225,6 +1281,13 @@ async def update_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_update_product(): @@ -1347,6 +1410,13 @@ async def delete_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_delete_product(): @@ -1465,6 +1535,13 @@ async def create_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_create_reference_image(): @@ -1602,6 +1679,13 @@ async def delete_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_delete_reference_image(): @@ -1704,6 +1788,13 @@ async def list_reference_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_list_reference_images(): @@ -1828,6 +1919,13 @@ async def get_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_get_reference_image(): @@ -1947,6 +2045,13 @@ async def add_product_to_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_add_product_to_product_set(): @@ -2059,6 +2164,13 @@ async def remove_product_from_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_remove_product_from_product_set(): @@ -2177,6 +2289,13 @@ async def list_products_in_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_list_products_in_product_set(): @@ -2310,6 +2429,13 @@ async def import_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_import_product_sets(): @@ -2470,6 +2596,13 @@ async def purge_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 async def sample_purge_products(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/client.py b/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/client.py index 2c67c53d7613..9d974b6ee918 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1/services/product_search/client.py @@ -518,6 +518,13 @@ def create_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_create_product_set(): @@ -642,6 +649,13 @@ def list_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_list_product_sets(): @@ -755,6 +769,13 @@ def get_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_get_product_set(): @@ -864,6 +885,13 @@ def update_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_update_product_set(): @@ -977,6 +1005,13 @@ def delete_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_delete_product_set(): @@ -1073,6 +1108,13 @@ def create_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_create_product(): @@ -1192,6 +1234,13 @@ def list_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_list_products(): @@ -1305,6 +1354,13 @@ def get_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_get_product(): @@ -1416,6 +1472,13 @@ def update_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_update_product(): @@ -1528,6 +1591,13 @@ def delete_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_delete_product(): @@ -1636,6 +1706,13 @@ def create_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_create_reference_image(): @@ -1766,6 +1843,13 @@ def delete_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_delete_reference_image(): @@ -1858,6 +1942,13 @@ def list_reference_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_list_reference_images(): @@ -1972,6 +2063,13 @@ def get_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_get_reference_image(): @@ -2081,6 +2179,13 @@ def add_product_to_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_add_product_to_product_set(): @@ -2187,6 +2292,13 @@ def remove_product_from_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_remove_product_from_product_set(): @@ -2299,6 +2411,13 @@ def list_products_in_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_list_products_in_product_set(): @@ -2426,6 +2545,13 @@ def import_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_import_product_sets(): @@ -2579,6 +2705,13 @@ def purge_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 def sample_purge_products(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/async_client.py index 3ec3aa07d7a3..9d0ef92a3542 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/async_client.py @@ -217,6 +217,13 @@ async def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p1beta1 async def sample_batch_annotate_images(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/client.py b/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/client.py index 1b38778fec52..bc54a51baa94 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p1beta1/services/image_annotator/client.py @@ -422,6 +422,13 @@ def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p1beta1 def sample_batch_annotate_images(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/async_client.py index 2c9685eeca03..74840fa6bb36 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/async_client.py @@ -219,6 +219,13 @@ async def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 async def sample_batch_annotate_images(): @@ -323,6 +330,13 @@ async def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 async def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/client.py b/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/client.py index f2a336d4ceba..89a69fa92332 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p2beta1/services/image_annotator/client.py @@ -424,6 +424,13 @@ def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 def sample_batch_annotate_images(): @@ -521,6 +528,13 @@ def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/async_client.py index d34557f1ca92..159bea06d712 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/async_client.py @@ -223,6 +223,13 @@ async def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_batch_annotate_images(): @@ -327,6 +334,13 @@ async def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/client.py b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/client.py index 62138cffd6c5..1512723a6ef2 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/image_annotator/client.py @@ -470,6 +470,13 @@ def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_batch_annotate_images(): @@ -567,6 +574,13 @@ def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/async_client.py index c377522164b7..a6c8f05c86b5 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/async_client.py @@ -254,6 +254,13 @@ async def create_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_create_product_set(): @@ -385,6 +392,13 @@ async def list_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_list_product_sets(): @@ -508,6 +522,13 @@ async def get_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_get_product_set(): @@ -627,6 +648,13 @@ async def update_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_update_product_set(): @@ -752,6 +780,13 @@ async def delete_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_delete_product_set(): @@ -858,6 +893,13 @@ async def create_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_create_product(): @@ -984,6 +1026,13 @@ async def list_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_list_products(): @@ -1107,6 +1156,13 @@ async def get_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_get_product(): @@ -1228,6 +1284,13 @@ async def update_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_update_product(): @@ -1350,6 +1413,13 @@ async def delete_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_delete_product(): @@ -1468,6 +1538,13 @@ async def create_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_create_reference_image(): @@ -1610,6 +1687,13 @@ async def delete_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_delete_reference_image(): @@ -1713,6 +1797,13 @@ async def list_reference_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_list_reference_images(): @@ -1837,6 +1928,13 @@ async def get_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_get_reference_image(): @@ -1957,6 +2055,13 @@ async def add_product_to_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_add_product_to_product_set(): @@ -2071,6 +2176,13 @@ async def remove_product_from_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_remove_product_from_product_set(): @@ -2186,6 +2298,13 @@ async def list_products_in_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_list_products_in_product_set(): @@ -2319,6 +2438,13 @@ async def import_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 async def sample_import_product_sets(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/client.py b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/client.py index d0fe06b2a8b7..63445973c2ce 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p3beta1/services/product_search/client.py @@ -519,6 +519,13 @@ def create_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_create_product_set(): @@ -643,6 +650,13 @@ def list_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_list_product_sets(): @@ -756,6 +770,13 @@ def get_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_get_product_set(): @@ -865,6 +886,13 @@ def update_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_update_product_set(): @@ -983,6 +1011,13 @@ def delete_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_delete_product_set(): @@ -1079,6 +1114,13 @@ def create_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_create_product(): @@ -1198,6 +1240,13 @@ def list_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_list_products(): @@ -1311,6 +1360,13 @@ def get_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_get_product(): @@ -1422,6 +1478,13 @@ def update_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_update_product(): @@ -1537,6 +1600,13 @@ def delete_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_delete_product(): @@ -1645,6 +1715,13 @@ def create_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_create_reference_image(): @@ -1780,6 +1857,13 @@ def delete_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_delete_reference_image(): @@ -1873,6 +1957,13 @@ def list_reference_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_list_reference_images(): @@ -1987,6 +2078,13 @@ def get_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_get_reference_image(): @@ -2097,6 +2195,13 @@ def add_product_to_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_add_product_to_product_set(): @@ -2208,6 +2313,13 @@ def remove_product_from_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_remove_product_from_product_set(): @@ -2320,6 +2432,13 @@ def list_products_in_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_list_products_in_product_set(): @@ -2447,6 +2566,13 @@ def import_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 def sample_import_product_sets(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/async_client.py index e0b37c5eac22..a470a115a78d 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/async_client.py @@ -223,6 +223,13 @@ async def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_batch_annotate_images(): @@ -325,6 +332,13 @@ async def batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_batch_annotate_files(): @@ -432,6 +446,13 @@ async def async_batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_async_batch_annotate_images(): @@ -557,6 +578,13 @@ async def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/client.py b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/client.py index 75c64c47220f..a0b64a3231ed 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/image_annotator/client.py @@ -470,6 +470,13 @@ def batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_batch_annotate_images(): @@ -568,6 +575,13 @@ def batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_batch_annotate_files(): @@ -671,6 +685,13 @@ def async_batch_annotate_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_async_batch_annotate_images(): @@ -794,6 +815,13 @@ def async_batch_annotate_files( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_async_batch_annotate_files(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/async_client.py b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/async_client.py index b5259a1321c5..ec356c39fe34 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/async_client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/async_client.py @@ -255,6 +255,13 @@ async def create_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_create_product_set(): @@ -386,6 +393,13 @@ async def list_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_list_product_sets(): @@ -509,6 +523,13 @@ async def get_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_get_product_set(): @@ -628,6 +649,13 @@ async def update_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_update_product_set(): @@ -748,6 +776,13 @@ async def delete_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_delete_product_set(): @@ -854,6 +889,13 @@ async def create_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_create_product(): @@ -980,6 +1022,13 @@ async def list_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_list_products(): @@ -1103,6 +1152,13 @@ async def get_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_get_product(): @@ -1224,6 +1280,13 @@ async def update_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_update_product(): @@ -1343,6 +1406,13 @@ async def delete_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_delete_product(): @@ -1461,6 +1531,13 @@ async def create_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_create_reference_image(): @@ -1598,6 +1675,13 @@ async def delete_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_delete_reference_image(): @@ -1701,6 +1785,13 @@ async def list_reference_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_list_reference_images(): @@ -1825,6 +1916,13 @@ async def get_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_get_reference_image(): @@ -1945,6 +2043,13 @@ async def add_product_to_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_add_product_to_product_set(): @@ -2054,6 +2159,13 @@ async def remove_product_from_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_remove_product_from_product_set(): @@ -2169,6 +2281,13 @@ async def list_products_in_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_list_products_in_product_set(): @@ -2302,6 +2421,13 @@ async def import_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_import_product_sets(): @@ -2462,6 +2588,13 @@ async def purge_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 async def sample_purge_products(): diff --git a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/client.py b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/client.py index 7301e070d7ae..e46e131e8aec 100644 --- a/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/client.py +++ b/packages/google-cloud-vision/google/cloud/vision_v1p4beta1/services/product_search/client.py @@ -520,6 +520,13 @@ def create_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_create_product_set(): @@ -644,6 +651,13 @@ def list_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_list_product_sets(): @@ -757,6 +771,13 @@ def get_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_get_product_set(): @@ -866,6 +887,13 @@ def update_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_update_product_set(): @@ -979,6 +1007,13 @@ def delete_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_delete_product_set(): @@ -1075,6 +1110,13 @@ def create_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_create_product(): @@ -1194,6 +1236,13 @@ def list_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_list_products(): @@ -1307,6 +1356,13 @@ def get_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_get_product(): @@ -1418,6 +1474,13 @@ def update_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_update_product(): @@ -1530,6 +1593,13 @@ def delete_product( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_delete_product(): @@ -1638,6 +1708,13 @@ def create_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_create_reference_image(): @@ -1768,6 +1845,13 @@ def delete_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_delete_reference_image(): @@ -1861,6 +1945,13 @@ def list_reference_images( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_list_reference_images(): @@ -1975,6 +2066,13 @@ def get_reference_image( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_get_reference_image(): @@ -2085,6 +2183,13 @@ def add_product_to_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_add_product_to_product_set(): @@ -2191,6 +2296,13 @@ def remove_product_from_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_remove_product_from_product_set(): @@ -2303,6 +2415,13 @@ def list_products_in_product_set( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_list_products_in_product_set(): @@ -2430,6 +2549,13 @@ def import_product_sets( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_import_product_sets(): @@ -2583,6 +2709,13 @@ def purge_products( .. code-block:: python + # This snippet has been automatically generated and should be regarded as a + # code template only. + # It will require modifications to work: + # - It may require correct/in-range values for request initialization. + # - It may require specifying regional endpoints when creating the service + # client as shown in: + # https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 def sample_purge_products(): diff --git a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1.json b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1.json index 8f729219d296..093faeb35b68 100644 --- a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1.json +++ b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1.json @@ -59,33 +59,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -139,33 +139,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -224,33 +224,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateImages_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -308,33 +308,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateImages_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -389,33 +389,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateFiles_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -469,33 +469,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateFiles_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -550,33 +550,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateImages_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -630,33 +630,33 @@ "regionTag": "vision_v1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -714,31 +714,31 @@ "regionTag": "vision_v1_generated_ProductSearch_AddProductToProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -795,31 +795,31 @@ "regionTag": "vision_v1_generated_ProductSearch_AddProductToProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -882,33 +882,33 @@ "regionTag": "vision_v1_generated_ProductSearch_CreateProductSet_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -970,33 +970,33 @@ "regionTag": "vision_v1_generated_ProductSearch_CreateProductSet_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1059,33 +1059,33 @@ "regionTag": "vision_v1_generated_ProductSearch_CreateProduct_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1147,33 +1147,33 @@ "regionTag": "vision_v1_generated_ProductSearch_CreateProduct_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1236,33 +1236,33 @@ "regionTag": "vision_v1_generated_ProductSearch_CreateReferenceImage_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 43, + "end": 52, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -1324,33 +1324,33 @@ "regionTag": "vision_v1_generated_ProductSearch_CreateReferenceImage_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 43, + "end": 52, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -1404,31 +1404,31 @@ "regionTag": "vision_v1_generated_ProductSearch_DeleteProductSet_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1481,31 +1481,31 @@ "regionTag": "vision_v1_generated_ProductSearch_DeleteProductSet_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1559,31 +1559,31 @@ "regionTag": "vision_v1_generated_ProductSearch_DeleteProduct_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1636,31 +1636,31 @@ "regionTag": "vision_v1_generated_ProductSearch_DeleteProduct_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1714,31 +1714,31 @@ "regionTag": "vision_v1_generated_ProductSearch_DeleteReferenceImage_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1791,31 +1791,31 @@ "regionTag": "vision_v1_generated_ProductSearch_DeleteReferenceImage_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1870,33 +1870,33 @@ "regionTag": "vision_v1_generated_ProductSearch_GetProductSet_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1950,33 +1950,33 @@ "regionTag": "vision_v1_generated_ProductSearch_GetProductSet_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2031,33 +2031,33 @@ "regionTag": "vision_v1_generated_ProductSearch_GetProduct_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2111,33 +2111,33 @@ "regionTag": "vision_v1_generated_ProductSearch_GetProduct_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2192,33 +2192,33 @@ "regionTag": "vision_v1_generated_ProductSearch_GetReferenceImage_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2272,33 +2272,33 @@ "regionTag": "vision_v1_generated_ProductSearch_GetReferenceImage_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2357,33 +2357,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ImportProductSets_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -2441,33 +2441,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ImportProductSets_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -2522,33 +2522,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListProductSets_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2602,33 +2602,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListProductSets_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2683,33 +2683,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListProductsInProductSet_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2763,33 +2763,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListProductsInProductSet_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2844,33 +2844,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListProducts_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2924,33 +2924,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListProducts_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -3005,33 +3005,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListReferenceImages_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -3085,33 +3085,33 @@ "regionTag": "vision_v1_generated_ProductSearch_ListReferenceImages_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -3166,33 +3166,33 @@ "regionTag": "vision_v1_generated_ProductSearch_PurgeProducts_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -3246,33 +3246,33 @@ "regionTag": "vision_v1_generated_ProductSearch_PurgeProducts_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -3330,31 +3330,31 @@ "regionTag": "vision_v1_generated_ProductSearch_RemoveProductFromProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -3411,31 +3411,31 @@ "regionTag": "vision_v1_generated_ProductSearch_RemoveProductFromProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -3494,33 +3494,33 @@ "regionTag": "vision_v1_generated_ProductSearch_UpdateProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3578,33 +3578,33 @@ "regionTag": "vision_v1_generated_ProductSearch_UpdateProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3663,33 +3663,33 @@ "regionTag": "vision_v1_generated_ProductSearch_UpdateProduct_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3747,33 +3747,33 @@ "regionTag": "vision_v1_generated_ProductSearch_UpdateProduct_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], diff --git a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p1beta1.json b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p1beta1.json index 5cc6ba513ba1..3dd79db812a2 100644 --- a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p1beta1.json +++ b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p1beta1.json @@ -59,33 +59,33 @@ "regionTag": "vision_v1p1beta1_generated_ImageAnnotator_BatchAnnotateImages_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -139,33 +139,33 @@ "regionTag": "vision_v1p1beta1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], diff --git a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p2beta1.json b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p2beta1.json index 4192445bff41..df4399c9c428 100644 --- a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p2beta1.json +++ b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p2beta1.json @@ -59,33 +59,33 @@ "regionTag": "vision_v1p2beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -139,33 +139,33 @@ "regionTag": "vision_v1p2beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -220,33 +220,33 @@ "regionTag": "vision_v1p2beta1_generated_ImageAnnotator_BatchAnnotateImages_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -300,33 +300,33 @@ "regionTag": "vision_v1p2beta1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], diff --git a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p3beta1.json b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p3beta1.json index 71ead40cbdbe..38f9f04dd40c 100644 --- a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p3beta1.json +++ b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p3beta1.json @@ -59,33 +59,33 @@ "regionTag": "vision_v1p3beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -139,33 +139,33 @@ "regionTag": "vision_v1p3beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -220,33 +220,33 @@ "regionTag": "vision_v1p3beta1_generated_ImageAnnotator_BatchAnnotateImages_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -300,33 +300,33 @@ "regionTag": "vision_v1p3beta1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -384,31 +384,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_AddProductToProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -465,31 +465,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_AddProductToProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -552,33 +552,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_CreateProductSet_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -640,33 +640,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_CreateProductSet_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -729,33 +729,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_CreateProduct_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -817,33 +817,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_CreateProduct_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -906,33 +906,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_CreateReferenceImage_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 43, + "end": 52, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -994,33 +994,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_CreateReferenceImage_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 43, + "end": 52, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -1074,31 +1074,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_DeleteProductSet_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1151,31 +1151,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_DeleteProductSet_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1229,31 +1229,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_DeleteProduct_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1306,31 +1306,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_DeleteProduct_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1384,31 +1384,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_DeleteReferenceImage_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1461,31 +1461,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_DeleteReferenceImage_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1540,33 +1540,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_GetProductSet_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1620,33 +1620,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_GetProductSet_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1701,33 +1701,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_GetProduct_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1781,33 +1781,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_GetProduct_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1862,33 +1862,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_GetReferenceImage_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1942,33 +1942,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_GetReferenceImage_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2027,33 +2027,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ImportProductSets_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -2111,33 +2111,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ImportProductSets_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -2192,33 +2192,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListProductSets_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2272,33 +2272,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListProductSets_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2353,33 +2353,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListProductsInProductSet_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2433,33 +2433,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListProductsInProductSet_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2514,33 +2514,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListProducts_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2594,33 +2594,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListProducts_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2675,33 +2675,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListReferenceImages_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2755,33 +2755,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_ListReferenceImages_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2839,31 +2839,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_RemoveProductFromProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -2920,31 +2920,31 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_RemoveProductFromProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -3003,33 +3003,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_UpdateProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3087,33 +3087,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_UpdateProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3172,33 +3172,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_UpdateProduct_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3256,33 +3256,33 @@ "regionTag": "vision_v1p3beta1_generated_ProductSearch_UpdateProduct_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], diff --git a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p4beta1.json b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p4beta1.json index 16c5e5326b93..275e575c319f 100644 --- a/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p4beta1.json +++ b/packages/google-cloud-vision/samples/generated_samples/snippet_metadata_vision_v1p4beta1.json @@ -59,33 +59,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -139,33 +139,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -224,33 +224,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateImages_async", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -308,33 +308,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateImages_sync", "segments": [ { - "end": 47, + "end": 54, "start": 27, "type": "FULL" }, { - "end": 47, + "end": 54, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 44, - "start": 38, + "end": 51, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 48, - "start": 45, + "end": 55, + "start": 52, "type": "RESPONSE_HANDLING" } ], @@ -389,33 +389,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateFiles_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -469,33 +469,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateFiles_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -550,33 +550,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateImages_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -630,33 +630,33 @@ "regionTag": "vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateImages_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -714,31 +714,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_AddProductToProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -795,31 +795,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_AddProductToProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -882,33 +882,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_CreateProductSet_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -970,33 +970,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_CreateProductSet_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1059,33 +1059,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_CreateProduct_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1147,33 +1147,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_CreateProduct_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1236,33 +1236,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_CreateReferenceImage_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 43, + "end": 52, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -1324,33 +1324,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_CreateReferenceImage_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 42, - "start": 34, + "end": 49, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 43, + "end": 52, + "start": 50, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -1404,31 +1404,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_DeleteProductSet_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1481,31 +1481,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_DeleteProductSet_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1559,31 +1559,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_DeleteProduct_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1636,31 +1636,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_DeleteProduct_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1714,31 +1714,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_DeleteReferenceImage_async", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1791,31 +1791,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_DeleteReferenceImage_sync", "segments": [ { - "end": 42, + "end": 49, "start": 27, "type": "FULL" }, { - "end": 42, + "end": 49, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 39, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 43, + "end": 50, "type": "RESPONSE_HANDLING" } ], @@ -1870,33 +1870,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_GetProductSet_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -1950,33 +1950,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_GetProductSet_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2031,33 +2031,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_GetProduct_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2111,33 +2111,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_GetProduct_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2192,33 +2192,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_GetReferenceImage_async", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2272,33 +2272,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_GetReferenceImage_sync", "segments": [ { - "end": 44, + "end": 51, "start": 27, "type": "FULL" }, { - "end": 44, + "end": 51, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 45, - "start": 42, + "end": 52, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2357,33 +2357,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ImportProductSets_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -2441,33 +2441,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ImportProductSets_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -2522,33 +2522,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListProductSets_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2602,33 +2602,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListProductSets_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2683,33 +2683,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListProductsInProductSet_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2763,33 +2763,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListProductsInProductSet_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2844,33 +2844,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListProducts_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -2924,33 +2924,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListProducts_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -3005,33 +3005,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListReferenceImages_async", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -3085,33 +3085,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_ListReferenceImages_sync", "segments": [ { - "end": 45, + "end": 52, "start": 27, "type": "FULL" }, { - "end": 45, + "end": 52, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 41, - "start": 39, + "end": 48, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 42, + "end": 53, + "start": 49, "type": "RESPONSE_HANDLING" } ], @@ -3166,33 +3166,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_PurgeProducts_async", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -3246,33 +3246,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_PurgeProducts_sync", "segments": [ { - "end": 48, + "end": 55, "start": 27, "type": "FULL" }, { - "end": 48, + "end": 55, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 38, - "start": 34, + "end": 45, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 45, - "start": 39, + "end": 52, + "start": 46, "type": "REQUEST_EXECUTION" }, { - "end": 49, - "start": 46, + "end": 56, + "start": 53, "type": "RESPONSE_HANDLING" } ], @@ -3330,31 +3330,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_RemoveProductFromProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -3411,31 +3411,31 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_RemoveProductFromProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "start": 40, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 44, + "end": 51, "type": "RESPONSE_HANDLING" } ], @@ -3494,33 +3494,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_UpdateProductSet_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3578,33 +3578,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_UpdateProductSet_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3663,33 +3663,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_UpdateProduct_async", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], @@ -3747,33 +3747,33 @@ "regionTag": "vision_v1p4beta1_generated_ProductSearch_UpdateProduct_sync", "segments": [ { - "end": 43, + "end": 50, "start": 27, "type": "FULL" }, { - "end": 43, + "end": 50, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 37, - "start": 34, + "end": 44, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 40, - "start": 38, + "end": 47, + "start": 45, "type": "REQUEST_EXECUTION" }, { - "end": 44, - "start": 41, + "end": 51, + "start": 48, "type": "RESPONSE_HANDLING" } ], diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_async.py index c88f166760cb..a2c0f4eb9e58 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_sync.py index 4083f27eea81..8435d1f995a7 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_files_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_async.py index 4822d4d5c471..0c0509e20648 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_sync.py index bc2a232f6d39..9435c9208fb0 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_async_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_AsyncBatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_async.py index 07534e6bf12a..f94074a9f731 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_BatchAnnotateFiles_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_sync.py index 1227a2332890..b32994bbbbdc 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_files_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_BatchAnnotateFiles_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_async.py index 435150fa5422..849c7211da02 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_BatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_sync.py index a4ef39bd957b..f84ab0a5f787 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_image_annotator_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ImageAnnotator_BatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_async.py index f529325b7b47..84c977efb599 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_AddProductToProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_sync.py index 8caa593eae91..1a446589c2af 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_add_product_to_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_AddProductToProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_async.py index 42705dcbfc11..602ff53e9a65 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_CreateProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_async.py index 0713328d760d..5cbc30851d16 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_CreateProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_sync.py index 4ee7ea623d1a..90f21e25c7bc 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_CreateProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_sync.py index 61a3d57742d1..92d45178f41e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_CreateProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_async.py index 94821cbd8521..09b1c65e413b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_CreateReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_sync.py index 98618c953062..35a6c598bc75 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_create_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_CreateReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_async.py index 7e56e615cbe1..c6a50820e8dd 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_DeleteProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_async.py index f4ec49fdceff..aecf538615f9 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_DeleteProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_sync.py index 68f93483813e..b5e3992bb142 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_DeleteProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_sync.py index c500eede273d..ddbb25a872e9 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_DeleteProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_async.py index 3bc0212f483d..d1f2520fa6a7 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_DeleteReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_sync.py index 9dfb165cdc60..ffa6e34cd32d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_delete_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_DeleteReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_async.py index 347cd239d897..6cc23914e9c6 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_GetProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_async.py index 39f428998b84..82b87426fee2 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_GetProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_sync.py index 08552c78837f..e5cf947e1f3b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_GetProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_sync.py index d3a2f78d052a..a752f7184aef 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_GetProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_async.py index c7b618f52e8d..67e6ee497ee2 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_GetReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_sync.py index 9bc6bb131728..0604b8e1fdb7 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_get_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_GetReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_async.py index a177155a5d9a..8cffc714afb8 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ImportProductSets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_sync.py index cbe472f020f6..6fabfd200a2b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_import_product_sets_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ImportProductSets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_async.py index baddb688f428..0c4e7e155690 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListProductSets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_sync.py index b492af3d997f..aaa0c622f17d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_product_sets_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListProductSets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_async.py index 91878f2b4889..3f0b09303cec 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListProducts_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_async.py index 256cab32f13c..3d9f9cff6ed4 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListProductsInProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_sync.py index fba5edc68efc..f808b761299e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_in_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListProductsInProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_sync.py index 8e56bde9a881..6601fcb4f78e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_products_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListProducts_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_async.py index ea3d4d8ab3f6..211e834e7662 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListReferenceImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_sync.py index 515cac0ce581..c74aeb335090 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_list_reference_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_ListReferenceImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_async.py index 5eae3a52f964..364fe4a68f1d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_PurgeProducts_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_sync.py index ec7be1c4d03d..e765fc652126 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_purge_products_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_PurgeProducts_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_async.py index 0ac451828b0a..751ad688ba9e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_RemoveProductFromProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_sync.py index e6abad64fbb1..ea01e0765053 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_remove_product_from_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_RemoveProductFromProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_async.py index 4e8dae143387..5731806d2f60 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_UpdateProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_async.py index 751297f90874..da9c9399b330 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_UpdateProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_sync.py index 70257b596006..867d9aa790da 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_UpdateProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_sync.py index 0f2122887e85..29f928cb9529 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1_generated_product_search_update_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1_generated_ProductSearch_UpdateProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_async.py index 4aeb7e8bc3ec..a60b141bf709 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p1beta1_generated_ImageAnnotator_BatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p1beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_sync.py index 1ef89ac69550..fd994b889e86 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p1beta1_generated_image_annotator_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p1beta1_generated_ImageAnnotator_BatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p1beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_async.py index d0d93adc2f37..086952974241 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_async.py @@ -24,6 +24,13 @@ # [START vision_v1p2beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_sync.py index 04c4241f1f3f..8347477f42e3 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_async_batch_annotate_files_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p2beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_async.py index bd50f2e96124..c9395a95b56e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p2beta1_generated_ImageAnnotator_BatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_sync.py index 68ca87135b98..350a5ceba42b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p2beta1_generated_image_annotator_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p2beta1_generated_ImageAnnotator_BatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p2beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_async.py index fda9161b37bc..792c80725131 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_sync.py index b7dfa115ada3..49f4a0b1c2de 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_async_batch_annotate_files_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_async.py index 5a5b0433d207..98f6cc0fa42c 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ImageAnnotator_BatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_sync.py index 7e1bba14feef..6176b46f6da3 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_image_annotator_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ImageAnnotator_BatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_async.py index b155b1a52ab9..f6df4e164ed3 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_AddProductToProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_sync.py index 9731ff4f0d85..974f8f7134c4 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_add_product_to_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_AddProductToProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_async.py index 9bece5d52b66..e4bb1397cb89 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_CreateProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_async.py index 9ab7d8825311..862b8fa42141 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_CreateProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_sync.py index a3baf4ff900a..0a87444079a2 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_CreateProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_sync.py index 73a9762e0bde..c1bf122cc9d9 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_CreateProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_async.py index 14ec410b9d73..e78113e307c9 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_CreateReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_sync.py index 31292c4fcbaa..bf24966da974 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_create_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_CreateReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_async.py index 738185b720b6..f21b3957bc01 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_DeleteProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_async.py index 45b07c80003c..cb4561c3ed51 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_DeleteProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_sync.py index 5fdcd34e44b4..1bacb76328ac 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_DeleteProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_sync.py index deeb79e47a76..50837b554462 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_DeleteProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_async.py index 79d7eb5d0766..64870e36ab75 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_DeleteReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_sync.py index 8da94c949c4b..a434b6b9195a 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_delete_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_DeleteReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_async.py index 57daa7a67c92..ccef994cccef 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_GetProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_async.py index 2f803881b1e1..547fcff4c745 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_GetProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_sync.py index 8c11dc3c4808..b01be1131867 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_GetProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_sync.py index 31347eb1074e..8f9548749e40 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_GetProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_async.py index d6841008f373..1aba7891bd88 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_GetReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_sync.py index a0c84d367685..b1f3fcb3e1cc 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_get_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_GetReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_async.py index 4605a2c86fa6..10012fd88a5d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ImportProductSets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_sync.py index 59afe3bfcf46..11e22b31e9f6 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_import_product_sets_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ImportProductSets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_async.py index 7799f17110a8..7a60cdd550fb 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListProductSets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_sync.py index 75d2a263d377..c0ec6c7858b2 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_product_sets_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListProductSets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_async.py index 42a8d9c3bfc0..debe3c34afb9 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListProducts_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_async.py index 99ff8d3e699b..0cf8b4b875da 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListProductsInProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_sync.py index d76435c67f88..8872dfed6847 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_in_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListProductsInProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_sync.py index a7171b3b7e39..0c665088c8c0 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_products_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListProducts_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_async.py index 8329aeebc404..8ba1e25ab66e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListReferenceImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_sync.py index 414f7fd19312..82eaca3636e1 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_list_reference_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_ListReferenceImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_async.py index d517a6e91dc8..4f50cfddffc1 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_RemoveProductFromProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_sync.py index 38b487084207..8b5017168741 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_remove_product_from_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_RemoveProductFromProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_async.py index 21baf36f931d..aba8c1c9c276 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_UpdateProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_async.py index 83103c377d66..2a08bbdf42b7 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_UpdateProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_sync.py index afd1c8e00d1e..c19f521c237e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_UpdateProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_sync.py index f651f2ae6e44..d9d42d66d7e4 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p3beta1_generated_product_search_update_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p3beta1_generated_ProductSearch_UpdateProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p3beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_async.py index 342204db09ba..cf871c957289 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_sync.py index 8b773d378da5..04b23ce20fb1 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_files_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateFiles_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_async.py index 9c62f79cede6..fcda4bec82a5 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_sync.py index a679f67bebd8..0334060ca21f 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_async_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_AsyncBatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_async.py index 5eb3c4d78e01..c9ecf555955d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateFiles_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_sync.py index 1465e954dc64..524e86f6f932 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_files_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateFiles_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_async.py index ecd53523bbe2..81231e1aab3c 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_sync.py index e804c415eaf4..c4b3f71e48e6 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_image_annotator_batch_annotate_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ImageAnnotator_BatchAnnotateImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_async.py index 256b9e1e3840..9c2a910b16ea 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_AddProductToProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_sync.py index 3f34e108593f..03439c9da43b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_add_product_to_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_AddProductToProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_async.py index 2f7e22985a09..a54723dded80 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_CreateProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_async.py index e09d58105af7..591d0d5ddaaf 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_CreateProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_sync.py index b5a28422f96d..2ce1fe5264c7 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_CreateProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_sync.py index 193190c045e3..b16d8ce8ed1e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_CreateProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_async.py index a4ed35ccc55b..343cb7165524 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_CreateReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_sync.py index f834becd8c9e..2357320217b0 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_create_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_CreateReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_async.py index fb85fedca007..a9d31bd5b65b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_DeleteProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_async.py index d4360a46b62a..419c44498f76 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_DeleteProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_sync.py index f349e17f145c..adb91ac3fe2a 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_DeleteProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_sync.py index cf28cf30b61d..9d2fbc695918 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_DeleteProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_async.py index cca8dd23f1ae..19eaeb5503f0 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_DeleteReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_sync.py index 5b8cd3f41934..58c54e33a835 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_delete_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_DeleteReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_async.py index 43832682d8ae..289377d6ce38 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_GetProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_async.py index 10d1e938999c..08f5e9cbd47d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_GetProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_sync.py index 0581ddab9456..504621617f9b 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_GetProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_sync.py index 886dd0df26a5..977c55c694c0 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_GetProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_async.py index 7e13f923e2ff..f1b54a586379 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_GetReferenceImage_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_sync.py index c5c4cd388aa3..a7fdcd5ab608 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_get_reference_image_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_GetReferenceImage_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_async.py index f6c1e7fdd41e..8657e1255dae 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ImportProductSets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_sync.py index 003fd642ca50..f10a046acc70 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_import_product_sets_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ImportProductSets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_async.py index a4607cce2b64..26639ebd336e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListProductSets_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_sync.py index b58c082b47af..0d2c88fe87bf 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_product_sets_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListProductSets_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_async.py index c93dbc4e11c0..63e4a39b4d80 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListProducts_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_async.py index a589f840c4b1..55b17699ad8d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListProductsInProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_sync.py index afc680939b6a..3a17c8e826f0 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_in_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListProductsInProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_sync.py index 3b5d89cef0cc..7bc6ffc0add2 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_products_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListProducts_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_async.py index 662e1490436c..d555a8e56d18 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListReferenceImages_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_sync.py index 57a1da1672a1..effe4ad44696 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_list_reference_images_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_ListReferenceImages_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_async.py index 61558707ab7c..883e30c72eed 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_PurgeProducts_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_sync.py index 97e01f250feb..19028cc4ab0e 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_purge_products_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_PurgeProducts_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_async.py index 6f3fa166fad1..2adae8f84be9 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_RemoveProductFromProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_sync.py index d9bb0f74143a..4455c191c932 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_remove_product_from_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_RemoveProductFromProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_async.py index 9ad63f3fd3d1..39783663d2a5 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_UpdateProduct_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_async.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_async.py index 4476e43e9725..dc6ff919f831 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_async.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_async.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_UpdateProductSet_async] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_sync.py index 8b23598d33f0..f7e40782ab1d 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_set_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_UpdateProductSet_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1 diff --git a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_sync.py b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_sync.py index 70636223c42e..a6603008aa25 100644 --- a/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_sync.py +++ b/packages/google-cloud-vision/samples/generated_samples/vision_v1p4beta1_generated_product_search_update_product_sync.py @@ -24,6 +24,13 @@ # [START vision_v1p4beta1_generated_ProductSearch_UpdateProduct_sync] +# This snippet has been automatically generated and should be regarded as a +# code template only. +# It will require modifications to work: +# - It may require correct/in-range values for request initialization. +# - It may require specifying regional endpoints when creating the service +# client as shown in: +# https://googleapis.dev/python/google-api-core/latest/client_options.html from google.cloud import vision_v1p4beta1