Deploys a Model into this Endpoint, creating a DeployedModel within it.
HTTP request
POST https://{service-endpoint}/v1/{endpoint}:deployModel
Where {service-endpoint}
is one of the supported service endpoints.
Path parameters
Parameters | |
---|---|
endpoint |
Required. The name of the Endpoint resource into which to deploy a Model. Format: |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"deployedModel": {
object ( |
Fields | |
---|---|
deployedModel |
Required. The DeployedModel to be created within the Endpoint. Note that |
trafficSplit |
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 If this field is empty, then the Endpoint's |
Response body
If successful, the response body contains an instance of Operation
.
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 endpoint
resource:
aiplatform.endpoints.deploy
For more information, see the IAM documentation.