class ProjectsLocationsDatasets extends Resource (View source)

The "datasets" collection of methods.

Typical usage is:

 $aiplatformService = new Google\Service\Aiplatform(...);
 $datasets = $aiplatformService->projects_locations_datasets;

Methods

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

Creates a Dataset. (datasets.create)

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

Deletes a Dataset. (datasets.delete)

export(string $name, GoogleCloudAiplatformV1ExportDataRequest $postBody, array $optParams = [])

Exports data from a Dataset. (datasets.export)

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

Gets a Dataset. (datasets.get)

import(string $name, GoogleCloudAiplatformV1ImportDataRequest $postBody, array $optParams = [])

Imports data into a Dataset. (datasets.import)

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

Lists Datasets in a Location. (datasets.listProjectsLocationsDatasets)

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

Updates a Dataset. (datasets.patch)

searchDataItems(string $dataset, array $optParams = [])

Searches DataItems in a Dataset. (datasets.searchDataItems)

Details

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

Creates a Dataset. (datasets.create)

Parameters

string $parent

Required. The resource name of the Location to create the Dataset in. Format: projects/{project}/locations/{location}

GoogleCloudAiplatformV1Dataset $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Deletes a Dataset. (datasets.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleLongrunningOperation export(string $name, GoogleCloudAiplatformV1ExportDataRequest $postBody, array $optParams = [])

Exports data from a Dataset. (datasets.export)

Parameters

string $name

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

GoogleCloudAiplatformV1ExportDataRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

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

Gets a Dataset. (datasets.get)

Parameters

string $name

Required. The name of the Dataset resource.

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1Dataset

Exceptions

Exception

GoogleLongrunningOperation import(string $name, GoogleCloudAiplatformV1ImportDataRequest $postBody, array $optParams = [])

Imports data into a Dataset. (datasets.import)

Parameters

string $name

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

GoogleCloudAiplatformV1ImportDataRequest $postBody
array $optParams

Optional parameters.

Return Value

GoogleLongrunningOperation

Exceptions

Exception

GoogleCloudAiplatformV1ListDatasetsResponse listProjectsLocationsDatasets(string $parent, array $optParams = [])

Lists Datasets in a Location. (datasets.listProjectsLocationsDatasets)

Parameters

string $parent

Required. The name of the Dataset's parent resource. Format: projects/{project}/locations/{location}

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1ListDatasetsResponse

Exceptions

Exception

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

Updates a Dataset. (datasets.patch)

Parameters

string $name

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

GoogleCloudAiplatformV1Dataset $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1Dataset

Exceptions

Exception

GoogleCloudAiplatformV1SearchDataItemsResponse searchDataItems(string $dataset, array $optParams = [])

Searches DataItems in a Dataset. (datasets.searchDataItems)

Parameters

string $dataset

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

array $optParams

Optional parameters.

Return Value

GoogleCloudAiplatformV1SearchDataItemsResponse

Exceptions

Exception