Cloud AutoML V1 Client - Class CreateDatasetRequest (1.6.4)

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

Namespace

Google \ Cloud \ AutoMl \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setParent

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDataset

Required. The dataset to create.

Returns
Type Description
Google\Cloud\AutoMl\V1\Dataset|null

hasDataset

clearDataset

setDataset

Required. The dataset to create.

Parameter
Name Description
var Google\Cloud\AutoMl\V1\Dataset
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the project to create the dataset for. Please see Google\Cloud\AutoMl\V1\AutoMlClient::locationName() for help formatting this field.

dataset Google\Cloud\AutoMl\V1\Dataset

Required. The dataset to create.

Returns
Type Description
Google\Cloud\AutoMl\V1\CreateDatasetRequest