---
title: "PATCH /v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}"
method: PATCH
path: "/v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}"
tags: ["datasets"]
---

# PATCH /v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}

`PATCH /v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}`

## Request

- Base URL: `https://aiplatform.googleapis.com`
- URL: `https://aiplatform.googleapis.com/v1/datasets/{datasetsId}/datasetVersions/{datasetVersionsId}`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/aiplatform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/aiplatform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Updates a DatasetVersion.

## Path parameters

- `datasetsId` string, required
- `datasetVersionsId` string, required

## Query parameters

- `updateMask` string, google-fieldmask

## Request body

- GoogleCloudAiplatformV1DatasetVersion: Describes the dataset version.
  - `bigQueryDatasetName` string: Output only. Name of the associated BigQuery dataset.
  - `createTime` string, google-datetime: Output only. Timestamp when this DatasetVersion was created.
  - `displayName` string: The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
  - `etag` string: Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
  - `metadata` unknown
  - `modelReference` string: Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
  - `name` string: Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
  - `satisfiesPzi` boolean: Output only. Reserved for future use.
  - `satisfiesPzs` boolean: Output only. Reserved for future use.
  - `updateTime` string, google-datetime: Output only. Timestamp when this DatasetVersion was last updated.

## Response `200`

Successful response

- GoogleCloudAiplatformV1DatasetVersion: Describes the dataset version.
  - `bigQueryDatasetName` string: Output only. Name of the associated BigQuery dataset.
  - `createTime` string, google-datetime: Output only. Timestamp when this DatasetVersion was created.
  - `displayName` string: The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters.
  - `etag` string: Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
  - `metadata` unknown
  - `modelReference` string: Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions.
  - `name` string: Output only. Identifier. The resource name of the DatasetVersion. Format: `projects/{project}/locations/{location}/datasets/{dataset}/datasetVersions/{dataset_version}`
  - `satisfiesPzi` boolean: Output only. Reserved for future use.
  - `satisfiesPzs` boolean: Output only. Reserved for future use.
  - `updateTime` string, google-datetime: Output only. Timestamp when this DatasetVersion was last updated.

## Changes

- **2026-11-06** `3aca3b348f0c`: 4 info
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`
- **2026-10-30** `34fcc627b062`: 4 info
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/aiplatform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/aiplatform/changes/v1/datasets/:datasetsId/datasetVersions/:datasetVersionsId/patch.md)

---

[API](https://skmtc.dev/google/apis/aiplatform.md) - [All operations](https://skmtc.dev/google/apis/aiplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/aiplatform/revisions/3aca3b348f0c?raw)
