MigrationWarning

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

JSON representation
{
  "code": enum (WarningCode),
  "warningMessage": {
    object (LocalizedMessage)
  },
  "actionItem": {
    object (LocalizedMessage)
  },
  "helpLinks": [
    {
      object (Link)
    }
  ],
  "warningTime": string
}
Fields
code

enum (WarningCode)

The warning code.

warningMessage

object (LocalizedMessage)

Output only. The localized warning message.

actionItem

object (LocalizedMessage)

Output only. Suggested action for solving the warning.

warningTime

string (Timestamp format)

The time the warning occurred.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

WarningCode

Represents possible warning codes.

Enums
WARNING_CODE_UNSPECIFIED Default value. This value is not used.
ADAPTATION_WARNING A warning originated from OS Adaptation.

LocalizedMessage

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

JSON representation
{
  "locale": string,
  "message": string
}
Fields
locale

string

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

string

The localized error message in the above locale.