Google Cloud Datalabeling V1beta1 Client - Class CreateDatasetRequest (0.5.7)

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

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

↳ dataset Dataset

Required. The dataset to be created.

getParent

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

Returns
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDataset

Required. The dataset to be created.

Returns
Type Description
Dataset|null

hasDataset

clearDataset

setDataset

Required. The dataset to be created.

Parameter
Name Description
var Dataset
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

dataset Dataset

Required. The dataset to be created.

Returns
Type Description
CreateDatasetRequest