class ProjectsLocationsDatasetsDatasetVersions extends Resource (View source)

The "datasetVersions" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $datasetVersions = $aiplatformService->projects_locations_datasets_datasetVersions;

Methods

create(string $parent, GoogleCloudAiplatformV1DatasetVersion $postBody, array $optParams = [])

Create a version from a Dataset. (datasetVersions.create)

delete(string $name, array $optParams = [])

Deletes a Dataset version. (datasetVersions.delete)

get(string $name, array $optParams = [])

Gets a Dataset version. (datasetVersions.get)

listProjectsLocationsDatasetsDatasetVersions(string $parent, array $optParams = [])

Lists DatasetVersions in a Dataset.

patch(string $name, GoogleCloudAiplatformV1DatasetVersion $postBody, array $optParams = [])

Updates a DatasetVersion. (datasetVersions.patch)

restore(string $name, array $optParams = [])

Restores a dataset version. (datasetVersions.restore)

Details

GoogleLongrunningOperation create(string $parent, GoogleCloudAiplatformV1DatasetVersion $postBody, array $optParams = [])

Create a version from a Dataset. (datasetVersions.create)

Parameters

string $parent

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

GoogleCloudAiplatformV1DatasetVersion $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation delete(string $name, array $optParams = [])

Deletes a Dataset version. (datasetVersions.delete)

Parameters

string $name

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/d atasetVersions/{dataset_version}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1DatasetVersion get(string $name, array $optParams = [])

Gets a Dataset version. (datasetVersions.get)

Parameters

string $name

Required. The resource name of the Dataset version to delete. Format: projects/{project}/locations/{location}/datasets/{dataset}/d atasetVersions/{dataset_version}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1DatasetVersion

Exceptions

Exception

GoogleCloudAiplatformV1ListDatasetVersionsResponse listProjectsLocationsDatasetsDatasetVersions(string $parent, array $optParams = [])

Lists DatasetVersions in a Dataset.

(datasetVersions.listProjectsLocationsDatasetsDatasetVersions)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListDatasetVersionsResponse

Exceptions

Exception

GoogleCloudAiplatformV1DatasetVersion patch(string $name, GoogleCloudAiplatformV1DatasetVersion $postBody, array $optParams = [])

Updates a DatasetVersion. (datasetVersions.patch)

Parameters

string $name

Output only. Identifier. The resource name of the DatasetVersion.

GoogleCloudAiplatformV1DatasetVersion $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1DatasetVersion

Exceptions

Exception

GoogleLongrunningOperation restore(string $name, array $optParams = [])

Restores a dataset version. (datasetVersions.restore)

Parameters

string $name

Required. The name of the DatasetVersion resource. Format: projects/{project}/locations/{location}/datasets/{dataset}/datasetVe rsions/{dataset_version}

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception