v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132661,4471.5 MB
projects

Deploys a model to a new endpoint.

post/v1/{+destination}:deploy

Path parameters

destinationstring required

Required. The resource name of the Location to deploy the model in. Format: projects/{project}/locations/{location}

Request body

publisherModelNamestring

The Model Garden model to deploy. Format: publishers/{publisher}/models/{publisher_model}@{version_id}, or publishers/hf-{hugging-face-author}/models/{hugging-face-model-name}@001.

huggingFaceModelIdstring

The Hugging Face model to deploy. Format: Hugging Face model ID like google/gemma-2-2b-it.

Response

Successful response