Returns the feedbackMessages Resource.
Close httplib2 connections.
Delete a FeedbackThread.
Get a FeedbackThread object.
list(parent, pageSize=None, pageToken=None, x__xgafv=None)
List FeedbackThreads with pagination.
Retrieves the next page of results.
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); }
}
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.
"feedbackThreadMetadata": { # Metadata regarding the feedback thread.
"createTime": "A String", # When the thread is created
"lastUpdateTime": "A String", # When the thread is last updated.
"status": "A String",
"thumbnail": "A String", # An image thumbnail of this thread.
},
"name": "A String", # Name of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'
}
list(parent, pageSize=None, pageToken=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)
pageSize: integer, Optional. Requested page size. Server may return fewer results than requested. Default value is 100.
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.
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.
"feedbackThreadMetadata": { # Metadata regarding the feedback thread.
"createTime": "A String", # When the thread is created
"lastUpdateTime": "A String", # When the thread is last updated.
"status": "A String",
"thumbnail": "A String", # An image thumbnail of this thread.
},
"name": "A String", # Name of the feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}'
},
],
"nextPageToken": "A String", # A token to retrieve next page of results.
}
list_next()
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.