diff --git a/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py b/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py index e7e31d89288d..a79d04d5b5fb 100644 --- a/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py +++ b/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/async_client.py @@ -231,6 +231,13 @@ async def create_job( .. 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.video import transcoder_v1 async def sample_create_job(): @@ -337,6 +344,13 @@ async def list_jobs( .. 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.video import transcoder_v1 async def sample_list_jobs(): @@ -445,6 +459,13 @@ async def get_job( .. 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.video import transcoder_v1 async def sample_get_job(): @@ -538,6 +559,13 @@ async def delete_job( .. 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.video import transcoder_v1 async def sample_delete_job(): @@ -623,6 +651,13 @@ async def create_job_template( .. 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.video import transcoder_v1 async def sample_create_job_template(): @@ -741,6 +776,13 @@ async def list_job_templates( .. 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.video import transcoder_v1 async def sample_list_job_templates(): @@ -849,6 +891,13 @@ async def get_job_template( .. 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.video import transcoder_v1 async def sample_get_job_template(): @@ -943,6 +992,13 @@ async def delete_job_template( .. 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.video import transcoder_v1 async def sample_delete_job_template(): diff --git a/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/client.py b/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/client.py index 10d34a1f52d4..6fe477b0d735 100644 --- a/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/client.py +++ b/packages/google-cloud-video-transcoder/google/cloud/video/transcoder_v1/services/transcoder_service/client.py @@ -474,6 +474,13 @@ def create_job( .. 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.video import transcoder_v1 def sample_create_job(): @@ -580,6 +587,13 @@ def list_jobs( .. 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.video import transcoder_v1 def sample_list_jobs(): @@ -688,6 +702,13 @@ def get_job( .. 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.video import transcoder_v1 def sample_get_job(): @@ -781,6 +802,13 @@ def delete_job( .. 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.video import transcoder_v1 def sample_delete_job(): @@ -866,6 +894,13 @@ def create_job_template( .. 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.video import transcoder_v1 def sample_create_job_template(): @@ -984,6 +1019,13 @@ def list_job_templates( .. 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.video import transcoder_v1 def sample_list_job_templates(): @@ -1092,6 +1134,13 @@ def get_job_template( .. 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.video import transcoder_v1 def sample_get_job_template(): @@ -1186,6 +1235,13 @@ def delete_job_template( .. 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.video import transcoder_v1 def sample_delete_job_template(): diff --git a/packages/google-cloud-video-transcoder/mypy.ini b/packages/google-cloud-video-transcoder/mypy.ini index 4505b485436b..574c5aed394b 100644 --- a/packages/google-cloud-video-transcoder/mypy.ini +++ b/packages/google-cloud-video-transcoder/mypy.ini @@ -1,3 +1,3 @@ [mypy] -python_version = 3.6 +python_version = 3.7 namespace_packages = True diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/snippet_metadata_transcoder_v1.json b/packages/google-cloud-video-transcoder/samples/generated_samples/snippet_metadata_transcoder_v1.json index 29b6253b8379..128c1123adea 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/snippet_metadata_transcoder_v1.json +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/snippet_metadata_transcoder_v1.json @@ -67,33 +67,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_CreateJobTemplate_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -155,33 +155,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_CreateJobTemplate_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": 39, - "start": 34, + "end": 46, + "start": 41, "type": "REQUEST_INITIALIZATION" }, { - "end": 42, - "start": 40, + "end": 49, + "start": 47, "type": "REQUEST_EXECUTION" }, { - "end": 46, - "start": 43, + "end": 53, + "start": 50, "type": "RESPONSE_HANDLING" } ], @@ -240,33 +240,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_CreateJob_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" } ], @@ -324,33 +324,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_CreateJob_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" } ], @@ -404,31 +404,31 @@ "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJobTemplate_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" } ], @@ -481,31 +481,31 @@ "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJobTemplate_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" } ], @@ -559,31 +559,31 @@ "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJob_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" } ], @@ -636,31 +636,31 @@ "regionTag": "transcoder_v1_generated_TranscoderService_DeleteJob_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" } ], @@ -715,33 +715,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_GetJobTemplate_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" } ], @@ -795,33 +795,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_GetJobTemplate_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" } ], @@ -876,33 +876,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_GetJob_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" } ], @@ -956,33 +956,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_GetJob_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" } ], @@ -1037,33 +1037,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_ListJobTemplates_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" } ], @@ -1117,33 +1117,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_ListJobTemplates_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" } ], @@ -1198,33 +1198,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_ListJobs_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" } ], @@ -1278,33 +1278,33 @@ "regionTag": "transcoder_v1_generated_TranscoderService_ListJobs_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" } ], diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_async.py index 934ee9f48e17..521cfc221e15 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_CreateJob_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_sync.py index 406a4e4d92c2..739f5e3d0bf8 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_CreateJob_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_async.py index c6a4a9a07da7..609d3ae353ee 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_CreateJobTemplate_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_sync.py index 34484f904d49..8c47c3cab154 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_create_job_template_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_CreateJobTemplate_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_async.py index 397955b3921e..60c9709e9a9f 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_DeleteJob_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_sync.py index c148b7287ab4..5735b2e7cab1 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_DeleteJob_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_async.py index 53b2fd21fc63..1168d4bd2177 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_DeleteJobTemplate_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_sync.py index 4a4b724d5bcd..2a9924e1eb05 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_delete_job_template_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_DeleteJobTemplate_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_async.py index 012c4c23cad1..41e2bb5daec6 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_GetJob_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_sync.py index 5d1c20b05a46..dbfed873fa3a 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_GetJob_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_async.py index f86feccaad0e..4360a61481a7 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_GetJobTemplate_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_sync.py index a9f65b2f425d..242fd23aa069 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_get_job_template_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_GetJobTemplate_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_async.py index 84618507ab2b..f1621bbc357d 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_ListJobTemplates_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_sync.py index 30ac526931dd..6a1b7d55db12 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_job_templates_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_ListJobTemplates_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_async.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_async.py index 597d30b9ba47..a5593231bbe4 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_async.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_async.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_ListJobs_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.video import transcoder_v1 diff --git a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_sync.py b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_sync.py index 20b6d355b8cb..badb77070da5 100644 --- a/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_sync.py +++ b/packages/google-cloud-video-transcoder/samples/generated_samples/transcoder_v1_generated_transcoder_service_list_jobs_sync.py @@ -24,6 +24,13 @@ # [START transcoder_v1_generated_TranscoderService_ListJobs_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.video import transcoder_v1