Class OSPolicyResourceExecResourceExec
A file or script to execute.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v2beta.Data
Assembly: Google.Apis.OSConfig.v2beta.dll
Syntax
public class OSPolicyResourceExecResourceExec : IDirectResponseSchema
Properties
Args
Optional arguments to pass to the source during execution.
Declaration
[JsonProperty("args")]
public virtual IList<string> Args { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
File
A remote or local file.
Declaration
[JsonProperty("file")]
public virtual OSPolicyResourceFile File { get; set; }
Property Value
Type | Description |
---|---|
OSPolicyResourceFile |
Interpreter
Required. The script interpreter to use.
Declaration
[JsonProperty("interpreter")]
public virtual string Interpreter { get; set; }
Property Value
Type | Description |
---|---|
string |
OutputFilePath
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 500K bytes.
Declaration
[JsonProperty("outputFilePath")]
public virtual string OutputFilePath { get; set; }
Property Value
Type | Description |
---|---|
string |
Script
An inline script. The size of the script is limited to 32KiB.
Declaration
[JsonProperty("script")]
public virtual string Script { get; set; }
Property Value
Type | Description |
---|---|
string |