diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_async.py deleted file mode 100644 index ee3606d3dbdf..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateAnnotationSpecSet -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_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 datalabeling_v1beta1 - - -async def sample_create_annotation_spec_set(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateAnnotationSpecSetRequest( - parent="parent_value", - ) - - # Make the request - response = await client.create_annotation_spec_set(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_sync.py deleted file mode 100644 index 361aa71783c0..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateAnnotationSpecSet -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_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 datalabeling_v1beta1 - - -def sample_create_annotation_spec_set(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateAnnotationSpecSetRequest( - parent="parent_value", - ) - - # Make the request - response = client.create_annotation_spec_set(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_dataset_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_dataset_async.py deleted file mode 100644 index ce79c3158c63..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_dataset_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_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 datalabeling_v1beta1 - - -async def sample_create_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateDatasetRequest( - parent="parent_value", - ) - - # Make the request - response = await client.create_dataset(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_dataset_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_dataset_sync.py deleted file mode 100644 index b889b63a3bc3..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_dataset_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_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 datalabeling_v1beta1 - - -def sample_create_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateDatasetRequest( - parent="parent_value", - ) - - # Make the request - response = client.create_dataset(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_async.py deleted file mode 100644 index 438a8c9d1114..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_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 datalabeling_v1beta1 - - -async def sample_create_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateEvaluationJobRequest( - parent="parent_value", - ) - - # Make the request - response = await client.create_evaluation_job(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_sync.py deleted file mode 100644 index d38d605fe482..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_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 datalabeling_v1beta1 - - -def sample_create_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateEvaluationJobRequest( - parent="parent_value", - ) - - # Make the request - response = client.create_evaluation_job(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_instruction_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_instruction_async.py deleted file mode 100644 index 3f3ffbaf8859..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_instruction_async.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateInstruction -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_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 datalabeling_v1beta1 - - -async def sample_create_instruction(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateInstructionRequest( - parent="parent_value", - ) - - # Make the request - operation = client.create_instruction(request=request) - - print("Waiting for operation to complete...") - - response = await operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_instruction_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_instruction_sync.py deleted file mode 100644 index d76663c5aa98..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_create_instruction_sync.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for CreateInstruction -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_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 datalabeling_v1beta1 - - -def sample_create_instruction(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.CreateInstructionRequest( - parent="parent_value", - ) - - # Make the request - operation = client.create_instruction(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_async.py deleted file mode 100644 index 1891d81706ab..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteAnnotatedDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_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 datalabeling_v1beta1 - - -async def sample_delete_annotated_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteAnnotatedDatasetRequest( - name="name_value", - ) - - # Make the request - await client.delete_annotated_dataset(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_sync.py deleted file mode 100644 index f8e23a27da2a..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteAnnotatedDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_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 datalabeling_v1beta1 - - -def sample_delete_annotated_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteAnnotatedDatasetRequest( - name="name_value", - ) - - # Make the request - client.delete_annotated_dataset(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_async.py deleted file mode 100644 index 48b87d409176..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteAnnotationSpecSet -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_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 datalabeling_v1beta1 - - -async def sample_delete_annotation_spec_set(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteAnnotationSpecSetRequest( - name="name_value", - ) - - # Make the request - await client.delete_annotation_spec_set(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_sync.py deleted file mode 100644 index a20bf81c9eae..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteAnnotationSpecSet -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_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 datalabeling_v1beta1 - - -def sample_delete_annotation_spec_set(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteAnnotationSpecSetRequest( - name="name_value", - ) - - # Make the request - client.delete_annotation_spec_set(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_async.py deleted file mode 100644 index 8bb8bb688e33..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_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 datalabeling_v1beta1 - - -async def sample_delete_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteDatasetRequest( - name="name_value", - ) - - # Make the request - await client.delete_dataset(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_sync.py deleted file mode 100644 index a4cb96e4bacd..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_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 datalabeling_v1beta1 - - -def sample_delete_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteDatasetRequest( - name="name_value", - ) - - # Make the request - client.delete_dataset(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_async.py deleted file mode 100644 index 888e6edc258b..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_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 datalabeling_v1beta1 - - -async def sample_delete_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteEvaluationJobRequest( - name="name_value", - ) - - # Make the request - await client.delete_evaluation_job(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_sync.py deleted file mode 100644 index 0996af47d19f..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_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 datalabeling_v1beta1 - - -def sample_delete_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteEvaluationJobRequest( - name="name_value", - ) - - # Make the request - client.delete_evaluation_job(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_async.py deleted file mode 100644 index 514a3130d195..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteInstruction -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_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 datalabeling_v1beta1 - - -async def sample_delete_instruction(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteInstructionRequest( - name="name_value", - ) - - # Make the request - await client.delete_instruction(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_sync.py deleted file mode 100644 index eb03af879958..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for DeleteInstruction -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_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 datalabeling_v1beta1 - - -def sample_delete_instruction(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.DeleteInstructionRequest( - name="name_value", - ) - - # Make the request - client.delete_instruction(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_export_data_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_export_data_async.py deleted file mode 100644 index 03f33d6252b5..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_export_data_async.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ExportData -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ExportData_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 datalabeling_v1beta1 - - -async def sample_export_data(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ExportDataRequest( - name="name_value", - annotated_dataset="annotated_dataset_value", - ) - - # Make the request - operation = client.export_data(request=request) - - print("Waiting for operation to complete...") - - response = await operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ExportData_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_export_data_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_export_data_sync.py deleted file mode 100644 index 29d118c86ce4..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_export_data_sync.py +++ /dev/null @@ -1,57 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ExportData -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ExportData_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 datalabeling_v1beta1 - - -def sample_export_data(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ExportDataRequest( - name="name_value", - annotated_dataset="annotated_dataset_value", - ) - - # Make the request - operation = client.export_data(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ExportData_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_async.py deleted file mode 100644 index 567df81fe888..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetAnnotatedDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_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 datalabeling_v1beta1 - - -async def sample_get_annotated_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetAnnotatedDatasetRequest( - name="name_value", - ) - - # Make the request - response = await client.get_annotated_dataset(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_sync.py deleted file mode 100644 index 1058f4f90b24..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetAnnotatedDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_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 datalabeling_v1beta1 - - -def sample_get_annotated_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetAnnotatedDatasetRequest( - name="name_value", - ) - - # Make the request - response = client.get_annotated_dataset(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_async.py deleted file mode 100644 index 2fb861fe6cce..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetAnnotationSpecSet -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_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 datalabeling_v1beta1 - - -async def sample_get_annotation_spec_set(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetAnnotationSpecSetRequest( - name="name_value", - ) - - # Make the request - response = await client.get_annotation_spec_set(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_sync.py deleted file mode 100644 index 3899cf111795..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetAnnotationSpecSet -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_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 datalabeling_v1beta1 - - -def sample_get_annotation_spec_set(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetAnnotationSpecSetRequest( - name="name_value", - ) - - # Make the request - response = client.get_annotation_spec_set(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_data_item_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_data_item_async.py deleted file mode 100644 index 7bf5b0745255..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_data_item_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetDataItem -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_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 datalabeling_v1beta1 - - -async def sample_get_data_item(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetDataItemRequest( - name="name_value", - ) - - # Make the request - response = await client.get_data_item(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_data_item_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_data_item_sync.py deleted file mode 100644 index 7bd9a270af8d..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_data_item_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetDataItem -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_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 datalabeling_v1beta1 - - -def sample_get_data_item(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetDataItemRequest( - name="name_value", - ) - - # Make the request - response = client.get_data_item(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_dataset_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_dataset_async.py deleted file mode 100644 index 53145e35bca7..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_dataset_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetDataset_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 datalabeling_v1beta1 - - -async def sample_get_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetDatasetRequest( - name="name_value", - ) - - # Make the request - response = await client.get_dataset(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetDataset_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_dataset_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_dataset_sync.py deleted file mode 100644 index 738a9e96fa6e..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_dataset_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetDataset -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetDataset_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 datalabeling_v1beta1 - - -def sample_get_dataset(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetDatasetRequest( - name="name_value", - ) - - # Make the request - response = client.get_dataset(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetDataset_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_async.py deleted file mode 100644 index 3a6b88c42350..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetEvaluation -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_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 datalabeling_v1beta1 - - -async def sample_get_evaluation(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetEvaluationRequest( - name="name_value", - ) - - # Make the request - response = await client.get_evaluation(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_async.py deleted file mode 100644 index ed4a09d4daaf..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_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 datalabeling_v1beta1 - - -async def sample_get_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetEvaluationJobRequest( - name="name_value", - ) - - # Make the request - response = await client.get_evaluation_job(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_sync.py deleted file mode 100644 index 391b38e3d19a..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_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 datalabeling_v1beta1 - - -def sample_get_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetEvaluationJobRequest( - name="name_value", - ) - - # Make the request - response = client.get_evaluation_job(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_sync.py deleted file mode 100644 index db34a3214e13..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetEvaluation -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_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 datalabeling_v1beta1 - - -def sample_get_evaluation(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetEvaluationRequest( - name="name_value", - ) - - # Make the request - response = client.get_evaluation(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_example_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_example_async.py deleted file mode 100644 index 0810fff0212f..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_example_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetExample -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetExample_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 datalabeling_v1beta1 - - -async def sample_get_example(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetExampleRequest( - name="name_value", - ) - - # Make the request - response = await client.get_example(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetExample_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_example_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_example_sync.py deleted file mode 100644 index b2e385e2e099..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_example_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetExample -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetExample_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 datalabeling_v1beta1 - - -def sample_get_example(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetExampleRequest( - name="name_value", - ) - - # Make the request - response = client.get_example(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetExample_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_instruction_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_instruction_async.py deleted file mode 100644 index e82c942772c8..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_instruction_async.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetInstruction -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_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 datalabeling_v1beta1 - - -async def sample_get_instruction(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetInstructionRequest( - name="name_value", - ) - - # Make the request - response = await client.get_instruction(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_instruction_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_instruction_sync.py deleted file mode 100644 index fc08f17910f0..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_get_instruction_sync.py +++ /dev/null @@ -1,52 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for GetInstruction -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_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 datalabeling_v1beta1 - - -def sample_get_instruction(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.GetInstructionRequest( - name="name_value", - ) - - # Make the request - response = client.get_instruction(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_import_data_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_import_data_async.py deleted file mode 100644 index 07d2b9de2866..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_import_data_async.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ImportData -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ImportData_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 datalabeling_v1beta1 - - -async def sample_import_data(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ImportDataRequest( - name="name_value", - ) - - # Make the request - operation = client.import_data(request=request) - - print("Waiting for operation to complete...") - - response = await operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ImportData_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_import_data_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_import_data_sync.py deleted file mode 100644 index bbd7652461fe..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_import_data_sync.py +++ /dev/null @@ -1,56 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ImportData -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ImportData_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 datalabeling_v1beta1 - - -def sample_import_data(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ImportDataRequest( - name="name_value", - ) - - # Make the request - operation = client.import_data(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ImportData_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_image_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_image_async.py deleted file mode 100644 index fe5c2d77f1c5..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_image_async.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for LabelImage -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_LabelImage_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 datalabeling_v1beta1 - - -async def sample_label_image(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - image_classification_config = datalabeling_v1beta1.ImageClassificationConfig() - image_classification_config.annotation_spec_set = "annotation_spec_set_value" - - basic_config = datalabeling_v1beta1.HumanAnnotationConfig() - basic_config.instruction = "instruction_value" - basic_config.annotated_dataset_display_name = "annotated_dataset_display_name_value" - - request = datalabeling_v1beta1.LabelImageRequest( - image_classification_config=image_classification_config, - parent="parent_value", - basic_config=basic_config, - feature="SEGMENTATION", - ) - - # Make the request - operation = client.label_image(request=request) - - print("Waiting for operation to complete...") - - response = await operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_LabelImage_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_image_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_image_sync.py deleted file mode 100644 index 64073d9e90a1..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_image_sync.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for LabelImage -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_LabelImage_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 datalabeling_v1beta1 - - -def sample_label_image(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - image_classification_config = datalabeling_v1beta1.ImageClassificationConfig() - image_classification_config.annotation_spec_set = "annotation_spec_set_value" - - basic_config = datalabeling_v1beta1.HumanAnnotationConfig() - basic_config.instruction = "instruction_value" - basic_config.annotated_dataset_display_name = "annotated_dataset_display_name_value" - - request = datalabeling_v1beta1.LabelImageRequest( - image_classification_config=image_classification_config, - parent="parent_value", - basic_config=basic_config, - feature="SEGMENTATION", - ) - - # Make the request - operation = client.label_image(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_LabelImage_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_text_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_text_async.py deleted file mode 100644 index 61524f6b58e3..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_text_async.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for LabelText -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_LabelText_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 datalabeling_v1beta1 - - -async def sample_label_text(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - text_classification_config = datalabeling_v1beta1.TextClassificationConfig() - text_classification_config.annotation_spec_set = "annotation_spec_set_value" - - basic_config = datalabeling_v1beta1.HumanAnnotationConfig() - basic_config.instruction = "instruction_value" - basic_config.annotated_dataset_display_name = "annotated_dataset_display_name_value" - - request = datalabeling_v1beta1.LabelTextRequest( - text_classification_config=text_classification_config, - parent="parent_value", - basic_config=basic_config, - feature="TEXT_ENTITY_EXTRACTION", - ) - - # Make the request - operation = client.label_text(request=request) - - print("Waiting for operation to complete...") - - response = await operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_LabelText_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_text_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_text_sync.py deleted file mode 100644 index 01e39b5a8c04..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_text_sync.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for LabelText -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_LabelText_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 datalabeling_v1beta1 - - -def sample_label_text(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - text_classification_config = datalabeling_v1beta1.TextClassificationConfig() - text_classification_config.annotation_spec_set = "annotation_spec_set_value" - - basic_config = datalabeling_v1beta1.HumanAnnotationConfig() - basic_config.instruction = "instruction_value" - basic_config.annotated_dataset_display_name = "annotated_dataset_display_name_value" - - request = datalabeling_v1beta1.LabelTextRequest( - text_classification_config=text_classification_config, - parent="parent_value", - basic_config=basic_config, - feature="TEXT_ENTITY_EXTRACTION", - ) - - # Make the request - operation = client.label_text(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_LabelText_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_video_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_video_async.py deleted file mode 100644 index cb20f523016b..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_video_async.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for LabelVideo -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_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 datalabeling_v1beta1 - - -async def sample_label_video(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - video_classification_config = datalabeling_v1beta1.VideoClassificationConfig() - video_classification_config.annotation_spec_set_configs.annotation_spec_set = "annotation_spec_set_value" - - basic_config = datalabeling_v1beta1.HumanAnnotationConfig() - basic_config.instruction = "instruction_value" - basic_config.annotated_dataset_display_name = "annotated_dataset_display_name_value" - - request = datalabeling_v1beta1.LabelVideoRequest( - video_classification_config=video_classification_config, - parent="parent_value", - basic_config=basic_config, - feature="EVENT", - ) - - # Make the request - operation = client.label_video(request=request) - - print("Waiting for operation to complete...") - - response = await operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_video_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_video_sync.py deleted file mode 100644 index 16dde02876e6..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_label_video_sync.py +++ /dev/null @@ -1,66 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for LabelVideo -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_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 datalabeling_v1beta1 - - -def sample_label_video(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - video_classification_config = datalabeling_v1beta1.VideoClassificationConfig() - video_classification_config.annotation_spec_set_configs.annotation_spec_set = "annotation_spec_set_value" - - basic_config = datalabeling_v1beta1.HumanAnnotationConfig() - basic_config.instruction = "instruction_value" - basic_config.annotated_dataset_display_name = "annotated_dataset_display_name_value" - - request = datalabeling_v1beta1.LabelVideoRequest( - video_classification_config=video_classification_config, - parent="parent_value", - basic_config=basic_config, - feature="EVENT", - ) - - # Make the request - operation = client.label_video(request=request) - - print("Waiting for operation to complete...") - - response = operation.result() - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_async.py deleted file mode 100644 index 4b61d04353b9..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListAnnotatedDatasets -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_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 datalabeling_v1beta1 - - -async def sample_list_annotated_datasets(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListAnnotatedDatasetsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_annotated_datasets(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_sync.py deleted file mode 100644 index 00e4c2d72b68..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListAnnotatedDatasets -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_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 datalabeling_v1beta1 - - -def sample_list_annotated_datasets(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListAnnotatedDatasetsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_annotated_datasets(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_async.py deleted file mode 100644 index 27ddebe54922..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListAnnotationSpecSets -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_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 datalabeling_v1beta1 - - -async def sample_list_annotation_spec_sets(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListAnnotationSpecSetsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_annotation_spec_sets(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_sync.py deleted file mode 100644 index e3eedd53593c..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListAnnotationSpecSets -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_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 datalabeling_v1beta1 - - -def sample_list_annotation_spec_sets(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListAnnotationSpecSetsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_annotation_spec_sets(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_data_items_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_data_items_async.py deleted file mode 100644 index 673ed856d3bb..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_data_items_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListDataItems -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_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 datalabeling_v1beta1 - - -async def sample_list_data_items(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListDataItemsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_data_items(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_data_items_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_data_items_sync.py deleted file mode 100644 index f5bd2d8d5cb3..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_data_items_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListDataItems -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_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 datalabeling_v1beta1 - - -def sample_list_data_items(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListDataItemsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_data_items(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_datasets_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_datasets_async.py deleted file mode 100644 index ec086e96a3d1..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_datasets_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListDatasets -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_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 datalabeling_v1beta1 - - -async def sample_list_datasets(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListDatasetsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_datasets(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_datasets_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_datasets_sync.py deleted file mode 100644 index 5ad1e729edcb..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_datasets_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListDatasets -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_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 datalabeling_v1beta1 - - -def sample_list_datasets(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListDatasetsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_datasets(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_async.py deleted file mode 100644 index bc9e2c464404..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListEvaluationJobs -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_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 datalabeling_v1beta1 - - -async def sample_list_evaluation_jobs(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListEvaluationJobsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_evaluation_jobs(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_sync.py deleted file mode 100644 index 8ac11f371957..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListEvaluationJobs -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_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 datalabeling_v1beta1 - - -def sample_list_evaluation_jobs(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListEvaluationJobsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_evaluation_jobs(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_examples_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_examples_async.py deleted file mode 100644 index dac504a6bed1..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_examples_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListExamples -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListExamples_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 datalabeling_v1beta1 - - -async def sample_list_examples(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListExamplesRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_examples(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListExamples_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_examples_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_examples_sync.py deleted file mode 100644 index 33aad02aac94..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_examples_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListExamples -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListExamples_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 datalabeling_v1beta1 - - -def sample_list_examples(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListExamplesRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_examples(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListExamples_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_instructions_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_instructions_async.py deleted file mode 100644 index 203d962719b7..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_instructions_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListInstructions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_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 datalabeling_v1beta1 - - -async def sample_list_instructions(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListInstructionsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_instructions(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_instructions_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_instructions_sync.py deleted file mode 100644 index 419c2a70b820..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_list_instructions_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ListInstructions -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_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 datalabeling_v1beta1 - - -def sample_list_instructions(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ListInstructionsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.list_instructions(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_async.py deleted file mode 100644 index d96c6f49d6e3..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for PauseEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_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 datalabeling_v1beta1 - - -async def sample_pause_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.PauseEvaluationJobRequest( - name="name_value", - ) - - # Make the request - await client.pause_evaluation_job(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_sync.py deleted file mode 100644 index 9fdff49bddb2..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for PauseEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_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 datalabeling_v1beta1 - - -def sample_pause_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.PauseEvaluationJobRequest( - name="name_value", - ) - - # Make the request - client.pause_evaluation_job(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_async.py deleted file mode 100644 index 4a8c48837215..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_async.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ResumeEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_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 datalabeling_v1beta1 - - -async def sample_resume_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ResumeEvaluationJobRequest( - name="name_value", - ) - - # Make the request - await client.resume_evaluation_job(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_sync.py deleted file mode 100644 index 81765fd9ab17..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_sync.py +++ /dev/null @@ -1,50 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for ResumeEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_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 datalabeling_v1beta1 - - -def sample_resume_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.ResumeEvaluationJobRequest( - name="name_value", - ) - - # Make the request - client.resume_evaluation_job(request=request) - - -# [END datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_async.py deleted file mode 100644 index 6f561242c51a..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for SearchEvaluations -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_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 datalabeling_v1beta1 - - -async def sample_search_evaluations(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.SearchEvaluationsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.search_evaluations(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_sync.py deleted file mode 100644 index 35aaba2d84d6..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for SearchEvaluations -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_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 datalabeling_v1beta1 - - -def sample_search_evaluations(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.SearchEvaluationsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.search_evaluations(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_async.py deleted file mode 100644 index 1c3ec4c3c829..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_async.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for SearchExampleComparisons -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_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 datalabeling_v1beta1 - - -async def sample_search_example_comparisons(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.SearchExampleComparisonsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.search_example_comparisons(request=request) - - # Handle the response - async for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_sync.py deleted file mode 100644 index da9f0d78f718..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_sync.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for SearchExampleComparisons -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_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 datalabeling_v1beta1 - - -def sample_search_example_comparisons(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.SearchExampleComparisonsRequest( - parent="parent_value", - ) - - # Make the request - page_result = client.search_example_comparisons(request=request) - - # Handle the response - for response in page_result: - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_sync] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_async.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_async.py deleted file mode 100644 index 3b6d4d504aed..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_async.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_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 datalabeling_v1beta1 - - -async def sample_update_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceAsyncClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.UpdateEvaluationJobRequest( - ) - - # Make the request - response = await client.update_evaluation_job(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_async] diff --git a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_sync.py b/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_sync.py deleted file mode 100644 index c3d5a43ee65d..000000000000 --- a/datalabeling/generated_samples/datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_sync.py +++ /dev/null @@ -1,51 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright 2022 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# Generated code. DO NOT EDIT! -# -# Snippet for UpdateEvaluationJob -# NOTE: This snippet has been automatically generated for illustrative purposes only. -# It may require modifications to work in your environment. - -# To install the latest published package dependency, execute the following: -# python3 -m pip install google-cloud-datalabeling - - -# [START datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_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 datalabeling_v1beta1 - - -def sample_update_evaluation_job(): - # Create a client - client = datalabeling_v1beta1.DataLabelingServiceClient() - - # Initialize request argument(s) - request = datalabeling_v1beta1.UpdateEvaluationJobRequest( - ) - - # Make the request - response = client.update_evaluation_job(request=request) - - # Handle the response - print(response) - -# [END datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_sync] diff --git a/datalabeling/generated_samples/snippet_metadata_datalabeling_v1beta1.json b/datalabeling/generated_samples/snippet_metadata_datalabeling_v1beta1.json deleted file mode 100644 index ec0ef820818c..000000000000 --- a/datalabeling/generated_samples/snippet_metadata_datalabeling_v1beta1.json +++ /dev/null @@ -1,5630 +0,0 @@ -{ - "clientLibrary": { - "apis": [ - { - "id": "google.cloud.datalabeling.v1beta1", - "version": "v1beta1" - } - ], - "language": "PYTHON", - "name": "google-cloud-datalabeling" - }, - "snippets": [ - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.create_annotation_spec_set", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSet", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateAnnotationSpecSet" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateAnnotationSpecSetRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "annotation_spec_set", - "type": "google.cloud.datalabeling_v1beta1.types.AnnotationSpecSet" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.AnnotationSpecSet", - "shortName": "create_annotation_spec_set" - }, - "description": "Sample for CreateAnnotationSpecSet", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.create_annotation_spec_set", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateAnnotationSpecSet", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateAnnotationSpecSet" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateAnnotationSpecSetRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "annotation_spec_set", - "type": "google.cloud.datalabeling_v1beta1.types.AnnotationSpecSet" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.AnnotationSpecSet", - "shortName": "create_annotation_spec_set" - }, - "description": "Sample for CreateAnnotationSpecSet", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateAnnotationSpecSet_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_annotation_spec_set_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.create_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateDatasetRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "dataset", - "type": "google.cloud.datalabeling_v1beta1.types.Dataset" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Dataset", - "shortName": "create_dataset" - }, - "description": "Sample for CreateDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_dataset_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_dataset_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.create_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateDatasetRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "dataset", - "type": "google.cloud.datalabeling_v1beta1.types.Dataset" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Dataset", - "shortName": "create_dataset" - }, - "description": "Sample for CreateDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_dataset_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateDataset_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_dataset_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.create_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateEvaluationJobRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "job", - "type": "google.cloud.datalabeling_v1beta1.types.EvaluationJob" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.EvaluationJob", - "shortName": "create_evaluation_job" - }, - "description": "Sample for CreateEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.create_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateEvaluationJobRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "job", - "type": "google.cloud.datalabeling_v1beta1.types.EvaluationJob" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.EvaluationJob", - "shortName": "create_evaluation_job" - }, - "description": "Sample for CreateEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateEvaluationJob_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_evaluation_job_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.create_instruction", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstruction", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateInstruction" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateInstructionRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "instruction", - "type": "google.cloud.datalabeling_v1beta1.types.Instruction" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation_async.AsyncOperation", - "shortName": "create_instruction" - }, - "description": "Sample for CreateInstruction", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_instruction_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_async", - "segments": [ - { - "end": 55, - "start": 27, - "type": "FULL" - }, - { - "end": 55, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 52, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 56, - "start": 53, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_instruction_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.create_instruction", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.CreateInstruction", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "CreateInstruction" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.CreateInstructionRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "instruction", - "type": "google.cloud.datalabeling_v1beta1.types.Instruction" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "create_instruction" - }, - "description": "Sample for CreateInstruction", - "file": "datalabeling_v1beta1_generated_data_labeling_service_create_instruction_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_CreateInstruction_sync", - "segments": [ - { - "end": 55, - "start": 27, - "type": "FULL" - }, - { - "end": 55, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 52, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 56, - "start": 53, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_create_instruction_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.delete_annotated_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteAnnotatedDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteAnnotatedDatasetRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_annotated_dataset" - }, - "description": "Sample for DeleteAnnotatedDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.delete_annotated_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotatedDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteAnnotatedDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteAnnotatedDatasetRequest" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_annotated_dataset" - }, - "description": "Sample for DeleteAnnotatedDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotatedDataset_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotated_dataset_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.delete_annotation_spec_set", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSet", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteAnnotationSpecSet" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteAnnotationSpecSetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_annotation_spec_set" - }, - "description": "Sample for DeleteAnnotationSpecSet", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.delete_annotation_spec_set", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteAnnotationSpecSet", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteAnnotationSpecSet" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteAnnotationSpecSetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_annotation_spec_set" - }, - "description": "Sample for DeleteAnnotationSpecSet", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteAnnotationSpecSet_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_annotation_spec_set_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.delete_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteDatasetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_dataset" - }, - "description": "Sample for DeleteDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.delete_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteDatasetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_dataset" - }, - "description": "Sample for DeleteDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteDataset_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_dataset_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.delete_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_evaluation_job" - }, - "description": "Sample for DeleteEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.delete_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_evaluation_job" - }, - "description": "Sample for DeleteEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteEvaluationJob_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_evaluation_job_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.delete_instruction", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstruction", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteInstruction" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteInstructionRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_instruction" - }, - "description": "Sample for DeleteInstruction", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.delete_instruction", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteInstruction", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "DeleteInstruction" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.DeleteInstructionRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "delete_instruction" - }, - "description": "Sample for DeleteInstruction", - "file": "datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_DeleteInstruction_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_delete_instruction_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.export_data", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ExportData", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ExportData" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ExportDataRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "annotated_dataset", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "output_config", - "type": "google.cloud.datalabeling_v1beta1.types.OutputConfig" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation_async.AsyncOperation", - "shortName": "export_data" - }, - "description": "Sample for ExportData", - "file": "datalabeling_v1beta1_generated_data_labeling_service_export_data_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ExportData_async", - "segments": [ - { - "end": 56, - "start": 27, - "type": "FULL" - }, - { - "end": 56, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 46, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 53, - "start": 47, - "type": "REQUEST_EXECUTION" - }, - { - "end": 57, - "start": 54, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_export_data_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.export_data", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ExportData", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ExportData" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ExportDataRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "annotated_dataset", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "output_config", - "type": "google.cloud.datalabeling_v1beta1.types.OutputConfig" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "export_data" - }, - "description": "Sample for ExportData", - "file": "datalabeling_v1beta1_generated_data_labeling_service_export_data_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ExportData_sync", - "segments": [ - { - "end": 56, - "start": 27, - "type": "FULL" - }, - { - "end": 56, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 46, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 53, - "start": 47, - "type": "REQUEST_EXECUTION" - }, - { - "end": 57, - "start": 54, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_export_data_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_annotated_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetAnnotatedDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetAnnotatedDatasetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.AnnotatedDataset", - "shortName": "get_annotated_dataset" - }, - "description": "Sample for GetAnnotatedDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_annotated_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotatedDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetAnnotatedDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetAnnotatedDatasetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.AnnotatedDataset", - "shortName": "get_annotated_dataset" - }, - "description": "Sample for GetAnnotatedDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotatedDataset_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_annotated_dataset_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_annotation_spec_set", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSet", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetAnnotationSpecSet" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetAnnotationSpecSetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.AnnotationSpecSet", - "shortName": "get_annotation_spec_set" - }, - "description": "Sample for GetAnnotationSpecSet", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_annotation_spec_set", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetAnnotationSpecSet", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetAnnotationSpecSet" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetAnnotationSpecSetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.AnnotationSpecSet", - "shortName": "get_annotation_spec_set" - }, - "description": "Sample for GetAnnotationSpecSet", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetAnnotationSpecSet_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_annotation_spec_set_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_data_item", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItem", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetDataItem" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetDataItemRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.DataItem", - "shortName": "get_data_item" - }, - "description": "Sample for GetDataItem", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_data_item_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_data_item_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_data_item", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataItem", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetDataItem" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetDataItemRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.DataItem", - "shortName": "get_data_item" - }, - "description": "Sample for GetDataItem", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_data_item_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataItem_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_data_item_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetDatasetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Dataset", - "shortName": "get_dataset" - }, - "description": "Sample for GetDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_dataset_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataset_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_dataset_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_dataset", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetDataset", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetDataset" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetDatasetRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Dataset", - "shortName": "get_dataset" - }, - "description": "Sample for GetDataset", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_dataset_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetDataset_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_dataset_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.EvaluationJob", - "shortName": "get_evaluation_job" - }, - "description": "Sample for GetEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.EvaluationJob", - "shortName": "get_evaluation_job" - }, - "description": "Sample for GetEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluationJob_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_job_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_evaluation", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluation", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetEvaluation" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetEvaluationRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Evaluation", - "shortName": "get_evaluation" - }, - "description": "Sample for GetEvaluation", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_evaluation", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetEvaluation", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetEvaluation" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetEvaluationRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Evaluation", - "shortName": "get_evaluation" - }, - "description": "Sample for GetEvaluation", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetEvaluation_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_evaluation_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_example", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetExample", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetExample" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetExampleRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Example", - "shortName": "get_example" - }, - "description": "Sample for GetExample", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_example_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetExample_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_example_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_example", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetExample", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetExample" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetExampleRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Example", - "shortName": "get_example" - }, - "description": "Sample for GetExample", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_example_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetExample_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_example_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.get_instruction", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstruction", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetInstruction" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetInstructionRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Instruction", - "shortName": "get_instruction" - }, - "description": "Sample for GetInstruction", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_instruction_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_async", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_instruction_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.get_instruction", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.GetInstruction", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "GetInstruction" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.GetInstructionRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.Instruction", - "shortName": "get_instruction" - }, - "description": "Sample for GetInstruction", - "file": "datalabeling_v1beta1_generated_data_labeling_service_get_instruction_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_GetInstruction_sync", - "segments": [ - { - "end": 51, - "start": 27, - "type": "FULL" - }, - { - "end": 51, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 52, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_get_instruction_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.import_data", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ImportData", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ImportData" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ImportDataRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "input_config", - "type": "google.cloud.datalabeling_v1beta1.types.InputConfig" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation_async.AsyncOperation", - "shortName": "import_data" - }, - "description": "Sample for ImportData", - "file": "datalabeling_v1beta1_generated_data_labeling_service_import_data_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ImportData_async", - "segments": [ - { - "end": 55, - "start": 27, - "type": "FULL" - }, - { - "end": 55, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 52, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 56, - "start": 53, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_import_data_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.import_data", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ImportData", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ImportData" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ImportDataRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "input_config", - "type": "google.cloud.datalabeling_v1beta1.types.InputConfig" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "import_data" - }, - "description": "Sample for ImportData", - "file": "datalabeling_v1beta1_generated_data_labeling_service_import_data_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ImportData_sync", - "segments": [ - { - "end": 55, - "start": 27, - "type": "FULL" - }, - { - "end": 55, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 52, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 56, - "start": 53, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_import_data_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.label_image", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImage", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "LabelImage" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.LabelImageRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "basic_config", - "type": "google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig" - }, - { - "name": "feature", - "type": "google.cloud.datalabeling_v1beta1.types.LabelImageRequest.Feature" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation_async.AsyncOperation", - "shortName": "label_image" - }, - "description": "Sample for LabelImage", - "file": "datalabeling_v1beta1_generated_data_labeling_service_label_image_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelImage_async", - "segments": [ - { - "end": 65, - "start": 27, - "type": "FULL" - }, - { - "end": 65, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 55, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 62, - "start": 56, - "type": "REQUEST_EXECUTION" - }, - { - "end": 66, - "start": 63, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_label_image_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.label_image", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelImage", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "LabelImage" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.LabelImageRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "basic_config", - "type": "google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig" - }, - { - "name": "feature", - "type": "google.cloud.datalabeling_v1beta1.types.LabelImageRequest.Feature" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "label_image" - }, - "description": "Sample for LabelImage", - "file": "datalabeling_v1beta1_generated_data_labeling_service_label_image_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelImage_sync", - "segments": [ - { - "end": 65, - "start": 27, - "type": "FULL" - }, - { - "end": 65, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 55, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 62, - "start": 56, - "type": "REQUEST_EXECUTION" - }, - { - "end": 66, - "start": 63, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_label_image_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.label_text", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelText", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "LabelText" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.LabelTextRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "basic_config", - "type": "google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig" - }, - { - "name": "feature", - "type": "google.cloud.datalabeling_v1beta1.types.LabelTextRequest.Feature" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation_async.AsyncOperation", - "shortName": "label_text" - }, - "description": "Sample for LabelText", - "file": "datalabeling_v1beta1_generated_data_labeling_service_label_text_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelText_async", - "segments": [ - { - "end": 65, - "start": 27, - "type": "FULL" - }, - { - "end": 65, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 55, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 62, - "start": 56, - "type": "REQUEST_EXECUTION" - }, - { - "end": 66, - "start": 63, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_label_text_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.label_text", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelText", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "LabelText" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.LabelTextRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "basic_config", - "type": "google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig" - }, - { - "name": "feature", - "type": "google.cloud.datalabeling_v1beta1.types.LabelTextRequest.Feature" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "label_text" - }, - "description": "Sample for LabelText", - "file": "datalabeling_v1beta1_generated_data_labeling_service_label_text_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelText_sync", - "segments": [ - { - "end": 65, - "start": 27, - "type": "FULL" - }, - { - "end": 65, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 55, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 62, - "start": 56, - "type": "REQUEST_EXECUTION" - }, - { - "end": 66, - "start": 63, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_label_text_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.label_video", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideo", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "LabelVideo" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.LabelVideoRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "basic_config", - "type": "google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig" - }, - { - "name": "feature", - "type": "google.cloud.datalabeling_v1beta1.types.LabelVideoRequest.Feature" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation_async.AsyncOperation", - "shortName": "label_video" - }, - "description": "Sample for LabelVideo", - "file": "datalabeling_v1beta1_generated_data_labeling_service_label_video_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_async", - "segments": [ - { - "end": 65, - "start": 27, - "type": "FULL" - }, - { - "end": 65, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 55, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 62, - "start": 56, - "type": "REQUEST_EXECUTION" - }, - { - "end": 66, - "start": 63, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_label_video_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.label_video", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.LabelVideo", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "LabelVideo" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.LabelVideoRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "basic_config", - "type": "google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig" - }, - { - "name": "feature", - "type": "google.cloud.datalabeling_v1beta1.types.LabelVideoRequest.Feature" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.api_core.operation.Operation", - "shortName": "label_video" - }, - "description": "Sample for LabelVideo", - "file": "datalabeling_v1beta1_generated_data_labeling_service_label_video_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_LabelVideo_sync", - "segments": [ - { - "end": 65, - "start": 27, - "type": "FULL" - }, - { - "end": 65, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 55, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 62, - "start": 56, - "type": "REQUEST_EXECUTION" - }, - { - "end": 66, - "start": 63, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_label_video_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_annotated_datasets", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasets", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListAnnotatedDatasets" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListAnnotatedDatasetsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListAnnotatedDatasetsAsyncPager", - "shortName": "list_annotated_datasets" - }, - "description": "Sample for ListAnnotatedDatasets", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_annotated_datasets", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotatedDatasets", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListAnnotatedDatasets" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListAnnotatedDatasetsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListAnnotatedDatasetsPager", - "shortName": "list_annotated_datasets" - }, - "description": "Sample for ListAnnotatedDatasets", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotatedDatasets_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_annotated_datasets_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_annotation_spec_sets", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSets", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListAnnotationSpecSets" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListAnnotationSpecSetsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListAnnotationSpecSetsAsyncPager", - "shortName": "list_annotation_spec_sets" - }, - "description": "Sample for ListAnnotationSpecSets", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_annotation_spec_sets", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListAnnotationSpecSets", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListAnnotationSpecSets" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListAnnotationSpecSetsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListAnnotationSpecSetsPager", - "shortName": "list_annotation_spec_sets" - }, - "description": "Sample for ListAnnotationSpecSets", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListAnnotationSpecSets_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_annotation_spec_sets_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_data_items", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItems", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListDataItems" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListDataItemsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListDataItemsAsyncPager", - "shortName": "list_data_items" - }, - "description": "Sample for ListDataItems", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_data_items_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_data_items_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_data_items", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDataItems", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListDataItems" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListDataItemsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListDataItemsPager", - "shortName": "list_data_items" - }, - "description": "Sample for ListDataItems", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_data_items_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDataItems_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_data_items_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_datasets", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasets", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListDatasets" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListDatasetsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListDatasetsAsyncPager", - "shortName": "list_datasets" - }, - "description": "Sample for ListDatasets", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_datasets_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_datasets_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_datasets", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListDatasets", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListDatasets" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListDatasetsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListDatasetsPager", - "shortName": "list_datasets" - }, - "description": "Sample for ListDatasets", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_datasets_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListDatasets_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_datasets_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_evaluation_jobs", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobs", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListEvaluationJobs" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListEvaluationJobsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListEvaluationJobsAsyncPager", - "shortName": "list_evaluation_jobs" - }, - "description": "Sample for ListEvaluationJobs", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_evaluation_jobs", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListEvaluationJobs", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListEvaluationJobs" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListEvaluationJobsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListEvaluationJobsPager", - "shortName": "list_evaluation_jobs" - }, - "description": "Sample for ListEvaluationJobs", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListEvaluationJobs_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_evaluation_jobs_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_examples", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamples", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListExamples" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListExamplesRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListExamplesAsyncPager", - "shortName": "list_examples" - }, - "description": "Sample for ListExamples", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_examples_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListExamples_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_examples_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_examples", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListExamples", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListExamples" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListExamplesRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListExamplesPager", - "shortName": "list_examples" - }, - "description": "Sample for ListExamples", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_examples_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListExamples_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_examples_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.list_instructions", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructions", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListInstructions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListInstructionsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListInstructionsAsyncPager", - "shortName": "list_instructions" - }, - "description": "Sample for ListInstructions", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_instructions_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_instructions_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.list_instructions", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ListInstructions", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ListInstructions" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ListInstructionsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.ListInstructionsPager", - "shortName": "list_instructions" - }, - "description": "Sample for ListInstructions", - "file": "datalabeling_v1beta1_generated_data_labeling_service_list_instructions_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ListInstructions_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_list_instructions_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.pause_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "PauseEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.PauseEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "pause_evaluation_job" - }, - "description": "Sample for PauseEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.pause_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "PauseEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.PauseEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "pause_evaluation_job" - }, - "description": "Sample for PauseEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_PauseEvaluationJob_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_pause_evaluation_job_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.resume_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ResumeEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ResumeEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "resume_evaluation_job" - }, - "description": "Sample for ResumeEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_async", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.resume_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "ResumeEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.ResumeEvaluationJobRequest" - }, - { - "name": "name", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "shortName": "resume_evaluation_job" - }, - "description": "Sample for ResumeEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_ResumeEvaluationJob_sync", - "segments": [ - { - "end": 49, - "start": 27, - "type": "FULL" - }, - { - "end": 49, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 50, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_resume_evaluation_job_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.search_evaluations", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "SearchEvaluations" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.SearchEvaluationsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.SearchEvaluationsAsyncPager", - "shortName": "search_evaluations" - }, - "description": "Sample for SearchEvaluations", - "file": "datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.search_evaluations", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchEvaluations", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "SearchEvaluations" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.SearchEvaluationsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "filter", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.SearchEvaluationsPager", - "shortName": "search_evaluations" - }, - "description": "Sample for SearchEvaluations", - "file": "datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchEvaluations_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_search_evaluations_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.search_example_comparisons", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisons", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "SearchExampleComparisons" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.SearchExampleComparisonsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.SearchExampleComparisonsAsyncPager", - "shortName": "search_example_comparisons" - }, - "description": "Sample for SearchExampleComparisons", - "file": "datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_async", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.search_example_comparisons", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.SearchExampleComparisons", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "SearchExampleComparisons" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.SearchExampleComparisonsRequest" - }, - { - "name": "parent", - "type": "str" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.services.data_labeling_service.pagers.SearchExampleComparisonsPager", - "shortName": "search_example_comparisons" - }, - "description": "Sample for SearchExampleComparisons", - "file": "datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_SearchExampleComparisons_sync", - "segments": [ - { - "end": 52, - "start": 27, - "type": "FULL" - }, - { - "end": 52, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 45, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 48, - "start": 46, - "type": "REQUEST_EXECUTION" - }, - { - "end": 53, - "start": 49, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_search_example_comparisons_sync.py" - }, - { - "canonical": true, - "clientMethod": { - "async": true, - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient", - "shortName": "DataLabelingServiceAsyncClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceAsyncClient.update_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "UpdateEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.UpdateEvaluationJobRequest" - }, - { - "name": "evaluation_job", - "type": "google.cloud.datalabeling_v1beta1.types.EvaluationJob" - }, - { - "name": "update_mask", - "type": "google.protobuf.field_mask_pb2.FieldMask" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.EvaluationJob", - "shortName": "update_evaluation_job" - }, - "description": "Sample for UpdateEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_async.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_async", - "segments": [ - { - "end": 50, - "start": 27, - "type": "FULL" - }, - { - "end": 50, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 44, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 47, - "start": 45, - "type": "REQUEST_EXECUTION" - }, - { - "end": 51, - "start": 48, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_async.py" - }, - { - "canonical": true, - "clientMethod": { - "client": { - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient", - "shortName": "DataLabelingServiceClient" - }, - "fullName": "google.cloud.datalabeling_v1beta1.DataLabelingServiceClient.update_evaluation_job", - "method": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService.UpdateEvaluationJob", - "service": { - "fullName": "google.cloud.datalabeling.v1beta1.DataLabelingService", - "shortName": "DataLabelingService" - }, - "shortName": "UpdateEvaluationJob" - }, - "parameters": [ - { - "name": "request", - "type": "google.cloud.datalabeling_v1beta1.types.UpdateEvaluationJobRequest" - }, - { - "name": "evaluation_job", - "type": "google.cloud.datalabeling_v1beta1.types.EvaluationJob" - }, - { - "name": "update_mask", - "type": "google.protobuf.field_mask_pb2.FieldMask" - }, - { - "name": "retry", - "type": "google.api_core.retry.Retry" - }, - { - "name": "timeout", - "type": "float" - }, - { - "name": "metadata", - "type": "Sequence[Tuple[str, str]" - } - ], - "resultType": "google.cloud.datalabeling_v1beta1.types.EvaluationJob", - "shortName": "update_evaluation_job" - }, - "description": "Sample for UpdateEvaluationJob", - "file": "datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_sync.py", - "language": "PYTHON", - "origin": "API_DEFINITION", - "regionTag": "datalabeling_v1beta1_generated_DataLabelingService_UpdateEvaluationJob_sync", - "segments": [ - { - "end": 50, - "start": 27, - "type": "FULL" - }, - { - "end": 50, - "start": 27, - "type": "SHORT" - }, - { - "end": 40, - "start": 38, - "type": "CLIENT_INITIALIZATION" - }, - { - "end": 44, - "start": 41, - "type": "REQUEST_INITIALIZATION" - }, - { - "end": 47, - "start": 45, - "type": "REQUEST_EXECUTION" - }, - { - "end": 51, - "start": 48, - "type": "RESPONSE_HANDLING" - } - ], - "title": "datalabeling_v1beta1_generated_data_labeling_service_update_evaluation_job_sync.py" - } - ] -}