GoogleApi.Spanner.V1.Model.LocalizedString (google_api_spanner v0.32.0) View Source

A message representing a user-facing string whose value may need to be translated before being displayed.


  • args (type: map(), default: nil) - A map of arguments used when creating the localized message. Keys represent parameter names which may be used by the localized version when substituting dynamic values.
  • message (type: String.t, default: nil) - The canonical English version of this message. If no token is provided or the front-end has no message associated with the token, this text will be displayed as-is.
  • token (type: String.t, default: nil) - The token identifying the message, e.g. 'METRIC_READ_CPU'. This should be unique within the service.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Spanner.V1.Model.LocalizedString{
  args: map() | nil,
  message: String.t() | nil,
  token: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.