Data Labeling API . projects . datasets . annotatedDatasets . feedbackThreads

Instance Methods

feedbackMessages()

Returns the feedbackMessages Resource.

close()

Close httplib2 connections.

delete(name, x__xgafv=None)

Delete a FeedbackThread.

get(name, x__xgafv=None)

Get a FeedbackThread object.

list(parent, pageToken=None, pageSize=None, x__xgafv=None)

List FeedbackThreads with pagination.

list_next(previous_request, previous_response)

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
delete(name, x__xgafv=None)
Delete a FeedbackThread.

Args:
  name: string, Required. Name of the FeedbackThread that is going to be deleted. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.
  }
get(name, x__xgafv=None)
Get a FeedbackThread object.

Args:
  name: string, Required. Name of the feedback. Format: 'projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A feedback thread of a certain labeling task on a certain annotated dataset.
    "name": "A String", # Name of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'
    "feedbackThreadMetadata": { # Metadata regarding the feedback thread.
      "status": "A String",
      "lastUpdateTime": "A String", # When the thread is last updated.
      "createTime": "A String", # When the thread is created
      "thumbnail": "A String", # An image thumbnail of this thread.
    },
  }
list(parent, pageToken=None, pageSize=None, x__xgafv=None)
List FeedbackThreads with pagination.

Args:
  parent: string, Required. FeedbackThread resource parent. Format: "projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}" (required)
  pageToken: string, Optional. A token identifying a page of results for the server to return. Typically obtained by ListFeedbackThreads.next_page_token of the previous [DataLabelingService.ListFeedbackThreads] call. Return first page if empty.
  pageSize: integer, Optional. Requested page size. Server may return fewer results than requested. Default value is 100.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Results for listing FeedbackThreads.
    "feedbackThreads": [ # The list of feedback threads to return.
      { # A feedback thread of a certain labeling task on a certain annotated dataset.
        "name": "A String", # Name of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'
        "feedbackThreadMetadata": { # Metadata regarding the feedback thread.
          "status": "A String",
          "lastUpdateTime": "A String", # When the thread is last updated.
          "createTime": "A String", # When the thread is created
          "thumbnail": "A String", # An image thumbnail of this thread.
        },
      },
    ],
    "nextPageToken": "A String", # A token to retrieve next page of results.
  }
list_next(previous_request, previous_response)
Retrieves the next page of results.

Args:
  previous_request: The request for the previous page. (required)
  previous_response: The response from the request for the previous page. (required)

Returns:
  A request object that you can call 'execute()' on to request the next
  page. Returns None if there are no more items in the collection.