Required. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}
Request body
The request body contains data with the following structure:
Fields
model
string
Required. The model to deploy. Format: 1. publishers/{publisher}/models/{publisherModel}@{versionId}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001. 2. Hugging Face model id like google/gemma-2-2b-it. 3. Custom model Google Cloud Storage URI like gs://bucket. 4. Custom model zip file like https://example.com/a.zip.
endpointDisplayName
string
Optional. The user-specified display name of the endpoint. If not set, a default name will be used.
[[["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: locations.deployPublisherModel\n\n| This item is deprecated!\n**Full name**: projects.locations.deployPublisherModel\n\nDeploys publisher models. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1beta1``/{destination}:deployPublisherModel` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`destination` `string` \nRequired. The resource name of the Location to deploy the model in. Format: `projects/{project}/locations/{location}`\n\n### Request body\n\nThe request body contains data with the following structure:\nFields `model` `string` \nRequired. The model to deploy. Format: 1. `publishers/{publisher}/models/{publisherModel}@{versionId}`, or `publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001`. 2. Hugging Face model id like `google/gemma-2-2b-it`. 3. Custom model Google Cloud Storage URI like `gs://bucket`. 4. Custom model zip file like `https://example.com/a.zip`.\n`endpointDisplayName` `string` \nOptional. The user-specified display name of the endpoint. If not set, a default name will be used.\n`dedicatedResources` `object (`[DedicatedResources](/vertex-ai/docs/reference/rest/v1beta1/DedicatedResources)`)` \nOptional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.\n`modelDisplayName` `string` \nOptional. The user-specified display name of the uploaded model. If not set, a default name will be used.\n`huggingFaceAccessToken` `string` \nOptional. The Hugging Face read access token used to access the model artifacts of gated models.\n`acceptEula` `boolean` \nOptional. Whether the user accepts the End user License Agreement (EULA) for the model. \n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/vertex-ai/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation)."]]