Cloud AutoML V1 Client - Class CreateDatasetRequest (1.4.17)

Reference documentation and code samples for the Cloud AutoML V1 Client class CreateDatasetRequest.

Request message for AutoMl.CreateDataset.

Generated from protobuf message google.cloud.automl.v1.CreateDatasetRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the project to create the dataset for.

↳ dataset Google\Cloud\AutoMl\V1\Dataset

Required. The dataset to create.

getParent

Required. The resource name of the project to create the dataset for.

Returns
TypeDescription
string

setParent

Required. The resource name of the project to create the dataset for.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataset

Required. The dataset to create.

Returns
TypeDescription
Google\Cloud\AutoMl\V1\Dataset|null

hasDataset

clearDataset

setDataset

Required. The dataset to create.

Parameter
NameDescription
var Google\Cloud\AutoMl\V1\Dataset
Returns
TypeDescription
$this