# LocalizedMessage

- [JSON representation](https://docs.cloud.google.com/migrate/virtual-machines/docs/5.0/reference/rest/Shared.Types/LocalizedMessage#SCHEMA_REPRESENTATION)

Provides a localized error message that is safe to return to the user which can be attached to an RPC error.

| JSON representation |
|---|
| ``` { "locale": string, "message": string } ``` |

| Fields ||
|---|---|
| `locale` | `string` The locale used following the specification defined at <http://www.rfc-editor.org/rfc/bcp/bcp47.txt>. Examples are: "en-US", "fr-CH", "es-MX" |
| `message` | `string` The localized error message in the above locale. |