# REST Resource: gauges

- [Resource: Gauge](https://developers.google.com/flood-forecasting/rest/v1/gauges#Gauge)
  - [JSON representation](https://developers.google.com/flood-forecasting/rest/v1/gauges#Gauge.SCHEMA_REPRESENTATION)
- [Methods](https://developers.google.com/flood-forecasting/rest/v1/gauges#METHODS_SUMMARY)

## Resource: Gauge

Metadata of a gauge.

| JSON representation |
|---|
| ``` { "location": { object (`https://developers.google.com/flood-forecasting/rest/v1/LatLng`) }, "siteName": string, "source": string, "river": string, "countryCode": string, "gaugeId": string, "qualityVerified": boolean, "hasModel": boolean } ``` |

| Fields ||
|---|---|
| `location` | ``object (`https://developers.google.com/flood-forecasting/rest/v1/LatLng`)`` The physical location of the gauge. |
| `siteName` | `string` The name of the site at which this gauge is located, in English. This is not a unique identifier; there may be several gauges in nearby locations with the same site name. Not always present. |
| `source` | `string` The organization responsible for the data of this gauge, e.g. GRDC, CWC, etc. |
| `river` | `string` The gauge's river name in English. Not always present. |
| `countryCode` | `string` The country code of the gauge's country (ISO 3166 Alpha-2). |
| `gaugeId` | `string` The ID of the gauge. |
| `qualityVerified` | `boolean` This field is true if the gauge does not have a model, or if it has a model and the model is quality-verified. Please use with caution when this value is set to false. |
| `hasModel` | `boolean` This field is true if the gauge has a model. If the gauge has a model, it's possible to get this gauges's `https://developers.google.com/flood-forecasting/rest/v1/gaugeModels#GaugeModel` using `https://developers.google.com/flood-forecasting/rest/v1/gaugeModels/get#google.research.floodforecasting.v1.FloodsApi.GetGaugeModel` or `https://developers.google.com/flood-forecasting/rest/v1/gaugeModels/batchGet#google.research.floodforecasting.v1.FloodsApi.BatchGetGaugeModels`. And also getting its forecasts using `https://developers.google.com/flood-forecasting/rest/v1/gauges/queryGaugeForecasts#google.research.floodforecasting.v1.FloodsApi.QueryGaugeForecasts`. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/flood-forecasting/rest/v1/gauges/batchGet` | Get metadata about multiple gauges. |
| ### `https://developers.google.com/flood-forecasting/rest/v1/gauges/get` | Get metadata about a gauge. |
| ### `https://developers.google.com/flood-forecasting/rest/v1/gauges/queryGaugeForecasts` | Query gauge forecasts. |
| ### `https://developers.google.com/flood-forecasting/rest/v1/gauges/searchGaugesByArea` | Search for gauges by geographical area. |