# Method: models.get

**Full name**: publishers.models.get

Gets a Model Garden publisher model.

### Endpoint

get `https://{service-endpoint}/v1beta1/{name}`   
Where `{service-endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest#rest_endpoints).

### Path parameters

`name` `string` Required. The name of the PublisherModel resource. Format: `publishers/{publisher}/models/{publisherModel}`

### Query parameters

`languageCode` `string` Optional. The IETF BCP-47 language code representing the language in which the publisher model's text information should be written in.
`view` ``enum (`https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/PublisherModelView`)`` Optional. PublisherModel view specifying which fields to read.
`isHuggingFaceModel` `boolean` Optional. Boolean indicates whether the requested model is a Hugging Face model.
`huggingFaceToken` `string` Optional. token used to access Hugging Face gated models.
`includeEquivalentModelGardenModelDeploymentConfigs` `boolean` Optional. Whether to cnclude the deployment configs from the equivalent Model Garden model if the requested model is a Hugging Face model.

### Request body

The request body must be empty.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/gemini-enterprise-agent-platform/reference/rest/v1beta1/publishers.models#PublisherModel`.