class ProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages extends Resource (View source)

The "feedbackMessages" collection of methods.

Typical usage is:

 $datalabelingService = new Google\Service\DataLabeling(...);
 $feedbackMessages = $datalabelingService->projects_datasets_annotatedDatasets_feedbackThreads_feedbackMessages;

Methods

create(string $parent, GoogleCloudDatalabelingV1beta1FeedbackMessage $postBody, array $optParams = [])

Create a FeedbackMessage object. (feedbackMessages.create)

delete(string $name, array $optParams = [])

Delete a FeedbackMessage. (feedbackMessages.delete)

get(string $name, array $optParams = [])

Get a FeedbackMessage object. (feedbackMessages.get)

listProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages(string $parent, array $optParams = [])

List FeedbackMessages with pagination. (feedbackMessages.listProjectsDatasets AnnotatedDatasetsFeedbackThreadsFeedbackMessages)

Details

GoogleLongrunningOperation create(string $parent, GoogleCloudDatalabelingV1beta1FeedbackMessage $postBody, array $optParams = [])

Create a FeedbackMessage object. (feedbackMessages.create)

Parameters

string $parent

Required. FeedbackMessage resource parent, format: proj ects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotateddataset id}/feedbackThreads/{feedback_thread_id}.

GoogleCloudDatalabelingV1beta1FeedbackMessage $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleProtobufEmpty delete(string $name, array $optParams = [])

Delete a FeedbackMessage. (feedbackMessages.delete)

Parameters

string $name

Required. Name of the FeedbackMessage that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatase ts/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessag es/{feedback_message_id}'.

array $optParams

Optional parameters.

Return Value

GoogleProtobufEmpty

Exceptions

Exception

GoogleCloudDatalabelingV1beta1FeedbackMessage get(string $name, array $optParams = [])

Get a FeedbackMessage object. (feedbackMessages.get)

Parameters

string $name

Required. Name of the feedback. Format: 'projects/{projec t_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedback Threads/{feedback_thread_id}/feedbackMessages/{feedback_message_id}'.

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1FeedbackMessage

Exceptions

Exception

GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse listProjectsDatasetsAnnotatedDatasetsFeedbackThreadsFeedbackMessages(string $parent, array $optParams = [])

List FeedbackMessages with pagination. (feedbackMessages.listProjectsDatasets AnnotatedDatasetsFeedbackThreadsFeedbackMessages)

Parameters

string $parent

Required. FeedbackMessage resource parent. Format: "pro jects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset _id}/feedbackThreads/{feedback_thread_id}"

array $optParams

Optional parameters.

Return Value

GoogleCloudDatalabelingV1beta1ListFeedbackMessagesResponse

Exceptions

Exception