Enum OSPolicy.Resource.ExecResource.Exec.Interpreter (2.3.2)

public enum OSPolicy.Resource.ExecResource.Exec.Interpreter extends Enum<OSPolicy.Resource.ExecResource.Exec.Interpreter> implements ProtocolMessageEnum

The interpreter to use.

Protobuf enum google.cloud.osconfig.v1alpha.OSPolicy.Resource.ExecResource.Exec.Interpreter

Implements

ProtocolMessageEnum

Static Fields

NameDescription
INTERPRETER_UNSPECIFIED

Defaults to NONE.

INTERPRETER_UNSPECIFIED = 0;

INTERPRETER_UNSPECIFIED_VALUE

Defaults to NONE.

INTERPRETER_UNSPECIFIED = 0;

NONE

If no interpreter is specified the source will be executed directly, which will likely only succeed for executables and scripts with shebang lines. Wikipedia shebang).

NONE = 1;

NONE_VALUE

If no interpreter is specified the source will be executed directly, which will likely only succeed for executables and scripts with shebang lines. Wikipedia shebang).

NONE = 1;

POWERSHELL

Indicates that the script will be run with powershell.

POWERSHELL = 3;

POWERSHELL_VALUE

Indicates that the script will be run with powershell.

POWERSHELL = 3;

SHELL

Indicates that the script will be run with /bin/sh on Linux and cmd.exe on windows.

SHELL = 2;

SHELL_VALUE

Indicates that the script will be run with /bin/sh on Linux and cmd.exe on windows.

SHELL = 2;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()