# Class ExecStepConfig (1.25.0)

1.25.0 (latest) 1.24.0 1.23.0 1.22.0 1.21.0 1.20.2 1.19.0 1.18.1 1.17.5 1.16.0 1.15.3 1.14.1 1.13.0 1.12.4 1.11.2 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.0 1.3.2 1.2.0 1.1.0 1.0.0 0.1.2

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

Common configurations for an ExecStep.

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `local_path` | `str` An absolute path to the executable on the VM. This field is a member of `oneof`_ `executable`. |
| `gcs_object` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/google.cloud.osconfig_v1.types.GcsObject` A Cloud Storage object containing the executable. This field is a member of `oneof`_ `executable`. |
| `allowed_success_codes` | `MutableSequence[int]` Defaults to \[0\]. A list of possible return values that the execution can return to indicate a success. |
| `interpreter` | `https://docs.cloud.google.com/python/docs/reference/osconfig/latest/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.