Required. The DeployedModel to be created within the Endpoint. Note that Endpoint.traffic_split must be updated for the DeployedModel to start receiving traffic, either as part of this call, or via EndpointService.UpdateEndpoint.
trafficSplit
map (key: string, value: integer)
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
If this field is non-empty, then the Endpoint's trafficSplit will be overwritten with it. To refer to the id of the just being deployed Model, a "0" should be used, and the actual id of the new DeployedModel will be filled in its place by this method. The traffic percentage values must add up to 100.
If this field is empty, then the Endpoint's trafficSplit is not updated.
Response body
If successful, the response body contains an instance of Operation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: endpoints.deployModel\n\n**Full name**: projects.locations.endpoints.deployModel\n\nDeploys a Model into this Endpoint, creating a DeployedModel within it. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1``/{endpoint}:deployModel` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`endpoint` `string` \nRequired. The name of the Endpoint resource into which to deploy a Model. Format: `projects/{project}/locations/{location}/endpoints/{endpoint}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `deployedModel` `object (`[DeployedModel](/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints#DeployedModel)`)` \nRequired. The DeployedModel to be created within the Endpoint. Note that [Endpoint.traffic_split](/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints#Endpoint.FIELDS.traffic_split) must be updated for the DeployedModel to start receiving traffic, either as part of this call, or via [EndpointService.UpdateEndpoint](/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints/patch#google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint).\n`trafficSplit` `map (key: string, value: integer)` \nA map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.\n\nIf this field is non-empty, then the Endpoint's [trafficSplit](/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints#Endpoint.FIELDS.traffic_split) will be overwritten with it. To refer to the id of the just being deployed Model, a \"0\" should be used, and the actual id of the new DeployedModel will be filled in its place by this method. The traffic percentage values must add up to 100.\n\nIf this field is empty, then the Endpoint's [trafficSplit](/vertex-ai/docs/reference/rest/v1/projects.locations.endpoints#Endpoint.FIELDS.traffic_split) is not updated. \n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/vertex-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation)."]]