Google Cloud OsConfig V1 Client - Class Interpreter (1.3.4)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class Interpreter.

The interpreter to use.

Protobuf type google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter

Namespace

Google \ Cloud \ OsConfig \ V1 \ OSPolicy \ Resource \ ExecResource \ Exec

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

INTERPRETER_UNSPECIFIED

Value: 0

Invalid value, the request will return validation error.

Generated from protobuf enum INTERPRETER_UNSPECIFIED = 0;

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.

Generated from protobuf enum NONE = 1;

SHELL

Value: 2

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

Generated from protobuf enum SHELL = 2;

POWERSHELL

Value: 3

Indicates that the script runs with PowerShell.

Generated from protobuf enum POWERSHELL = 3;