Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Interpreter.
The interpreter used to execute the a file.
Protobuf type google.cloud.osconfig.v1.ExecStepConfig.Interpreter
Namespace
Google \ Cloud \ OsConfig \ V1 \ ExecStepConfigMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
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.
Generated from protobuf enum INTERPRETER_UNSPECIFIED = 0;
SHELL
Value: 1
Indicates that the script is run with /bin/sh
on Linux and cmd
on Windows.
Generated from protobuf enum SHELL = 1;
POWERSHELL
Value: 2
Indicates that the file is run with PowerShell flags
-NonInteractive
, -NoProfile
, and -ExecutionPolicy Bypass
.
Generated from protobuf enum POWERSHELL = 2;