Class ExecStepConfig (1.6.0)

public sealed class ExecStepConfig : IMessage<ExecStepConfig>, IEquatable<ExecStepConfig>, IDeepCloneable<ExecStepConfig>, IBufferMessage, IMessage

Common configurations for an ExecStep.

Inheritance

Object > ExecStepConfig

Namespace

Google.Cloud.OsConfig.V1

Assembly

Google.Cloud.OsConfig.V1.dll

Constructors

ExecStepConfig()

public ExecStepConfig()

ExecStepConfig(ExecStepConfig)

public ExecStepConfig(ExecStepConfig other)
Parameter
NameDescription
otherExecStepConfig

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
TypeDescription
RepeatedField<Int32>

ExecutableCase

public ExecStepConfig.ExecutableOneofCase ExecutableCase { get; }
Property Value
TypeDescription
ExecStepConfig.ExecutableOneofCase

GcsObject

public GcsObject GcsObject { get; set; }

A Cloud Storage object containing the executable.

Property Value
TypeDescription
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
TypeDescription
ExecStepConfig.Types.Interpreter

LocalPath

public string LocalPath { get; set; }

An absolute path to the executable on the VM.

Property Value
TypeDescription
String