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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type 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
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.