Google Cloud Datalabeling V1beta1 Client - Class GetDataItemRequest (0.5.4)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class GetDataItemRequest.

Request message for GetDataItem.

Generated from protobuf message google.cloud.datalabeling.v1beta1.GetDataItemRequest

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

getName

Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

Returns
Type Description
string

setName

Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id}

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the data item to get, format: projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} Please see Google\Cloud\DataLabeling\V1beta1\DataLabelingServiceClient::dataItemName() for help formatting this field.

Returns
Type Description
Google\Cloud\DataLabeling\V1beta1\GetDataItemRequest