View Source GoogleApi.Compute.V1.Model.LocalizedMessage (google_api_compute v0.56.2)

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 https://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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.