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

A file or script to execute.

Attributes

  • args (type: list(String.t), default: nil) - Optional arguments to pass to the source during execution.
  • file (type: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFile.t, default: nil) - A remote or local file.
  • interpreter (type: String.t, default: nil) - Required. The script interpreter to use.
  • outputFilePath (type: String.t, default: nil) - Only recorded for enforce Exec. Path to an output file (that is created by this Exec) whose content will be recorded in OSPolicyResourceCompliance after a successful run. Absence or failure to read this file will result in this ExecResource being non-compliant. Output file size is limited to 100K bytes.
  • script (type: String.t, default: nil) - An inline script. The size of the script is limited to 32KiB.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.OSConfig.V1.Model.OSPolicyResourceExecResourceExec{
  args: [String.t()] | nil,
  file: GoogleApi.OSConfig.V1.Model.OSPolicyResourceFile.t() | nil,
  interpreter: String.t() | nil,
  outputFilePath: String.t() | nil,
  script: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.