ExecStepConfigArgs

data class ExecStepConfigArgs(val allowedSuccessCodes: Output<List<Int>>? = null, val gcsObject: Output<GcsObjectArgs>? = null, val interpreter: Output<ExecStepConfigInterpreter>? = null, val localPath: Output<String>? = null) : ConvertibleToJava<ExecStepConfigArgs>

Common configurations for an ExecStep.

Constructors

Link copied to clipboard
fun ExecStepConfigArgs(allowedSuccessCodes: Output<List<Int>>? = null, gcsObject: Output<GcsObjectArgs>? = null, interpreter: Output<ExecStepConfigInterpreter>? = null, localPath: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ExecStepConfigArgs

Properties

Link copied to clipboard
val allowedSuccessCodes: Output<List<Int>>? = null

Defaults to 0. A list of possible return values that the execution can return to indicate a success.

Link copied to clipboard
val gcsObject: Output<GcsObjectArgs>? = null

A Google Cloud Storage object containing the executable.

Link copied to clipboard

The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with shebang lines (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).

Link copied to clipboard
val localPath: Output<String>? = null

An absolute path to the executable on the VM.