GoogleApi.VMMigration.V1.Model.MigrationError (google_api_vm_migration v0.11.0)

View Source

Represents migration resource error information that can be used with google.rpc.Status message. MigrationError is used to present the user with error information in migration operations.

Attributes

  • actionItem (type: GoogleApi.VMMigration.V1.Model.LocalizedMessage.t, default: nil) - Output only. Suggested action for solving the error.
  • code (type: String.t, default: nil) - Output only. The error code.
  • errorMessage (type: GoogleApi.VMMigration.V1.Model.LocalizedMessage.t, default: nil) - Output only. The localized error message.
  • errorTime (type: DateTime.t, default: nil) - Output only. The time the error occurred.
  • helpLinks (type: list(GoogleApi.VMMigration.V1.Model.Link.t), default: nil) - Output only. URL(s) pointing to additional information on handling the current error.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.VMMigration.V1.Model.MigrationError{
  actionItem: GoogleApi.VMMigration.V1.Model.LocalizedMessage.t() | nil,
  code: String.t() | nil,
  errorMessage: GoogleApi.VMMigration.V1.Model.LocalizedMessage.t() | nil,
  errorTime: DateTime.t() | nil,
  helpLinks: [GoogleApi.VMMigration.V1.Model.Link.t()] | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.