Full name: projects.locations.deployPublisherModel
Deploys publisher models.
Endpoint
posthttps://{service-endpoint}/v1beta1/{destination}:deployPublisherModel    
              
            
            Where {service-endpoint} is one of the supported service endpoints.
Path parameters
destinationstring
                  
                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:
modelstring
                    
                  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.
endpointDisplayNamestring
                    
                  Optional. The user-specified display name of the endpoint. If not set, a default name will be used.
Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.
modelDisplayNamestring
                    
                  Optional. The user-specified display name of the uploaded model. If not set, a default name will be used.
huggingFaceAccessTokenstring
                    
                  Optional. The Hugging Face read access token used to access the model artifacts of gated models.
acceptEulaboolean
                    
                  Optional. Whether the user accepts the End user License Agreement (EULA) for the model.
Response body
If successful, the response body contains an instance of Operation.