View Source GoogleApi.OSConfig.V1.Model.ExecStepConfig (google_api_os_config v0.20.0)

Common configurations for an ExecStep.


  • allowedSuccessCodes (type: list(integer()), default: nil) - Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
  • gcsObject (type: GoogleApi.OSConfig.V1.Model.GcsObject.t, default: nil) - A Cloud Storage object containing the executable.
  • interpreter (type: String.t, default: nil) - 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] (\(Unix\)).
  • localPath (type: String.t, default: nil) - An absolute path to the executable on the VM.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.OSConfig.V1.Model.ExecStepConfig{
  allowedSuccessCodes: [integer()] | nil,
  gcsObject: GoogleApi.OSConfig.V1.Model.GcsObject.t() | nil,
  interpreter: String.t() | nil,
  localPath: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.