Gets a data item in a dataset by resource name. This API can be called after data are imported into dataset.
HTTP request
GET https://datalabeling.googleapis.com/v1beta1/{name=projects/*/datasets/*/dataItems/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} Authorization requires the following Google IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DataItem
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.