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-08-07 UTC."],[[["\u003cp\u003eThe webpage provides documentation for the \u003ccode\u003eOSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter\u003c/code\u003e enum within the Google Cloud OS Config v1alpha API.\u003c/p\u003e\n"],["\u003cp\u003eIt lists different versions of the API documentation, with the latest being 2.0.0-alpha06.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eInterpreter\u003c/code\u003e enum specifies how a script should be executed, with options including \u003ccode\u003eNone\u003c/code\u003e, \u003ccode\u003ePowershell\u003c/code\u003e, \u003ccode\u003eShell\u003c/code\u003e, and \u003ccode\u003eUnspecified\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach \u003ccode\u003eInterpreter\u003c/code\u003e field has an associated description detailing its functionality, such as running directly, using PowerShell, or using a shell like \u003ccode\u003e/bin/sh\u003c/code\u003e or \u003ccode\u003ecmd.exe\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation specifies that \u003ccode\u003eUnspecified\u003c/code\u003e is an invalid value and will result in a validation error.\u003c/p\u003e\n"]]],[],null,[]]