Google Cloud Ai Platform V1 Client - Class CreateDatasetVersionRequest (1.7.0)

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

Request message for DatasetService.CreateDatasetVersion.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of the Dataset resource. Format: projects/{project}/locations/{location}/datasets/{dataset}

↳ dataset_version Google\Cloud\AIPlatform\V1\DatasetVersion

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

getParent

Required. The name of the Dataset resource.

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

Returns
Type Description
string

setParent

Required. The name of the Dataset resource.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getDatasetVersion

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

Returns
Type Description
Google\Cloud\AIPlatform\V1\DatasetVersion|null

hasDatasetVersion

clearDatasetVersion

setDatasetVersion

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

Parameter
Name Description
var Google\Cloud\AIPlatform\V1\DatasetVersion
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

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

datasetVersion Google\Cloud\AIPlatform\V1\DatasetVersion

Required. The version to be created. The same CMEK policies with the original Dataset will be applied the dataset version. So here we don't need to specify the EncryptionSpecType here.

Returns
Type Description
Google\Cloud\AIPlatform\V1\CreateDatasetVersionRequest