Google Cloud Ai Platform V1 Client - Class CreateDatasetVersionRequest (0.32.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
NameDescription
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
TypeDescription
string

setParent

Required. The name of the Dataset resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\AIPlatform\V1\DatasetVersion
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\AIPlatform\V1\CreateDatasetVersionRequest