Creates a new version of a model from a trained TensorFlow model.
If the version created in the cloud by this call is the first deployed version of the specified model, it will be made the default version of the model. When you add a version to a model that already has one or more versions, the default version does not automatically change. If you want a new version to be the default, you must call projects.models.versions.setDefault
.
HTTP request
POST https://{endpoint}/v1/{parent=projects/*/models/*}/versions
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The name of the model. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains an instance of Version
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.