Skip to main content

models_version

Creates, updates, deletes, gets or lists a models_version resource.

Overview

Namemodels_version
TypeResource
Idgoogle.aiplatform.models_version

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
delete_versionDELETElocationsId, modelsId, projectsIdDeletes a Model version. Model version can only be deleted if there are no DeployedModels created from it. Deleting the only version in the Model is not allowed. Use DeleteModel for deleting the Model instead.

DELETE example

Deletes the specified models_version resource.

/*+ delete */
DELETE FROM google.aiplatform.models_version
WHERE locationsId = '{{ locationsId }}'
AND modelsId = '{{ modelsId }}'
AND projectsId = '{{ projectsId }}';