Cloud OS Config V1 API - Module Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter (v1.6.1)

Reference documentation and code samples for the Cloud OS Config V1 API module Google::Cloud::OsConfig::V1::ExecStepConfig::Interpreter.

The interpreter used to execute the a file.

Constants

INTERPRETER_UNSPECIFIED

value: 0
Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the interpreter will be parsed from the shebang line of the script if unspecified.

SHELL

value: 1
Indicates that the script is run with /bin/sh on Linux and cmd on Windows.

POWERSHELL

value: 2
Indicates that the file is run with PowerShell flags -NonInteractive, -NoProfile, and -ExecutionPolicy Bypass.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.