Reference documentation and code samples for the Google Cloud OS Config v1 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-03-21 UTC."],[[["The content provides documentation for the `Interpreter` enum within the Google Cloud OS Config v1 API, specifically under `OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types`."],["Versioned documentation is available for this enum, ranging from version 1.3.0 to the latest version, 2.4.0, with the latest version being highlighted as the most up-to-date."],["The `Interpreter` enum defines four possible values: `None`, `Powershell`, `Shell`, and `Unspecified`, each dictating how a script or executable is run."],["The `None` interpreter value means that the script will be run directly without an interpreter and is meant for use with executables or scripts that contain shebang lines."],["The documentation also specifies the namespace (`Google.Cloud.OsConfig.V1`) and assembly (`Google.Cloud.OsConfig.V1.dll`) for the `Interpreter` enum, helping with the identification of the correct assembly."]]],[]]