Method: models.upload

Full name: projects.locations.models.upload

Uploads a Model artifact into Vertex AI.

Endpoint

post https: / /{service-endpoint} /v1beta1 /{parent} /models:upload

Where {service-endpoint} is one of the supported service endpoints .

Path parameters

parent string

Required. The resource name of the Location into which to upload the Model. Format: projects/{project}/locations/{location}

Request body

The request body contains data with the following structure:

Fields
parentModel string

Optional. The resource name of the model into which to upload the version. Only specify this field when uploading a new version.

modelId string

Optional. The id to use for the uploaded Model, which will become the final component of the model resource name.

This value may be up to 63 characters, and valid characters are [a-z0-9_-] . The first character cannot be a number or hyphen.

model object ( Model )

Required. The Model to create.

Response body

If successful, the response body contains an instance of Operation .

Design a Mobile Site
View Site in Mobile | Classic
Share by: