From fc1b62eab3d1639489b428492e79465c38faef58 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 11:11:37 -0400 Subject: [PATCH] chore: Bump gapic-generator-python version to 1.3.0 (#366) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: Bump gapic-generator-python version to 1.3.0 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 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../async_client.py | 7 ++ .../video_intelligence_service/client.py | 7 ++ .../async_client.py | 7 ++ .../video_intelligence_service/client.py | 7 ++ .../async_client.py | 7 ++ .../video_intelligence_service/client.py | 7 ++ .../async_client.py | 7 ++ .../video_intelligence_service/client.py | 7 ++ .../async_client.py | 7 ++ .../client.py | 7 ++ .../async_client.py | 7 ++ .../video_intelligence_service/client.py | 7 ++ mypy.ini | 2 +- ...snippet_metadata_videointelligence_v1.json | 40 +++++----- ...et_metadata_videointelligence_v1beta2.json | 40 +++++----- ..._metadata_videointelligence_v1p1beta1.json | 40 +++++----- ..._metadata_videointelligence_v1p2beta1.json | 40 +++++----- ..._metadata_videointelligence_v1p3beta1.json | 80 +++++++++---------- ...telligence_service_annotate_video_async.py | 7 ++ ...ntelligence_service_annotate_video_sync.py | 7 ++ ...telligence_service_annotate_video_async.py | 7 ++ ...ntelligence_service_annotate_video_sync.py | 7 ++ ...telligence_service_annotate_video_async.py | 7 ++ ...ntelligence_service_annotate_video_sync.py | 7 ++ ...telligence_service_annotate_video_async.py | 7 ++ ...ntelligence_service_annotate_video_sync.py | 7 ++ ..._service_streaming_annotate_video_async.py | 7 ++ ...e_service_streaming_annotate_video_sync.py | 7 ++ ...telligence_service_annotate_video_async.py | 7 ++ ...ntelligence_service_annotate_video_sync.py | 7 ++ 30 files changed, 289 insertions(+), 121 deletions(-) diff --git a/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py index 529d0ecd..6d98f9af 100644 --- a/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1/services/video_intelligence_service/async_client.py @@ -226,6 +226,13 @@ async def annotate_video( .. 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 videointelligence_v1 async def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1/services/video_intelligence_service/client.py b/google/cloud/videointelligence_v1/services/video_intelligence_service/client.py index 8bfa5595..cb613c44 100644 --- a/google/cloud/videointelligence_v1/services/video_intelligence_service/client.py +++ b/google/cloud/videointelligence_v1/services/video_intelligence_service/client.py @@ -426,6 +426,13 @@ def annotate_video( .. 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 videointelligence_v1 def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py index 25a15490..66264a05 100644 --- a/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/async_client.py @@ -226,6 +226,13 @@ async def annotate_video( .. 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 videointelligence_v1beta2 async def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/client.py b/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/client.py index c5ea6b12..da9e0a62 100644 --- a/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/client.py +++ b/google/cloud/videointelligence_v1beta2/services/video_intelligence_service/client.py @@ -426,6 +426,13 @@ def annotate_video( .. 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 videointelligence_v1beta2 def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py index ba1bb335..6d8b157b 100644 --- a/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/async_client.py @@ -226,6 +226,13 @@ async def annotate_video( .. 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 videointelligence_v1p1beta1 async def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/client.py b/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/client.py index 1581e884..2ff2801f 100644 --- a/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/client.py +++ b/google/cloud/videointelligence_v1p1beta1/services/video_intelligence_service/client.py @@ -426,6 +426,13 @@ def annotate_video( .. 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 videointelligence_v1p1beta1 def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py index 8f809df7..6f0e938d 100644 --- a/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/async_client.py @@ -226,6 +226,13 @@ async def annotate_video( .. 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 videointelligence_v1p2beta1 async def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/client.py b/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/client.py index 32822149..8828c996 100644 --- a/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/client.py +++ b/google/cloud/videointelligence_v1p2beta1/services/video_intelligence_service/client.py @@ -426,6 +426,13 @@ def annotate_video( .. 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 videointelligence_v1p2beta1 def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py index 880088ba..be75e430 100644 --- a/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/async_client.py @@ -246,6 +246,13 @@ def streaming_annotate_video( .. 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 videointelligence_v1p3beta1 async def sample_streaming_annotate_video(): diff --git a/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/client.py b/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/client.py index f0c63585..db9c470f 100644 --- a/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/client.py +++ b/google/cloud/videointelligence_v1p3beta1/services/streaming_video_intelligence_service/client.py @@ -441,6 +441,13 @@ def streaming_annotate_video( .. 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 videointelligence_v1p3beta1 def sample_streaming_annotate_video(): diff --git a/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py b/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py index b01bc4e9..62c71a7a 100644 --- a/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py +++ b/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/async_client.py @@ -226,6 +226,13 @@ async def annotate_video( .. 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 videointelligence_v1p3beta1 async def sample_annotate_video(): diff --git a/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/client.py b/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/client.py index 5b451ca9..fc7a7f90 100644 --- a/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/client.py +++ b/google/cloud/videointelligence_v1p3beta1/services/video_intelligence_service/client.py @@ -426,6 +426,13 @@ def annotate_video( .. 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 videointelligence_v1p3beta1 def sample_annotate_video(): diff --git a/mypy.ini b/mypy.ini index 4505b485..574c5aed 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,3 +1,3 @@ [mypy] -python_version = 3.6 +python_version = 3.7 namespace_packages = True diff --git a/samples/generated_samples/snippet_metadata_videointelligence_v1.json b/samples/generated_samples/snippet_metadata_videointelligence_v1.json index 9ad392cd..2723b5f7 100644 --- a/samples/generated_samples/snippet_metadata_videointelligence_v1.json +++ b/samples/generated_samples/snippet_metadata_videointelligence_v1.json @@ -63,33 +63,33 @@ "regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], @@ -147,33 +147,33 @@ "regionTag": "videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], diff --git a/samples/generated_samples/snippet_metadata_videointelligence_v1beta2.json b/samples/generated_samples/snippet_metadata_videointelligence_v1beta2.json index 8e92e285..8aa50236 100644 --- a/samples/generated_samples/snippet_metadata_videointelligence_v1beta2.json +++ b/samples/generated_samples/snippet_metadata_videointelligence_v1beta2.json @@ -63,33 +63,33 @@ "regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_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" } ], @@ -147,33 +147,33 @@ "regionTag": "videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_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" } ], diff --git a/samples/generated_samples/snippet_metadata_videointelligence_v1p1beta1.json b/samples/generated_samples/snippet_metadata_videointelligence_v1p1beta1.json index 0ea82966..c7cc2330 100644 --- a/samples/generated_samples/snippet_metadata_videointelligence_v1p1beta1.json +++ b/samples/generated_samples/snippet_metadata_videointelligence_v1p1beta1.json @@ -63,33 +63,33 @@ "regionTag": "videointelligence_v1p1beta1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], @@ -147,33 +147,33 @@ "regionTag": "videointelligence_v1p1beta1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], diff --git a/samples/generated_samples/snippet_metadata_videointelligence_v1p2beta1.json b/samples/generated_samples/snippet_metadata_videointelligence_v1p2beta1.json index 86411e32..2312b63e 100644 --- a/samples/generated_samples/snippet_metadata_videointelligence_v1p2beta1.json +++ b/samples/generated_samples/snippet_metadata_videointelligence_v1p2beta1.json @@ -63,33 +63,33 @@ "regionTag": "videointelligence_v1p2beta1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], @@ -147,33 +147,33 @@ "regionTag": "videointelligence_v1p2beta1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], diff --git a/samples/generated_samples/snippet_metadata_videointelligence_v1p3beta1.json b/samples/generated_samples/snippet_metadata_videointelligence_v1p3beta1.json index 2086cd5a..760dbf45 100644 --- a/samples/generated_samples/snippet_metadata_videointelligence_v1p3beta1.json +++ b/samples/generated_samples/snippet_metadata_videointelligence_v1p3beta1.json @@ -55,33 +55,33 @@ "regionTag": "videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_async", "segments": [ { - "end": 54, + "end": 61, "start": 27, "type": "FULL" }, { - "end": 54, + "end": 61, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 47, - "start": 34, + "end": 54, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 50, - "start": 48, + "end": 57, + "start": 55, "type": "REQUEST_EXECUTION" }, { - "end": 55, - "start": 51, + "end": 62, + "start": 58, "type": "RESPONSE_HANDLING" } ], @@ -131,33 +131,33 @@ "regionTag": "videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_sync", "segments": [ { - "end": 54, + "end": 61, "start": 27, "type": "FULL" }, { - "end": 54, + "end": 61, "start": 27, "type": "SHORT" }, { - "end": 33, - "start": 31, + "end": 40, + "start": 38, "type": "CLIENT_INITIALIZATION" }, { - "end": 47, - "start": 34, + "end": 54, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 50, - "start": 48, + "end": 57, + "start": 55, "type": "REQUEST_EXECUTION" }, { - "end": 55, - "start": 51, + "end": 62, + "start": 58, "type": "RESPONSE_HANDLING" } ], @@ -216,33 +216,33 @@ "regionTag": "videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], @@ -300,33 +300,33 @@ "regionTag": "videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_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" } ], diff --git a/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_async.py b/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_async.py index d6ec7c18..9b936c08 100644 --- a/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_async.py +++ b/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_async.py @@ -24,6 +24,13 @@ # [START videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1 diff --git a/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_sync.py b/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_sync.py index 0eece64c..0ce0b8bf 100644 --- a/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_sync.py +++ b/samples/generated_samples/videointelligence_v1_generated_video_intelligence_service_annotate_video_sync.py @@ -24,6 +24,13 @@ # [START videointelligence_v1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1 diff --git a/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_async.py b/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_async.py index 1dc45d87..55e0238f 100644 --- a/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_async.py +++ b/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_async.py @@ -24,6 +24,13 @@ # [START videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1beta2 diff --git a/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_sync.py b/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_sync.py index 929b285b..12bdf491 100644 --- a/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_sync.py +++ b/samples/generated_samples/videointelligence_v1beta2_generated_video_intelligence_service_annotate_video_sync.py @@ -24,6 +24,13 @@ # [START videointelligence_v1beta2_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1beta2 diff --git a/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_async.py b/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_async.py index c3ec1b1b..b24dbd80 100644 --- a/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_async.py +++ b/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_async.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p1beta1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1p1beta1 diff --git a/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_sync.py b/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_sync.py index 2dfaa8b8..6ce2b3c0 100644 --- a/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_sync.py +++ b/samples/generated_samples/videointelligence_v1p1beta1_generated_video_intelligence_service_annotate_video_sync.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p1beta1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1p1beta1 diff --git a/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_async.py b/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_async.py index 0cc269e7..f95bc27a 100644 --- a/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_async.py +++ b/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_async.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p2beta1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1p2beta1 diff --git a/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_sync.py b/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_sync.py index 99cad83f..39e6c69c 100644 --- a/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_sync.py +++ b/samples/generated_samples/videointelligence_v1p2beta1_generated_video_intelligence_service_annotate_video_sync.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p2beta1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1p2beta1 diff --git a/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_async.py b/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_async.py index 29e7c3b3..fd6b401c 100644 --- a/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_async.py +++ b/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_async.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_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 videointelligence_v1p3beta1 diff --git a/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_sync.py b/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_sync.py index 98c97261..f9c05af4 100644 --- a/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_sync.py +++ b/samples/generated_samples/videointelligence_v1p3beta1_generated_streaming_video_intelligence_service_streaming_annotate_video_sync.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p3beta1_generated_StreamingVideoIntelligenceService_StreamingAnnotateVideo_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 videointelligence_v1p3beta1 diff --git a/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_async.py b/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_async.py index fe6937e2..f5d0229f 100644 --- a/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_async.py +++ b/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_async.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1p3beta1 diff --git a/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_sync.py b/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_sync.py index d606e7e7..f65e65bb 100644 --- a/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_sync.py +++ b/samples/generated_samples/videointelligence_v1p3beta1_generated_video_intelligence_service_annotate_video_sync.py @@ -24,6 +24,13 @@ # [START videointelligence_v1p3beta1_generated_VideoIntelligenceService_AnnotateVideo_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 videointelligence_v1p3beta1