public sealed class ExecStepConfig : IMessage<ExecStepConfig>, IEquatable<ExecStepConfig>, IDeepCloneable<ExecStepConfig>, IBufferMessage, IMessage
Common configurations for an ExecStep.
Implements
IMessage<ExecStepConfig>, IEquatable<ExecStepConfig>, IDeepCloneable<ExecStepConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
ExecStepConfig()
public ExecStepConfig()
ExecStepConfig(ExecStepConfig)
public ExecStepConfig(ExecStepConfig other)
Parameter | |
---|---|
Name | Description |
other | ExecStepConfig |
Properties
AllowedSuccessCodes
public RepeatedField<int> AllowedSuccessCodes { get; }
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
Property Value | |
---|---|
Type | Description |
RepeatedField<Int32> |
ExecutableCase
public ExecStepConfig.ExecutableOneofCase ExecutableCase { get; }
Property Value | |
---|---|
Type | Description |
ExecStepConfig.ExecutableOneofCase |
GcsObject
public GcsObject GcsObject { get; set; }
A Cloud Storage object containing the executable.
Property Value | |
---|---|
Type | Description |
GcsObject |
Interpreter
public ExecStepConfig.Types.Interpreter Interpreter { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ExecStepConfig.Types.Interpreter |
LocalPath
public string LocalPath { get; set; }
An absolute path to the executable on the VM.
Property Value | |
---|---|
Type | Description |
String |