defaultJsonValidationOption property

String? defaultJsonValidationOption
getter/setter pair

Controls whether JSON workflow parameters are validated against provided schemas before and/or after this task's execution. Possible string values are:

  • "UNSPECIFIED_JSON_VALIDATION_OPTION" : As per the default behavior, no validation will be run. Will not override any option set in a Task.
  • "SKIP" : Do not run any validation against JSON schemas.
  • "PRE_EXECUTION" : Validate all potential input JSON parameters against schemas specified in WorkflowParameters.
  • "POST_EXECUTION" : Validate all potential output JSON parameters against schemas specified in WorkflowParameters.
  • "PRE_POST_EXECUTION" : Perform both PRE_EXECUTION and POST_EXECUTION validations.

Implementation

core.String? defaultJsonValidationOption;