Method: serializedPolygons.get

  • The webpage provides details on retrieving a serialized polygon using a GET request.

  • The URL structure follows gRPC Transcoding syntax, and the name parameter is required for specifying the polygon to retrieve, following the format serializedPolygons/{polygonId}.

  • The request body for retrieving a serialized polygon must be empty.

  • A successful GET request returns an instance of SerializedPolygon in the response body.

Get a serialized polygon. IDs for these will appear in other API Responses, and you'll be able to use these IDs here. For example, see InundationMap in FloodStatus.

HTTP request

GET https://floodforecasting.googleapis.com/v1/{name=serializedPolygons/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the serialized polygon to retrieve. Name format: serializedPolygons/{polygonId}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of SerializedPolygon.