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

Common configurations for an ExecStep.

Attributes

  • 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] (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
  • localPath (type: String.t, default: nil) - An absolute path to the executable on the VM.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Specs

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

Unwrap a decoded JSON object into its complex fields.