GoogleApi.VMMigration.V1.Model.LocalizedMessage (google_api_vm_migration v0.3.0) View Source

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

Attributes

  • locale (type: String.t, default: nil) - 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 (type: String.t, default: nil) - The localized error message in the above locale.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.VMMigration.V1.Model.LocalizedMessage{
  locale: String.t() | nil,
  message: String.t() | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.