Google Cloud Ai Platform V1 Client - Class CreateDatasetRequest (0.30.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreateDatasetRequest.

Request message for DatasetService.CreateDataset.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

↳ dataset Google\Cloud\AIPlatform\V1\Dataset

Required. The Dataset to create.

getParent

Required. The resource name of the Location to create the Dataset in.

Format: projects/{project}/locations/{location}

Returns
TypeDescription
string

setParent

Required. The resource name of the Location to create the Dataset in.

Format: projects/{project}/locations/{location}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataset

Required. The Dataset to create.

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

hasDataset

clearDataset

setDataset

Required. The Dataset to create.

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

static::build

Parameters
NameDescription
parent string

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location} Please see Google\Cloud\AIPlatform\V1\DatasetServiceClient::locationName() for help formatting this field.

dataset Google\Cloud\AIPlatform\V1\Dataset

Required. The Dataset to create.

Returns
TypeDescription
Google\Cloud\AIPlatform\V1\CreateDatasetRequest