# LanguageMetadata

- [JSON representation](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#SCHEMA_REPRESENTATION)
- [ModelMetadata](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelMetadata)
  - [JSON representation](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelMetadata.SCHEMA_REPRESENTATION)
- [ModelFeatures](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeatures)
  - [JSON representation](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeatures.SCHEMA_REPRESENTATION)
- [ModelFeature](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeature)
  - [JSON representation](https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeature.SCHEMA_REPRESENTATION)

The metadata about locales available in a given region. Currently this is just the models that are available for each locale

| JSON representation |
|---|
| ``` { "models": { string: { object (`https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelMetadata`) }, ... } } ``` |

| Fields ||
|---|---|
| `models` | ``map (key: string, value: object (`https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelMetadata`))`` Map of locale (language code) -\> models An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

## ModelMetadata

The metadata about the models in a given region for a specific locale. Currently this is just the features of the model

| JSON representation |
|---|
| ``` { "modelFeatures": { string: { object (`https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeatures`) }, ... } } ``` |

| Fields ||
|---|---|
| `modelFeatures` | ``map (key: string, value: object (`https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeatures`))`` Map of the model name -\> features of that model An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |

## ModelFeatures

Represents the collection of features belonging to a model

| JSON representation |
|---|
| ``` { "modelFeature": [ { object (`https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeature`) } ] } ``` |

| Fields ||
|---|---|
| `modelFeature[]` | ``object (`https://docs.cloud.google.com/speech-to-text/docs/reference/rest/v2/LanguageMetadata#ModelFeature`)`` Repeated field that contains all features of the model |

## ModelFeature

Represents a singular feature of a model. If the feature is `recognizer`, the releaseState of the feature represents the releaseState of the model

| JSON representation |
|---|
| ``` { "feature": string, "releaseState": string } ``` |

| Fields ||
|---|---|
| `feature` | `string` The name of the feature (Note: the feature can be `recognizer`) |
| `releaseState` | `string` The release state of the feature |