View Source GoogleApi.OnDemandScanning.V1.Model.Command (google_api_on_demand_scanning v0.3.0)

Command describes a step performed as part of the build pipeline.


  • args (type: list(String.t), default: nil) - Command-line arguments used when executing this command.
  • dir (type: String.t, default: nil) - Working directory (relative to project source root) used when running this command.
  • env (type: list(String.t), default: nil) - Environment variables set before running this command.
  • id (type: String.t, default: nil) - Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
  • name (type: String.t, default: nil) - Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.
  • waitFor (type: list(String.t), default: nil) - The ID(s) of the command(s) that this command depends on.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.OnDemandScanning.V1.Model.Command{
  args: [String.t()] | nil,
  dir: String.t() | nil,
  env: [String.t()] | nil,
  id: String.t() | nil,
  name: String.t() | nil,
  waitFor: [String.t()] | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.