Class ExecStepConfig (1.4.0)

ExecStepConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Common configurations for an ExecStep. .. attribute:: local_path

An absolute path to the executable on the VM.

:type: str

Attributes

NameDescription
gcs_object google.cloud.osconfig_v1.types.GcsObject
A Cloud Storage object containing the executable.
allowed_success_codes Sequence[int]
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
interpreter google.cloud.osconfig_v1.types.ExecStepConfig.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)).

Classes

Interpreter

Interpreter(value)

The interpreter used to execute the a file.