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

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

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.