v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132986146.6 KB
projects

Designates a version to be the default for the model. The default version is used for prediction requests made against the model that don't specify a version. The first version to be created for a model is automatically set as the default. You must make any subsequent changes to the default version setting manually using this method.

post/v1/{+name}:setDefault

Path parameters

namestring required

Required. The name of the version to make the default for the model. You can get the names of all the versions of a model by calling projects.models.versions.list.

Request body

GoogleCloudMlV1SetDefaultVersionRequest required

Request message for the SetDefaultVersion request.

Response

Successful response