Class ExecStepConfig
Common configurations for an ExecStep.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1.Data
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class ExecStepConfig : IDirectResponseSchema
Properties
AllowedSuccessCodes
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
Declaration
[JsonProperty("allowedSuccessCodes")]
public virtual IList<int?> AllowedSuccessCodes { get; set; }
Property Value
Type | Description |
---|---|
IList<int?> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
GcsObject
A Cloud Storage object containing the executable.
Declaration
[JsonProperty("gcsObject")]
public virtual GcsObject GcsObject { get; set; }
Property Value
Type | Description |
---|---|
GcsObject |
Interpreter
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\)).
Declaration
[JsonProperty("interpreter")]
public virtual string Interpreter { get; set; }
Property Value
Type | Description |
---|---|
string |
LocalPath
An absolute path to the executable on the VM.
Declaration
[JsonProperty("localPath")]
public virtual string LocalPath { get; set; }
Property Value
Type | Description |
---|---|
string |