Cloud AutoML V1 Client - Class CreateDatasetRequest (2.0.1)

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 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
Dataset|null

hasDataset

clearDataset

setDataset

Required. The dataset to create.

Parameter
Name Description
var 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 AutoMlClient::locationName() for help formatting this field.

dataset Dataset

Required. The dataset to create.

Returns
Type Description
CreateDatasetRequest