Cloud OS Config V1alpha API - Module Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::ExecResource::Exec::Interpreter (v0.4.0)

Reference documentation and code samples for the Cloud OS Config V1alpha API module Google::Cloud::OsConfig::V1alpha::OSPolicy::Resource::ExecResource::Exec::Interpreter.

The interpreter to use.

Constants

INTERPRETER_UNSPECIFIED

value: 0
Invalid value, the request will return validation error.

NONE

value: 1
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.

SHELL

value: 2
Indicates that the script runs with /bin/sh on Linux and cmd.exe on Windows.

POWERSHELL

value: 3
Indicates that the script runs with PowerShell.