Merges a set of aliases for a Model version.
HTTP request
POST https://{service-endpoint}/v1beta1/{name}:mergeVersionAliases
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the model version to merge aliases, with a version id explicitly included. Example: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "versionAliases": [ string ] } |
Fields | |
---|---|
versionAliases[] |
Required. The set of version aliases to merge. The alias should be at most 128 characters, and match There is NO ordering in aliases, which means 1) The aliases returned from models.get API might not have the exactly same order from this models.mergeVersionAliases API. 2) Adding and deleting the same alias in the request is not recommended, and the 2 operations will be cancelled out. |
Response body
If successful, the response body contains an instance of Model
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
aiplatform.models.update
For more information, see the IAM documentation.