# REST Resource: gaugeModels

- [Resource: GaugeModel](https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#GaugeModel)
  - [JSON representation](https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#GaugeModel.SCHEMA_REPRESENTATION)
- [Thresholds](https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#Thresholds)
  - [JSON representation](https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#Thresholds.SCHEMA_REPRESENTATION)
- [GaugeValueUnit](https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#GaugeValueUnit)
- [Methods](https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#METHODS_SUMMARY)

## Resource: GaugeModel

Metadata of a gauge's model.

| JSON representation |
|---|
| ``` { "gaugeId": string, "gaugeModelId": string, "thresholds": { object (`https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#Thresholds`) }, "gaugeValueUnit": enum (`https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#GaugeValueUnit`), "qualityVerified": boolean } ``` |

| Fields ||
|---|---|
| `gaugeId` | `string` The ID of the gauge. |
| `gaugeModelId` | `string` The ID of the gauge's model. From time to time, the model for a gauge may change, and in that case we'll assign a new ID and new thresholds to the new model. Please use caution when comparing old forecasts to new ones if they were produced by different models. |
| `thresholds` | ``object (`https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#Thresholds`)`` The thresholds of the gauge. |
| `gaugeValueUnit` | ``enum (`https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#GaugeValueUnit`)`` The value unit of the gauge's model. |
| `qualityVerified` | `boolean` Whether this model is quality verified. Please use with caution when this value is set to false. |

## Thresholds

Thresholds of a gauge's model.

| JSON representation |
|---|
| ``` { "warningLevel": number, "dangerLevel": number, "extremeDangerLevel": number } ``` |

| Fields ||
|---|---|
| `warningLevel` | `number` Warning level. |
| `dangerLevel` | `number` Danger level. |
| `extremeDangerLevel` | `number` Extreme danger level. Not always present. |

## GaugeValueUnit

Possible gauge value units.

| Enums ||
|---|---|
| `GAUGE_VALUE_UNIT_UNSPECIFIED` | Default value. This value is unused. |
| `METERS` | Meters. |
| `CUBIC_METERS_PER_SECOND` | Cubic meters per second. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/flood-forecasting/rest/v1/gaugeModels/batchGet` | Get the current hydrological model metadata for multiple gauges. |
| ### `https://developers.google.com/flood-forecasting/rest/v1/gaugeModels/get` | Get the current hydrological model metadata for a given gauge. |