Reference documentation and code samples for the Google Cloud OS Config v1alpha API enum OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter.
If an interpreter is not specified, the
source is executed directly. This execution, without an
interpreter, only succeeds for executables and scripts that have <a
href="https://en.wikipedia.org/wiki/Shebang_(Unix)"
class="external">shebang lines</a>.
Powershell
Indicates that the script runs with PowerShell.
Shell
Indicates that the script runs with /bin/sh on Linux and
cmd.exe on Windows.
Unspecified
Invalid value, the request will return validation error.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["The webpage provides documentation for the `OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter` enum within the Google Cloud OS Config v1alpha API."],["It lists different versions of the API documentation, with the latest being 2.0.0-alpha06."],["The `Interpreter` enum specifies how a script should be executed, with options including `None`, `Powershell`, `Shell`, and `Unspecified`."],["Each `Interpreter` field has an associated description detailing its functionality, such as running directly, using PowerShell, or using a shell like `/bin/sh` or `cmd.exe`."],["The documentation specifies that `Unspecified` is an invalid value and will result in a validation error."]]],[]]