Skip to main content

feedback_threads

Creates, updates, deletes, gets or lists a feedback_threads resource.

Overview

Namefeedback_threads
TypeResource
Idgoogle.datalabeling.feedback_threads

Fields

NameDatatypeDescription
namestringName of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'
feedbackThreadMetadataobject

Methods

NameAccessible byRequired ParamsDescription
projects_datasets_annotated_datasets_feedback_threads_getSELECTannotatedDatasetsId, datasetsId, feedbackThreadsId, projectsIdGet a FeedbackThread object.
projects_datasets_annotated_datasets_feedback_threads_listSELECTannotatedDatasetsId, datasetsId, projectsIdList FeedbackThreads with pagination.
projects_datasets_annotated_datasets_feedback_threads_deleteDELETEannotatedDatasetsId, datasetsId, feedbackThreadsId, projectsIdDelete a FeedbackThread.

SELECT examples

List FeedbackThreads with pagination.

SELECT
name,
feedbackThreadMetadata
FROM google.datalabeling.feedback_threads
WHERE annotatedDatasetsId = '{{ annotatedDatasetsId }}'
AND datasetsId = '{{ datasetsId }}'
AND projectsId = '{{ projectsId }}';

DELETE example

Deletes the specified feedback_threads resource.

/*+ delete */
DELETE FROM google.datalabeling.feedback_threads
WHERE annotatedDatasetsId = '{{ annotatedDatasetsId }}'
AND datasetsId = '{{ datasetsId }}'
AND feedbackThreadsId = '{{ feedbackThreadsId }}'
AND projectsId = '{{ projectsId }}';