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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 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,["# Google Cloud OS Config v1alpha API - Enum OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter (2.0.0-alpha06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-alpha06 (latest)](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha.OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter)\n- [2.0.0-alpha05](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/2.0.0-alpha05/Google.Cloud.OsConfig.V1Alpha.OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter)\n- [1.0.0-alpha04](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/1.0.0-alpha04/Google.Cloud.OsConfig.V1Alpha.OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter) \n\n public enum OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter\n\nReference documentation and code samples for the Google Cloud OS Config v1alpha API enum OSPolicy.Types.Resource.Types.ExecResource.Types.Exec.Types.Interpreter.\n\nThe interpreter to use.\n\nNamespace\n---------\n\n[Google.Cloud.OsConfig.V1Alpha](/dotnet/docs/reference/Google.Cloud.OsConfig.V1Alpha/latest/Google.Cloud.OsConfig.V1Alpha)\n\nAssembly\n--------\n\nGoogle.Cloud.OsConfig.V1Alpha.dll"]]