Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::OSPolicy::Resource::ExecResource::Exec::Interpreter.
The interpreter to use.
Constants
INTERPRETER_UNSPECIFIED
value: 0 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-09-09 UTC."],[],[],null,["# Cloud OS Config V1 API - Module Google::Cloud::OsConfig::V1::OSPolicy::Resource::ExecResource::Exec::Interpreter (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-os_config-v1/latest/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [1.3.0](/ruby/docs/reference/google-cloud-os_config-v1/1.3.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [1.2.1](/ruby/docs/reference/google-cloud-os_config-v1/1.2.1/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [1.1.0](/ruby/docs/reference/google-cloud-os_config-v1/1.1.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [1.0.1](/ruby/docs/reference/google-cloud-os_config-v1/1.0.1/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.16.0](/ruby/docs/reference/google-cloud-os_config-v1/0.16.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.15.2](/ruby/docs/reference/google-cloud-os_config-v1/0.15.2/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.14.0](/ruby/docs/reference/google-cloud-os_config-v1/0.14.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.13.0](/ruby/docs/reference/google-cloud-os_config-v1/0.13.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.12.0](/ruby/docs/reference/google-cloud-os_config-v1/0.12.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.11.0](/ruby/docs/reference/google-cloud-os_config-v1/0.11.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.10.0](/ruby/docs/reference/google-cloud-os_config-v1/0.10.0/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter)\n- [0.9.1](/ruby/docs/reference/google-cloud-os_config-v1/0.9.1/Google-Cloud-OsConfig-V1-OSPolicy-Resource-ExecResource-Exec-Interpreter) \nReference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::OSPolicy::Resource::ExecResource::Exec::Interpreter.\n\nThe interpreter to use.\n\nConstants\n---------\n\n### INTERPRETER_UNSPECIFIED\n\n**value:** 0 \nInvalid value, the request will return validation error.\n\n### NONE\n\n**value:** 1 \nIf an interpreter is not specified, the\nsource is executed directly. This execution, without an\ninterpreter, only succeeds for executables and scripts that have [a\nhref=\"https://en.wikipedia.org/wiki/Shebang_(Unix)\"\nclass=\"external\"](about:invalid#zCSafez)shebang lines.\n\n### SHELL\n\n**value:** 2 \nIndicates that the script runs with `/bin/sh` on Linux and\n`cmd.exe` on Windows.\n\n### POWERSHELL\n\n**value:** 3 \nIndicates that the script runs with PowerShell."]]