ValidationCheck

ValidationCheck represents the result of preflight check.

JSON representation
{
  "option": enum (Options),
  "status": {
    object (ValidationCheckStatus)
  },
  "scenario": enum (Scenario)
}
Fields
option

enum (Options)

Options used for the validation check

status

object (ValidationCheckStatus)

Output only. The detailed validation check status.

scenario

enum (Scenario)

Output only. The scenario when the preflight checks were run.

Options

Enums
OPTIONS_UNSPECIFIED Default value. Standard preflight validation check will be used.
SKIP_VALIDATION_CHECK_BLOCKING Prevent failed preflight checks from failing.
SKIP_VALIDATION_ALL Skip all preflight check validations.

ValidationCheckStatus

ValidationCheckStatus defines the detailed validation check status.

JSON representation
{
  "result": [
    {
      object (ValidationCheckResult)
    }
  ]
}
Fields
result[]

object (ValidationCheckResult)

Individual checks which failed as part of the Preflight check execution.

ValidationCheckResult

ValidationCheckResult defines the details about the validation check.

JSON representation
{
  "state": enum (State),
  "description": string,
  "category": string,
  "reason": string,
  "details": string
}
Fields
state

enum (State)

The validation check state.

description

string

The description of the validation check.

category

string

The category of the validation.

reason

string

A human-readable message of the check failure.

details

string

Detailed failure information, which might be unformatted.

State

Enums
STATE_UNKNOWN The default value. The check result is unknown.
STATE_FAILURE The check failed.
STATE_SKIPPED The check was skipped.
STATE_FATAL The check itself failed to complete.
STATE_WARNING The check encountered a warning.

Scenario

Enums
SCENARIO_UNSPECIFIED Default value. This value is unused.
CREATE The validation check occurred during a create flow.
UPDATE The validation check occurred during an update flow.