Google Cloud Datalabeling V1beta1 Client - Class GetDataItemRequest (0.3.1)

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\DataLabeling\V1beta1\GetDataItemRequest