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

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 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
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 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 DatasetServiceClient::datasetName() for help formatting this field.

datasetVersion 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
CreateDatasetVersionRequest