Google Cloud Datalabeling V1beta1 Client - Class CreateDatasetRequest (0.2.0)

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

Request message for CreateDataset.

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

Methods

build

Parameters
NameDescription
parent string

Required. Dataset resource parent, format: projects/{project_id} Please see {@see \Google\Cloud\DataLabeling\V1beta1\DataLabelingServiceClient::projectName()} for help formatting this field.

dataset Google\Cloud\DataLabeling\V1beta1\Dataset

Required. The dataset to be created.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\CreateDatasetRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Dataset resource parent, format: projects/{project_id}

↳ dataset Google\Cloud\DataLabeling\V1beta1\Dataset

Required. The dataset to be created.

getParent

Required. Dataset resource parent, format: projects/{project_id}

Returns
TypeDescription
string

setParent

Required. Dataset resource parent, format: projects/{project_id}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataset

Required. The dataset to be created.

Returns
TypeDescription
Google\Cloud\DataLabeling\V1beta1\Dataset|null

hasDataset

clearDataset

setDataset

Required. The dataset to be created.

Parameter
NameDescription
var Google\Cloud\DataLabeling\V1beta1\Dataset
Returns
TypeDescription
$this