GoogleApi.OSConfig.V1.Model.OSPolicyResourceExecResourceExec (google_api_os_config v0.16.0) View Source
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 1024 characters.
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.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
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.