# REST Resource: serializedPolygons

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

## Resource: SerializedPolygon

A serialized polygon.

| JSON representation |
|---|
| ``` { "polygonId": string, "kml": string } ``` |

| Fields ||
|---|---|
| `polygonId` | `string` The id of the polygon. |
| `kml` | `string` The KML string representation of the polygon. |

| ## Methods ||
|---|---|
| ### `https://developers.google.com/flood-forecasting/rest/v1/serializedPolygons/get` | Get a serialized polygon. |