Share feedback
Answers are generated based on the documentation.

Experimental

Schema

LocalizedMessageErrorDetail

Type: object

Provides a localized error message that is safe to return to the user which can be attached to an operation error.
@type · required

Type: string

All schema constraints and annotations
{
  "const": "type.googleapis.com/google.rpc.LocalizedMessage",
  "type": "string"
}
locale

Type: string

The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
All schema constraints and annotations
{
  "description": "The locale used following the specification defined at\nhttps://www.rfc-editor.org/rfc/bcp/bcp47.txt.\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"",
  "type": "string"
}
message

Type: string

The localized error message in the above locale.
All schema constraints and annotations
{
  "description": "The localized error message in the above locale.",
  "type": "string"
}
All schema constraints and annotations
{
  "description": "Provides a localized error message that is safe to return to the user\nwhich can be attached to an operation error.",
  "properties": {
    "@type": {
      "const": "type.googleapis.com/google.rpc.LocalizedMessage",
      "type": "string"
    },
    "locale": {
      "description": "The locale used following the specification defined at\nhttps://www.rfc-editor.org/rfc/bcp/bcp47.txt.\nExamples are: \"en-US\", \"fr-CH\", \"es-MX\"",
      "type": "string"
    },
    "message": {
      "description": "The localized error message in the above locale.",
      "type": "string"
    }
  },
  "required": [
    "@type"
  ],
  "title": "LocalizedMessageErrorDetail",
  "type": "object"
}