Google Cloud Ai Platform V1 Client - Class CreateDatasetRequest (1.12.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
Name Description
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 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
Type Description
string

setParent

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

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

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 Location to create the Dataset in. Format: projects/{project}/locations/{location} Please see DatasetServiceClient::locationName() for help formatting this field.

dataset Dataset

Required. The Dataset to create.

Returns
Type Description
CreateDatasetRequest